Skip to content

Commit

Permalink
Compatibility with paperclip 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertg committed Nov 12, 2011
1 parent 702e22a commit 42f9120
Show file tree
Hide file tree
Showing 15 changed files with 98 additions and 430 deletions.
21 changes: 3 additions & 18 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
appraise "rails2" do
gem "rails", "~> 2.3.14"
gem "rails", "~> 2.3.12"
end

appraise "rails3" do
gem "rails", "~> 3.0.10"
gem "rails", "~> 3.0.9"
end

appraise "rails3_1" do
gem "rails", "~> 3.1.0"
gem "rails", "~> 3.1.0.rc5"
end

appraise "rails2_paperclip_2_3" do
gem "rails", "~> 2.3.14"
gem "paperclip", "~> 2.3.16"
end

appraise "rails3_paperclip_2_3" do
gem "rails", "~> 3.0.10"
gem "paperclip", "~> 2.3.16"
end

appraise "rails3_1_paperclip_2_3" do
gem "rails", "~> 3.1.0"
gem "paperclip", "~> 2.3.16"
end
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
source "http://rubygems.org"

gem "paperclip"
gemspec

gem "paperclip", '2.4.0'

gem "appraisal"
gem "mocha"
gem "sqlite3"
Expand Down
2 changes: 1 addition & 1 deletion delayed_paperclip.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec = Gem::Specification.new do |s|

s.test_files = Dir["test/**/*,rb"] + Dir['test/features/*']

s.add_dependency 'paperclip', ["~> 2.3.9"]
s.add_dependency 'paperclip', [">= 2.4.0"]

s.add_development_dependency 'mocha'
s.add_development_dependency 'sqlite3'
Expand Down
5 changes: 3 additions & 2 deletions gemfiles/rails2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

source "http://rubygems.org"

gem "paperclip"
gem "paperclip", "2.4.0"
gem "appraisal"
gem "mocha"
gem "sqlite3"
gem "delayed_job", :require=>false
gem "resque", :require=>false
gem "json", :platforms=>:ruby_18
gem "rails", "~> 2.3.14"
gem "rails", "~> 2.3.12"

gemspec :path=>"../"
19 changes: 13 additions & 6 deletions gemfiles/rails2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
PATH
remote: /Users/bertg/Development/delayed_paperclip
specs:
delayed_paperclip (0.7.2)
paperclip (>= 2.4.0)

GEM
remote: http://rubygems.org/
specs:
Expand All @@ -21,11 +27,11 @@ GEM
daemons (= 1.0.10)
json (1.6.1)
metaclass (0.0.1)
mime-types (1.16)
mime-types (1.17.2)
mocha (0.10.0)
metaclass (~> 0.0.1)
multi_json (1.0.3)
paperclip (2.4.1)
paperclip (2.4.0)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
Expand All @@ -38,7 +44,7 @@ GEM
activeresource (= 2.3.14)
activesupport (= 2.3.14)
rake (>= 0.8.3)
rake (0.9.2)
rake (0.9.2.2)
redis (2.2.2)
redis-namespace (1.0.3)
redis (< 3.0.0)
Expand All @@ -47,7 +53,7 @@ GEM
redis-namespace (~> 1.0.2)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
sinatra (1.2.6)
sinatra (1.2.7)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
sqlite3 (1.3.4)
Expand All @@ -61,9 +67,10 @@ PLATFORMS
DEPENDENCIES
appraisal
delayed_job
delayed_paperclip!
json
mocha
paperclip
rails (~> 2.3.14)
paperclip (= 2.4.0)
rails (~> 2.3.12)
resque
sqlite3
13 changes: 0 additions & 13 deletions gemfiles/rails2_paperclip_2_3.gemfile

This file was deleted.

69 changes: 0 additions & 69 deletions gemfiles/rails2_paperclip_2_3.gemfile.lock

This file was deleted.

5 changes: 3 additions & 2 deletions gemfiles/rails3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

source "http://rubygems.org"

gem "paperclip"
gem "paperclip", "2.4.0"
gem "appraisal"
gem "mocha"
gem "sqlite3"
gem "delayed_job", :require=>false
gem "resque", :require=>false
gem "json", :platforms=>:ruby_18
gem "rails", "~> 3.0.10"
gem "rails", "~> 3.0.9"

gemspec :path=>"../"
26 changes: 17 additions & 9 deletions gemfiles/rails3.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
PATH
remote: /Users/bertg/Development/delayed_paperclip
specs:
delayed_paperclip (0.7.2)
paperclip (>= 2.4.0)

GEM
remote: http://rubygems.org/
specs:
Expand Down Expand Up @@ -48,16 +54,16 @@ GEM
mime-types (~> 1.16)
treetop (~> 1.4.8)
metaclass (0.0.1)
mime-types (1.16)
mime-types (1.17.2)
mocha (0.10.0)
metaclass (~> 0.0.1)
multi_json (1.0.3)
paperclip (2.4.1)
paperclip (2.4.0)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
mime-types
polyglot (0.3.2)
polyglot (0.3.3)
rack (1.2.4)
rack-mount (0.6.14)
rack (>= 1.0.0)
Expand All @@ -77,8 +83,9 @@ GEM
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.4)
rake (0.9.2)
rdoc (3.9.4)
rake (0.9.2.2)
rdoc (3.11)
json (~> 1.4)
redis (2.2.2)
redis-namespace (1.0.3)
redis (< 3.0.0)
Expand All @@ -87,7 +94,7 @@ GEM
redis-namespace (~> 1.0.2)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
sinatra (1.2.6)
sinatra (1.2.7)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
sqlite3 (1.3.4)
Expand All @@ -96,7 +103,7 @@ GEM
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
tzinfo (0.3.31)
vegas (0.1.8)
rack (>= 1.0.0)

Expand All @@ -106,9 +113,10 @@ PLATFORMS
DEPENDENCIES
appraisal
delayed_job
delayed_paperclip!
json
mocha
paperclip
rails (~> 3.0.10)
paperclip (= 2.4.0)
rails (~> 3.0.9)
resque
sqlite3
5 changes: 3 additions & 2 deletions gemfiles/rails3_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

source "http://rubygems.org"

gem "paperclip"
gem "paperclip", "2.4.0"
gem "appraisal"
gem "mocha"
gem "sqlite3"
gem "delayed_job", :require=>false
gem "resque", :require=>false
gem "json", :platforms=>:ruby_18
gem "rails", "~> 3.1.0"
gem "rails", "~> 3.1.0.rc5"

gemspec :path=>"../"
Loading

0 comments on commit 42f9120

Please sign in to comment.