Releases: rubocop/rubocop-performance
Releases · rubocop/rubocop-performance
RuboCop Performance 1.13.0
New features
- #276: Add new
Performance/StringIdentifierArgument
cop. (@koic) - #204: Add
Performance/Sum
option to ignore potential false positives. (@leoarnold) - #269: Add
#to_d
support toBigDecimalWithNumericArgument
. (@leoarnold)
Bug fixes
- #277: Fix an incorrect autocorrect for
Performance/MapCompact
when usingmap.compact.first
and there is a line break aftermap.compact
and receiver. (@koic) - #273: Fix an incorrect autocorrect for
Performance/RedundantStringChars
when usingstr.chars[0]
. (@koic)
Changes
RuboCop Performance 1.12.0
RuboCop Performance 1.11.5
Bug fixes
RuboCop Performance 1.11.4
Bug fixes
- #247: Fix an incorrect auto-correct for
Performance/MapCompact
when using multi-line trailing dot method calls. (@koic) - #249: Fix a false positive for
Performance/RedundantStringChars
when usingstr.chars.last
andstr.chars.drop
. (@koic) - #252: Fix an incorrect auto-correct for
Performance/UnfreezeString
when invoking a method afterString.new
with a string. (@koic)
Changes
RuboCop Performance 1.11.3
RuboCop Performance 1.11.2
RuboCop Performance 1.11.1
RuboCop Performance 1.11.0
New features
Bug fixes
Changes
RuboCop Performance 1.10.2
Bug fixes
- #162: Fix a false positive for
Performance/RedundantBlockCall
when an optional block that is overridden by block variable. (@koic) - #36: Fix a false positive for
Performance/ReverseEach
wheneach
is called onreverse
and using the result value. (@koic) - #224: Fix a false positive for
Style/RedundantEqualityComparisonBlock
when using one argument with comma separator in block argument. (@koic) - #225: Fix a false positive for
Style/RedundantEqualityComparisonBlock
when usingany?
with===
comparison block and block argument is not used as a receiver for===
. (@koic) - #222: Fix a false positive for
Performance/RedundantSplitRegexpArgument
whensplit
method argument is exactly one spece regexp/ /
. (@koic)
RuboCop Performance 1.10.1
Bug fixes
- #214: Fix a false positive for
Performance/RedundantEqualityComparisonBlock
when using multiple block arguments. (@koic) - #216: Fix a false positive for
Performance/RedundantSplitRegexpArgument
when using split method with ignore case regexp option. (@koic) - #217: Fix a false positive for
Performance/RedundantEqualityComparisonBlock
when using block argument is used for an argument ofis_a
. (@koic)