puppetlabs / ruby-pwsh

A ruby gem for interacting with PowerShell
MIT License
15 stars 21 forks source link

Update rubocop-performance requirement from = 1.16.0 to 1.21.0 #314

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

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

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.21.0

New features

  • #446: Support Prism as a Ruby parser (experimental). (@​koic)

Bug fixes

  • #437: Fix a false positive for Performance/ChainArrayAllocation when using select with block argument after select. (@​koic)
  • #448: Fix a false positive for Performance/RedundantBlockCall when using block.call with block argument. (@​koic)

Changes

Changelog

Sourced from rubocop-performance's changelog.

1.21.0 (2024-03-30)

New features

  • #446: Support Prism as a Ruby parser (experimental). ([@​koic][])

Bug fixes

  • #437: Fix a false positive for Performance/ChainArrayAllocation when using select with block argument after select. ([@​koic][])
  • #448: Fix a false positive for Performance/RedundantBlockCall when using block.call with block argument. ([@​koic][])

Changes

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)

... (truncated)

Commits
  • 30f6669 Cut 1.21.0
  • 067c641 Update Changelog
  • 9d28120 Merge pull request #449 from koic/fix_false_positive_for_performance_redundan...
  • 0d98285 [Fix #448] Fix a false positive for Performance/RedundantBlockCall
  • d4d1875 Merge pull request #446 from koic/support_prism
  • 2059d28 Support Prism as a Ruby parser
  • 13aa3d1 Tweak specs for Performance/UnfreezeString
  • 9ba15dd Use RuboCop RSpec 2.27
  • 08ac312 Merge pull request #443 from koic/disalbe_performance_casecmp_by_default
  • 4dc1e5c [Fix #240] Disable Performance/Casecmp cop
  • 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)
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.01%. Comparing base (ac4981b) to head (5d2e8a9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #314 +/- ## ======================================= Coverage 92.01% 92.01% ======================================= Files 6 6 Lines 714 714 ======================================= Hits 657 657 Misses 57 57 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dependabot[bot] commented 1 month ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.