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

34 commits

Author SHA1 Message Date
geemus
fd755e042b clean up by changing service abstraction into a class 2010-09-03 15:04:54 -07:00
geemus
4529a3444f simplify by pushing query string building down into excon 2010-06-05 14:19:55 -07:00
geemus
00fa84eed4 [s3] fix another versioning related bug 2010-05-14 12:29:05 -07:00
geemus
013b2c3ead [s3] add versioning support 2010-05-10 20:28:27 -07:00
geemus
2bace47291 [s3] add acl and torrent methods, segregate get_object_url 2010-05-09 18:50:10 -07:00
geemus
242d7a5088 update excon, pass a block instead of params[:block] 2010-05-09 16:23:03 -07:00
Simon Rozet
b406ec113c implement mock for S3::Files#get_url 2010-04-21 01:12:38 +08:00
geemus (Wesley Beary)
46ea4a4a99 [s3] cleaner mocking/dependencies 2010-03-13 13:37:24 -08:00
geemus (Wesley Beary)
6905b0d28c first pass at models for Rackspace::Files 2010-02-27 13:39:33 -08:00
geemus (Wesley Beary)
87da79eae2 nicer and more explicit messaging around mocks that are not yet implemented 2010-02-01 22:53:18 -08:00
Wesley Beary
8cab3723a8 fixes for CHUNK_SIZE constant location and readme. Thanks indirect 2009-12-18 18:13:46 -08:00
Wesley Beary
276a32b7a3 idempotent get requests to s3 2009-12-08 11:22:46 -08:00
Wesley Beary
e9251a9c06 fix mocks to use excon responses 2009-11-20 11:26:11 -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
d6e857e52d fix docs to show that Excon::Response is returned 2009-11-02 18:48:49 -08:00
Wesley Beary
27deaf7a94 Merge branch 'master' of git@github.com:geemus/fog 2009-10-04 15:37:22 -07:00
Wesley Beary
835ccf56e3 cgi escape object_names 2009-10-04 15:29:31 -07:00
Wesley Beary
6cfcfd1edf first pass at query param signed s3 requests 2009-10-03 15:43:19 -07:00
Wesley Beary
a7a45e88f6 fixes for streaming files
* create chunks if the response wasn't chunked
* mock out the chunk behaviour
* move chunk size into a constant
2009-09-10 10:08:29 -07:00
Wesley Beary
23ae9584a1 Stream data for S3 get/put object 2009-09-09 20:44:28 -07:00
Wesley Beary
3c78b6f166 raise ArgumentError when lacking keys for get bucket/object 2009-09-08 20:24:21 -07:00
Wesley Beary
b23594254c Fix s3 mocking behaviours:
1) delete_bucket should raise a 409 if the bucket is not empty
2) (get/put)_object should have 'Content-Type' headers
2009-09-02 20:15:32 -07:00
Wesley Beary
962169950a keep mocked data on class (new instances will share data) and provide reset_data function 2009-08-17 22:39:44 -07:00
Wesley Beary
dae13d496c custom error classes, specs for error expectations and mocks raise errors 2009-08-16 13:31:36 -07:00
Wesley Beary
12a570fa50 change s3 mocks data hash to more workable format 2009-08-16 11:45:52 -07:00
Wesley Beary
1f6df7083f formatting cleanup 2009-08-16 11:44:50 -07:00
Wesley Beary
4d327641d9 more realistic mock etags, handle preconditions in s3 get_object mock 2009-08-12 21:13:55 -07:00
Wesley Beary
5a156e5a0b fleshing out existing mocks and adding basic object mocks 2009-08-08 12:31:32 -07:00
Wesley Beary
b6085bd369 AmazonCase s3 2009-07-29 19:50:51 -07:00
Wesley Beary
da0d4b79b2 allow use of optional params for s3 get/head object 2009-07-22 09:38:06 -07:00
Wesley Beary
1024b837e2 add docs for returned headers on s3 get/head object 2009-07-21 18:23:18 -07:00
Wesley Beary
4c92ee236e doc work 2009-07-20 19:47:48 -07:00
Wesley Beary
a6ec973792 get expected status code or raise errors 2009-07-14 16:04:39 -07:00
Wesley Beary
dbc9ebfb04 split out requests into their own files 2009-07-13 19:14:59 -07:00