Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
fe706c69
Commit
fe706c69
authored
Mar 16, 2012
by
Prem Sichanugrist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Ruby 1.8 support
parent
b54904e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.travis.yml
+1
-2
lib/paperclip/processor.rb
+1
-1
No files found.
.travis.yml
View file @
fe706c69
rvm
:
rvm
:
-
1.8.7
-
1.9.2
-
1.9.2
-
1.9.3
-
1.9.3
-
re
e
-
jruby-19mod
e
before_script
:
"
sudo
ntpdate
-ub
ntp.ubuntu.com
pool.ntp.org;
true"
before_script
:
"
sudo
ntpdate
-ub
ntp.ubuntu.com
pool.ntp.org;
true"
script
:
"
bundle
exec
rake
clean
test
cucumber"
script
:
"
bundle
exec
rake
clean
test
cucumber"
...
...
lib/paperclip/processor.rb
View file @
fe706c69
...
@@ -78,7 +78,7 @@ module Paperclip
...
@@ -78,7 +78,7 @@ module Paperclip
# http://marsorange.com/archives/of-mogrify-ruby-tempfile-dynamic-class-definitions
# http://marsorange.com/archives/of-mogrify-ruby-tempfile-dynamic-class-definitions
class
Tempfile
<
::
Tempfile
class
Tempfile
<
::
Tempfile
# This is Ruby 1.8.7's implementation.
# 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
)
def
make_tmpname
(
basename
,
n
)
case
basename
case
basename
when
Array
when
Array
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment