From 8dad0da196edf13b3c8715462c10c62d4e22b886 Mon Sep 17 00:00:00 2001 From: Benjamin Quorning Date: Sun, 26 Dec 2021 06:53:49 +0100 Subject: [PATCH] Bump version to 2.7.0 - Clean up changelog - Updates version number in config/default.yml --- CHANGELOG.md | 4 +++- config/default.yml | 2 +- docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_rspec_factorybot.adoc | 2 +- lib/rubocop/rspec/version.rb | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76d07164a..df7dc2328 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ ## Master (Unreleased) -* [#1215](https://github.com/rubocop/rubocop-rails/pull/1215): Add new `RSpec/FactoryBot/SyntaxMethods` cop. ([@leoarnold][]) +## 2.7.0 (2021-12-26) + +* Add new `RSpec/FactoryBot/SyntaxMethods` cop. ([@leoarnold][]) * Exclude `task` type specs from `RSpec/DescribeClass` cop. ([@harry-graham][]) ## 2.6.0 (2021-11-08) diff --git a/config/default.yml b/config/default.yml index 0e9f14b64..addb4ef31 100644 --- a/config/default.yml +++ b/config/default.yml @@ -821,7 +821,7 @@ RSpec/FactoryBot/SyntaxMethods: Description: Use shorthands from `FactoryBot::Syntax::Methods` in your specs. Enabled: pending SafeAutoCorrect: false - VersionAdded: "<>" + VersionAdded: '2.7' StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/SyntaxMethods RSpec/Rails: diff --git a/docs/antora.yml b/docs/antora.yml index bd35f744c..3496774aa 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-rspec title: RuboCop RSpec -version: master +version: '2.7' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc b/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc index e5e8ed1cb..57401bf1e 100644 --- a/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc +++ b/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc @@ -166,7 +166,7 @@ end | Pending | Yes | Yes (Unsafe) -| <> +| 2.7 | - |=== diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index 736b59180..f5e3b1e97 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 = '2.6.0' + STRING = '2.7.0' end end end