1. 23 Mar, 2016 1 commit
  2. 13 Jan, 2016 1 commit
    • Modify the Gemfile for testing with mime-types 3 · f0bd25ad
      -   Also modify the appraisals to be more flexibly specified.
      -   The specs are '>= 1.16' and '< 4.0' because the major versions of
          mime-types have steadily restricted the supported versions of Ruby at a
          different rate than Rails. The Appraisal for Rails 5 can be specified as
          either '>= 2.0, '< 4.0' or '~> 3.0' depending on how other gems restrict
          mime-types versions.
      
          -   mime-types 1.x supports any version of Ruby, but no longer receives any
              updates (it hit EOL on 27 October 2015).
          -   mime-types 2.x supports Ruby >= 1.9.2, but will only receive security
              and data updates until 21 November 2017.
          -   mime-types 3.x supports Ruby >= 2.0 and is the active development
              version of mime-types.
      
      -   The APIs that paperclip uses are compatible between all three versions of
          mime-types.
      Austin Ziegler committed
  3. 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
  4. 10 Sep, 2015 1 commit
  5. 01 Sep, 2015 1 commit
  6. 20 Aug, 2015 1 commit
  7. 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
  8. 13 Jun, 2015 1 commit
  9. 24 Apr, 2015 1 commit
  10. 17 Apr, 2015 1 commit
  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. 08 Dec, 2014 1 commit
  13. 05 Dec, 2014 3 commits
    • Fog upgraded how expiring_urls are made · 3398282e
      Turns out that between fog 1.22.0 and fog 1.25.0, there was a change to
      how fog builds S3 expiring URLs. This changes to test to be the common
      point between the two versions. All we need to do here is make sure that
      the expiring URL is being constructed.
      
      In the process, this also updates all the appraisal-generated
      Gemfiles.
      
      Also, in the process, this meant I had to take away the builder version
      restriction. This was put in so that `bundle`ing wouldn't take forever,
      but I'm unsire whether this needed to happen with this version or if
      builder just needed to be separate from the Gemfile. I'm commimtting
      this and asking the people who reported the problem. If you don't see a
      revet commit, everything was fine.
      Jon Yurek committed
    • Revert "Fog upgraded how expiring_urls are made" · 68d777fb
      This reverts commit 8e0eb4ce.
      Jon Yurek committed
    • Fog upgraded how expiring_urls are made · 8e0eb4ce
      During the fixing of the previous commit, the tests broken. Turns out
      that between fog 1.22.0 and fog 1.25.0, there was a change to how fog
      builds S3 expiring URLs. This changes to test to be the common point
      between the two versions. All we need to do here is make sure that the
      expiring URL is being constructed.
      
      In the process, this also updates all the appraisal-generated Gemfiles.
      
      Also, in the process, this meant I had to take away the builder version
      restriction. This was put in so that `bundle`ing wouldn't take forever,
      but I'm unsire whether this needed to happen with this version or if
      builder just needed to be separate from the Gemfile. I'm commimtting
      this and asking the people who reported the problem. If you don't see a
      revet commit, everything was fine.
      Jon Yurek committed
  14. 11 Mar, 2014 2 commits
    • Changes to get rbx passing · 743e2e00
      First off, sqlite3 needs to be exactly v1.3.8.
      Need to make sure both racc and rubysl are in the Gemfiles.
      RBX's File.join doesn't like nil at all.
      RBX also doesn't like to remove a constant that doesn't exist yet.
      Jon Yurek committed
    • Convert all of the tests from test/unit to RSpec · 1f3a7467
      This is a big one.
      
      This change converts all of the existing tests from test/unit to RSpec.
      It's been a long time coming, and was specifically prompted by the
      inability of minitest to work with Appraisal across the various Rails
      versions. Instead of ironing out that headache, converting to RSpec was
      preferable (after initial probing).
      
      Many assertions are still assertions and are housed in the Assertions
      module, but they should be converted as they get touched. Similarly,
      since we're touching all the tests/specs, we convert all the hashes from
      1.8 syntax to 1.9 syntax.
      Jon Yurek committed
  15. 24 Jan, 2014 1 commit
  16. 31 Jul, 2013 2 commits
  17. 15 Mar, 2013 1 commit
  18. 15 Jun, 2012 1 commit
  19. 05 Jun, 2012 1 commit
  20. 23 Mar, 2012 2 commits
  21. 17 Feb, 2012 1 commit
  22. 18 Nov, 2011 2 commits
  23. 12 Nov, 2011 1 commit
  24. 28 Oct, 2011 1 commit
  25. 10 Oct, 2011 1 commit
  26. 05 Oct, 2011 1 commit
  27. 30 Sep, 2011 1 commit
  28. 07 Sep, 2011 1 commit
  29. 03 Sep, 2011 2 commits
  30. 24 Aug, 2011 1 commit
  31. 23 Aug, 2011 1 commit
  32. 19 Aug, 2011 1 commit
  33. 05 Aug, 2011 1 commit