Skip to content

Commit 064cf1a

Browse files
pirjJonRowe
authored andcommitted
Merge pull request #2267 from rspec/use-latest-rails-by-default-in-specs
Use latest Rails by default
1 parent 53b9551 commit 064cf1a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ when /stable/
2828
MAJOR = 6
2929
MINOR = 0
3030
when nil, false, ""
31-
MAJOR = 5
31+
MAJOR = 6
3232
MINOR = 0
3333
else
3434
match = /(\d+)(\.|-)(\d+)/.match(RAILS_VERSION)

Gemfile-rails-dependencies

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
version_file = File.expand_path("../.rails-version", __FILE__)
22

3-
# FIXME: rack 2.1.0 introduces a deprecation warning that rails is triggering,
4-
# but in later versions this warning will be removed. Get rid of this hack once
5-
# rack 2.1.0+ is out.
6-
gem 'rack', '!= 2.1.0'
7-
83
case version = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp) || ''
94
when /master/
105
gem "rails", :git => "https://github.com/rails/rails.git"
@@ -28,7 +23,7 @@ when /stable$/
2823
gem rails_gem, :git => "https://github.com/rails/rails.git", :branch => version
2924
end
3025
when nil, false, ""
31-
gem "rails", "~> 5.0.0"
26+
gem "rails", "~> 6.0.0"
3227
gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
3328
else
3429
gem "rails", version

0 commit comments

Comments
 (0)