1. 26 Jan, 2016 1 commit
  2. 17 Nov, 2015 1 commit
  3. 16 Nov, 2015 1 commit
  4. 15 Nov, 2015 3 commits
  5. 23 Oct, 2015 1 commit
  6. 11 Sep, 2015 1 commit
    • Make specs run faster · 11090027
        $ rspec spec/paperclip/integration_spec.rb --profile 1
        Testing against version 4.1.7
        ..................................
      
        Finished in 15.19 seconds (files took 0.60155 seconds to load)
        34 examples, 0 failures
      
        Top 1 slowest examples (9.54 seconds, 62.8% of total time):
          Paperclip Many models at once does not exceed the open file limit
            9.54 seconds ./spec/paperclip/integration_spec.rb:18
      
      to
      
        $ rspec spec/paperclip/integration_spec.rb --profile 1
        Testing against version 4.1.7
        ..................................
      
        Finished in 10.95 seconds (files took 0.59585 seconds to load)
        34 examples, 0 failures
      
        Top 1 slowest examples (5.33 seconds, 48.7% of total time):
          Paperclip Many models at once does not exceed the open file limit
            5.33 seconds ./spec/paperclip/integration_spec.rb:18
      
      Updates gemfiles to Ruby 2 hash syntax.
      
      [closes #1700]
      soramugi committed
  7. 27 Aug, 2015 3 commits
  8. 20 Aug, 2015 5 commits
  9. 31 Jul, 2015 1 commit
  10. 29 Jul, 2015 1 commit
    • Address spec deprecation warnings and failures · c783b1fc
      * 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
  11. 26 Jun, 2015 1 commit
  12. 19 Jun, 2015 3 commits
  13. 17 Jun, 2015 1 commit
  14. 05 Jun, 2015 2 commits
    • Fixes failing tests · 2e540f89
      Jon Yurek committed
    • Fix a possible security issue with spoofing · 9aee4112
      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
  15. 15 May, 2015 2 commits
  16. 30 Apr, 2015 4 commits
  17. 26 Apr, 2015 2 commits
  18. 24 Apr, 2015 4 commits
  19. 17 Apr, 2015 1 commit
  20. 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
  21. 25 Mar, 2015 1 commit