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

22 commits

Author SHA1 Message Date
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