New features
- #10419: Add new
Style/NestedFileDirname
cop. (@koic) - #10433: Support
TargetRubyVersion 3.2
(experimental). (@koic)
Bug fixes
- #10406: Fix a false positive for
Lint/InheritException
when inheriting a standard lib exception class that is not a subclass ofStandardError
. (@koic) - #10421: Make
Style/DefWithParentheses
aware of endless method definition. (@koic) - #10401: Fix a false positive for
Style/HashSyntax
when local variable hash key and hash value are the same. (@koic) - #10424: Fix a false positive for
Security/YamlLoad
when using Ruby 3.1+ (Psych 4). (@koic) - #10446: Lint/RedundantDirGlobSort unset SafeAutoCorrect. (@friendlyantz)
- #10403: Fix an error for
Style/StringConcatenation
when string concatenation with multiline heredoc text. (@koic) - #10432: Fix an error when using regexp with non-encoding option. (@koic)
- #10415: Fix an error for
Lint/UselessTimes
when using1.times
with method chain. (@koic)
Changes
- #10408: Mark
Lint/InheritException
as unsafe auto-correction. (@koic) - #10407: Change
EnforcedStyle
fromruntime_error
tostandard_error
forLint/InheritException
. (@koic) - #10414: Update auto-gen-config's auto-correction comments to be more clear. (@maxjacobson)
- #10427: Mark
Style/For
as unsafe auto-correction. (@issyl0) - #10410: Improve help string for
--fail-level
CLI option. (@tejasbubane)