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

32 commits

Author SHA1 Message Date
geemus
ffd01e51dd [core] pass connection_options through service init
closes #411
2011-09-12 10:01:56 -05:00
geemus
76c0f11670 [core] use logger throughout for warnings 2011-09-02 12:30:10 -05:00
geemus
b2c8ff0388 [core] work toward separate requires
Should facilitate the following:

    require 'fog/aws'
    require 'fog/compute'
    require 'fog/aws/compute'

I think once you `require 'rubygems'` those should work.

further cleanup should reduce common requires (ie nokogiri)
2011-08-31 15:52:53 -05:00
geemus
9b8240bfba [storage|aws] move aws storage back with other aws stuff (namespacing should probably be recorrected as well) 2011-08-24 13:50:42 -05:00
geemus
ac480ad928 [storage] consolidate 2011-01-07 15:34:20 -08:00
geemus
74e4288549 add offset for fog times
allows working around clock skew issues
2010-12-21 12:12:30 -08:00
geemus
3ea111c7f8 [core] fix/cleanup requires/recognizes for service
closes #113
2010-12-16 15:31:24 -08:00
geemus
532bbe31e0 [storage] don't cgi escape slashes in authed urls 2010-12-14 10:49:40 -08:00
Juris Galang
c37629e742 requires and recognizes clauses for services now receives a block so that the declared parameters are applied to their Real implementation. 2010-12-08 11:09:13 -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
arnab
836db73119 added put_object_acl request (ref: https://github.com/geemus/fog/issues#issue/74) 2010-11-23 06:57:33 +08:00
geemus
e8b740c84e [aws&google|storage] add canned acl related mocks 2010-11-18 14:17:11 -08:00
geemus
6d7f859c34 [aws|storage] first pass at multipart uploads 2010-11-15 17:17:37 -08:00
geemus
93b8d32845 [storage] add public= and public_url for directory, public_url for file 2010-11-05 15:31:44 -07:00
geemus
a975a6ef79 push most dependencies out toward leaves to lessen initial load requirements 2010-10-29 14:58:28 -07:00
geemus
bcbbdbba41 [aws|storage] first pass at helper for building forms to post to s3 2010-10-18 17:56:01 -07:00
geemus
c53b5e273c fixing more warnings 2010-10-13 13:20:18 -07:00
geemus
beb934eae2 [aws|storage] fix bug where path would get overridden and break signing 2010-10-01 10:38:15 -07:00
geemus
fe480bbaa3 [eucalyptus] clean up some stuff to allow eucalyptus to use AWS::Compute 2010-09-29 17:53:32 -07:00
geemus
e0a5341534 [aws][storage] warn when following redirects 2010-09-27 20:44:46 -07:00
geemus
0ed3d6e73e [aws][storage] redirect following cleanup 2010-09-27 16:08:04 -07:00
Lars Pind
f0cf5eecdf This works for Amazon's 307s 2010-09-28 06:48:58 +08:00
Lars Pind
68bca84e4f Expect 307 as well 2010-09-28 06:48:57 +08:00
Lars Pind
9c062d5467 Handle 307 Temporary redirect 2010-09-28 06:48:57 +08:00
geemus
cbacca9df1 [aws][storage] fix mock region defaulting 2010-09-24 14:43:29 -07:00
geemus
ab4dbcb5f7 [aws][storage] storage needs to set host so that x_object_url methods will work 2010-09-24 14:36:42 -07:00
geemus
cdca74ff6a [aws] segregate mock data by region 2010-09-24 13:50:44 -07:00
geemus
99d2920372 [aws][storage] more robust object url generation, also fixes non-standard regions and defaults to https 2010-09-24 11:32:48 -07:00
geemus
a4b4e1ffd9 fix test helpers 2010-09-23 10:48:52 -07:00
geemus
88d540376d [aws][storage] update dns warning to be more specific 2010-09-22 14:29:35 -07:00
geemus
f0e2cfd21d rely on service to include collections 2010-09-14 10:51:13 -07:00
geemus
58577e17bf [aws] rename ec2/s3 to compute/storage 2010-09-08 14:40:57 -07:00