Skip to content

Commit

Permalink
Update Appraisals file to fetch latest versions
Browse files Browse the repository at this point in the history
Bundler seemed to be having a hard time resolving to a later version
of the Rails 5.0.x series so simplify the gemfiles to give bundler
more freedom to resolve things.
  • Loading branch information
pixeltrix committed Nov 21, 2017
1 parent 4858a09 commit f6fab7e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
12 changes: 3 additions & 9 deletions Appraisals
@@ -1,19 +1,13 @@
appraise "rails-4-2" do
gem "railties", "~> 4.2.0"
gem "actionpack", "~> 4.2.0"
gem "activemodel", "~> 4.2.0"
gem "rails", "~> 4.2.0"
end

if RUBY_VERSION >= "2.2.2"
appraise "rails-5-0" do
gem "railties", "~> 5.0.0"
gem "actionpack", "~> 5.0.0"
gem "activemodel", "~> 5.0.0"
gem "rails", ">= 5.0.0", "< 5.1"
end

appraise "rails-5-1" do
gem "railties", ">= 5.1.0", "< 5.2"
gem "actionpack", ">= 5.1.0", "< 5.2"
gem "activemodel", ">= 5.1.0", "< 5.2"
gem "rails", ">= 5.1.0", "< 5.2"
end
end
4 changes: 1 addition & 3 deletions gemfiles/rails_4_2.gemfile
Expand Up @@ -6,8 +6,6 @@ gem "rake"
gem "mocha", require: false
gem "appraisal"
gem "pry"
gem "railties", "~> 4.2.0"
gem "actionpack", "~> 4.2.0"
gem "activemodel", "~> 4.2.0"
gem "rails", "~> 4.2.0"

gemspec path: "../"
4 changes: 1 addition & 3 deletions gemfiles/rails_5_0.gemfile
Expand Up @@ -6,8 +6,6 @@ gem "rake"
gem "mocha", require: false
gem "appraisal"
gem "pry"
gem "railties", "~> 5.0.0"
gem "actionpack", "~> 5.0.0"
gem "activemodel", "~> 5.0.0"
gem "rails", ">= 5.0.0", "< 5.1"

gemspec path: "../"
4 changes: 1 addition & 3 deletions gemfiles/rails_5_1.gemfile
Expand Up @@ -6,8 +6,6 @@ gem "rake"
gem "mocha", require: false
gem "appraisal"
gem "pry"
gem "railties", ">= 5.1.0", "< 5.2"
gem "actionpack", ">= 5.1.0", "< 5.2"
gem "activemodel", ">= 5.1.0", "< 5.2"
gem "rails", ">= 5.1.0", "< 5.2"

gemspec path: "../"

0 comments on commit f6fab7e

Please sign in to comment.