New features
- #5388: Add new
Style/UnlessLogicalOperators
cop. (@caalberts) - #9525: Add
AllowMethodsWithArguments
option toStyle/SymbolProc
. (@koic)
Bug fixes
- #9520: Fix an incorrect auto-correct for
Style/MultipleComparison
when comparing a variable with multiple items inif
andelsif
conditions. (@koic) - #9548: Fix a false positive for
Style/TrailingBodyOnMethodDefinition
when endless method definition body is after newline in opening parenthesis. (@koic) - #9541: Fix
Style/HashConversion
when the correction needs to be wrapped in parens. (@dvandersluis) - #9533: Make metrics length cops aware of multi-line kwargs. (@koic)
- #9523: Fix an error for
Style/TrailingMethodEndStatement
when endless method definition signature and body are on different lines. (@koic) - #9482: Return minimal known ruby version from gemspecs
required_ruby_version
. (@HeroProtagonist) - #9539: Fix an error for
Style/RedundantBegin
when using body ofbegin
is empty. (@koic) - #9542: Fix
Layout/FirstArgumentIndentation
for operator methods not called as operators. (@dvandersluis, @TSMMark)