- #86: Fix an incorrect autocorrect for
Performance/RedundantMerge
when using an empty hash argument. (@koic)
- #82: Let
Performance/StartWith
andPerformance/EndWith
correctRegexp#match?
andRegexp#=~
. (@eugeneius)
- #74: Fix an error for
Performance/RedundantMerge
whenMaxKeyValuePairs
option is set tonull
. (@koic) - #70: This PR fixes a false negative for
Performance/FlatMap
when using symbol to proc operator argument ofmap
method. (@koic, @splattael)
- #69: Remove
SafeMode
fromPerformance/Count
andPerformance/Detect
. SetSafeAutoCorrect
tofalse
for these cops by default. (@rrosenblum)
- #67: Fix an error for
Performance/RedundantMerge
whenMaxKeyValuePairs
option is set tonull
. (@koic) - #73: Fix a false negative for
Performance/RegexpMatch
whenMatchData
is not detected inif
branch of guard condition. (@koic)
- #54: Fix
Performance/FixedSize
to accept const assign with some operation. (@tejasbubane) - #61: Fix a false negative for
Performance/RegexpMatch
when using RuboCop 0.71 or higher. (@koic)
- #48: Reduce
Performance/RegexpMatch
false positive by only flaggingmatch
used with Regexp/String/Symbol literals. (@dduugg)
- #52: Drop support for Ruby 2.2. (@bquorning)
- #39: Remove
Performance/LstripRstrip
cop. (@koic) - #39: Remove
Performance/RedundantSortBy
,Performance/UnneededSort
andPerformance/Sample
cops. (@koic)
- Extract performance cops from rubocop-hq/rubocop repository. (@composerinteralia, @koic)