Marshall Yount
242389721c
support rackspace storage delete_at and delete_after headers
...
Rackspace Cloud Files allows the caller to set a time in the future
after which the uploaded asset will be automatically deleted.
http://docs.rackspace.com/files/api/v1/cf-devguide/content/Storage_Object_Services-d1e4300.html
This commit adds `deleted_at` and `deleted_after` attributes to the
`rackspace/models/storage/file.rb`. They are then added to the HTTP
headers when requested.
fix typo
add marshall yount to the contributors file
2014-02-06 14:23:19 -06:00
Ash Wilson
862547921c
file_tests now all pass under mocking.
...
put_object persists certain object headers like Content-Disposition.
2013-12-20 12:18:36 -05:00
Cezar Sa Espinola
4ef3a6eae4
Added content_encoding attribute to Rackspace storage
2013-11-04 11:03:07 -02:00
Kyle Rames
119205b18d
[rackspace|storage] implement get_http_url and get_https_url. See issue #2103 for more information.
2013-10-28 15:05:28 -05:00
Kyle Rames
f04f21484d
[rackspace|storage] update File model to submit etags if they are specified
2013-06-21 17:23:53 -05:00
Kyle Rames
6bba6bca17
[rackspace|storage] created a last_modified= method in the File class which works around a timezone bug in the swift service
2013-05-20 16:41:33 -05:00
Yauheni Kryudziuk
41376837f3
Added Content-Disposition attribute for Rackspace file
2013-03-13 12:13:42 +01:00
Kyle Rames
950bda0f33
rebasing with master
2013-02-25 08:26:15 -06:00
Kyle Rames
dab381361e
[rackspace|storage] added ios_url and streaming_url methods to directory and file; added more tests
2013-02-15 13:01:17 -06:00
Kyle Rames
fc0e5c6f04
[rackspace|storage] added test to check for metadata on object creation; tweaked metadata on object creation test
2013-02-14 10:41:23 -06:00
Kyle Rames
56c020d599
[rackspace|storage] updated file class to use the same metadata implementation as the directory class
2013-02-14 10:41:23 -06:00
Kyle Rames
822b219bd3
[rackspace|storage] removing test of dubious distinction per geemus
2013-02-13 12:18:52 -06:00
Kyle Rames
1978c8a122
[Rackspace|Storage] This tests consistently fails on either ruby 1.8.7 or ruby 1.9.3 because hash order is indeterminate. I believe the spirt of this test is to ensure that only one header value is generated and thus I have updated the test to reflect that.
2013-02-13 10:37:33 -06:00
Kyle Rames
f39ecbc35e
[rackspace|storage] fixed issue in ruby 1.8.7 where metadata was not being deleted when set to nil
2013-02-11 09:37:05 -06:00
Evan Smith
2a9da5782f
fixed bug where Fog::Storage::Rackspace::File raised Fog::Storage::Rackspace::NotFound if file was created with passed etag attribute. Changed to check existence based on last_modified instead of etag.
2012-12-17 10:08:19 -08:00
Evan Smith
44c5c6ec8a
merged with upstream master
2012-11-16 14:58:29 -08:00
Evan Smith
b65167e73e
Rackspace Cloud Files. can load metadata from existing file. can set metadata for new file. can unset metadata for existing file.
...
refactored rackspace/models/storage/file_tests.rb
Storage::Rackspace::File renamed some metadata key mapping methods. added more key mapping tests.
reorganized tests
2012-11-16 14:46:05 -08:00
geemus
7563d2ed25
[rackspace|storage] rackspace files tests should be pending in mocked mode
2012-11-12 10:55:37 -06:00
Dusty Jones
3d1d314537
Save the file instance before testing for presence of attribute
2012-11-09 14:22:10 -06:00
Dusty Jones
7d1f83d294
add support for Storage::Rackspace::File#access_control_allow_origin and #origin
...
Support Access-Control-Allow-Origin and Origin headers, borrowed
testing ideas from pull request #1251
2012-11-07 23:24:18 -06:00
Evan Smith
449b227f56
added support for Storage::Rackspace::File#metadata
...
Added rackspace/models/storage/file_tests.
Added tests for Fog::Storage::Rackspace::File#metadata
Added Fog::Rackspace::Storage::File#metadata
2012-11-05 14:44:31 -08:00
geemus
4bfa288da6
[storage] consolidate tests
2010-12-29 18:15:29 -08:00
geemus
b1473b39f5
fixing misc recently introduced spec/test bugs
2010-11-16 15:31:34 -08:00
geemus
0a9bb3b553
[storage] shared tests
2010-11-04 11:12:44 -07:00