1. 15 May, 2015 1 commit
    • refactor: rename variable · 03d14b2e
      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
  2. 26 Apr, 2015 2 commits
  3. 24 Apr, 2015 2 commits
  4. 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
  5. 17 Apr, 2015 1 commit
  6. 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
  7. 25 Mar, 2015 1 commit
  8. 24 Mar, 2015 1 commit
  9. 13 Mar, 2015 1 commit
  10. 06 Feb, 2015 2 commits
  11. 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
  12. 19 Dec, 2014 1 commit
  13. 09 Dec, 2014 1 commit
  14. 08 Dec, 2014 1 commit
  15. 14 Nov, 2014 1 commit
  16. 07 Nov, 2014 1 commit
  17. 24 Oct, 2014 2 commits
  18. 25 Sep, 2014 1 commit
  19. 15 Sep, 2014 3 commits
  20. 13 Sep, 2014 3 commits
  21. 12 Sep, 2014 2 commits
  22. 04 Sep, 2014 2 commits
  23. 30 Aug, 2014 4 commits
  24. 29 Aug, 2014 4 commits