1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

17 commits

Author SHA1 Message Date
geemus
63ca297eae [core] toss out nil-value keys when checking required credentials
closes #587
2011-11-08 09:14:31 -06:00
geemus
f10397fc5f [core] all services should recognize :connection_options 2011-10-17 14:12:34 -05:00
geemus
92529dd895 [core] delete nil valued keys from config 2011-09-06 14:19:39 -05:00
geemus
4f466e2672 [core] coerce service credentials 2011-09-06 14:19:39 -05:00
geemus
87b07ba117 [misc] provide #providers for shared services 2011-07-27 11:37:58 -07:00
geemus
9fe17c5978 [core] add namespaced errors for better messaging 2011-05-27 10:46:09 -07:00
geemus
40cd1ff5e4 fixes for reset_data
instance method now, instead of class method
resets data related to current connection/credentials
2011-03-10 11:16:55 -08:00
geemus
c673c28b16 implicitly add not_implemented mocks 2011-02-09 16:31:57 -08:00
geemus
3ea111c7f8 [core] fix/cleanup requires/recognizes for service
closes #113
2010-12-16 15:31:24 -08:00
geemus
4d739e6054 [core] simplify credential management
add ability to use Fog.credentials_path to use non '~/.fog'
try to use available credentials automagically even outside bin
2010-12-15 15:32:33 -08:00
Juris Galang
6f187b2f72 Added self.inject_parameter_specs: this returns a block that is used to apply the service's parameter requirements to its Real implementation 2010-12-08 11:09:00 -08:00
Juris Galang
827c029a99 This is a combination of 23 commits (included merges from upstream); this commit(s) include changes to enforces recognizes/requires parameters for all supported services. Comments from the included commits follow:
- Added google_storage_* keys
- Fixed indentations.
- Factored out requires and recognizes method implementation (now relies on the requires and recognizes clause from the NamedParameters module)
- Added dependency to named-parameters gem.
- Added recognizes declaration to classes for all supported services to enforce parameter name checks -
- passing an unrecognized key when instantiating a service object will now cause an ArgumentError to be raised.
- Added NOTE
- comment added
- check/filter-out keys from credentials that are not required by the class being instantiated
- [local|storage] properly write out file contents
- Added google_storage_* keys
- Fixed indentations.
- added put_object_acl request (ref: https://github.com/geemus/fog/issues#issue/74)
- Release 0.3.24
- remove tracker reference from README
- issues is now the goto for bugs/todo
- notify and gracefully skip credential-less testsa
- [rackspace|storage] fixes for directory/files
- [local|storage] CGI.escape file names
- Release 0.3.25
- updated deps; recognized_parameters -> declared_parameters; restored options filtering if Fog.bin
- Added requires/recognizes to Fog::Terremark::Ecloud
- Updted to use latest named-parameters gem.
- Filter out unwanted parameters when Fog.bin
- Updated to latest named-parameters gem
- commented out unnecessary code
- fix missing "volume" parameter error when setting Fog::AWS::Volume#server to nil (in order to detach it)
- documentation update for key_pairs and helper
- [aws|compute] commented/documented flavors/volumes
- Fixes for issue 38 and 39
Closes #96
2010-12-01 14:34:42 -08:00
geemus
b1473b39f5 fixing misc recently introduced spec/test bugs 2010-11-16 15:31:34 -08:00
geemus
4aa729b330 cleanup/simplify recognized/required argument parsing 2010-11-15 11:22:12 -08:00
Juris Galang
ec15def557 Improved Hash-arg keys validation (see: https://github.com/geemus/fog/issues#issue/41) 2010-11-09 17:57:34 -08:00
geemus
f890f27141 fixing warnings 2010-10-12 16:23:35 -07:00
geemus
dfd30e521f cleanup lib/fog by segregating shared into 'core' 2010-09-29 13:22:30 -07:00
Renamed from lib/fog/service.rb (Browse further)