New features
- #7669: New cop
Bundler/GemVersion
requires or forbids specifying gem versions. (@timlkelly) - #9758: Support
TargetRubyVersion 3.1
(experimental). (@koic) - #9377: Add cop
Layout/SingleLineBlockChain
. (@jonas054)
Bug fixes
- #9751:
Style/StringLiteral
doesn't autocorrect global variable interpolation. (@etiennebarrie) - #9731: Fix two autocorrection issues for
Style/NegatedIfElseCondition
. (@dvandersluis) - #9740: Fix an incorrect auto-correct for
Style/SingleLineMethods
when defining setter method. (@koic) - #9757: Fix a false positive for
Lint/NumberConversion
when:to_f
is one of multiple method arguments. (@koic) - #9761: Fix
Style/ClassAndModuleChildren
false negative forcompact
style when a class/module is partially nested. (@dvandersluis) - #9748: Prevent infinite loops during symlink traversal. (@Tonkpils)
- #9762: Update
VariableForce
to be able to handlecase-match
nodes. (@dvandersluis) - #9729: Fix an error for
Style/IfUnlessModifier
when variable assignment is used in the branch body of if modifier. (@koic) - #9750: Fix an incorrect auto-correct for
Style/SoleNestedConditional
when when using nestedif
withinunless foo == bar
. (@koic) - #9751:
Style/StringLiteral
autocorrects'\\'
into"\\"
. (@etiennebarrie) - #9732: Support deprecated Socket.gethostbyaddr and Socket.gethostbyname. (@AndreiEres)
- #9713: Fix autocorrection for block local variables in
Lint/UnusedBlockArgument
. (@tejasbubane) - #9746: Fix a false positive for
Lint/UnreachableLoop
when using conditionalnext
in a loop. (@koic)