Skip to content

Releases: rubocop/rubocop-performance

RuboCop Performance 1.5.2

25 Dec 06:39
Compare
Choose a tag to compare

Bug fixes

  • #86: Fix an incorrect autocorrect for Performance/RedundantMerge when using an empty hash argument. (@koic)

RuboCop Performance 1.5.1

13 Nov 17:19
Compare
Choose a tag to compare

Bug fixes

  • #82: Let Performance/StartWith and Performance/EndWith correct Regexp#match? and Regexp#=~. (@eugeneius)

RuboCop Performance 1.5.0

01 Oct 19:31
Compare
Choose a tag to compare

Bug fixes

  • #74: Fix an error for Performance/RedundantMerge when MaxKeyValuePairs option is set to null. (@koic)
  • #70: This PR fixes a false negative for Performance/FlatMap when using symbol to proc operator argument of map method. (@koic, @splattael)

Changes

  • #69: Remove SafeMode from Performance/Count and Performance/Detect. Set SafeAutoCorrect to false for these cops by default. (@rrosenblum)

RuboCop Performance 1.4.1

29 Jul 04:33
Compare
Choose a tag to compare

Bug fixes

  • #67: Fix an error for Performance/RedundantMerge when MaxKeyValuePairs option is set to null. (@koic)
  • #73: Fix a false negative for Performance/RegexpMatch when MatchData is not detected in if branch of guard condition. (@koic)

RuboCop Performance 1.4.0

20 Jun 06:14
Compare
Choose a tag to compare

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

13 May 09:44
Compare
Choose a tag to compare

Bug fixes

  • #48: Reduce Performance/RegexpMatch false positive by only flagging match used with Regexp/String/Symbol literals. (@dduugg)

Changes

RuboCop Performance 1.2.0

13 May 09:35
Compare
Choose a tag to compare

Bug fixes

  • #47: Fix a false negative for Performance/RegexpMatch when using RuboCop 0.68 or higher. (@koic)

RuboCop Performance 1.1.0

08 Apr 08:04
376e747
Compare
Choose a tag to compare

Changes

  • #39: Remove Performance/LstripRstrip cop. (@koic)
  • #39: Remove Performance/RedundantSortBy, Performance/UnneededSort and Performance/Sample cops. (@koic)

RuboCop Performance 1.0.0

14 Mar 10:44
f6a6e23
Compare
Choose a tag to compare

New features