Bug fixes
- #13553: Fix an incorrect autocorrect for
Style/MultipleComparison
when a variable is compared multiple times after a method call. (@koic) - #13562: Fix
Bundler/DuplicatedGem
cop error in case of empty branch. (@viralpraxis) - #13573: Fix
Lint/UnescapedBracketInRegexp
cop failure with invalid multibyte escape. (@earlopain) - #13556: Fix false positives for
Style/FileNull
when using'nul'
string. (@koic) - #12995: Fix
--disable-uncorrectable
to not insert directives inside a string. (@dvandersluis) - #13320: Fix incorrect autocorrect when
Layout/LineContinuationLeadingSpace
andStyle/StringLiterals
autocorrects in the same pass. (@dvandersluis) - #13299: Fix
Style/BlockDelimiters
to always accept braces when an operator method argument is chained. (@dvandersluis) - #13565: Fix
Style/RedundantLineContinuation
false negatives when a redundant continuation follows a required continuation. (@dvandersluis) - #13551: Fix an incorrect autocorrect for
Style/IfWithSemicolon
when using multi value assignment inif
with a semicolon is used. (@koic) - #13534: Fix
Layout/LineLength
cop failure in case of YARD-comment-like string. (@viralpraxis) - #13558: Fix
Lint/NonAtomicFileOperation
cop error in case of implicit receiver. (@viralpraxis) - #13564: Fix
Metrics/ClassLength
cop error in case of chained assignments. (@viralpraxis) - #13570: Fix
Naming/RescuedExceptionsVariableName
cop error when exception is assigned with writer method. (@viralpraxis) - #13559: Fix a false positive for
Style/RedundantLineContinuation
when a method definition is used as an argument for a method call. (@davidrunger) - #13574: Fix
Style/ExactRegexpMatch
cop error on invalid regular expression literal. (@viralpraxis) - #13554: Fix
Style/FrozenStringLiteralComment
false positive in case of non-downcased value literal. (@viralpraxis) - #13569: Fix
Style/MethodCallWithoutArgsParentheses
cop error in case of mass hash assignment. (@viralpraxis) - #13542: Fix
Style/RedundantCondition
cop failure in case of empty arguments. (@viralpraxis) - #13509: Update
Layout/ExtraSpacing
andLayout/SpaceAroundOperators
to handle preceding operators inside strings. (@dvandersluis)