Skip to content

Commit 2094c19

Browse files
Drop Rails 5.0 support
1 parent 7e03dcf commit 2094c19

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ rvm:
66
- 2.6.3
77
- ruby-head
88
env:
9-
- RAILS_VERSION="~> 5.0.0"
109
- RAILS_VERSION="~> 5.1.0"
1110
- RAILS_VERSION="~> 5.2.0"
1211
- RAILS_VERSION="~> 6.0.0.rc1"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ boot it every time you run a test, rake task or migration.
1717
## Compatibility
1818

1919
* Ruby versions: MRI 2.4, MRI 2.5, MRI 2.6
20-
* Rails versions: 5.0, 5.1, 5.2, 6.0 (Spring is installed by default when you do
20+
* Rails versions: 5.1, 5.2, 6.0 (Spring is installed by default when you do
2121
`rails new` to generate your application)
2222

2323
Spring makes extensive use of `Process.fork`, so won't be able to

lib/spring/application.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ def preload
9191

9292
require Spring.application_root_path.join("config", "application")
9393

94-
unless Rails.respond_to?(:gem_version) && Rails.gem_version >= Gem::Version.new('5.0.0')
95-
raise "Spring only supports Rails >= 5.0.0"
94+
unless Rails.respond_to?(:gem_version) && Rails.gem_version >= Gem::Version.new('5.1.0')
95+
raise "Spring only supports Rails >= 5.1.0"
9696
end
9797

9898
# config/environments/test.rb will have config.cache_classes = true. However

test/support/acceptance_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class AcceptanceTest < ActiveSupport::TestCase
1212
DEFAULT_SPEEDUP = 0.8
1313

1414
def rails_version
15-
ENV['RAILS_VERSION'] || '~> 5.0.0'
15+
ENV['RAILS_VERSION'] || '~> 6.0.0'
1616
end
1717

1818
# Extension point for spring-watchers-listen

0 commit comments

Comments
 (0)