Bug fixes
- #14390: Fix wrong autocorrect for
Style/ArgumentsForwarding
when the method arguments contain*
,**
or&
, and the method call containsself
as the first argument. (@earlopain) - #14399: Fix false positives for
Layout/EmptyLinesAfterModuleInclusion
whenprepend
is used with block methods. (@koic) - #14396: Fix a false positive for
Style/RedundantParentheses
when parentheses are used around a one-linerescue
expression inside a ternary operator. (@koic) - #14383: Fix false positives for
Lint/UselessAssignment
when duplicate assignments inif
branch inside a loop. (@koic) - #14394: Fix false positive for
Lint/UselessAssignment
withretry
inrescue
branch. (@earlopain) - #14386: Fix false positives for
Style/RedundantParentheses
when parentheses are used around a one-linerescue
expression inside array or hash literals. (@koic) - #14395: Fix LSP handling of URI-encoded paths with spaces. (@hakanensari)
Changes
- #14403: Enhance
Naming/MethodName
cop to detect offenses withinalias
andalias_method
calls. (@viralpraxis) - #14389: Add support for
||
toLint/LiteralAsCondition
. (@zopolis4)