Releases: rubocop/rubocop-performance
Releases · rubocop/rubocop-performance
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/MapCompactwhen using multi-line trailing dot method calls. (@koic) - #249: Fix a false positive for
Performance/RedundantStringCharswhen usingstr.chars.lastandstr.chars.drop. (@koic) - #252: Fix an incorrect auto-correct for
Performance/UnfreezeStringwhen invoking a method afterString.newwith 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/RedundantBlockCallwhen an optional block that is overridden by block variable. (@koic) - #36: Fix a false positive for
Performance/ReverseEachwheneachis called onreverseand using the result value. (@koic) - #224: Fix a false positive for
Style/RedundantEqualityComparisonBlockwhen using one argument with comma separator in block argument. (@koic) - #225: Fix a false positive for
Style/RedundantEqualityComparisonBlockwhen usingany?with===comparison block and block argument is not used as a receiver for===. (@koic) - #222: Fix a false positive for
Performance/RedundantSplitRegexpArgumentwhensplitmethod argument is exactly one spece regexp/ /. (@koic)
RuboCop Performance 1.10.1
Bug fixes
- #214: Fix a false positive for
Performance/RedundantEqualityComparisonBlockwhen using multiple block arguments. (@koic) - #216: Fix a false positive for
Performance/RedundantSplitRegexpArgumentwhen using split method with ignore case regexp option. (@koic) - #217: Fix a false positive for
Performance/RedundantEqualityComparisonBlockwhen using block argument is used for an argument ofis_a. (@koic)
RuboCop Performance 1.10.0
New features
- #190: Add new
Performance/RedundantSplitRegexpArgumentcop. (@mfbmina) - #213: Add new
Performance/RedundantEqualityComparisonBlockcop. (@koic)
Bug fixes
- #207: Fix an error for
Performance/Sumwhen usingmap(&do_something).sumwithout receiver. (@koic) - #210: Fix a false negative for
Performance/BindCallwhen receiver is not a method call. (@koic)
Changes
- #205: Update
Performance/ConstantRegexpto allow memoized regexps. (@dvandersluis) - #212: Enable unsafe auto-correct for
Performance/StartWithandPerformance/EndWithcops by default. (@koic)