New features
- #11122: Add new
Style/RedundantLineContinuation
cop. (@ydah) - #11696: Add new
Style/DataInheritance
cop. (@ktopolski) - #11746: Make
Layout/EndAlignment
aware of pattern matching. (@koic) - #11750: Make
Metrics/BlockNesting
aware of numbered parameter. (@koic) - #11699: Make
Style/ClassEqualityComparison
aware ofClass#to_s
andClass#inspect
for class equality comparison. (@koic) - #11737: Make
Style/MapToHash
andStyle/MapToSet
aware of numbered parameters. (@koic) - #11732: Make
Style/MapToHash
andStyle/MapToSet
aware of symbol proc. (@koic) - #11703: Make
Naming/InclusiveLanguage
support autocorrection when there is only one suggestion. (@koic)
Bug fixes
- #11730: Fix an error for
Layout/HashAlignment
when using anonymous keyword rest arguments. (@koic) - #11704: Fix a false positive for
Lint/UselessMethodDefinition
when method definition with non access modifier containing onlysuper
call. (@koic) - #11723: Fix a false positive for
Style/IfUnlessModifier
when using one-line pattern matching as aif
condition. (@koic) - #11725: Fix an error when insufficient permissions to server cache dir are granted. (@koic)
- #11715: Ensure default configuration loads. (@koic)
- #11742: Fix error handling in bundler standalone mode. (@composerinteralia)
- #11712: Fix a crash in
Lint/EmptyConditionalBody
. (@gsamokovarov) - #11641: Fix a false negative for
Layout/ExtraSpacing
when there are many comments with extra spaces. (@nobuyo) - #11740: Fix a false positive for
Lint/NestedMethodDefinition
when nested definition inside*_eval
and*_exec
method call with a numblock. (@ydah) - #11685: Fix incorrect directive comment insertion when percent array violates
Layout/LineLength
cop. (@nobuyo) - #11706: Fix infinite loop when
--disable-uncorrectable
option and there is a multi-line percent array violatesLayout/LineLength
. (@nobuyo) - #11697: Fix
Lint/Syntax
behavior when--only
is not given the cop name. (@koic) - #11709: Fix value omission false positive in
Style/MethodCallWithArgsParentheses
. (@gsamokovarov)