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

24 commits

Author SHA1 Message Date
geemus
c4d20a7e83 [s3] fix mock to read data from files that are passed 2010-05-25 10:37:14 -07:00
geemus (Wesley Beary)
46ea4a4a99 [s3] cleaner mocking/dependencies 2010-03-13 13:37:24 -08:00
Wesley Beary
bae0ef8ec2 Used idempotent from new excon for s3. Version bump to 0.0.32 2009-12-03 21:39:20 -08:00
Wesley Beary
c8ef903519 remove explicit owner model from s3 2009-11-21 10:33:55 -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
835ccf56e3 cgi escape object_names 2009-10-04 15:29:31 -07:00
Wesley Beary
23ae9584a1 Stream data for S3 get/put object 2009-09-09 20:44:28 -07:00
Wesley Beary
09e952b665 allow put_object to take a file or a string for its data argument 2009-09-08 20:33:37 -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
019979a908 better mocked values 2009-08-14 09:18:55 -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
4cdaed941d update optional params parsing for s3 2009-07-28 21:23:28 -07:00
Wesley Beary
daf8c9b131 stuff for optional params 2009-07-27 22:53:51 -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