Releases: rubocop/rubocop-performance
Releases · rubocop/rubocop-performance
RuboCop Performance 1.6.0
New features
- #77: Add new
Performance/BindCall
cop. (@koic) - #105: Add new
Performance/DeletePrefix
andPerformance/DeleteSuffix
cops. (@koic) - #107: Support regexp metacharacter
^
forPerformance/StartWith
cop and regexp metacharacter$
forPerformance/EndWith
cop. (@koic)
Bug fixes
- #55: Fix an incorrect autocorrect for
Performance/RegexpMatch
when usingstr.=~(/regexp/)
. (@koic) - #108: Fix an incorrect autocorrect for
Performance/ReverseEach
when there is a newline between reverse and each. (@joe-sharp, @dischorde, @siegfault)
Changes
RuboCop Performance 1.5.2
RuboCop Performance 1.5.1
Bug fixes
- #82: Let
Performance/StartWith
andPerformance/EndWith
correctRegexp#match?
andRegexp#=~
. (@eugeneius)
RuboCop Performance 1.5.0
Bug fixes
- #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)
Changes
- #69: Remove
SafeMode
fromPerformance/Count
andPerformance/Detect
. SetSafeAutoCorrect
tofalse
for these cops by default. (@rrosenblum)
RuboCop Performance 1.4.1
RuboCop Performance 1.4.0
Bug fixes
- #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)
RuboCop Performance 1.3.0
Bug fixes
- #48: Reduce
Performance/RegexpMatch
false positive by only flaggingmatch
used with Regexp/String/Symbol literals. (@dduugg)
Changes
- #52: Drop support for Ruby 2.2. (@bquorning)
RuboCop Performance 1.2.0
RuboCop Performance 1.1.0
RuboCop Performance 1.0.0
New features
- Extract performance cops from rubocop-hq/rubocop repository. (@composerinteralia, @koic)