Skip to content

Commit

Permalink
add appraisal to run tests against multiple version of activerecord
Browse files Browse the repository at this point in the history
  • Loading branch information
sufleR committed May 1, 2015
1 parent e62cc08 commit f8249bd
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
appraise "3.2" do
gem "activerecord", "~> 3.2.21"
end

appraise "4.0" do
gem "activerecord", "~> 4.0.0"
end

appraise "4.1" do
gem "activerecord", "~> 4.1.0"
end

appraise "4.2" do
gem "activerecord", "~> 4.2.0"
end
7 changes: 7 additions & 0 deletions gemfiles/3.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 3.2.21"

gemspec :path => "../"
7 changes: 7 additions & 0 deletions gemfiles/4.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 4.0.0"

gemspec :path => "../"
7 changes: 7 additions & 0 deletions gemfiles/4.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 4.1.0"

gemspec :path => "../"
7 changes: 7 additions & 0 deletions gemfiles/4.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 4.2.0"

gemspec :path => "../"
1 change: 1 addition & 0 deletions sql_query.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "pry", "~> 0.10"
spec.add_development_dependency "with_model", "~> 1.2"
spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
spec.add_development_dependency "appraisal"
end

0 comments on commit f8249bd

Please sign in to comment.