rubocop/rubocop (rubocop)
### [`v1.57.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1572-2023-10-26)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.57.1...v1.57.2)
##### Bug fixes
- [#12274](https://togithub.com/rubocop/rubocop/issues/12274): Fix a false positive for `Lint/Void` when `each`'s receiver is an object of `Enumerator` to which `filter` has been applied. (\[[@koic](https://togithub.com/koic)]\[])
- [#12291](https://togithub.com/rubocop/rubocop/issues/12291): Fix a false positive for `Metrics/ClassLength` when a class with a singleton class definition. (\[[@koic](https://togithub.com/koic)]\[])
- [#12293](https://togithub.com/rubocop/rubocop/issues/12293): Fix a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat hash braces with `merge` and method chain. (\[[@koic](https://togithub.com/koic)]\[])
- [#12298](https://togithub.com/rubocop/rubocop/issues/12298): Fix a false positive for `Style/RedundantParentheses` when using a parenthesized hash literal as the first argument in a method call without parentheses. (\[[@koic](https://togithub.com/koic)]\[])
- [#12283](https://togithub.com/rubocop/rubocop/pull/12283): Fix an error for `Style/SingleLineDoEndBlock` when using single line `do`...`end` with no body. (\[[@koic](https://togithub.com/koic)]\[])
- [#12312](https://togithub.com/rubocop/rubocop/issues/12312): Fix an incorrect autocorrect for `Style/HashSyntax` when braced hash key and value are the same and it is used in `if`...`else`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12307](https://togithub.com/rubocop/rubocop/issues/12307): Fix an infinite loop error for `Layout/EndAlignment` when `EnforcedStyleAlignWith: variable` and using a conditional statement in a method argument on the same line and `end` with method call is not aligned. (\[[@koic](https://togithub.com/koic)]\[])
- [#11652](https://togithub.com/rubocop/rubocop/issues/11652): Make `--auto-gen-config` generate `inherit_from` correctly inside ERB `if`. (\[[@jonas054](https://togithub.com/jonas054)]\[])
- [#12310](https://togithub.com/rubocop/rubocop/issues/12310): Drop `base64` gem from runtime dependency. (\[[@koic](https://togithub.com/koic)]\[])
- [#12300](https://togithub.com/rubocop/rubocop/issues/12300): Fix an error for `Style/IdenticalConditionalBranches` when `if`...`else` with identical leading lines and using index assign. (\[[@koic](https://togithub.com/koic)]\[])
- [#12286](https://togithub.com/rubocop/rubocop/issues/12286): Fix false positives for `Style/RedundantDoubleSplatHashBraces` when using double splat with a hash literal enclosed in parenthesized ternary operator. (\[[@koic](https://togithub.com/koic)]\[])
- [#12279](https://togithub.com/rubocop/rubocop/issues/12279): Fix false positives for `Lint/EmptyConditionalBody` when missing 2nd `if` body with a comment. (\[[@koic](https://togithub.com/koic)]\[])
- [#12275](https://togithub.com/rubocop/rubocop/issues/12275): Fix a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat within block argument containing a hash literal in an array literal. (\[[@koic](https://togithub.com/koic)]\[])
- [#12284](https://togithub.com/rubocop/rubocop/issues/12284): Fix false positives for `Style/SingleArgumentDig` when using some anonymous argument syntax. (\[[@koic](https://togithub.com/koic)]\[])
- [#12301](https://togithub.com/rubocop/rubocop/issues/12301): Make `Style/RedundantFilterChain` aware of safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
'1.57.1'
->'1.57.2'
Release Notes
rubocop/rubocop (rubocop)
### [`v1.57.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1572-2023-10-26) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.57.1...v1.57.2) ##### Bug fixes - [#12274](https://togithub.com/rubocop/rubocop/issues/12274): Fix a false positive for `Lint/Void` when `each`'s receiver is an object of `Enumerator` to which `filter` has been applied. (\[[@koic](https://togithub.com/koic)]\[]) - [#12291](https://togithub.com/rubocop/rubocop/issues/12291): Fix a false positive for `Metrics/ClassLength` when a class with a singleton class definition. (\[[@koic](https://togithub.com/koic)]\[]) - [#12293](https://togithub.com/rubocop/rubocop/issues/12293): Fix a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat hash braces with `merge` and method chain. (\[[@koic](https://togithub.com/koic)]\[]) - [#12298](https://togithub.com/rubocop/rubocop/issues/12298): Fix a false positive for `Style/RedundantParentheses` when using a parenthesized hash literal as the first argument in a method call without parentheses. (\[[@koic](https://togithub.com/koic)]\[]) - [#12283](https://togithub.com/rubocop/rubocop/pull/12283): Fix an error for `Style/SingleLineDoEndBlock` when using single line `do`...`end` with no body. (\[[@koic](https://togithub.com/koic)]\[]) - [#12312](https://togithub.com/rubocop/rubocop/issues/12312): Fix an incorrect autocorrect for `Style/HashSyntax` when braced hash key and value are the same and it is used in `if`...`else`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12307](https://togithub.com/rubocop/rubocop/issues/12307): Fix an infinite loop error for `Layout/EndAlignment` when `EnforcedStyleAlignWith: variable` and using a conditional statement in a method argument on the same line and `end` with method call is not aligned. (\[[@koic](https://togithub.com/koic)]\[]) - [#11652](https://togithub.com/rubocop/rubocop/issues/11652): Make `--auto-gen-config` generate `inherit_from` correctly inside ERB `if`. (\[[@jonas054](https://togithub.com/jonas054)]\[]) - [#12310](https://togithub.com/rubocop/rubocop/issues/12310): Drop `base64` gem from runtime dependency. (\[[@koic](https://togithub.com/koic)]\[]) - [#12300](https://togithub.com/rubocop/rubocop/issues/12300): Fix an error for `Style/IdenticalConditionalBranches` when `if`...`else` with identical leading lines and using index assign. (\[[@koic](https://togithub.com/koic)]\[]) - [#12286](https://togithub.com/rubocop/rubocop/issues/12286): Fix false positives for `Style/RedundantDoubleSplatHashBraces` when using double splat with a hash literal enclosed in parenthesized ternary operator. (\[[@koic](https://togithub.com/koic)]\[]) - [#12279](https://togithub.com/rubocop/rubocop/issues/12279): Fix false positives for `Lint/EmptyConditionalBody` when missing 2nd `if` body with a comment. (\[[@koic](https://togithub.com/koic)]\[]) - [#12275](https://togithub.com/rubocop/rubocop/issues/12275): Fix a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat within block argument containing a hash literal in an array literal. (\[[@koic](https://togithub.com/koic)]\[]) - [#12284](https://togithub.com/rubocop/rubocop/issues/12284): Fix false positives for `Style/SingleArgumentDig` when using some anonymous argument syntax. (\[[@koic](https://togithub.com/koic)]\[]) - [#12301](https://togithub.com/rubocop/rubocop/issues/12301): Make `Style/RedundantFilterChain` aware of safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.