Skip to content

Commit

Permalink
Merge pull request #2338 from rspec/ruby-version
Browse files Browse the repository at this point in the history
Set Ruby version.
  • Loading branch information
JonRowe committed May 16, 2020
2 parents c2ab26a + f7437a5 commit 1ed2a76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
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
1 change: 1 addition & 0 deletions Changelog.md
Expand Up @@ -7,6 +7,7 @@ Bug Fixes:
* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304)
* Allow `have_enqueued_mail` to match when a sub class of `ActionMailer::DeliveryJob`
is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338)

### 4.0.0 / 2020-03-24
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)
Expand Down
1 change: 1 addition & 0 deletions rspec-rails.gemspec
Expand Up @@ -11,6 +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.2.0"

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

0 comments on commit 1ed2a76

Please sign in to comment.