- 09 Mar, 2018 1 commit
-
-
* Added support for aws-sdk-s3 gem which is now preferred way to interact with s3. Reference: https://github.com/aws/aws-sdk-ruby/blob/master/V3_UPGRADING_GUIDE.md#library-maintainer * Drop support for aws-sdk gem
Wojciech Wnętrzak committed
-
- 28 Aug, 2016 1 commit
-
-
[Amazon S3 Transfer Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) enables fast, easy, and secure transfers of files over long distances between your client and an S3 bucket. And [aws-sdk](https://github.com/aws/aws-sdk-ruby) has allowed us to enable this feature in version 2.3.0 (more detail is [here](https://github.com/aws/aws-sdk-ruby/pull/1163)). You can now pass a configuration option (:use_accelerate_endpoint) when config Paperclip with S3. You can enable the [Amazon S3 Transfer Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) by set this option: ```:use_accelerate_endpoint => true``` [fixes #2291]
Dat committed
-
- 24 Aug, 2016 1 commit
-
-
* correct S3 specs to use the correct keys in the s3_credentials hash * S3 tests work with a region that requires s3_domain_url [fixes #1985]
Isaac Betesh committed
-
- 16 Aug, 2016 1 commit
-
-
* There is no need to pass options argument to UrlGenerator * Houndci compliance
Alexey Pokhozhaev committed
-
- 23 Mar, 2016 3 commits
-
-
Ref: https://github.com/rails/rails/commit/481e49c64f790e46f4aff3ed539ed227d2eb46cb `silence_stream` was deprecated in Rails 4.2 and removed in Rails 5 because it was not thread safe. Paperclip is not running the tests in threaded mode, it's safe to add the method back in a test support module.
Esteban Pastorino committed -
`bundle exec rails -v` was taking seconds every time, making the test suite run very slow. This changes the code to compare the version against `ActiveRecord::VERSION`, which is going to be the same one as `rails -v`, making it much, much faster. Simplifies condition: we no longer support Rails < 4.2, so we test for `>= "5.0"` or fallback to `4.2` branch.
Esteban Pastorino committed -
- Also bump Travis Ruby 2.2.x version to 2.2.4
maclover7 committed
-
- 26 Jan, 2016 1 commit
-
-
kevcha committed
-
- 20 Aug, 2015 1 commit
-
-
David Chen committed
-
- 30 Apr, 2015 4 commits
- 26 Apr, 2015 1 commit
-
-
Prioritize MimeMagic over the `file` binary for content type detection when it finds a match. Fall back to `file` if MimeMagic can't match anything. `file` incorrectly detects Open Office XML files (e.g., xlsx, docx) as zip since they're implemented as zipped archives of xml files. MimeMagic detects them properly.
Stephen Pike committed
-
- 17 Apr, 2015 1 commit
-
-
Rocco Galluzzo committed
-
- 13 Mar, 2015 1 commit
-
-
Rocco Galluzzo committed
-
- 08 Dec, 2014 1 commit
-
-
Jon Yurek committed
-
- 25 Sep, 2014 1 commit
-
-
Jon Yurek committed
-
- 01 Jul, 2014 1 commit
-
-
Jon Yurek committed
-
- 20 Jun, 2014 1 commit
-
-
File.exists? has been deprecated since Ruby 1.9.2
Joost Baaij committed
-
- 10 Apr, 2014 1 commit
-
-
Andrey Novikov committed
-
- 21 Mar, 2014 1 commit
-
-
Jon Yurek committed
-
- 11 Mar, 2014 3 commits
-
-
Jon Yurek committed
-
There were a bunch of free-floating methods in spec_helper. They were pulled over from test/helper, but they shouldn't be there. Move them into appropriate modules in spec/support. This commit also cleans up the "should_accept/reject_dummy_class methods in favor of using proper matchers directly. This commit should probably not get squashed or git will likely forget that those matcher specs are the same file because of how much changed.
Jon Yurek committed -
This is a big one. This change converts all of the existing tests from test/unit to RSpec. It's been a long time coming, and was specifically prompted by the inability of minitest to work with Appraisal across the various Rails versions. Instead of ironing out that headache, converting to RSpec was preferable (after initial probing). Many assertions are still assertions and are housed in the Assertions module, but they should be converted as they get touched. Similarly, since we're touching all the tests/specs, we convert all the hashes from 1.8 syntax to 1.9 syntax.
Jon Yurek committed
-