chore(deps-dev): bump rubocop from 1.81.1 to 1.81.6 in /ruby_2
Bumps rubocop from 1.81.1 to 1.81.6.
Release notes
Sourced from rubocop's releases.
RuboCop v1.81.6
Bug fixes
- #14587: Fix an error for
Lint/SelfAssignmentwhen using[]=assignment with no arguments. (@koic)- #14572: Fix an error for
Style/ArrayIntersectwhenintersection(other).any?is called without a receiver. (@koic)- #14599: Fix a crash when
Style/ConditionalAssignmentis configured withassign_inside_conditionaland the conditional contains a multi-line regex. (@martinemde)- #14574: Fix false positives for
Style/RedundantInterpolationwhen using a one-line=>pattern matching. (@koic)- #14602: Fix false positives for
Style/EndlessMethodwhen heredoc is used in method body. (@koic)- #14594: Fix false positives for
Style/EndlessMethodwhen the endless method would exceed the maximum line length. (@koic)- #14605: Fix false positive for
Lint/EmptyInterpolationwhen interpolation is inside a%Wliteral. (@dvandersluis)- #14604: Fix
Style/RedundantFormatfalse positive when a interpolated value is given to a specifier with a width or precision. (@dvandersluis)- #14607: Fix
Style/RedundantFormathandling control characters like\n. (@dvandersluis)- #14577: Fix an incorrect autocorrect for
Style/Semicolonwhen a method call using hash value omission without parentheses is terminated with a semicolon. (@koic)- #14552: Fix a false positive for
Security/JSONLoadwhencreate_additionsis explicitly specified. (@earlopain)Changes
- #14566: Enhance
Lint::ConstantOverwrittenInRescuecop to detect offenses within fully qualified constants. (@viralpraxis)- #14575: Enhance
Lint/ConstantOverwrittenInRescuecop to detect offenses within nested constants. (@viralpraxis)- #14596: Change
Lint/ConstantOverwrittenInRescueto detect any constant assignment. (@viralpraxis)- #14568: Make
Style/LambdaCallautocorrection contextual. (@koic)
Changelog
Sourced from rubocop's changelog.
1.81.6 (2025-10-21)
Bug fixes
- #14587: Fix an error for
Lint/SelfAssignmentwhen using[]=assignment with no arguments. ([@koic][])- #14572: Fix an error for
Style/ArrayIntersectwhenintersection(other).any?is called without a receiver. ([@koic][])- #14599: Fix a crash when
Style/ConditionalAssignmentis configured withassign_inside_conditionaland the conditional contains a multi-line regex. ([@martinemde][])- #14574: Fix false positives for
Style/RedundantInterpolationwhen using a one-line=>pattern matching. ([@koic][])- #14602: Fix false positives for
Style/EndlessMethodwhen heredoc is used in method body. ([@koic][])- #14594: Fix false positives for
Style/EndlessMethodwhen the endless method would exceed the maximum line length. ([@koic][])- #14605: Fix false positive for
Lint/EmptyInterpolationwhen interpolation is inside a%Wliteral. ([@dvandersluis][])- #14604: Fix
Style/RedundantFormatfalse positive when a interpolated value is given to a specifier with a width or precision. ([@dvandersluis][])- #14607: Fix
Style/RedundantFormathandling control characters like\n. ([@dvandersluis][])- #14577: Fix an incorrect autocorrect for
Style/Semicolonwhen a method call using hash value omission without parentheses is terminated with a semicolon. ([@koic][])- #14552: Fix a false positive for
Security/JSONLoadwhencreate_additionsis explicitly specified. ([@earlopain][])Changes
- #14566: Enhance
Lint::ConstantOverwrittenInRescuecop to detect offenses within fully qualified constants. ([@viralpraxis][])- #14575: Enhance
Lint/ConstantOverwrittenInRescuecop to detect offenses within nested constants. ([@viralpraxis][])- #14596: Change
Lint/ConstantOverwrittenInRescueto detect any constant assignment. ([@viralpraxis][])- #14568: Make
Style/LambdaCallautocorrection contextual. ([@koic][])
Commits
-
8c98655Cut 1.81.6 -
f5431f5Update broken link -
3d76fb0Update Changelog -
fe019a8Merge pull request #14611 from r7kamura/CopDirectiveSyntax-comment-improve -
df813a3ImproveLint/CopDirectiveSyntaxcop documentation examples -
905c991Merge pull request #14606 from dvandersluis/issue/14605 -
f7f653fMerge pull request #14608 from dvandersluis/issue/14604 -
91ed4aa[Fix #14604] FixStyle/RedundantFormatfalse positive when a interpolated v... -
bb5d1a3[Fix #14605] Fix false positive forLint/EmptyInterpolationwhen interpolat... -
783a4bfMerge pull request #14607 from dvandersluis/redundant-format-control-chars - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts