From 589cd18cc4d0a9ad5d9350cf70d3d1ccfc2ab64f Mon Sep 17 00:00:00 2001 From: Benjamin Quorning Date: Sun, 16 Aug 2020 22:01:00 +0200 Subject: [PATCH] Bump version to v1.43.0 --- CHANGELOG.md | 2 ++ config/default.yml | 1 + lib/rubocop/rspec/version.rb | 2 +- manual/cops_rspec.md | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb80c9b79..db1e51158 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 1.43.0 (2020-08-17) + * Add a new base cop class `::RuboCop::Cop::RSpec::Base`. The old base class `::RuboCop::Cop::RSpec::Cop` is deprecated, and will be removed in the next major release. ([@bquorning][]) * Add support for subject detection after includes and example groups in `RSpec/LeadingSubject`. ([@pirj][]) * Ignore trailing punctuation in context description prefix. ([@elliterate][]) diff --git a/config/default.yml b/config/default.yml index 946f854f8..289357e13 100644 --- a/config/default.yml +++ b/config/default.yml @@ -399,6 +399,7 @@ RSpec/MultipleMemoizedHelpers: Enabled: true AllowSubject: true Max: 5 + VersionAdded: '1.43' StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleMemoizedHelpers RSpec/MultipleSubjects: diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index 29371efb7..9098400f1 100644 --- a/lib/rubocop/rspec/version.rb +++ b/lib/rubocop/rspec/version.rb @@ -4,7 +4,7 @@ module RuboCop module RSpec # Version information for the RSpec RuboCop plugin. module Version - STRING = '1.42.0' + STRING = '1.43.0' end end end diff --git a/manual/cops_rspec.md b/manual/cops_rspec.md index 4d2a14dc2..f965e053f 100644 --- a/manual/cops_rspec.md +++ b/manual/cops_rspec.md @@ -2123,7 +2123,7 @@ Max | `1` | Integer Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged --- | --- | --- | --- | --- -Enabled | Yes | No | - | - +Enabled | Yes | No | 1.43 | - Checks if example groups contain too many `let` and `subject` calls.