Skip to content

Commit

Permalink
Add appraisals
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Feb 2, 2012
1 parent 9c28edc commit 50e02f7
Show file tree
Hide file tree
Showing 12 changed files with 200 additions and 6 deletions.
16 changes: 16 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
appraise "rails23" do
gem "activerecord", "~> 2.3.14"
gem "rails", "~> 2.3.14"
end

appraise "rails30" do
gem "activerecord", "~> 3.0.11"
end

appraise "rails31" do
gem "activerecord", "~> 3.1.3"
end

appraise "rails32" do
gem "activerecord", "~> 3.2.1"
end
6 changes: 1 addition & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
source "http://rubygems.org"

# This may wreak havoc on the lockfile, but we need a way to test
# different AR versions
gem 'activerecord', ENV['AR_VERSION']
gem 'rails', ENV['AR_VERSION']

gem 'rake'
gem 'activerecord'
gem 'appraisal'
gem 'jruby-openssl', :group => :development

Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ GEM
activesupport (3.2.1)
i18n (~> 0.6)
multi_json (~> 1.0)
appraisal (0.4.0)
bundler
rake
arel (3.0.0)
bouncy-castle-java (1.5.0146.1)
builder (3.0.0)
Expand All @@ -34,6 +37,7 @@ PLATFORMS

DEPENDENCIES
activerecord
appraisal
jruby-openssl
mocha
rake
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails23.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rake"
gem "appraisal"
gem "jruby-openssl", :group=>:development
gem "activerecord", "~> 2.3.14"
gem "rails", "~> 2.3.14"

38 changes: 38 additions & 0 deletions gemfiles/rails23.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
GEM
remote: http://rubygems.org/
specs:
actionmailer (2.3.14)
actionpack (= 2.3.14)
actionpack (2.3.14)
activesupport (= 2.3.14)
rack (~> 1.1.0)
activerecord (2.3.14)
activesupport (= 2.3.14)
activeresource (2.3.14)
activesupport (= 2.3.14)
activesupport (2.3.14)
appraisal (0.4.0)
bundler
rake
bouncy-castle-java (1.5.0146.1)
jruby-openssl (0.7.5)
bouncy-castle-java (>= 1.5.0146.1)
rack (1.1.3)
rails (2.3.14)
actionmailer (= 2.3.14)
actionpack (= 2.3.14)
activerecord (= 2.3.14)
activeresource (= 2.3.14)
activesupport (= 2.3.14)
rake (>= 0.8.3)
rake (0.9.2.2)

PLATFORMS
java

DEPENDENCIES
activerecord (~> 2.3.14)
appraisal
jruby-openssl
rails (~> 2.3.14)
rake
9 changes: 9 additions & 0 deletions gemfiles/rails30.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rake"
gem "appraisal"
gem "jruby-openssl", :group=>:development
gem "activerecord", "~> 3.0.11"

33 changes: 33 additions & 0 deletions gemfiles/rails30.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
GEM
remote: http://rubygems.org/
specs:
activemodel (3.0.11)
activesupport (= 3.0.11)
builder (~> 2.1.2)
i18n (~> 0.5.0)
activerecord (3.0.11)
activemodel (= 3.0.11)
activesupport (= 3.0.11)
arel (~> 2.0.10)
tzinfo (~> 0.3.23)
activesupport (3.0.11)
appraisal (0.4.0)
bundler
rake
arel (2.0.10)
bouncy-castle-java (1.5.0146.1)
builder (2.1.2)
i18n (0.5.0)
jruby-openssl (0.7.5)
bouncy-castle-java (>= 1.5.0146.1)
rake (0.9.2.2)
tzinfo (0.3.31)

PLATFORMS
java

DEPENDENCIES
activerecord (~> 3.0.11)
appraisal
jruby-openssl
rake
9 changes: 9 additions & 0 deletions gemfiles/rails31.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rake"
gem "appraisal"
gem "jruby-openssl", :group=>:development
gem "activerecord", "~> 3.1.3"

35 changes: 35 additions & 0 deletions gemfiles/rails31.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
GEM
remote: http://rubygems.org/
specs:
activemodel (3.1.3)
activesupport (= 3.1.3)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.3)
activemodel (= 3.1.3)
activesupport (= 3.1.3)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activesupport (3.1.3)
multi_json (~> 1.0)
appraisal (0.4.0)
bundler
rake
arel (2.2.1)
bouncy-castle-java (1.5.0146.1)
builder (3.0.0)
i18n (0.6.0)
jruby-openssl (0.7.5)
bouncy-castle-java (>= 1.5.0146.1)
multi_json (1.0.4)
rake (0.9.2.2)
tzinfo (0.3.31)

PLATFORMS
java

DEPENDENCIES
activerecord (~> 3.1.3)
appraisal
jruby-openssl
rake
9 changes: 9 additions & 0 deletions gemfiles/rails32.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rake"
gem "appraisal"
gem "jruby-openssl", :group=>:development
gem "activerecord", "~> 3.2.1"

35 changes: 35 additions & 0 deletions gemfiles/rails32.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
GEM
remote: http://rubygems.org/
specs:
activemodel (3.2.1)
activesupport (= 3.2.1)
builder (~> 3.0.0)
activerecord (3.2.1)
activemodel (= 3.2.1)
activesupport (= 3.2.1)
arel (~> 3.0.0)
tzinfo (~> 0.3.29)
activesupport (3.2.1)
i18n (~> 0.6)
multi_json (~> 1.0)
appraisal (0.4.0)
bundler
rake
arel (3.0.0)
bouncy-castle-java (1.5.0146.1)
builder (3.0.0)
i18n (0.6.0)
jruby-openssl (0.7.5)
bouncy-castle-java (>= 1.5.0146.1)
multi_json (1.0.4)
rake (0.9.2.2)
tzinfo (0.3.31)

PLATFORMS
java

DEPENDENCIES
activerecord (~> 3.2.1)
appraisal
jruby-openssl
rake
2 changes: 1 addition & 1 deletion test/jdbc_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def jruby?

require 'arjdbc' if jruby?
puts "Using activerecord version #{ActiveRecord::VERSION::STRING}"
puts "Specify version with AR_VERSION={version} or RUBYLIB={path}"
puts "Specify version with 'rake appraisal:{version} default'. See 'rake -T'."
require 'models/auto_id'
require 'models/entry'
require 'models/data_types'
Expand Down

0 comments on commit 50e02f7

Please sign in to comment.