New features
- #10570: Add new
Gemspec/DependencyVersion
cop. (@nobuyo) - #10542: Add markdown formatter. (@joe-sharp)
- #10539: Add
AllowedPatterns
configuration option toNaming/VariableNumber
andNaming/VariableName
. (@henrahmagix) - #10568: Add new
Style/EnvHome
cop. (@koic)
Bug fixes
- #10586: Fix a false positive for
Style/DoubleNegation
when usingdefine_method
ordefine_singleton_method
. (@ydah) - #10579: Fix a false positive for
Style/FetchEnvVar
when calling a method with safe navigation`. (@koic) - #10581: Fix a false positive for
Style/FetchEnvVar
when comparing withENV['TERM']
. (@koic) - #10589: Fix autocorrect for
Style/RaiseArgs
withEnforcedStyle: compact
and exception object is assigned to a local variable. (@nobuyo) - #10325: Enhance
Style/RedundantCondition
by considering the case that variable assignments in each branch. (@nobuyo) - #10592: Fix infinite loop on
Style/MultilineTernaryOperator
if using assignment method and condition/branch is multiline. (@nobuyo) - #10536: Fix validation for command-line options combination of
--display-only-fail-level-offenses
and--auto-correct
. (@nobuyo)