From dbe987800b490f58415dc645c0369f041ab73d09 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Thu, 4 Jan 2024 22:28:00 +0900 Subject: [PATCH] Bump version v2.25.0 --- CHANGELOG.md | 2 ++ config/default.yml | 2 +- docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_factorybot.adoc | 2 +- lib/rubocop/factory_bot/version.rb | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) 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