chore(deps-dev): bump rubocop from 1.64.1 to 1.65.0 in /ruby_2
Bumps rubocop from 1.64.1 to 1.65.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.65
New features
Bug fixes
- #12954: Fix a false negative for
Style/ArgumentsForwarding
when arguments forwarding inyield
. (@koic
)- #13033: Fix a false positive for
Layout/SpaceAroundOperators
when using multiple spaces between an operator and a tailing comment. (@koic
)- #12885: Fix a false positive for
Lint/ToEnumArguments
when enumerator is created for another method. (@koic
)- #13018: Fix a false positive for
Style/MethodCallWithArgsParentheses
whenEnforcedStyle: omit_parentheses
is set and parenthesized method call is used before constant resolution. (@koic
)- #12986: Fix a false positive for
Style/RedundantBegin
when endless method definition withrescue
. (@koic
)- #12985: Fix an error for
Style/RedundantRegexpCharacterClass
when using regexp_parser gem 2.3.1 or older. (@koic
)- #13010: Fix an error for
Style/SuperArguments
when the hash argument is or-assigned. (@koic
)- #13023: Fix an error for
Style/SymbolProc
when using lambda->
with one argument and multilinedo
...end
block. (@koic
)- #12989: Fix an error for the
inherit_gem
config when the Gemfile contains an uninstalled git gem. (@earlopain
)- #12975: Fix an error for the
inherit_gem
config when running RuboCop without bundler and no Gemfile exists. (@earlopain
)- #12997: Fix an error for
Lint/UnmodifiedReduceAccumulator
when the block is empty. (@earlopain
)- #12979: Fix false negatives for
Lint/Void
when void expression with guard clause is not on last line. (@koic
)- #12716: Fix false negatives for
Lint/Void
when using parenthesized void operators. (@koic
)- #12471: Fix false negatives for
Style/ZeroLengthPredicate
when using safe navigation operator. (@koic
)- #12960: Fix false positives for
Lint/NestedMethodDefinition
when definition of method on variable. (@koic
)- #13012: Fix false positives for
Style/HashExcept
when usingreject
and callinginclude?
method with bang. (@koic
)- #12983: Fix false positives for
Style/SendWithLiteralMethodName
usingsend
with writer method name. (@koic
)- #12957: Fix false positives for
Style/SuperArguments
when calling super in a block. (@koic
)Changes
- #12970: Add
CountModifierForms
option toMetrics/BlockNesting
and set it tofalse
by default. (@koic
)- #13032: Display warning messages for deprecated APIs. (
@koic
)- #13031: Enable YJIT by default in server mode. (
@koic
)- #12557: Make server mode aware of auto-restart for
bundle update
. (@koic
)- #12616: Make
Style/MapCompactWithConditionalBlock
aware offilter_map
. (@koic
)- #13035: Support autocorrect for
Lint/ImplicitStringConcatenation
. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.65.0 (2024-07-10)
New features
Bug fixes
- #12954: Fix a false negative for
Style/ArgumentsForwarding
when arguments forwarding inyield
. ([@koic
][])- #13033: Fix a false positive for
Layout/SpaceAroundOperators
when using multiple spaces between an operator and a tailing comment. ([@koic
][])- #12885: Fix a false positive for
Lint/ToEnumArguments
when enumerator is created for another method. ([@koic
][])- #13018: Fix a false positive for
Style/MethodCallWithArgsParentheses
whenEnforcedStyle: omit_parentheses
is set and parenthesized method call is used before constant resolution. ([@koic
][])- #12986: Fix a false positive for
Style/RedundantBegin
when endless method definition withrescue
. ([@koic
][])- #12985: Fix an error for
Style/RedundantRegexpCharacterClass
when using regexp_parser gem 2.3.1 or older. ([@koic
][])- #13010: Fix an error for
Style/SuperArguments
when the hash argument is or-assigned. ([@koic
][])- #13023: Fix an error for
Style/SymbolProc
when using lambda->
with one argument and multilinedo
...end
block. ([@koic
][])- #12989: Fix an error for the
inherit_gem
config when the Gemfile contains an uninstalled git gem. ([@earlopain
][])- #12975: Fix an error for the
inherit_gem
config when running RuboCop without bundler and no Gemfile exists. ([@earlopain
][])- #12997: Fix an error for
Lint/UnmodifiedReduceAccumulator
when the block is empty. ([@earlopain
][])- #12979: Fix false negatives for
Lint/Void
when void expression with guard clause is not on last line. ([@koic
][])- #12716: Fix false negatives for
Lint/Void
when using parenthesized void operators. ([@koic
][])- #12471: Fix false negatives for
Style/ZeroLengthPredicate
when using safe navigation operator. ([@koic
][])- #12960: Fix false positives for
Lint/NestedMethodDefinition
when definition of method on variable. ([@koic
][])- #13012: Fix false positives for
Style/HashExcept
when usingreject
and callinginclude?
method with bang. ([@koic
][])- #12983: Fix false positives for
Style/SendWithLiteralMethodName
usingsend
with writer method name. ([@koic
][])- #12957: Fix false positives for
Style/SuperArguments
when calling super in a block. ([@koic
][])Changes
- #12970: Add
CountModifierForms
option toMetrics/BlockNesting
and set it tofalse
by default. ([@koic
][])- #13032: Display warning messages for deprecated APIs. ([
@koic
][])- #13031: Enable YJIT by default in server mode. ([
@koic
][])- #12557: Make server mode aware of auto-restart for
bundle update
. ([@koic
][])- #12616: Make
Style/MapCompactWithConditionalBlock
aware offilter_map
. ([@koic
][])- #13035: Support autocorrect for
Lint/ImplicitStringConcatenation
. ([@koic
][])
Commits
-
28786cf
Cut 1.65 -
b20355f
Update Changelog -
f3b368a
[Fix #13035] Support autocorrect forLint/ImplicitStringConcatenation
-
357ff41
Merge pull request #13034 from koic/fix_a_false_positive_for_layout_space_aro... -
3395b6a
[Fix #13033] Fix a false positive forLayout/SpaceAroundOperators
-
a71c653
Enable YJIT by default in server mode -
2d332e9
Display warning messages for deprecated APIs -
9872bca
UseRegexp#match?
-
961ca82
[Docs] Prioritize usingadd_dependency
overadd_runtime_dependency
in exa... -
ce3d448
Add newGemspec/AddRuntimeDependency
cop - 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