New features
- #9734: Add
Style/TopLevelMethodDefinition
cop. (@tejasbubane) - #9780: Support summary report for
JUnitFormatter
. (@koic) - #9798: Make
Layout/ArgumentAlignment
aware of kwargs. (@koic)
Bug fixes
- #9749: Fix autocorrection for
Layout/LineLength
to not move the first argument of an unparenthesizedsend
node to the next line, which changes behaviour. (@dvandersluis) - #9799: Fix invalid line splitting by
Layout/LineLength
forsend
nodes with heredoc arguments. (@dvandersluis) - #9773: Fix
Style/EmptyLiteral
to not register offenses forString.new
whenStyle/FrozenStringLiteral
is enabled. (@dvandersluis) - #9771: Change
AllowDSLWriters
to true by default forStyle/TrivialAccessors
. (@koic) - #9777: Fix an incorrect auto-correct for
Style/RedundantBegin
when using multi-lineif
inbegin
block. (@koic) - #9791: Fix a false negative for
Layout/IndentationWidth
when usingensure
indo
...end
block. (@koic) - #9766: Fix a clobbering error for
Style/ClassAndModuleChildren
cop with compact style. (@tejasbubane) - #9767: Fix
Style/ClassAndModuleChildren
cop to preserve comments. (@tejasbubane) - #9792: Fix false positive for
Lint/Void
cop with ranges. (@tejasbubane)
Changes
- #9770: Update
Lint/EmptyBlock
to handle procs the same way as lambdas. (@dvandersluis) - #9776: Update
Style/NilLambda
to handle procs as well. (@dvandersluis) - #9744: The parallel flag will now be automatically ignored when combined with
--cache false
. Previously, an error was raised and execution stopped. (@rrosenblum)