Skip to content

Commit

Permalink
Merge pull request #74 from rubocop/fix-v224
Browse files Browse the repository at this point in the history
Fix some wrong release version in v2.24
  • Loading branch information
ydah authored Sep 19, 2023
2 parents 5589c19 + 4af303f commit 9def6af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FactoryBot/AssociationStyle:
Enabled: pending
Safe: false
VersionAdded: '2.23'
VersionChanged: "<<next>>"
VersionChanged: '2.24'
EnforcedStyle: implicit
SupportedStyles:
- explicit
Expand All @@ -26,7 +26,7 @@ FactoryBot/AttributeDefinedStatically:
Description: Always declare attribute values as blocks.
Enabled: true
VersionAdded: '1.28'
VersionChanged: "<<next>>"
VersionChanged: '2.24'
Reference: https://www.rubydoc.info/gems/rubocop-factory_bot/RuboCop/Cop/FactoryBot/AttributeDefinedStatically

FactoryBot/ConsistentParenthesesStyle:
Expand Down Expand Up @@ -61,7 +61,7 @@ FactoryBot/CreateList:
ExplicitOnly: false
SafeAutoCorrect: false
VersionAdded: '1.25'
VersionChanged: "<<next>>"
VersionChanged: '2.24'
Reference: https://www.rubydoc.info/gems/rubocop-factory_bot/RuboCop/Cop/FactoryBot/CreateList

FactoryBot/FactoryAssociationWithStrategy:
Expand All @@ -80,7 +80,7 @@ FactoryBot/FactoryClassName:
Description: Use string value when setting the class attribute explicitly.
Enabled: true
VersionAdded: '1.37'
VersionChanged: "<<next>>"
VersionChanged: '2.24'
Reference: https://www.rubydoc.info/gems/rubocop-factory_bot/RuboCop/Cop/FactoryBot/FactoryClassName

FactoryBot/FactoryNameStyle:
Expand All @@ -103,7 +103,7 @@ FactoryBot/FactoryNameStyle:
FactoryBot/IdSequence:
Description: Do not create a FactoryBot sequence for an id column.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.24'
Reference: https://www.rubydoc.info/gems/rubocop-factory_bot/RuboCop/Cop/FactoryBot/IdSequence

FactoryBot/RedundantFactoryOption:
Expand Down
10 changes: 5 additions & 5 deletions docs/modules/ROOT/pages/cops_factorybot.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| No
| Yes (Unsafe)
| 2.23
| <<next>>
| 2.24
|===

Use a consistent style to define associations.
Expand Down Expand Up @@ -108,7 +108,7 @@ end
| Yes
| Yes
| 1.28
| <<next>>
| 2.24
|===

Always declare attribute values as blocks.
Expand Down Expand Up @@ -251,7 +251,7 @@ build :user
| Yes
| Yes (Unsafe)
| 1.25
| <<next>>
| 2.24
|===

Checks for create_list usage.
Expand Down Expand Up @@ -410,7 +410,7 @@ end
| Yes
| Yes
| 1.37
| <<next>>
| 2.24
|===

Use string value when setting the class attribute explicitly.
Expand Down Expand Up @@ -537,7 +537,7 @@ create(:user)
| Pending
| Yes
| Yes
| <<next>>
| 2.24
| -
|===

Expand Down

0 comments on commit 9def6af

Please sign in to comment.