Update rubocop-factory_bot: 2.22.0 → 2.23.1 (minor) #1264
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
Release Notes
2.23.1
2.23.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 55 commits:
Merge pull request #42 from rubocop/release-2.23.1
Merge pull request #41 from rubocop/document-active_model-hardcoded-transient-assiciation-case
Add an explanation to #39
Release v2.23.1
Merge pull request #38 from rubocop/fix-association-style-error
Fix AssociationStyle for blockless factory definitions
Switch docs version back
Merge pull request #36 from rubocop/release-2.23.0
Release v2.23.0
Merge pull request #33 from r7kamura/association-style
Add an example for implicit with factory and traits
Remove a redundant statement
Get rid of a redundant matcher wrapper
Improve examples so that users can understand NonImplicitAssociationMethodNames usage
Remove traits option support
Add `FactoryBot/AssociationStyle` cop
Merge pull request #31 from r7kamura/create-list-factory-array
Adjust to use `map`
Change `FactoryBot/CreateList` so that it checks same factory calls in an Array
Merge pull request #35 from rubocop/duplicate_changelog
Remove duplicate CHANGELOG
Merge pull request #34 from morissetcl/add-cop-flag-explicit-factory-bot-dsl-method-usage-in-association
Add new `FactoryBot/FactoryAssociationWithStrategy` cop
Merge pull request #18 from rubocop/add_option_for_consistent_parentheses_style
Remove unnecessary `$` captures (#23)
Add `ExplicitOnly` configuration option to `FactoryBot/FactoryNameStyle`
Add `ExplicitOnly` configuration option to `FactoryBot/CreateList`
Add `ExplicitOnly` configuration option to `FactoryBot/ConsistentParenthesesStyle`
Add `ConfigurableExplicitOnly` module for handles `ExplicitOnly` configuration parameters
Merge pull request #29 from r7kamura/create-list-times-map
Merge branch 'master' into create-list-times-map
Merge pull request #19 from r7kamura/redundant-association-option
Add `FactoryBot/RedundantFactoryOption` cop
Merge pull request #26 from rubocop/add_link
Change `FactoryBot/CreateList` so that it considers `times.map`
Add a link to factory_bot in the documentation
Merge pull request #30 from r7kamura/create-list-safe-autocorrect
Merge pull request #32 from r7kamura/heredoc-indentation
Merge pull request #28 from rubocop/add_syntaxhighlight
Replace heredoc `<<-` with `<<~` and adjust indentation
Mark `FactoryBot/CreateList` as `SafeAutoCorrect: false`
Merge pull request #27 from rubocop/common-ascii
Add syntax highlighting to README
Use U+002d instead of U+2013
Merge pull request #25 from rubocop/fix-fb-notation
Use factory_bot everywhere
Merge pull request #21 from r7kamura/unnecessary-config-metadata
Merge pull request #22 from rubocop/enhance_doc_for_ConsistentParenthesesStyle
Merge pull request #17 from rubocop/use-factory_bot
Enhance documentation for `FactoryBot/ConsistentParenthesesStyle`
Merge pull request #20 from r7kamura/pull-request-template-rubocop-yml
Remove unnecessary `:config` metadata from specs
Remove unnecessary checklist item from pull request template
Use factory_bot instead of FactoryBot
Switch docs version back
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands