Skip to content

Commit

Permalink
Merge #555
Browse files Browse the repository at this point in the history
555: Update rubocop requirement from ~> 1.64.1 to ~> 1.65.0 r=curquiza a=dependabot[bot]

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.65</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13030">#13030</a>: Add new <code>Gemspec/AddRuntimeDependency</code> cop. (<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/issues/12954">#12954</a>: Fix a false negative for <code>Style/ArgumentsForwarding</code> when arguments forwarding in <code>yield</code>. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13033">#13033</a>: Fix a false positive for <code>Layout/SpaceAroundOperators</code> when using multiple spaces between an operator and a tailing comment. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12885">#12885</a>: Fix a false positive for <code>Lint/ToEnumArguments</code> when enumerator is created for another method. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13018">#13018</a>: Fix a false positive for <code>Style/MethodCallWithArgsParentheses</code> when <code>EnforcedStyle: omit_parentheses</code> is set and parenthesized method call is used before constant resolution. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12986">#12986</a>: Fix a false positive for <code>Style/RedundantBegin</code> when endless method definition with <code>rescue</code>. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12985">#12985</a>: Fix an error for <code>Style/RedundantRegexpCharacterClass</code> when using regexp_parser gem 2.3.1 or older. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13010">#13010</a>: Fix an error for <code>Style/SuperArguments</code> when the hash argument is or-assigned. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13023">#13023</a>: Fix an error for <code>Style/SymbolProc</code> when using lambda <code>-&gt;</code> with one argument and multiline <code>do</code>...<code>end</code> block. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12989">#12989</a>: Fix an error for the <code>inherit_gem</code> config when the Gemfile contains an uninstalled git gem. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12975">#12975</a>: Fix an error for the <code>inherit_gem</code> config when running RuboCop without bundler and no Gemfile exists. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12997">#12997</a>: Fix an error for <code>Lint/UnmodifiedReduceAccumulator</code> when the block is empty. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12979">#12979</a>: Fix false negatives for <code>Lint/Void</code> when void expression with guard clause is not on last line. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12716">#12716</a>: Fix false negatives for <code>Lint/Void</code> when using parenthesized void operators. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12471">#12471</a>: Fix false negatives for <code>Style/ZeroLengthPredicate</code> when using safe navigation operator. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12960">#12960</a>: Fix false positives for <code>Lint/NestedMethodDefinition</code> when definition of method on variable. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13012">#13012</a>: Fix false positives for <code>Style/HashExcept</code> when using <code>reject</code> and calling <code>include?</code> method with bang. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12983">#12983</a>: Fix false positives for <code>Style/SendWithLiteralMethodName</code> using <code>send</code> with writer method name. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12957">#12957</a>: Fix false positives for <code>Style/SuperArguments</code> when calling super in a block. (<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/issues/12970">#12970</a>: Add <code>CountModifierForms</code> option to <code>Metrics/BlockNesting</code> and set it to <code>false</code> by default. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13032">#13032</a>: Display warning messages for deprecated APIs. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13031">#13031</a>: Enable YJIT by default in server mode. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12557">#12557</a>: Make server mode aware of auto-restart for <code>bundle update</code>. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12616">#12616</a>: Make <code>Style/MapCompactWithConditionalBlock</code> aware of <code>filter_map</code>. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13035">#13035</a>: Support autocorrect for <code>Lint/ImplicitStringConcatenation</code>. (<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/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p>
<blockquote>
<h2>1.65.0 (2024-07-10)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13030">#13030</a>: Add new <code>Gemspec/AddRuntimeDependency</code> cop. ([<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/issues/12954">#12954</a>: Fix a false negative for <code>Style/ArgumentsForwarding</code> when arguments forwarding in <code>yield</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13033">#13033</a>: Fix a false positive for <code>Layout/SpaceAroundOperators</code> when using multiple spaces between an operator and a tailing comment. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12885">#12885</a>: Fix a false positive for <code>Lint/ToEnumArguments</code> when enumerator is created for another method. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13018">#13018</a>: Fix a false positive for <code>Style/MethodCallWithArgsParentheses</code> when <code>EnforcedStyle: omit_parentheses</code> is set and parenthesized method call is used before constant resolution. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12986">#12986</a>: Fix a false positive for <code>Style/RedundantBegin</code> when endless method definition with <code>rescue</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12985">#12985</a>: Fix an error for <code>Style/RedundantRegexpCharacterClass</code> when using regexp_parser gem 2.3.1 or older. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13010">#13010</a>: Fix an error for <code>Style/SuperArguments</code> when the hash argument is or-assigned. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13023">#13023</a>: Fix an error for <code>Style/SymbolProc</code> when using lambda <code>-&gt;</code> with one argument and multiline <code>do</code>...<code>end</code> block. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12989">#12989</a>: Fix an error for the <code>inherit_gem</code> config when the Gemfile contains an uninstalled git gem. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12975">#12975</a>: Fix an error for the <code>inherit_gem</code> config when running RuboCop without bundler and no Gemfile exists. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12997">#12997</a>: Fix an error for <code>Lint/UnmodifiedReduceAccumulator</code> when the block is empty. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12979">#12979</a>: Fix false negatives for <code>Lint/Void</code> when void expression with guard clause is not on last line. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12716">#12716</a>: Fix false negatives for <code>Lint/Void</code> when using parenthesized void operators. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12471">#12471</a>: Fix false negatives for <code>Style/ZeroLengthPredicate</code> when using safe navigation operator. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12960">#12960</a>: Fix false positives for <code>Lint/NestedMethodDefinition</code> when definition of method on variable. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13012">#13012</a>: Fix false positives for <code>Style/HashExcept</code> when using <code>reject</code> and calling <code>include?</code> method with bang. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12983">#12983</a>: Fix false positives for <code>Style/SendWithLiteralMethodName</code> using <code>send</code> with writer method name. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12957">#12957</a>: Fix false positives for <code>Style/SuperArguments</code> when calling super in a block. ([<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/issues/12970">#12970</a>: Add <code>CountModifierForms</code> option to <code>Metrics/BlockNesting</code> and set it to <code>false</code> by default. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13032">#13032</a>: Display warning messages for deprecated APIs. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/13031">#13031</a>: Enable YJIT by default in server mode. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12557">#12557</a>: Make server mode aware of auto-restart for <code>bundle update</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12616">#12616</a>: Make <code>Style/MapCompactWithConditionalBlock</code> aware of <code>filter_map</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13035">#13035</a>: Support autocorrect for <code>Lint/ImplicitStringConcatenation</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
</ul>
<h2>1.64.1 (2024-05-31)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12951">#12951</a>: Fix an error for <code>Style/Copyright</code> when <code>AutocorrectNotice</code> is missing. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12932">#12932</a>: Fix end position of diagnostic for LSP. ([<a href="https://github.com/ksss"><code>`@​ksss</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12926">#12926</a>: Fix a false positive for <code>Style/SuperArguments</code> when the methods block argument is reassigned before <code>super</code>. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12931">#12931</a>: Fix false positives for <code>Style/RedundantLineContinuation</code> when line continuations involve <code>break</code>, <code>next</code>, or <code>yield</code> with a return value. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12924">#12924</a>: Fix false positives for <code>Style/SendWithLiteralMethodName</code> when <code>public_send</code> argument is a method name that cannot be autocorrected. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
</ul>
<h2>1.64.0 (2024-05-23)</h2>
<h3>New features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop/commit/28786cfef40d595c1aba29e1290d27e69b4c349c"><code>28786cf</code></a> Cut 1.65</li>
<li><a href="https://github.com/rubocop/rubocop/commit/b20355fc2eda01b89fa7d567b3cf895b97138a2e"><code>b20355f</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/f3b368a6a89f8d32dd6559e3a1747e107d03f7c3"><code>f3b368a</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13035">#13035</a>] Support autocorrect for <code>Lint/ImplicitStringConcatenation</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/357ff41ba804b05e535143f55612463446c037fa"><code>357ff41</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13034">#13034</a> from koic/fix_a_false_positive_for_layout_space_aro...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/3395b6a3119e9c2422a184fed186e6265ef054c5"><code>3395b6a</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13033">#13033</a>] Fix a false positive for <code>Layout/SpaceAroundOperators</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/a71c653c1b3a6e34c52990a6cbf2b848a3384e4e"><code>a71c653</code></a> Enable YJIT by default in server mode</li>
<li><a href="https://github.com/rubocop/rubocop/commit/2d332e9fccfd638ed1322e0cfc4e2db08c3aee81"><code>2d332e9</code></a> Display warning messages for deprecated APIs</li>
<li><a href="https://github.com/rubocop/rubocop/commit/9872bcabdc9584c0d9e9f4c73599fca555858ca2"><code>9872bca</code></a> Use <code>Regexp#match?</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/961ca82b3287f656389d51b2ef188047fec205ed"><code>961ca82</code></a> [Docs] Prioritize using <code>add_dependency</code> over <code>add_runtime_dependency</code> in exa...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/ce3d448b72c56c980ec391bd6bfbfbb460258536"><code>ce3d448</code></a> Add new <code>Gemspec/AddRuntimeDependency</code> cop</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.64.1...v1.65.0">compare view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR 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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Aug 1, 2024
2 parents 48f60af + 6b7ee5e commit d56ff49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ group :development, :test do
end

group :development do
gem 'rubocop', '~> 1.64.1', require: false
gem 'rubocop', '~> 1.65.0', require: false
end

0 comments on commit d56ff49

Please sign in to comment.