From 712433ae9d5d409cfd22caca97fa47795bdee8e7 Mon Sep 17 00:00:00 2001 From: Benjamin Quorning Date: Tue, 13 Dec 2022 09:58:43 +0100 Subject: [PATCH] Bump version to v2.16.0 --- CHANGELOG.md | 2 ++ config/default.yml | 10 +++++----- docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_rspec.adoc | 8 ++++---- docs/modules/ROOT/pages/cops_rspec_factorybot.adoc | 2 +- lib/rubocop/rspec/version.rb | 2 +- 6 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41ec9ac3f..363a2dc77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 2.16.0 (2022-12-13) + - Add new `RSpec/FactoryBot/FactoryNameStyle` cop. ([@ydah]) - Improved processing speed for `RSpec/Be`, `RSpec/ExpectActual`, `RSpec/ImplicitExpect`, `RSpec/MessageSpies`, `RSpec/PredicateMatcher` and `RSpec/Rails/HaveHttpStatus`. ([@ydah]) - Fix wrong autocorrection in `n_times` style on `RSpec/FactoryBot/CreateList`. ([@r7kamura]) diff --git a/config/default.yml b/config/default.yml index 59d17adab..5b61650ba 100644 --- a/config/default.yml +++ b/config/default.yml @@ -149,7 +149,7 @@ RSpec/BeEq: Enabled: pending Safe: false VersionAdded: 2.9.0 - VersionChanged: "<>" + VersionChanged: '2.16' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEq RSpec/BeEql: @@ -157,7 +157,7 @@ RSpec/BeEql: Enabled: true Safe: false VersionAdded: '1.7' - VersionChanged: "<>" + VersionChanged: '2.16' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEql RSpec/BeNil: @@ -291,7 +291,7 @@ RSpec/Dialect: RSpec/DuplicatedMetadata: Description: Avoid duplicated metadata. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.16' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DuplicatedMetadata RSpec/EmptyExampleGroup: @@ -677,7 +677,7 @@ RSpec/Pending: RSpec/PendingWithoutReason: Description: Checks for pending or skipped examples without reason. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.16' Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/PendingWithoutReason RSpec/PredicateMatcher: @@ -979,7 +979,7 @@ RSpec/FactoryBot/FactoryClassName: RSpec/FactoryBot/FactoryNameStyle: Description: Checks for name style for argument of FactoryBot::Syntax::Methods. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.16' EnforcedStyle: symbol SupportedStyles: - symbol diff --git a/docs/antora.yml b/docs/antora.yml index 51a533a15..993ede64f 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-rspec title: RuboCop RSpec -version: ~ +version: '2.16' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_rspec.adoc b/docs/modules/ROOT/pages/cops_rspec.adoc index cd904baf1..75e31a181 100644 --- a/docs/modules/ROOT/pages/cops_rspec.adoc +++ b/docs/modules/ROOT/pages/cops_rspec.adoc @@ -195,7 +195,7 @@ expect(foo).to be(true) | No | Yes (Unsafe) | 2.9.0 -| <> +| 2.16 |=== Check for expectations where `be(...)` can replace `eq(...)`. @@ -236,7 +236,7 @@ expect(foo).to be(nil) | No | Yes (Unsafe) | 1.7 -| <> +| 2.16 |=== Check for expectations where `be(...)` can replace `eql(...)`. @@ -1017,7 +1017,7 @@ end | Pending | Yes | Yes -| <> +| 2.16 | - |=== @@ -3841,7 +3841,7 @@ end | Pending | Yes | No -| <> +| 2.16 | - |=== diff --git a/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc b/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc index 366c36b1a..29d03cca7 100644 --- a/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc +++ b/docs/modules/ROOT/pages/cops_rspec_factorybot.adoc @@ -243,7 +243,7 @@ end | Pending | Yes | Yes -| <> +| 2.16 | - |=== diff --git a/lib/rubocop/rspec/version.rb b/lib/rubocop/rspec/version.rb index 437e0c75e..97448c191 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.15.0' + STRING = '2.16.0' end end end