- 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 3 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 -
* Add note on new idiom for migration methods * Mostly, correct punctuation and spelling * Standardize capitalizations/upcase e.g., mime to MIME, paperclip to Paperclip
Sameer Siruguri committed
-
- 25 May, 2015 2 commits
-
-
Jon Moss committed
-
Removes RUNNING_TESTS file, that linked to CONTRIBUTING.
Tute Costa committed
-
- 15 May, 2015 8 commits
-
-
consistent with public URLs, this also changes the default behavior for expiring URLs to use the https scheme rather than http.
Brian John committed -
Ensure that the correct gemset is included when running tests. Without this on my machine the command would simply exit with no output
Brian John committed -
Brian John committed
-
Jon Yurek committed
-
[closes #1655]
Gaurish Sharma committed -
Normally, all of the settings would be set on `Attachment`, and they were `deep_merge`d fine. However, if you set the global config.paperclip_defaults = { :validate_media_type => false } then the `HasAttachedFile` class wouldn't pick up on it, because it only uses things that are defined in the class. This change makes it so that the default options are merged in to the ones that `HasAttachedFile` uses when it sets up the attachment. Fixes #1857
Jon Yurek committed -
Present methods in roughly the same order as they are referenced, to make it more graceful to read without jumping back and forth.
Luke Griffiths committed -
In other parts of the codebase, "filename" refers to the part after the directory path it is contained in. e.g. `original_filename` in attachment.rb. This makes this file easier to read by conveying the range of arguments ContentTypeDetector.new accepts.
Luke Griffiths committed
-
- 12 May, 2015 1 commit
-
-
Tute Costa committed
-
- 04 May, 2015 1 commit
-
-
Gustavo Villa committed
-
- 30 Apr, 2015 5 commits
-
-
Updated the `build missing styles` Capistrano task
Jon Yurek committed -
Jon Yurek committed
-
soramugi committed
-
soramugi committed
-
Deprecation Warnings: ``` `failure_message_for_should` is deprecated. Use `failure_message` instead. Called from /Users/mugi/git/paperclip/spec/support/matchers/have_column.rb:11:in `block in <top (required)>'. ```
soramugi committed
-
- 26 Apr, 2015 2 commits
-
-
Stephen Pike committed
-
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
-
- 24 Apr, 2015 1 commit
-
-
Jon Yurek committed
-