Skip to content

Bump rubocop-performance from 1.8.1 to 1.9.0

Bumps rubocop-performance from 1.8.1 to 1.9.0.

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.9.0

New features

  • #173: Add new Performance/BlockGivenWithExplicitBlock cop. (@fatkodima)
  • #136: Add new Performance/MethodObjectAsBlock cop. (@fatkodima)
  • #151: Add new Performance/ConstantRegexp cop. (@fatkodima)
  • #175: Add new Performance/ArraySemiInfiniteRangeSlice cop. (@fatkodima)
  • #189: Support auto-correction for Performance/Caller. (@koic)
  • #171: Extend auto-correction support for Performance/Sum. (@koic)
  • #194: Support auto-correction for Performance/UnfreezeString. (@koic)

Changes

  • #181: Change default configuration for Performance/CollectionLiteralInLoop to Enabled: 'pending'. (@ghiculescu)
  • #170: Extend Performance/Sum to register an offense for map { ... }.sum. (@eugeneius)
  • #179: Change Performance/Sum to warn about empty arrays, and not register an offense on empty array literals. (@ghiculescu)
  • #180: Require RuboCop 0.90 or higher. (@koic)
Changelog

Sourced from rubocop-performance's changelog.

1.9.0 (2020-11-17)

New features

  • #173: Add new Performance/BlockGivenWithExplicitBlock cop. (@fatkodima)
  • #136: Add new Performance/MethodObjectAsBlock cop. (@fatkodima)
  • #151: Add new Performance/ConstantRegexp cop. (@fatkodima)
  • #175: Add new Performance/ArraySemiInfiniteRangeSlice cop. (@fatkodima)
  • #189: Support auto-correction for Performance/Caller. (@koic)
  • #171: Extend auto-correction support for Performance/Sum. (@koic)
  • #194: Support auto-correction for Performance/UnfreezeString. (@koic)

Changes

  • #181: Change default configuration for Performance/CollectionLiteralInLoop to Enabled: 'pending'. (@ghiculescu)
  • #170: Extend Performance/Sum to register an offense for map { ... }.sum. (@eugeneius)
  • #179: Change Performance/Sum to warn about empty arrays, and not register an offense on empty array literals. (@ghiculescu)
  • #180: Require RuboCop 0.90 or higher. (@koic)
Commits
  • 36c45f9 Cut 1.9.0
  • 3a7024e Prepare for incompatible APIs in RuboCop 2.0
  • f07d908 Merge pull request #194 from koic/support_autocorrect_for_performance_unfreez...
  • 60551d8 Support auto-correction for Performance/UnfreezeString
  • 2fe6f67 Merge pull request #188 from koic/extend_support_autocorrect_for_performance_sum
  • 591c711 [Fix #171] Extend auto-correction support for Performance/Sum
  • 965ca59 Suppress an offenses
  • 392ac0c Merge pull request #189 from koic/support_autocorrect_for_performance_caller
  • eccc62a Support auto-correction for Performance/Caller
  • eb26b4a Move development dependency to Gemfile
  • Additional commits viewable in compare view

Merge request reports

Loading