diff --git a/.travis.yml b/.travis.yml index ccd5127e..86704e0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ before_script: - sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database paper_trail_foo;' -U postgres; fi" gemfile: + - gemfiles/ar_4.0.gemfile - gemfiles/ar_4.2.gemfile - gemfiles/ar_5.0.gemfile - gemfiles/ar_master.gemfile diff --git a/Appraisals b/Appraisals index 46267aa0..e2006042 100644 --- a/Appraisals +++ b/Appraisals @@ -7,6 +7,11 @@ # > the version from the appraisal takes precedence. # > https://github.com/thoughtbot/appraisal +appraise "ar-4.0" do + gem "activerecord", "~> 4.0" + gem "sinatra", "~> 1.4.6" +end + appraise "ar-4.2" do gem "activerecord", "~> 4.2" gem "sinatra", "~> 1.4.6" diff --git a/gemfiles/ar_4.0.gemfile b/gemfiles/ar_4.0.gemfile new file mode 100644 index 00000000..e5294d0c --- /dev/null +++ b/gemfiles/ar_4.0.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 4.0" +gem "sinatra", "~> 1.4.6" + +gemspec :path => "../"