- 17 Apr, 2012 4 commits
-
-
Prem Sichanugrist committed
-
Make sure that we close opened files after we're done with them.
Prem Sichanugrist committed -
Prem Sichanugrist committed
-
Sebastien Guignot committed
-
- 30 Mar, 2012 3 commits
- 02 Mar, 2012 5 commits
-
-
Prem Sichanugrist committed
-
Fixes #738
beachbc committed -
Joshua Clayton committed
-
Joshua Clayton committed
-
This adds functionality to add additional params to the querystring for S3 expiring URLs. The reason for this is if you want to override response_content_type or response_content_disposition with expiring URLs, you have to change Amazon's signature, which gets signed before adding additional options to the querystring. Because it's added later, and because Amazon's signature includes the full URL, the signature is bad and the request fails. To use this feature: has_attached_file :avatar, :s3_url_options => { :response_content_disposition => "inline" } Additionally, you can pass a lambda and it'll be evaluated when the URL is generated. If, for example, the content type is incorrect in Amazon (either empty or application/octet-stream), you can effectively cast the response from Amazon as a particular content type. has_attached_file :avatar, :s3_url_options => lambda {|model| { :response_content_type => model.avatar_content_type } }
Joshua Clayton committed
-
- 01 Mar, 2012 1 commit
-
-
Jesse Cantara committed
-
- 17 Feb, 2012 1 commit
-
-
Fixes #743
Prem Sichanugrist committed
-
- 06 Feb, 2012 1 commit
-
-
Kelley Reynolds committed
-
- 27 Jan, 2012 2 commits
-
-
Fixes #703
Prem Sichanugrist committed -
Prem Sichanugrist committed
-
- 20 Jan, 2012 3 commits
-
-
Benjamin Hüttinger committed
-
Benjamin Hüttinger committed
-
Benjamin Hüttinger committed
-
- 19 Jan, 2012 1 commit
-
-
Luke Griffiths committed
-
- 18 Jan, 2012 1 commit
-
-
Luke Griffiths committed
-
- 16 Jan, 2012 1 commit
-
-
ralph committed
-
- 09 Jan, 2012 1 commit
-
-
iltempo committed
-
- 13 Dec, 2011 1 commit
-
-
Christoph Lupprich committed
-
- 12 Dec, 2011 5 commits
-
-
Prem Sichanugrist committed
-
Prem Sichanugrist committed
-
There was some problem with command line parsing with a special character.
Prem Sichanugrist committed -
Prem Sichanugrist committed
-
The original commit came from @amazonwebservices and @trevorrowe in #579. I had to revise the commit and make sure all the test cases are passing. All credits still goes to those guys, thanks a lot!
Prem Sichanugrist committed
-
- 02 Dec, 2011 1 commit
-
-
Mike Burns committed
-
- 18 Nov, 2011 1 commit
-
-
Jon Yurek committed
-
- 28 Oct, 2011 1 commit
-
-
Mike Burns committed
-
- 21 Oct, 2011 3 commits
-
-
Prem Sichanugrist committed
-
Prem Sichanugrist committed
-
Kelley Reynolds committed
-
- 20 Oct, 2011 1 commit
-
-
ones (:private and :public_read) in the s3_test completed test for lambda permission value
Alexander Presber committed
-
- 19 Oct, 2011 2 commits
-
-
formulate assert conditions
Alexander Presber committed -
bit of work
Tim Assmann committed
-
- 15 Oct, 2011 1 commit
-
-
mpd committed
-