Skip to content

Bump rubocop-performance from 1.5.1 to 1.6.1

NipaNipa requested to merge dependabot/bundler/rubocop-performance-1.6.1 into master

Bumps rubocop-performance from 1.5.1 to 1.6.1.

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.6.1

New features

  • #115: Support String#sub and String#sub! methods for Performance/DeletePrefix and Performance/DeleteSuffix cops. (@​fatkodima)

Bug fixes

  • #111: Fix an error for Performance/DeletePrefix and Performance/DeleteSuffix cops when using autocorrection with RuboCop 0.81 or lower. (@​koic)
  • #118: Fix a false positive for Performance/DeletePrefix, Performance/DeleteSuffix, Performance/StartWith, and Performance/EndWith cops when receiver is multiline string. (@​koic)

RuboCop Performance 1.6.0

New features

  • #77: Add new Performance/BindCall cop. (@​koic)
  • #105: Add new Performance/DeletePrefix and Performance/DeleteSuffix cops. (@​koic)
  • #107: Support regexp metacharacter ^ for Performance/StartWith cop and regexp metacharacter $ for Performance/EndWith cop. (@​koic)

Bug fixes

Changes

RuboCop Performance 1.5.2

Bug fixes

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

Sourced from rubocop-performance's changelog.

1.6.1 (2020-06-05)

New features

  • #115: Support String#sub and String#sub! methods for Performance/DeletePrefix and Performance/DeleteSuffix cops. ([@​fatkodima][])

Bug fixes

  • #111: Fix an error for Performance/DeletePrefix and Performance/DeleteSuffix cops when using autocorrection with RuboCop 0.81 or lower. ([@​koic][])
  • #118: Fix a false positive for Performance/DeletePrefix, Performance/DeleteSuffix, Performance/StartWith, and Performance/EndWith cops when receiver is multiline string. ([@​koic][])

1.6.0 (2020-05-22)

New features

  • #77: Add new Performance/BindCall cop. ([@​koic][])
  • #105: Add new Performance/DeletePrefix and Performance/DeleteSuffix cops. ([@​koic][])
  • #107: Support regexp metacharacter ^ for Performance/StartWith cop and regexp metacharacter $ for Performance/EndWith cop. ([@​koic][])

Bug fixes

  • #55: Fix an incorrect autocorrect for Performance/RegexpMatch when using str.=~(/regexp/). ([@​koic][])
  • #108: Fix an incorrect autocorrect for Performance/ReverseEach when there is a newline between reverse and each. ([@​joe-sharp][], [@​dischorde][], [@​siegfault][])

Changes

  • #103: (BREAKING) Drop support for Ruby 2.3. ([@​koic][])
  • #101: Mark unsafe for Performance/Casecmp cop. ([@​koic][])

1.5.2 (2019-12-25)

Bug fixes

  • #86: Fix an incorrect autocorrect for Performance/RedundantMerge when using an empty hash argument. ([@​koic][])
Commits
  • f7f658e Cut 1.6.1
  • 67f8660 Merge pull request #119 from koic/fix_false_positive_for_delete_prefix_and_de...
  • f5f560f [Fix #118] Fix a false positive for DeletePrefix and DeletePrefix cops
  • fe535e2 Rename the manual dir to legacy-docs
  • 2d9fc24 Use expect_correction instead of autocorrect_source_with_loop
  • 73a9015 rake generate_cops_documentation generates AsciiDoc
  • 7ac8354 Suppress RuboCop's offenses
  • bee8799 Fix a typo
  • 4bc0d2d Remove redundant path
  • 491e6a3 Update docs links
  • Additional commits viewable in compare view

Merge request reports