Bug fixes
- #13502: Fix an incorrect autocorrect for
Style/DigChain
when using safe navigation method chain withdig
method. (@koic) - #13505: Fix an error for
Style/ParallelAssignment
when using the anonymous splat operator. (@earlopain) - #13184: Fix some false positives in
Lint/UnreachableCode
. (@isuckatcs) - #13494: Fix false positives for
Style/HashExcept
cop when usingreject/!include?
,reject/!in?
orselect/!exclude?
combinations. (@lovro-bikic) - #13522: Fix
Lint/UnescapedBracketInRegexp
cop failure with invalid regular expression. (@viralpraxis) - #13523: Fix
Style::AccessModifierDeclarations
cop failure in case ofif
node withoutelse
. (@viralpraxis) - #13524: Fix
Style/RedundantArgument
cop failure while inspecting string literal with invalid encoding. (@viralpraxis) - #13528: Fix
Style/RedundantParentheses
cop failure in case of splattedcase
node without condition. (@viralpraxis) - #13521: Fix
Style/RedundantSelf
cop failure withkwnilarg
argument node. (@viralpraxis) - #13526: Fix
Style/StringConcatenation
cop failure when there are mixed implicit and explicit concatenations. (@viralpraxis) - #13511: Fix false positive in
Lint/UnescapedBracketInRegexp
when using regexp_parser 2.9.2 and earlier. (@dvandersluis) - #13096: Update
Style/BlockDelimiters
to not change braces when they are required for syntax. (@dvandersluis) - #13512: Update
Style/LambdaCall
to be aware of safe navigation. (@dvandersluis)