Commit fe706c69 by Prem Sichanugrist

Remove Ruby 1.8 support

parent b54904e0
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"
......
......@@ -78,7 +78,7 @@ module Paperclip
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment