Bug fixes
- #9342: Fix an error for
Lint/RedundantDirGlobSort
when usingcollection.sort
. (@koic) - #9304: Do not register an offense for
Style/ExplicitBlockArgument
when theyield
arguments are not an exact match with the block arguments. (@dvandersluis) - #8281: Fix Style/WhileUntilModifier handling comments and assignment when correcting to modifier form. (@Darhazer)
- #8229: Fix faulty calculation in UncommunicativeName. (@ohbarye)
- #9350: Wrap in parens before replacing
unless
withif
and!
. (@magneland) - #9356: Fix duplicate extension cop versions when using
rubocop -V
. (@koic) - #9355: Fix
Style/SingleLineMethods
autocorrection to endless method when the original code had parens. (@dvandersluis) - #9346: Fix an incorrect auto-correct for
Style/StringConcatenation
when concat string include double quotes and interpolation. (@k-karen)