Bump rubocop-rails from 2.21.1 to 2.21.2
Bumps rubocop-rails from 2.21.1 to 2.21.2.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.21.2
Bug fixes
- #1126: Fix a false positive for
Rails/RedundantActiveRecordAllMethod
when using someEnumerable
's methods with block argument. (@koic
)- #1121: Fix an error for
Rails/SelectMap
when usingselect(:column_name).map(&:column_name)
without receiver model. (@koic
)- #1119: Fix an incorrect autocorrect for
Rails/RedundantActiveRecordAllMethod
whenall
has parentheses. (@masato-bkn
)- #1130: Fix crash for
Rails/UniqueValidationWithoutIndex
with bare validate. (@jamiemccarthy
)- #1124: Fix false positives for
Rails/RedundantActiveRecordAllMethod
when receiver is not an Active Record model. (@koic
)
Changelog
Sourced from rubocop-rails's changelog.
2.21.2 (2023-09-30)
Bug fixes
- #1126: Fix a false positive for
Rails/RedundantActiveRecordAllMethod
when using someEnumerable
's methods with block argument. ([@koic
][])- #1121: Fix an error for
Rails/SelectMap
when usingselect(:column_name).map(&:column_name)
without receiver model. ([@koic
][])- #1119: Fix an incorrect autocorrect for
Rails/RedundantActiveRecordAllMethod
whenall
has parentheses. ([@masato-bkn
][])- #1130: Fix crash for
Rails/UniqueValidationWithoutIndex
with bare validate. ([@jamiemccarthy
][])- #1124: Fix false positives for
Rails/RedundantActiveRecordAllMethod
when receiver is not an Active Record model. ([@koic
][])
Commits
-
fda7a43
Cut 2.21.2 -
c0d83ee
Update Changelog -
8d63d0e
Merge pull request #1135 from technicalpickles/qualify-struct -
a21f4a3
Use ::Struct to avoid collisions with cop namespace -
e1b1fff
Merge pull request #1126 from koic/fix_a_false_positive_for_rails_redundant_a... -
e586f7f
Fix a false positive forRails/RedundantActiveRecordAllMethod
-
0a57811
Merge pull request #1127 from koic/fix_false_positive_for_rails_redundant_act... -
7a0208b
Merge pull request #1131 from jamiemccarthy/jm-unique-validation-fix -
bd4f92b
[Fix #1130] Fix crash for Rails/UniqueValidationWithoutIndex with bare validate -
d3117ff
Merge pull request #1122 from koic/fix_an_error_for_rails_select_map - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts