troessner / reek

Code smell detector for Ruby
https://github.com/troessner/reek
MIT License
4k stars 279 forks source link

Update rubocop-performance requirement from ~> 1.18.0 to ~> 1.19.0 #1730

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Updates the requirements on rubocop-performance to permit the latest version.

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.19.0

New features

  • #364: Add new Performance/MapMethodChain cop. (@​koic)
  • #363: Support safe navigation operator for Performance/ArraySemiInfiniteRangeSlice, Performance/DeletePrefix, Performance/DeleteSuffix, Performance/Detect, Performance/EndWith, Performance/InefficientHashSearch, Performance/MapCompact, Performance/RedundantSplitRegexpArgument, Performance/ReverseEach, Performance/ReverseFirst, Performance/SelectMap, Performance/Squeeze, Performance/StartWith, Performance/StringInclude, and Performance/StringReplacement cops. (@​koic)
Changelog

Sourced from rubocop-performance's changelog.

1.19.0 (2023-08-13)

New features

  • #364: Add new Performance/MapMethodChain cop. ([@​koic][])
  • #363: Support safe navigation operator for Performance/ArraySemiInfiniteRangeSlice, Performance/DeletePrefix, Performance/DeleteSuffix, Performance/Detect, Performance/EndWith, Performance/InefficientHashSearch, Performance/MapCompact, Performance/RedundantSplitRegexpArgument, Performance/ReverseEach, Performance/ReverseFirst, Performance/SelectMap, Performance/Squeeze, Performance/StartWith, Performance/StringInclude, and Performance/StringReplacement cops. ([@​koic][])

1.18.0 (2023-05-21)

Bug fixes

  • #359: Fix a false positive for Performance/RedundantEqualityComparisonBlock when the block variable is used on both sides of ==. ([@​koic][])
  • #351: Fix an incorrect autocorrect for Performance/ConstantRegexp and Performance/RegexpMatch when autocorrecting both at the same time. ([@​fatkodima][])

Changes

1.17.1 (2023-04-09)

Bug fixes

  • #352: Fix the default config for AllowRegexpMatch option of Performance/RedundantEqualityComparisonBlock. ([@​koic][])

1.17.0 (2023-04-09)

New features

  • #347: Add AllowRegexpMatch option to Performance/RedundantEqualityComparisonBlock. ([@​koic][])

Bug fixes

  • #346: Fix a false positive for Performance/StringIdentifierArgument when using a command method with receiver. ([@​koic][])
  • #344: Fix Performance/FlatMap autocorrection for chained methods on separate lines. ([@​fatkodima][])

1.16.0 (2023-02-06)

Changes

  • #332: Register offenses for variables against regexes in Performance/StringInclude. ([@​fatkodima][])

1.15.2 (2022-12-25)

Bug fixes

  • #313: Fix a false negative for Performance/RedundantStringChars when using str.chars.last without argument. ([@​koic][])
  • #321: Fix a false positive for Performance/Sum when using TargetRubyVersion is 2.3 or lower. ([@​koic][])
  • #314: Fix Performance/RegexpMatch to handle ::Regexp. ([@​fatkodima][])

... (truncated)

Commits
  • ed66e63 Cut 1.19.0
  • 4eba6e9 Update Changelog
  • 6b4d243 Merge pull request #364 from koic/add_new_performance_map_method_chain_cop
  • 42c78bc Add new Performance/MapMethodChain cop
  • d7a141d Suppress a new RuboCop offense
  • 9d56a69 Merge pull request #363 from koic/fix_false_negatives_for_performance_string_...
  • 3b4856e Support safe navigation operator for 15 Performance cops
  • 563eb44 Suppress new Style/ReturnNilInPredicateMethodDefinition offenses
  • 1d22edf Suppress new Style/RedundantRegexpArgument offenses
  • c2713ae Use Parser::Ruby32 by default for documentation_syntax_check Rake task
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)