Bug fixes
- #3248: Support 'ruby-' prefix in
.ruby-version
. (@tjwp) - #3250: Make regexp for cop names less restrictive in CommentConfig lines. (@tjwp)
- #3261: Prefer
TargetRubyVersion
to.ruby-version
. (@tjwp) - #3249: Account for
rescue nil
inStyle/ShadowedException
. (@rrosenblum) - Modify the highlighting in
Style/ShadowedException
to be more useful. Highlight justrescue
area. (@rrosenblum) - #3129: Fix
Style/MethodCallParentheses
to work with multiple assignments. (@tejasbubane) - #3247: Ensure whitespace after beginning of block in
Style/BlockDelimiters
. (@tjwp) - #2941: Make sure
Lint/UnneededDisable
can do auto-correction. (@jonas054) - #3269: Fix
Lint/ShadowedException
to block arbitrary code execution. (@pocke) - #3266: Handle empty parentheses in
Performance/RedundantBlockCall
auto-correct. (@jonas054) - #3272: Add escape character missing to LITERAL_REGEX. (@pocke)
- #3255: Fix auto-correct for
Style/RaiseArgs
when constructing exception without arguments. (@drenmi) - #3294: Allow to use
Time.zone_default
. (@Tei)