From 764e076eb7f65fd02d9e5bd269e83957d5a8115a Mon Sep 17 00:00:00 2001 From: Joshua Priddle Date: Mon, 19 Jun 2017 02:03:12 -0400 Subject: [PATCH] Test ActiveRecord 5.0 too --- .travis.yml | 1 + Appraisals | 5 +++++ gemfiles/activerecord_5_0.gemfile | 8 ++++++++ gemfiles/activerecord_5_1.gemfile | 4 ++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 gemfiles/activerecord_5_0.gemfile diff --git a/.travis.yml b/.travis.yml index 86a6369..99ff615 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ rvm: gemfile: - gemfiles/activerecord_4_2.gemfile + - gemfiles/activerecord_5_0.gemfile - gemfiles/activerecord_5_1.gemfile addons: diff --git a/Appraisals b/Appraisals index 64788ea..81e88fc 100644 --- a/Appraisals +++ b/Appraisals @@ -7,3 +7,8 @@ appraise "activerecord_5_0" do gem "activerecord", "~> 5.0.0" gem "activesupport", "~> 5.0.0" end + +appraise "activerecord_5_1" do + gem "activerecord", "~> 5.1.0" + gem "activesupport", "~> 5.1.0" +end diff --git a/gemfiles/activerecord_5_0.gemfile b/gemfiles/activerecord_5_0.gemfile new file mode 100644 index 0000000..a06e237 --- /dev/null +++ b/gemfiles/activerecord_5_0.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 5.0.0" +gem "activesupport", "~> 5.0.0" + +gemspec :path => "../" diff --git a/gemfiles/activerecord_5_1.gemfile b/gemfiles/activerecord_5_1.gemfile index e70b16b..6354054 100644 --- a/gemfiles/activerecord_5_1.gemfile +++ b/gemfiles/activerecord_5_1.gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" -gem "activerecord", "~> 5.1" -gem "activesupport", "~> 5.1" +gem "activerecord", "~> 5.1.0" +gem "activesupport", "~> 5.1.0" gemspec :path => "../"