rubocop/rubocop (rubocop)
### [`v1.65.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1650-2024-07-10)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.64.1...v1.65.0)
##### New features
- [#13030](https://togithub.com/rubocop/rubocop/pull/13030): Add new `Gemspec/AddRuntimeDependency` cop. (\[[@koic](https://togithub.com/koic)]\[])
##### Bug fixes
- [#12954](https://togithub.com/rubocop/rubocop/issues/12954): Fix a false negative for `Style/ArgumentsForwarding` when arguments forwarding in `yield`. (\[[@koic](https://togithub.com/koic)]\[])
- [#13033](https://togithub.com/rubocop/rubocop/issues/13033): Fix a false positive for `Layout/SpaceAroundOperators` when using multiple spaces between an operator and a tailing comment. (\[[@koic](https://togithub.com/koic)]\[])
- [#12885](https://togithub.com/rubocop/rubocop/issues/12885): Fix a false positive for `Lint/ToEnumArguments` when enumerator is created for another method. (\[[@koic](https://togithub.com/koic)]\[])
- [#13018](https://togithub.com/rubocop/rubocop/issues/13018): Fix a false positive for `Style/MethodCallWithArgsParentheses` when `EnforcedStyle: omit_parentheses` is set and parenthesized method call is used before constant resolution. (\[[@koic](https://togithub.com/koic)]\[])
- [#12986](https://togithub.com/rubocop/rubocop/issues/12986): Fix a false positive for `Style/RedundantBegin` when endless method definition with `rescue`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12985](https://togithub.com/rubocop/rubocop/issues/12985): Fix an error for `Style/RedundantRegexpCharacterClass` when using regexp_parser gem 2.3.1 or older. (\[[@koic](https://togithub.com/koic)]\[])
- [#13010](https://togithub.com/rubocop/rubocop/issues/13010): Fix an error for `Style/SuperArguments` when the hash argument is or-assigned. (\[[@koic](https://togithub.com/koic)]\[])
- [#13023](https://togithub.com/rubocop/rubocop/issues/13023): Fix an error for `Style/SymbolProc` when using lambda `->` with one argument and multiline `do`...`end` block. (\[[@koic](https://togithub.com/koic)]\[])
- [#12989](https://togithub.com/rubocop/rubocop/issues/12989): Fix an error for the `inherit_gem` config when the Gemfile contains an uninstalled git gem. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12975](https://togithub.com/rubocop/rubocop/issues/12975): Fix an error for the `inherit_gem` config when running RuboCop without bundler and no Gemfile exists. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12997](https://togithub.com/rubocop/rubocop/pull/12997): Fix an error for `Lint/UnmodifiedReduceAccumulator` when the block is empty. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#12979](https://togithub.com/rubocop/rubocop/issues/12979): Fix false negatives for `Lint/Void` when void expression with guard clause is not on last line. (\[[@koic](https://togithub.com/koic)]\[])
- [#12716](https://togithub.com/rubocop/rubocop/issues/12716): Fix false negatives for `Lint/Void` when using parenthesized void operators. (\[[@koic](https://togithub.com/koic)]\[])
- [#12471](https://togithub.com/rubocop/rubocop/issues/12471): Fix false negatives for `Style/ZeroLengthPredicate` when using safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[])
- [#12960](https://togithub.com/rubocop/rubocop/issues/12960): Fix false positives for `Lint/NestedMethodDefinition` when definition of method on variable. (\[[@koic](https://togithub.com/koic)]\[])
- [#13012](https://togithub.com/rubocop/rubocop/issues/13012): Fix false positives for `Style/HashExcept` when using `reject` and calling `include?` method with bang. (\[[@koic](https://togithub.com/koic)]\[])
- [#12983](https://togithub.com/rubocop/rubocop/issues/12983): Fix false positives for `Style/SendWithLiteralMethodName` using `send` with writer method name. (\[[@koic](https://togithub.com/koic)]\[])
- [#12957](https://togithub.com/rubocop/rubocop/issues/12957): Fix false positives for `Style/SuperArguments` when calling super in a block. (\[[@koic](https://togithub.com/koic)]\[])
##### Changes
- [#12970](https://togithub.com/rubocop/rubocop/issues/12970): Add `CountModifierForms` option to `Metrics/BlockNesting` and set it to `false` by default. (\[[@koic](https://togithub.com/koic)]\[])
- [#13032](https://togithub.com/rubocop/rubocop/pull/13032): Display warning messages for deprecated APIs. (\[[@koic](https://togithub.com/koic)]\[])
- [#13031](https://togithub.com/rubocop/rubocop/pull/13031): Enable YJIT by default in server mode. (\[[@koic](https://togithub.com/koic)]\[])
- [#12557](https://togithub.com/rubocop/rubocop/issues/12557): Make server mode aware of auto-restart for `bundle update`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12616](https://togithub.com/rubocop/rubocop/issues/12616): Make `Style/MapCompactWithConditionalBlock` aware of `filter_map`. (\[[@koic](https://togithub.com/koic)]\[])
- [#13035](https://togithub.com/rubocop/rubocop/issues/13035): Support autocorrect for `Lint/ImplicitStringConcatenation`. (\[[@koic](https://togithub.com/koic)]\[])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.64.0'
->'~> 1.65.0'
Release Notes
rubocop/rubocop (rubocop)
### [`v1.65.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1650-2024-07-10) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.64.1...v1.65.0) ##### New features - [#13030](https://togithub.com/rubocop/rubocop/pull/13030): Add new `Gemspec/AddRuntimeDependency` cop. (\[[@koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#12954](https://togithub.com/rubocop/rubocop/issues/12954): Fix a false negative for `Style/ArgumentsForwarding` when arguments forwarding in `yield`. (\[[@koic](https://togithub.com/koic)]\[]) - [#13033](https://togithub.com/rubocop/rubocop/issues/13033): Fix a false positive for `Layout/SpaceAroundOperators` when using multiple spaces between an operator and a tailing comment. (\[[@koic](https://togithub.com/koic)]\[]) - [#12885](https://togithub.com/rubocop/rubocop/issues/12885): Fix a false positive for `Lint/ToEnumArguments` when enumerator is created for another method. (\[[@koic](https://togithub.com/koic)]\[]) - [#13018](https://togithub.com/rubocop/rubocop/issues/13018): Fix a false positive for `Style/MethodCallWithArgsParentheses` when `EnforcedStyle: omit_parentheses` is set and parenthesized method call is used before constant resolution. (\[[@koic](https://togithub.com/koic)]\[]) - [#12986](https://togithub.com/rubocop/rubocop/issues/12986): Fix a false positive for `Style/RedundantBegin` when endless method definition with `rescue`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12985](https://togithub.com/rubocop/rubocop/issues/12985): Fix an error for `Style/RedundantRegexpCharacterClass` when using regexp_parser gem 2.3.1 or older. (\[[@koic](https://togithub.com/koic)]\[]) - [#13010](https://togithub.com/rubocop/rubocop/issues/13010): Fix an error for `Style/SuperArguments` when the hash argument is or-assigned. (\[[@koic](https://togithub.com/koic)]\[]) - [#13023](https://togithub.com/rubocop/rubocop/issues/13023): Fix an error for `Style/SymbolProc` when using lambda `->` with one argument and multiline `do`...`end` block. (\[[@koic](https://togithub.com/koic)]\[]) - [#12989](https://togithub.com/rubocop/rubocop/issues/12989): Fix an error for the `inherit_gem` config when the Gemfile contains an uninstalled git gem. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12975](https://togithub.com/rubocop/rubocop/issues/12975): Fix an error for the `inherit_gem` config when running RuboCop without bundler and no Gemfile exists. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12997](https://togithub.com/rubocop/rubocop/pull/12997): Fix an error for `Lint/UnmodifiedReduceAccumulator` when the block is empty. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#12979](https://togithub.com/rubocop/rubocop/issues/12979): Fix false negatives for `Lint/Void` when void expression with guard clause is not on last line. (\[[@koic](https://togithub.com/koic)]\[]) - [#12716](https://togithub.com/rubocop/rubocop/issues/12716): Fix false negatives for `Lint/Void` when using parenthesized void operators. (\[[@koic](https://togithub.com/koic)]\[]) - [#12471](https://togithub.com/rubocop/rubocop/issues/12471): Fix false negatives for `Style/ZeroLengthPredicate` when using safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[]) - [#12960](https://togithub.com/rubocop/rubocop/issues/12960): Fix false positives for `Lint/NestedMethodDefinition` when definition of method on variable. (\[[@koic](https://togithub.com/koic)]\[]) - [#13012](https://togithub.com/rubocop/rubocop/issues/13012): Fix false positives for `Style/HashExcept` when using `reject` and calling `include?` method with bang. (\[[@koic](https://togithub.com/koic)]\[]) - [#12983](https://togithub.com/rubocop/rubocop/issues/12983): Fix false positives for `Style/SendWithLiteralMethodName` using `send` with writer method name. (\[[@koic](https://togithub.com/koic)]\[]) - [#12957](https://togithub.com/rubocop/rubocop/issues/12957): Fix false positives for `Style/SuperArguments` when calling super in a block. (\[[@koic](https://togithub.com/koic)]\[]) ##### Changes - [#12970](https://togithub.com/rubocop/rubocop/issues/12970): Add `CountModifierForms` option to `Metrics/BlockNesting` and set it to `false` by default. (\[[@koic](https://togithub.com/koic)]\[]) - [#13032](https://togithub.com/rubocop/rubocop/pull/13032): Display warning messages for deprecated APIs. (\[[@koic](https://togithub.com/koic)]\[]) - [#13031](https://togithub.com/rubocop/rubocop/pull/13031): Enable YJIT by default in server mode. (\[[@koic](https://togithub.com/koic)]\[]) - [#12557](https://togithub.com/rubocop/rubocop/issues/12557): Make server mode aware of auto-restart for `bundle update`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12616](https://togithub.com/rubocop/rubocop/issues/12616): Make `Style/MapCompactWithConditionalBlock` aware of `filter_map`. (\[[@koic](https://togithub.com/koic)]\[]) - [#13035](https://togithub.com/rubocop/rubocop/issues/13035): Support autocorrect for `Lint/ImplicitStringConcatenation`. (\[[@koic](https://togithub.com/koic)]\[])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.