gems rubocop-performance 1.8.1
RuboCop Performance 1.8.1

latest releases: 1.21.0, 1.20.2, 1.20.1...
3 years ago

Bug fixes

  • #164: Fix an error for Performance/CollectionLiteralInLoop when a method from Enumerable is called with no receiver. (@eugeneius)
  • #165: Fix a false positive for Performance/Sum when using initial value argument is a variable. (@koic)

Changes

  • #163: Change Performance/Detect to also detect offenses when index 0 or -1 is used instead (ie. detect{ ... }[0]). (@dvandersluis)
  • #168: Extend Performance/Sum to register an offense for inject(&:+). (@eugeneius)

Don't miss a new rubocop-performance release

NewReleases is sending notifications on new releases.