- 15 Nov, 2015 6 commits
-
-
the name string is used multiple times in interpolation so storing it reduces object creation
Dave Gynn committed -
Dave Gynn committed
-
this commit primarily uses frozen strings to reduce object creation during interpolation. the :basename method now uses File.basename(file, ".*") rather than a Regexp. basename may be called multiple times.
Dave Gynn committed -
by using the attachment name (symbol) and Class as keys we reduce the number of Strings created before hitting the cache
Dave Gynn committed -
Dave Gynn committed
-
Dave Gynn committed
-
- 10 Sep, 2015 2 commits
-
-
Removes note for running paperclip in EOL'd version of Rails (2.3).
Tute Costa committed -
Removes `column_type` and `column_options` so that it works well in both versions. Backcported from master, to release a patch version with this bugfix. [closes #1947]
Andrew Hubbs committed
-
- 20 Aug, 2015 1 commit
-
-
Jon Yurek committed
-
- 03 Aug, 2015 1 commit
-
-
Fix GeometryParser for '@>' special case
Tute Costa committed
-
- 31 Jul, 2015 1 commit
-
-
According to the ImageMagick documentation the '@' flag is a special case that can be used in conjunction with '>' to prevent IM from scaling an image up. The '<' flag is ignored when using '@'. http://www.imagemagick.org/Usage/resize/#pixel This fixes the issue I reported in #1851
Adam Lassek committed
-
- 29 Jul, 2015 2 commits
-
-
Fix specs broken by aruba changes
Tute Costa committed -
* update aruba methods for in_current_dir and check_file_presence * switch rspec syntax from should to expect * configure raise_in_transactional_callbacks if AR >= 4.2 * remove paperclip itself from Appraisal This also updates Travis to use the default bundler (to enable caching) and to build primary rubies first
Dave Gynn committed
-
- 03 Jul, 2015 2 commits
-
-
[ci skip] Add Ubuntu install instructions
Tute Costa committed -
Rodrigo Argumedo committed
-
- 29 Jun, 2015 2 commits
-
-
Update version in README
Tute Costa committed -
You guys missed the version update for the gemfile entry.
Jeroen Visser committed
-
- 26 Jun, 2015 1 commit
-
-
It should never be the case that `url` returns `nil`. If there is no url that can be reasonable achieved, as is the case when the record the attachment is attached to is unpersisted, then `url` should return the default url.
Jon Yurek committed
-
- 19 Jun, 2015 3 commits
- 18 Jun, 2015 3 commits
-
-
Tute Costa committed
-
[ci skip]
Tute Costa committed -
We upgraded the minimum required Ruby version to not include end-of-life Rubies, but forgot to take into account that it's a backwards incompatible change. In this commit we rollback that change, allowing paperclip ~> 4.2.4 to run on 1.9.2 again. [fixes #1902]
Tute Costa committed
-
- 17 Jun, 2015 5 commits
-
-
Isaac Betesh committed
-
Jon Yurek committed
-
A number of people were reporting that there were issues with the gem dependency specifications changes we made recently. This will revert them.
Jon Yurek committed -
Tute Costa committed
-
[ci skip]
Tute Costa committed
-
- 13 Jun, 2015 2 commits
- 12 Jun, 2015 1 commit
-
-
A number of people were reporting that there were issues with the gem dependency specifications changes we made recently. This will revert them.
Jon Yurek committed
-
- 05 Jun, 2015 6 commits
-
-
Jon Yurek committed
-
🎉 For the full details of what is included in this release, check out NEWS. [fixes #1875]
maclover7 committed -
Tute Costa committed
-
Tute Costa committed
-
Thanks to MORI Shingo of DeNA Co., Ltd. for reporting this. There is an issue where if an HTML file is uploaded with a .html extension, but the content type is listed as being `image/jpeg`, this will bypass a validation checking for images. But it will also pass the spoof check, because a file named .html and containing actual HTML passes the spoof check. This change makes it so that we also check the supplied content type. So even if the file contains HTML and ends with .html, it doesn't match the content type of `image/jpeg` and so it fails.
Jon Yurek committed -
Tute Costa committed
-
- 27 May, 2015 2 commits
-
-
Mime-types 2.6.1+ has a columnar store that only loads the data that is needed for a drastically reduced memory footprint. cc/ @jeremyevans @halostatue See: https://github.com/mime-types/ruby-mime-types/pull/96. [fixes #1873]
schneems committed -
* Add clarifications on use of helper methods * Camelize 'ImageMagick' [fixes #1874]
Sameer Siruguri committed
-