rubocop/rubocop (rubocop)
### [`v1.62.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1621-2024-03-11)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.62.0...v1.62.1)
##### Bug fixes
- [#12761](https://togithub.com/rubocop/rubocop/issues/12761): Fix a false positive for `Style/HashEachMethods` when the key block argument of `Enumerable#each` method is unused after `chunk`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12768](https://togithub.com/rubocop/rubocop/pull/12768): Fix a false positive for `Style/NilComparison` without receiver and `EnforcedStyle: comparison`. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12752](https://togithub.com/rubocop/rubocop/pull/12752): Fix an error for `Gemspec/RequiredRubyVersion` when the file is empty. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12770](https://togithub.com/rubocop/rubocop/pull/12770): Fix an error for `Lint/RedundantWithIndex` when the method has no receiver. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12775](https://togithub.com/rubocop/rubocop/pull/12775): Fix an error for `Lint/UselessTimes` when no block is present. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12772](https://togithub.com/rubocop/rubocop/pull/12772): Fix an error for `Style/ClassVars` when calling `class_variable_set` without arguments. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12773](https://togithub.com/rubocop/rubocop/pull/12773): Fix an error for `Style/For` with `EnforcedStyle: for` when no receiver. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12765](https://togithub.com/rubocop/rubocop/pull/12765): Fix an error for `Layout/MultilineMethodCallIndentation` with safe navigation and assignment method. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12703](https://togithub.com/rubocop/rubocop/issues/12703): Fix an error for `Lint/MixedCaseRange` with invalid byte sequence in UTF-8. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12755](https://togithub.com/rubocop/rubocop/pull/12755): Fix an exception for `RedundantCurrentDirectoryInPath` in case of `require_relative` without arguments. (\[[@viralpraxis](https://togithub.com/viralpraxis)]\[])
- [#12710](https://togithub.com/rubocop/rubocop/issues/12710): Fix a false negative for `Layout/EmptyLineAfterMagicComment` when the file is comments only. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12758](https://togithub.com/rubocop/rubocop/issues/12758): Fix false positives for `Layout/RedundantLineBreak` when using `&&` or `||` after a backslash newline. (\[[@koic](https://togithub.com/koic)]\[])
- [#12763](https://togithub.com/rubocop/rubocop/pull/12763): Fix an infinite loop for `Style/MultilineMethodSignature` when there is a newline directly after the def keyword. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12774](https://togithub.com/rubocop/rubocop/pull/12774): Fix an infinite loop for `Style/RaiseArgs` with `EnforcedStyle: compact` when passing more than 2 arguments to `raise`. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12663](https://togithub.com/rubocop/rubocop/issues/12663): Fix `Lint/Syntax` getting disabled by `rubocop:disable Lint/Syntax`. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12756](https://togithub.com/rubocop/rubocop/pull/12756): Only parse target Ruby from gemspec if array elements are strings. (\[[@davidrunger](https://togithub.com/davidrunger)]\[])
##### Changes
- [#12730](https://togithub.com/rubocop/rubocop/pull/12730): Skip `LineLength` phase on `--auto-gen-only-exclude`. (\[[@sambostock](https://togithub.com/sambostock)]\[])
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.62.0
->1.62.1
Release Notes
rubocop/rubocop (rubocop)
### [`v1.62.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1621-2024-03-11) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.62.0...v1.62.1) ##### Bug fixes - [#12761](https://togithub.com/rubocop/rubocop/issues/12761): Fix a false positive for `Style/HashEachMethods` when the key block argument of `Enumerable#each` method is unused after `chunk`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12768](https://togithub.com/rubocop/rubocop/pull/12768): Fix a false positive for `Style/NilComparison` without receiver and `EnforcedStyle: comparison`. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12752](https://togithub.com/rubocop/rubocop/pull/12752): Fix an error for `Gemspec/RequiredRubyVersion` when the file is empty. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12770](https://togithub.com/rubocop/rubocop/pull/12770): Fix an error for `Lint/RedundantWithIndex` when the method has no receiver. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12775](https://togithub.com/rubocop/rubocop/pull/12775): Fix an error for `Lint/UselessTimes` when no block is present. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12772](https://togithub.com/rubocop/rubocop/pull/12772): Fix an error for `Style/ClassVars` when calling `class_variable_set` without arguments. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12773](https://togithub.com/rubocop/rubocop/pull/12773): Fix an error for `Style/For` with `EnforcedStyle: for` when no receiver. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12765](https://togithub.com/rubocop/rubocop/pull/12765): Fix an error for `Layout/MultilineMethodCallIndentation` with safe navigation and assignment method. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12703](https://togithub.com/rubocop/rubocop/issues/12703): Fix an error for `Lint/MixedCaseRange` with invalid byte sequence in UTF-8. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12755](https://togithub.com/rubocop/rubocop/pull/12755): Fix an exception for `RedundantCurrentDirectoryInPath` in case of `require_relative` without arguments. (\[[@viralpraxis](https://togithub.com/viralpraxis)]\[]) - [#12710](https://togithub.com/rubocop/rubocop/issues/12710): Fix a false negative for `Layout/EmptyLineAfterMagicComment` when the file is comments only. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12758](https://togithub.com/rubocop/rubocop/issues/12758): Fix false positives for `Layout/RedundantLineBreak` when using `&&` or `||` after a backslash newline. (\[[@koic](https://togithub.com/koic)]\[]) - [#12763](https://togithub.com/rubocop/rubocop/pull/12763): Fix an infinite loop for `Style/MultilineMethodSignature` when there is a newline directly after the def keyword. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12774](https://togithub.com/rubocop/rubocop/pull/12774): Fix an infinite loop for `Style/RaiseArgs` with `EnforcedStyle: compact` when passing more than 2 arguments to `raise`. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12663](https://togithub.com/rubocop/rubocop/issues/12663): Fix `Lint/Syntax` getting disabled by `rubocop:disable Lint/Syntax`. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12756](https://togithub.com/rubocop/rubocop/pull/12756): Only parse target Ruby from gemspec if array elements are strings. (\[[@davidrunger](https://togithub.com/davidrunger)]\[]) ##### Changes - [#12730](https://togithub.com/rubocop/rubocop/pull/12730): Skip `LineLength` phase on `--auto-gen-only-exclude`. (\[[@sambostock](https://togithub.com/sambostock)]\[])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.