Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump rubocop-performance from 1.19.1 to 1.20.0 (#155)
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.19.1 to 1.20.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-performance/releases">rubocop-performance's releases</a>.</em></p> <blockquote> <h2>RuboCop Performance 1.20.0 (The RubyConf Taiwan 2023 Edition)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/384">#384</a>: Support optimized <code>String#dup</code> for <code>Performance/UnfreezeString</code> when Ruby 3.3+. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/374">#374</a>: Fix an error for <code>Performance/MapMethodChain</code> when using <code>map</code> method chain without receiver. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/386">#386</a>: Fix a false negative for <code>Performance/StringIdentifierArgument</code> when using string interpolation. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/419">#419</a>: Make <code>Performance/Count</code>, <code>Performance/FixedSize</code>, <code>Performance/FlatMap</code>, <code>Performance/InefficientHashSearch</code>, <code>Performance/RangeInclude</code>, <code>Performance/RedundantSortBlock</code>, <code>Performance/ReverseFirst</code>, <code>Performance/SelectMap</code>, <code>Performance/Size</code>, <code>Performance/SortReverse</code>, and <code>Performance/TimesMap</code> cops aware of safe navigation operator. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/390">#390</a>: Fix a false negative for <code>Performance/ReverseEach</code> when safe navigation is between <code>reverse</code> and <code>each</code>. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/401">#401</a>: Make <code>Performance/Sum</code> aware of safe navigation operator. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/389">#389</a>: Improve <code>Performance/MapCompact</code> to handle more safe navigation calls. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/395">#395</a>: Enhance <code>Performance/StringInclude</code> to handle <code>===</code> method. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/388">#388</a>: Require RuboCop 1.30+ as runtime dependency. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/380">#380</a>: Require RuboCop AST 1.30.0+. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md">rubocop-performance's changelog</a>.</em></p> <blockquote> <h2>1.20.0 (2023-12-16)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/384">#384</a>: Support optimized <code>String#dup</code> for <code>Performance/UnfreezeString</code> when Ruby 3.3+. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/374">#374</a>: Fix an error for <code>Performance/MapMethodChain</code> when using <code>map</code> method chain without receiver. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/386">#386</a>: Fix a false negative for <code>Performance/StringIdentifierArgument</code> when using string interpolation. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/419">#419</a>: Make <code>Performance/Count</code>, <code>Performance/FixedSize</code>, <code>Performance/FlatMap</code>, <code>Performance/InefficientHashSearch</code>, <code>Performance/RangeInclude</code>, <code>Performance/RedundantSortBlock</code>, <code>Performance/ReverseFirst</code>, <code>Performance/SelectMap</code>, <code>Performance/Size</code>, <code>Performance/SortReverse</code>, and <code>Performance/TimesMap</code> cops aware of safe navigation operator. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/390">#390</a>: Fix a false negative for <code>Performance/ReverseEach</code> when safe navigation is between <code>reverse</code> and <code>each</code>. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/401">#401</a>: Make <code>Performance/Sum</code> aware of safe navigation operator. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/389">#389</a>: Improve <code>Performance/MapCompact</code> to handle more safe navigation calls. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/issues/395">#395</a>: Enhance <code>Performance/StringInclude</code> to handle <code>===</code> method. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/388">#388</a>: Require RuboCop 1.30+ as runtime dependency. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/380">#380</a>: Require RuboCop AST 1.30.0+. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop-performance/commit/f79ecaa45ad7c712ae2242357f780f5cebd23aa6"><code>f79ecaa</code></a> Cut 1.20.0</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/5ec8988881dcff77e29c48a8a8c298277c2eb4ee"><code>5ec8988</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/416e05c2f1087d37d85d49c14b6ce98dea0b7a65"><code>416e05c</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/423">#423</a> from koic/fix_false_positives_for_performance_times_map</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/68632dd9bedc14deda9ca574638aa3f4a88fb41c"><code>68632dd</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/421">#421</a>] Fix false positives for <code>Performance/TimesMap</code></li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/8834ff4c927c8abaf96cc56b70a2806205d5f078"><code>8834ff4</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/420">#420</a> from koic/make_some_cop_aware_of_safe_navigation_oper...</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/bf85c6d898dfc2eb34057fc7167e12188136e9c5"><code>bf85c6d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/418">#418</a> from koic/support_optimized_string_dup_for_performanc...</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/93cd79cabe58da8a8eaafa30423ee49d303aadca"><code>93cd79c</code></a> Make some cops aware of safe navigation operator</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/76911d01e6e20ecb7fffeb45f15311e1fcd1e6eb"><code>76911d0</code></a> Remove an useless code</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/7ac5b60825b09f4d0bd8f02a267150f780046b81"><code>7ac5b60</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/384">#384</a>] Support optimized <code>String#dup</code> for <code>Performance/UnfreezeString</code></li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/461168f1b949d4fd87cdf3543244233e4c90ce14"><code>461168f</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/402">#402</a> from koic/make_performance_sum_aware_of_safe_navigati...</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-performance/compare/v1.19.1...v1.20.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-performance&package-manager=bundler&previous-version=1.19.1&new-version=1.20.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information