Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop-performance from 1.18.0 to 1.20.2 #29

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2024

Bumps rubocop-performance from 1.18.0 to 1.20.2.

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.20.1

Bug fixes

  • #428: Fix false negatives for Performance/StringIdentifierArgument when using multiple string arguments. (@​koic)

RuboCop Performance 1.20.0 (The RubyConf Taiwan 2023 Edition)

New features

  • #384: Support optimized String#dup for Performance/UnfreezeString when Ruby 3.3+. (@​koic)

Bug fixes

  • #374: Fix an error for Performance/MapMethodChain when using map method chain without receiver. (@​koic)
  • #386: Fix a false negative for Performance/StringIdentifierArgument when using string interpolation. (@​earlopain)
  • #419: Make Performance/Count, Performance/FixedSize, Performance/FlatMap, Performance/InefficientHashSearch, Performance/RangeInclude, Performance/RedundantSortBlock, Performance/ReverseFirst, Performance/SelectMap, Performance/Size, Performance/SortReverse, and Performance/TimesMap cops aware of safe navigation operator. (@​koic)
  • #390: Fix a false negative for Performance/ReverseEach when safe navigation is between reverse and each. (@​fatkodima)
  • #401: Make Performance/Sum aware of safe navigation operator. (@​koic)

Changes

RuboCop Performance 1.19.1

Bug fixes

  • #367: Fix an incorrect autocorrect for Performance/BlockGivenWithExplicitBlock when using Lint/UnusedMethodArgument's autocorrection together. (@​ymap)
  • #370: Fix an incorrect autocorrect for Performance/RedundantMatch when expressions with lower precedence than =~ are used as an argument. (@​ymap)
  • #365: Fix false positives for Performance/ArraySemiInfiniteRangeSlice when using [] with string literals. (@​koic)
  • #373: Set target version for Performance/UnfreezeString. (@​tagliala)

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.20.2 (2024-01-08)

Bug fixes

  • #425: Fix a false positive for Performance/StringIdentifierArgument when using string interpolation with methods that don't support symbols with :: inside them. ([@​earlopain][])

1.20.1 (2023-12-25)

Bug fixes

  • #428: Fix false negatives for Performance/StringIdentifierArgument when using multiple string arguments. ([@​koic][])

1.20.0 (2023-12-16)

New features

  • #384: Support optimized String#dup for Performance/UnfreezeString when Ruby 3.3+. ([@​koic][])

Bug fixes

  • #374: Fix an error for Performance/MapMethodChain when using map method chain without receiver. ([@​koic][])
  • #386: Fix a false negative for Performance/StringIdentifierArgument when using string interpolation. ([@​earlopain][])
  • #419: Make Performance/Count, Performance/FixedSize, Performance/FlatMap, Performance/InefficientHashSearch, Performance/RangeInclude, Performance/RedundantSortBlock, Performance/ReverseFirst, Performance/SelectMap, Performance/Size, Performance/SortReverse, and Performance/TimesMap cops aware of safe navigation operator. ([@​koic][])
  • #390: Fix a false negative for Performance/ReverseEach when safe navigation is between reverse and each. ([@​fatkodima][])
  • #401: Make Performance/Sum aware of safe navigation operator. ([@​koic][])

Changes

  • #389: Improve Performance/MapCompact to handle more safe navigation calls. ([@​fatkodima][])
  • #395: Enhance Performance/StringInclude to handle === method. ([@​fatkodima][])
  • #388: Require RuboCop 1.30+ as runtime dependency. ([@​koic][])
  • #380: Require RuboCop AST 1.30.0+. ([@​koic][])

1.19.1 (2023-09-17)

Bug fixes

  • #367: Fix an incorrect autocorrect for Performance/BlockGivenWithExplicitBlock when using Lint/UnusedMethodArgument's autocorrection together. ([@​ymap][])
  • #370: Fix an incorrect autocorrect for Performance/RedundantMatch when expressions with lower precedence than =~ are used as an argument. ([@​ymap][])
  • #365: Fix false positives for Performance/ArraySemiInfiniteRangeSlice when using [] with string literals. ([@​koic][])
  • #373: Set target version for Performance/UnfreezeString. ([@​tagliala][])

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][])
Commits

Dependabot compatibility score

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 <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jan 10, 2024
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-performance-1.20.2 branch 4 times, most recently from ccead6d to cab18f1 Compare January 16, 2024 23:08
@pgwillia pgwillia force-pushed the dependabot/bundler/rubocop-performance-1.20.2 branch from bc1facc to b444981 Compare January 29, 2024 23:07
@pgwillia
Copy link
Member

@dependabot recreate

Dependabot couldn't find the original pull request head commit, cab18f1.
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-performance-1.20.2 branch from b444981 to f6c9d14 Compare January 29, 2024 23:21
Use :"#{k}=" instead of "#{k}=".
@pgwillia pgwillia merged commit 1f027a4 into main Jan 30, 2024
4 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-performance-1.20.2 branch January 30, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant