Bug fixes
- #13191: Fix an error for
Style/IfWithSemicolon
when using nested single-line if/;/end in block of if/else branches. (@koic) - #13178: Fix false positive for
Style/EmptyLiteral
withHash.new([])
. (@earlopain) - #13176: Fix crash in
Style/EmptyElse
whenAllowComments: true
and the else clause is missing. (@vlad-pisanov) - #13185: Fix false negatives in
Style/MapIntoArray
autocorrection when usingensure
,def
,defs
andfor
. (@vlad-pisanov)