diff --git a/CHANGELOG.md b/CHANGELOG.md index b54e54bf..fd7ff9fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Master (Unreleased) +## 2.25.0 (2024-01-04) + - Fix a false positive for `FactoryBot/FactoryNameStyle` when namespaced models. ([@ydah]) - Add new `FactoryBot/ExcessiveCreateList` cop. ([@ddieulivol]) - Fix a false positive for `FactoryBot/ConsistentParenthesesStyle` when hash pinning. ([@ydah]) diff --git a/config/default.yml b/config/default.yml index 61ae3322..77de727b 100644 --- a/config/default.yml +++ b/config/default.yml @@ -73,7 +73,7 @@ FactoryBot/ExcessiveCreateList: - "**/test/**/*" - "**/features/support/factories/**/*.rb" MaxAmount: 10 - VersionAdded: "<>" + VersionAdded: '2.25' Reference: https://www.rubydoc.info/gems/rubocop-factory_bot/RuboCop/Cop/FactoryBot/ExcessiveCreateList FactoryBot/FactoryAssociationWithStrategy: diff --git a/docs/antora.yml b/docs/antora.yml index a5bce849..e49508df 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-factory_bot title: RuboCop factory_bot -version: ~ +version: '2.25' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_factorybot.adoc b/docs/modules/ROOT/pages/cops_factorybot.adoc index 991926ad..9a5bed96 100644 --- a/docs/modules/ROOT/pages/cops_factorybot.adoc +++ b/docs/modules/ROOT/pages/cops_factorybot.adoc @@ -356,7 +356,7 @@ create_list :user, 3 | Pending | Yes | No -| <> +| 2.25 | - |=== diff --git a/lib/rubocop/factory_bot/version.rb b/lib/rubocop/factory_bot/version.rb index 3dc64663..809fc0dc 100644 --- a/lib/rubocop/factory_bot/version.rb +++ b/lib/rubocop/factory_bot/version.rb @@ -4,7 +4,7 @@ module RuboCop module FactoryBot # Version information for the factory_bot RuboCop plugin. module Version - STRING = '2.24.0' + STRING = '2.25.0' end end end