Skip to content

Commit

Permalink
Lower target ruby version to match Rails 5
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed May 16, 2020
1 parent cf5a907 commit a04709e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ AllCops:
Bundler/DuplicatedGem:
Enabled: false

Gemspec/RequiredRubyVersion:
# Rubocop checks that the target ruby version matches the gemspec version
# but doesnt have a 2.2 option
Enabled: false

Layout/AccessModifierIndentation:
Enabled: false

Expand Down
2 changes: 1 addition & 1 deletion rspec-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/rspec/rspec-rails"
s.summary = "RSpec for Rails"
s.description = "rspec-rails is a testing framework for Rails 5+."
s.required_ruby_version = ">= 2.3.0"
s.required_ruby_version = ">= 2.2.0"

s.metadata = {
'bug_tracker_uri' => 'https://github.com/rspec/rspec-rails/issues',
Expand Down

0 comments on commit a04709e

Please sign in to comment.