New features
- #9478: Add new
Style/HashConversion
cop. (@zverok) - #9496: Add new
Gemspec/DateAssignment
cop. (@koic) - #8724: Add
IgnoreModules
configuration toStyle/ConstantVisibility
to not register offense for module definitions. (@tejasbubane) - #9403: Add autocorrect for
Style/EvalWithLocation
cop. (@cteece)
Bug fixes
- #9500: Update
Lint/Debugger
so that only specific receivers for debug methods lead to offenses. (@dvandersluis) - #9499: Fix a false positive for
Layout/SpaceBeforeBrackets
when multiple spaces are inserted inside the left bracket. (@koic) - #9507: Fix an incorrect auto-correct for
Lint/RedundantSplatExpansion
when expandingArray.new
call on method argument. (@koic) - #9490: Fix incorrect auto-correct for
Layout/FirstArgumentIndentation
when specifyingEnforcedStyle: with_fixed_indentation
ofLayout/ArgumentAlignment
andEnforcedStyle: consistent
ofLayout/FirstArgumentIndentation
. (@koic) - #9497: Fix an error for
Style/ExplicitBlockArgument
whenyield
is inside block ofsuper
. (@koic) - #9349: Fix a false positive for
Lint/MultipleComparison
when using&
,|
, and^
set operation operators in multiple comparison. (@koic) - #9511: Fix a false negative for
Lint/ElseLayout
when using multipleelsif
s. (@koic) - #9513: Fix an incorrect auto-correct for
Style/HashConversion
when using hash argumentHash[]
. (@koic) - #9492: Fix an incorrect auto-correct for
Lint/DeprecatedOpenSSLConstant
when using no argument algorithm. (@koic)
Changes
- #9405: Improve documentation for
Style/EvalWithLocation
cop. (@taichi-ishitani)