Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Remove Ruby 1.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sikachu committed Mar 23, 2012
1 parent b54904e commit fe706c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lib/paperclip/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe706c6

Please sign in to comment.