diff --git a/Appraisals b/Appraisals index dc4de30..b1c8577 100644 --- a/Appraisals +++ b/Appraisals @@ -11,7 +11,11 @@ appraise 'rails-41' do gem 'rails', '~> 4.1.1' end +appraise 'rails-42' do + gem 'rails', '~> 4.2.0' +end + appraise 'rails-5' do - gem 'rails', '~> 5.0' + gem 'rails', '~> 5.0.0' gem 'rails-controller-testing' end diff --git a/gemfiles/rails_3.gemfile b/gemfiles/rails_3.gemfile index bbd9aa2..f37b0d3 100644 --- a/gemfiles/rails_3.gemfile +++ b/gemfiles/rails_3.gemfile @@ -5,4 +5,4 @@ source "https://rubygems.org" gem "rails", "~> 3.2.18" gem "test-unit", "~> 3.0" -gemspec :path => "../" +gemspec path: "../" diff --git a/gemfiles/rails_4.gemfile b/gemfiles/rails_4.gemfile index 39a1bd6..4f47847 100644 --- a/gemfiles/rails_4.gemfile +++ b/gemfiles/rails_4.gemfile @@ -4,4 +4,4 @@ source "https://rubygems.org" gem "rails", "~> 4.0.5" -gemspec :path => "../" +gemspec path: "../" diff --git a/gemfiles/rails_41.gemfile b/gemfiles/rails_41.gemfile index 8dfe1fe..7e4bd92 100644 --- a/gemfiles/rails_41.gemfile +++ b/gemfiles/rails_41.gemfile @@ -4,4 +4,4 @@ source "https://rubygems.org" gem "rails", "~> 4.1.1" -gemspec :path => "../" +gemspec path: "../" diff --git a/gemfiles/rails_42.gemfile b/gemfiles/rails_42.gemfile new file mode 100644 index 0000000..6977eb0 --- /dev/null +++ b/gemfiles/rails_42.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 4.2.0" + +gemspec path: "../" diff --git a/gemfiles/rails_5.gemfile b/gemfiles/rails_5.gemfile index 265a9a1..0ab3b69 100644 --- a/gemfiles/rails_5.gemfile +++ b/gemfiles/rails_5.gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" -gem "rails", "~> 5.0" +gem "rails", "~> 5.0.0" gem "rails-controller-testing" -gemspec :path => "../" +gemspec path: "../" diff --git a/test/dummy/config/boot.rb b/test/dummy/config/boot.rb index ef36047..6266cfc 100644 --- a/test/dummy/config/boot.rb +++ b/test/dummy/config/boot.rb @@ -1,5 +1,5 @@ # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__) -require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) +require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)