Scott Jacobsen
159984e956
Fix typos
2011-12-02 11:49:56 -07:00
Marcel M. Cary
bd25b25c5a
Use the options passed to S3Object.copy, supporting reduced redundancy
...
I need to enable reduced redundancy on some existing S3 objects.
The typical way to do this is copy the object within S3, supplying the
new storage-class (reduced redundancy) as an option to the copy.
However, aws-s3 is ignoring the copy options, instead only using the
default_options to specify the copy-source.
Update the copy method to merge the copy-source options with the passed
options, so that storage-class can be specified.
2011-11-08 19:45:45 -08:00
Marcel Molina
5cd500f6db
Put Version back into beta mode.
2009-04-28 15:10:09 -07:00
Marcel Molina
235bc186b6
Merge branch 'harrylove/master'
2009-04-28 15:02:27 -07:00
Marcel Molina
5c20304e19
Bump version number for bug fix release.
2009-04-28 15:02:15 -07:00
Harry Love
d8997822cf
Fixes instance of Ruby version = 1.8.7 for Kernel method (for real)
2009-04-28 15:35:29 -06:00
Harry Love
b8e453834b
Fixes instance of Ruby version = 1.8.7 for Kernel method
2009-04-28 14:12:05 -06:00
Marcel Molina
1db1f35184
Fix version string
2009-04-20 18:37:23 -07:00
Marcel Molina
46273ad1d8
Prepare CHANGELOG and version string for release.
2009-04-20 18:36:42 -07:00
Marcel Molina
65228fc942
Use custom alternative to __method__ if we're using 1.8.7 or above, not just above 1.8.7.
2009-04-19 19:27:51 -07:00
Marcel Molina
e2a13a6366
Merge branch 'master' of git://github.com/marcandre/aws-s3 into marcandre/master
2009-04-19 17:07:12 -07:00
Marcel Molina
af27b54b69
Rename Kernel#memoize to Kernel#expirable_memoize so that it doesn't conflict with memoize method in ActiveSupport which has an entirely different API and semantics. Reported by [Florian Dütsc (mail@florian-duetsch.de)].
2009-04-19 17:01:15 -07:00
Marcel Molina
4dc4d67baf
Full 1.9 compatibility (all tests passing against 1.9 & 1.8.6).
2009-04-19 16:32:06 -07:00
Marc-Andre Lafortune
1191298b40
- Options hash passed when connecting is not modified anymore
...
- Connection::Option simplified
2009-02-24 17:25:34 -05:00
Marcel Molina
ac97d4715c
Put library version back into beta mode
2008-07-03 13:39:11 -05:00
Marcel Molina
96d3cb1b04
For now just redefine __method__ to take arguments so we don't break 1.8.7 use today
2008-07-03 13:29:50 -05:00
Marcel Molina
cd679c6641
Only undef the id method on ACL and Owner if it is currently defined to play better with third party libraries
2008-06-19 19:34:52 -05:00
Nathaniel Bibler
1a052c63d0
Fixed 'metada' typo in documentation
2008-06-09 16:13:17 -04:00
Marcel Molina
428fcfe81e
Put version back into beta mode
2008-06-07 03:00:17 -05:00
Marcel Molina
992ec007c3
Update Rakefile and version number for new release
2008-06-07 02:19:34 -05:00
Marcel Molina
aaf17a2677
Rescue EOFError also when a request raises an exception
2008-06-07 01:22:49 -05:00
Marcel Molina
79f358f771
Uses stat rather than lstat to in the event that the uploaded file has been unlinked
2008-06-07 01:02:03 -05:00
Marcel Molina
0bc5391734
Normalize the :expires_in option to always be an integer even if the actual object passed in is a proxy to an integer, such as is the case with 2.hours from ActiveSupport which is actually an instance of ActiveSupport::Duration.
2008-06-07 00:23:47 -05:00
Marcel Molina
68cd7562a2
Don't prepend leading slash onto bucket name when deleting a bucket with the :force => true option.
2008-06-07 00:06:34 -05:00
Marcel Molina
9322ad0b41
Don't ignore :use_ssl => false in url_for when the connection is established over ssl.
2008-06-06 23:32:09 -05:00
Marcel Molina
ac644f11fd
Expose the path for a given log
2008-06-06 23:18:33 -05:00
Marcel Molina
d0a3ed64ef
Appease some proxies by always including a Content-Length with all requests.
2008-06-06 23:12:07 -05:00
Marcel Molina
d6cd815fa3
Attributes that are false should not raise NoMethodError in Base#method_missing.
2008-06-06 22:52:14 -05:00
Marcel Molina
4d6f01e740
Update String#underscore to mirror the one in ActiveSupport
2008-06-06 22:43:05 -05:00
Marcel Molina
564da3f4f0
Fix typo in docs: octect -> octet
2008-06-06 22:34:51 -05:00
Marcel Molina
2674ae23bc
Bug #20487 fixed. If a request fails and is retried, only escape the request path the first time.
2008-06-06 22:29:10 -05:00
Marcel Molina
db13e585c6
Replace ad-hoc S3Object.copy method with newly support built in API call.
2008-06-06 21:45:38 -05:00
Marcel Molina
9eb15be0ad
Account for the removal of Date::ABBR_MONTHS in Ruby 1.8.6
2008-06-06 21:14:36 -05:00
Marcel Molina
d9af94a021
Port hand rolled mock code over to using flexmock
2008-06-06 20:42:59 -05:00
Marcel Molina
d6471ec40c
Do not make connections persistent by default
2008-06-06 03:36:58 -05:00
Marcel Molina
e715329dc2
Kernel#__method__ is now included with Ruby 1.8.7 so don't override it if we're using that version or higher
2008-06-06 03:09:32 -05:00
Marcel Molina
d390edeea9
Moving aws-s3 into git
2008-06-06 02:55:18 -05:00