Skip to content

Bump rubocop-performance from 1.12.0 to 1.13.0

Bumps rubocop-performance from 1.12.0 to 1.13.0.

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.13.0

New features

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)
Changelog

Sourced from rubocop-performance's changelog.

1.13.0 (2021-12-25)

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][])
Commits
  • 4c457c8 Cut 1.13.0
  • 4c9bae3 Update Changelog
  • 9a2d3d2 Remove redundant config from .rubocop.yml
  • f2dfcba Merge pull request #276 from koic/new_add_new_performance_string_identifier_a...
  • ce7f328 Allow for Gemfile.local
  • b9c1f05 Merge pull request #277 from koic/fix_incorrect_autocorrect_for_performance_m...
  • 1d7f986 Remove a redundant unsafe description
  • f45a323 Fix an incorrect autocorrect for Performance/MapCompact
  • 9a52662 Add new Performance/StringIdentifierArgument cop
  • bc3a349 Use \<<next>> instead of the next version when running rake new_cop
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot rebase will rebase this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading