Bug fixes
- #12136: Fix a false negative for
Layout/LeadingCommentSpace
when using#+
or#-
as they are not RDoc comments. (@koic) - #12113: Fix a false positive for
Bundler/DuplicatedGroup
when groups are duplicated butsource
,git
,platforms
, orpath
values are different. (@koic) - #12134: Fix a false positive for
Style/MethodCallWithArgsParentheses
when parentheses are used in one-linein
pattern matching. (@koic) - #12111: Fix an error for
Bundler/DuplicatedGroup
group declaration has keyword option. (@koic) - #12109: Fix an error for
Style/ArgumentsForwarding
cop when forwarding kwargs/block arg and an additional arg. (@ydah) - #12117: Fix a false positive for
Style/ArgumentsForwarding
cop when not always forwarding block. (@owst) - #12115: Fix an error for
Style/Lambda
when using numbered parameter with a multiline->
call. (@koic) - #12124: Fix false positives for
Style/RedundantParentheses
when parentheses insuper
oryield
call with multiline style argument. (@koic) - #12120: Fix false positives for
Style/SymbolArray
when%i
array containing unescaped[
,]
,(
, or)
. (@koic) - #12133: Fix
Style/RedundantSelfAssignmentBranch
to handle heredocs. (@r7kamura) - #12105: Fix target ruby
Gem::Requirement
matcher and version parsing to support multiple version constraints. (@ItsEcholot)