Bug fixes
- #14477: Fix a false positive for
Style/SafeNavigation
when using ternary expression with index access call with method chain. (@koic) - #14486: Fix false positives for
Style/RedundantParentheses
with unary operators andyield
,super
, ordefined?
. (@earlopain) - #14489: Fix false negatives for
Style/RedundantParentheses
with method calls taking argument without parentheses likereturn (x y) if z
. (@earlopain) - #14499: Fix wrong autocorrect for
Style/StringConcatenation
when a double-quoted string contains escaped quotes and interpolation. (@earlopain) - #14502: Fix wrong autocorrect for
Style/StringConcatenation
when a single-quoted string contains interpolation like'#{foo}'
. (@earlopain)