1. 26 Apr, 2015 1 commit
    • Prefer the mimemagic gem for content type detection · 2a0274d1
      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
  2. 24 Apr, 2015 8 commits
  3. 23 Apr, 2015 1 commit
    • Use Updated Version of `aws-sdk` in Docs [ci skip] · c7066936
      The `aws-sdk` development dependency was updated to `~> 1.6` in #1816
      to resolve issues with the creation of 0-byte files on S3 (see #1729).
      However, there is no runtime dependency on `aws-sdk`, and the
      documentation still suggests that users install an earlier version of
      `aws-sdk` that produces the problems in the referenced issue.
      
      This commit updates the docs to recommend the use of `aws-sdk` `~> 1.6`
      with Paperclip.
      Robert Eshleman committed
  4. 17 Apr, 2015 3 commits
  5. 15 Apr, 2015 1 commit
    • Fix for Errno::ENAMETOOLONG in Thumbnails · c81970d9
      * Uses Paperclip's Tempfile instead of Ruby's in Thumbnail
      * Also includes a test for TempfileFactory to be sure it does not revert to similar behavior
      * In the tests, give the OS some wiggle room in the Tempfile name to ensure the error does not occur before we are ready for it. The wiggle room is needed because the randomized part of the name has a variable number of characters.
      Sammy Larbi committed
  6. 25 Mar, 2015 2 commits
  7. 24 Mar, 2015 2 commits
  8. 21 Mar, 2015 1 commit
  9. 13 Mar, 2015 4 commits
  10. 12 Mar, 2015 1 commit
  11. 13 Feb, 2015 1 commit
    • Use Travis container infrastructure · 97c78efd
      The container infrastructure (beta) has many advantages:
      * More memory
      * More CPU
      * builds start much faster.
      * builds run much faster (usually)
      
      However, `sudo` cannot be used when running in this environment (which
      is enabled with the `sudo: false` configuration.
      Derek Prior committed
  12. 06 Feb, 2015 8 commits
  13. 03 Feb, 2015 1 commit
  14. 06 Jan, 2015 1 commit
    • Don't assume we have Rails.env if we have Rails · c46b40b9
      As referenced in #1739
      
      Just because the `Rails` constant is defined, it doesn't mean we're
      actually in a Rails app. Since there are people who use Paperclip
      outside of Rails, and there's no reason we shouldn't be able to run in
      those situations. This commit checks for `Rails.env` instead of just
      checking for `Rails` and assuming `Rails.env` works.
      Jon Yurek committed
  15. 23 Dec, 2014 2 commits
  16. 19 Dec, 2014 2 commits
  17. 12 Dec, 2014 1 commit