Bug fixes
- #359: Fix a false positive for
Performance/RedundantEqualityComparisonBlock
when the block variable is used on both sides of==
. (@koic) - #351: Fix an incorrect autocorrect for
Performance/ConstantRegexp
andPerformance/RegexpMatch
when autocorrecting both at the same time. (@fatkodima)
Changes
- #357: Add
sort!
andminmax
toPerformance/CompareWithBlock
. (@vlad-pisanov) - #353: (Breaking) Drop Ruby 2.6 support. (@koic)