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
aa06767a89 [core] more convenient accessors
closes #515
2011-09-22 19:00:48 -05:00
H. Wade Minter
934ff8a993 Better URL escaping for Rackspace Cloud Files.
URI.escape doesn't encode question marks properly, CGI.escape doesn't encode
spaces properly.  So we create an escape class method for Fog::Rackspace that
does the CGI.escape methods, only encoding spaces as %20.

This makes things work properly with Rackspace Cloud Files.
2011-09-16 23:52:55 -04:00
geemus
ffd01e51dd [core] pass connection_options through service init
closes #411
2011-09-12 10:01:56 -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
a90007b7d4 [dns|rackspace] move rackspace dns to its own shared area (namespacing should probably be corrected) 2011-08-29 10:37:01 -05:00
Brian Hartsock
e957a09494 Merge branch 'master' into rs_dns
Conflicts:
	lib/fog/rackspace.rb
2011-08-28 16:20:35 -04:00
geemus
b97d6ba72d [compute|rackspace] move rackspace compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:17:21 -05:00
geemus
a662046d1a [cdn|rackspace] move rackspace cdn to its own shared area (namespacing should probably be corrected) 2011-08-24 14:25:17 -05:00
geemus
0e5fe57e3d [core] move providers to lib/fog/. 2011-08-24 14:17:46 -05:00
geemus
865ac70f61 [providers] consolidate 2011-01-07 17:07:09 -08:00
geemus
6ca767317a [cdn] consolidate 2011-01-07 17:02:41 -08:00
geemus
ac480ad928 [storage] consolidate 2011-01-07 15:34:20 -08:00
geemus
c49539b2b2 [core] preparing for service based reorg 2011-01-07 15:09:46 -08:00
geemus
d5a4b0180c [core] cleanup dependencies 2010-12-16 11:24:52 -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
868ace8347 [rackspace|cdn&storage] split cdn into it's own service 2010-11-01 11:50:30 -07:00
geemus
a5411d8cf9 [rackspace] rename files/servers to storage/compute 2010-09-08 13:50:23 -07:00
geemus
e400c50860 add a provider module, working toward conistency and discoverability from top down 2010-09-07 12:21:16 -07:00
Caleb Tennis
fb5f9ff944 Update rackspace files to work with Swift 2010-08-19 14:14:26 -07:00
geemus
e4d13075fa [rackspace] add requirements to service 2010-06-12 13:21:32 -07:00
geemus (Wesley Beary)
0bfd9b3bc7 [rackspace] cleaner mocking/dependencies 2010-03-19 18:29:42 -07:00
geemus (Wesley Beary)
d8e8d8885a fix mock related reloading 2010-03-08 15:52:56 -08:00
geemus (Wesley Beary)
4771ae5d1a cleanup load/reload/require stuff a bit 2010-02-11 23:41:40 -08:00
Joshua Nichols
ff10a25920 Fixed mention of EC2 in Rackspace.authenticate. 2010-01-25 10:14:46 +08:00
Wesley Beary
66c0b4c3d7 nicer error messages for missing credentials 2010-01-22 20:51:27 -08:00
Wesley Beary
fa1481e9f2 replace Fog::Errors with Excon::Errors, add 409 conflicts for non-built rackspace server delete 2009-11-08 12:16:52 -08:00
Wesley Beary
f00f77638e starting rackspace servers mocks 2009-11-07 22:29:25 -08:00
Wesley Beary
7b5d28ed09 consolidate requires 2009-10-21 14:49:17 -07:00
Wesley Beary
be8f1220bb cleanup 2009-10-15 15:06:50 -07:00
Wesley Beary
77e9013a44 first pass at rackspace files support 2009-10-11 13:37:25 -07:00
Wesley Beary
374b36c8dd first pass at rackspace support 2009-10-10 19:05:31 -07:00