Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove Ruby 1.8 support

  • Loading branch information...
commit fe706c69505f58394c95f0cebed54cad6a4276c4 1 parent b54904e
@sikachu sikachu authored
Showing with 2 additions and 3 deletions.
  1. +1 −2  .travis.yml
  2. +1 −1  lib/paperclip/processor.rb
View
3  .travis.yml
@@ -1,8 +1,7 @@
rvm:
- - 1.8.7
- 1.9.2
- 1.9.3
- - ree
+ - jruby-19mode
before_script: "sudo ntpdate -ub ntp.ubuntu.com pool.ntp.org; true"
script: "bundle exec rake clean test cucumber"
View
2  lib/paperclip/processor.rb
@@ -78,7 +78,7 @@ def register_processor(name, processor)
# http://marsorange.com/archives/of-mogrify-ruby-tempfile-dynamic-class-definitions
class Tempfile < ::Tempfile
# This is Ruby 1.8.7's implementation.
- if RUBY_VERSION <= "1.8.6" || RUBY_PLATFORM =~ /java/
+ if RUBY_PLATFORM =~ /java/
def make_tmpname(basename, n)
case basename
when Array
Please sign in to comment.
Something went wrong with that request. Please try again.