diff --git a/CHANGELOG.md b/CHANGELOG.md index a367b7ade..0be9fc26d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 1.40.0 (2020-06-11) + * Add new `RSpec/VariableName` cop. ([@tejasbubane][]) * Add new `RSpec/VariableDefinition` cop. ([@tejasbubane][]) * Expand `Capybara/VisibilityMatcher` to support more than just `have_selector`. ([@twalpole][]) diff --git a/config/default.yml b/config/default.yml index e9ca2945d..bd689553f 100644 --- a/config/default.yml +++ b/config/default.yml @@ -231,6 +231,7 @@ RSpec/FilePath: IgnoreMethods: false SpecSuffixOnly: false VersionAdded: '1.2' + VersionChanged: '1.40' StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FilePath RSpec/Focus: diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index d5be298f0..8fd49bb49 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.39.0' + STRING = '1.40.0' end end end diff --git a/manual/cops_rspec.md b/manual/cops_rspec.md index 4c8b1e590..1f54b582e 100644 --- a/manual/cops_rspec.md +++ b/manual/cops_rspec.md @@ -1156,7 +1156,7 @@ expect { my_app.print_report }.to output('Hello World').to_stdout Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged --- | --- | --- | --- | --- -Enabled | Yes | No | 1.2 | - +Enabled | Yes | No | 1.2 | 1.40 Checks that spec file paths are consistent and well-formed.