Skip to content

RuboCop Performance 1.13.0

Compare
Choose a tag to compare
@koic koic released this 25 Dec 08:26
· 278 commits to master since this release

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 to BigDecimalWithNumericArgument. (@leoarnold)

Bug fixes

  • #277: Fix an incorrect autocorrect for Performance/MapCompact when using map.compact.first and there is a line break after map.compact and receiver. (@koic)
  • #273: Fix an incorrect autocorrect for Performance/RedundantStringChars when using str.chars[0]. (@koic)

Changes

  • #270: Mark Performance/Sum auto-correction as unsafe and extend documentation. (@leoarnold)
  • #274: Unmark AutoCorrect: false from Performance/CaseWhenSplat. (@koic)
  • #275: Unmark AutoCorrect: false from Performance/TimesMap. (@koic)