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

26 commits

Author SHA1 Message Date
Michael Elfassy
19f12a03f2 Bucket names cannot begin with the "goog" prefix. Also change for DNS compliant subdomain 2012-11-11 14:45:08 -05:00
Michael Elfassy
0f12a6069c fix warning message to follow correct bucket naming guidelines 2012-11-07 11:27:08 -05:00
Stephen von Takach
8d59509687 Added missing header
Google's [CORS implementation](https://developers.google.com/storage/docs/cross-origin) implements a canonical resource parameter that was not included in the hashed headers.
2012-10-16 11:00:55 +12:00
Nat Welch
f906a33b9f Google changed their URL scheme for Cloud Storage.
see https://developers.google.com/storage/docs/reference/releasenotes
for more details.
2012-09-11 17:58:06 -07:00
Alexander Kolesen
fcc4db6a1d Fixed handling options[:persistent] in some cases
Removed useless
@persistent = options[:persistent]  || true

It prevented @persistent from being set to `false`
2012-06-21 14:56:46 +03:00
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
James Herdman
15262af2fb Remove unused variable 2012-05-26 11:27:24 -04:00
geemus
34e6a1105c [core] separate loggers for deprecations/warnings
distinctly styles deprecations for clarity
gives better flexibility for redirecting logs
reduces possibility of missing deprecations because warnings are ignored
2011-10-19 14:49:34 -05:00
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
1a4a0efda0 [storage|google] move google storage to shared google stuff (namespacing should probably be corrected) 2011-08-24 13:55:35 -05:00
geemus
ac480ad928 [storage] consolidate 2011-01-07 15:34:20 -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
geemus
acb4a06431 [storage] public_url related tests/fixes 2010-11-18 15:54:54 -08:00
geemus
e8b740c84e [aws&google|storage] add canned acl related mocks 2010-11-18 14:17:11 -08:00
geemus
a975a6ef79 push most dependencies out toward leaves to lessen initial load requirements 2010-10-29 14:58:28 -07:00
geemus
2a8982577c [google][storage] close the formatador warning so that stuff won't keep being yellow 2010-09-24 13:24:52 -07:00
Ariel Zavala
42d452f567 removed references to s3; removed unimplemented requests 2010-09-24 13:14:57 -07:00
Ariel Zavala
e3e226d565 modified to build correct signature 2010-09-24 13:13:55 -07:00
Ariel Zavala
f810d6b194 removed location & payment functionality and test; All google storate mock tests green; Only directory tests green on real tests 2010-09-24 13:13:54 -07:00
Ariel Zavala
7a8b5fda10 Removed location specific functionality; Green for Mock tests 2010-09-24 13:13:54 -07:00
Ariel Zavala
bdd2ca3094 Used AWS storage to start work on Google storage 2010-09-24 13:13:54 -07:00