Skip to content

Commit

Permalink
Merge #528
Browse files Browse the repository at this point in the history
528: Update rubocop requirement from ~> 1.61.0 to ~> 1.62.1 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.62.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12761">#12761</a>: Fix a false positive for <code>Style/HashEachMethods</code> when the key block argument of <code>Enumerable#each</code> method is unused after <code>chunk</code>. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12768">#12768</a>: Fix a false positive for <code>Style/NilComparison</code> without receiver and <code>EnforcedStyle: comparison</code>. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12752">#12752</a>: Fix an error for <code>Gemspec/RequiredRubyVersion</code> when the file is empty. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12770">#12770</a>: Fix an error for <code>Lint/RedundantWithIndex</code> when the method has no receiver. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12775">#12775</a>: Fix an error for <code>Lint/UselessTimes</code> when no block is present. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12772">#12772</a>: Fix an error for <code>Style/ClassVars</code> when calling <code>class_variable_set</code> without arguments. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12773">#12773</a>: Fix an error for <code>Style/For</code> with <code>EnforcedStyle: for</code> when no receiver. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12765">#12765</a>: Fix an error for <code>Layout/MultilineMethodCallIndentation</code> with safe navigation and assignment method. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12703">#12703</a>: Fix an error for <code>Lint/MixedCaseRange</code> with invalid byte sequence in UTF-8. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12755">#12755</a>: Fix an exception for <code>RedundantCurrentDirectoryInPath</code> in case of <code>require_relative</code> without arguments. (<a href="https://github.com/viralpraxis"><code>`@​viralpraxis</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12710">#12710</a>: Fix a false negative for <code>Layout/EmptyLineAfterMagicComment</code> when the file is comments only. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12758">#12758</a>: Fix false positives for <code>Layout/RedundantLineBreak</code> when using <code>&amp;&amp;</code> or <code>||</code> after a backslash newline. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12763">#12763</a>: Fix an infinite loop for <code>Style/MultilineMethodSignature</code> when there is a newline directly after the def keyword. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12774">#12774</a>: Fix an infinite loop for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> when passing more than 2 arguments to <code>raise</code>. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12663">#12663</a>: Fix <code>Lint/Syntax</code> getting disabled by <code>rubocop:disable Lint/Syntax</code>. (<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>)</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12756">#12756</a>: Only parse target Ruby from gemspec if array elements are strings. (<a href="https://github.com/davidrunger"><code>`@​davidrunger</code></a>)</li>`
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12730">#12730</a>: Skip <code>LineLength</code> phase on <code>--auto-gen-only-exclude</code>. (<a href="https://github.com/sambostock"><code>`@​sambostock</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.62.1 (2024-03-11)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12761">#12761</a>: Fix a false positive for <code>Style/HashEachMethods</code> when the key block argument of <code>Enumerable#each</code> method is unused after <code>chunk</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12768">#12768</a>: Fix a false positive for <code>Style/NilComparison</code> without receiver and <code>EnforcedStyle: comparison</code>. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12752">#12752</a>: Fix an error for <code>Gemspec/RequiredRubyVersion</code> when the file is empty. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12770">#12770</a>: Fix an error for <code>Lint/RedundantWithIndex</code> when the method has no receiver. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12775">#12775</a>: Fix an error for <code>Lint/UselessTimes</code> when no block is present. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12772">#12772</a>: Fix an error for <code>Style/ClassVars</code> when calling <code>class_variable_set</code> without arguments. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12773">#12773</a>: Fix an error for <code>Style/For</code> with <code>EnforcedStyle: for</code> when no receiver. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12765">#12765</a>: Fix an error for <code>Layout/MultilineMethodCallIndentation</code> with safe navigation and assignment method. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12703">#12703</a>: Fix an error for <code>Lint/MixedCaseRange</code> with invalid byte sequence in UTF-8. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12755">#12755</a>: Fix an exception for <code>RedundantCurrentDirectoryInPath</code> in case of <code>require_relative</code> without arguments. ([<a href="https://github.com/viralpraxis"><code>`@​viralpraxis</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12710">#12710</a>: Fix a false negative for <code>Layout/EmptyLineAfterMagicComment</code> when the file is comments only. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12758">#12758</a>: Fix false positives for <code>Layout/RedundantLineBreak</code> when using <code>&amp;&amp;</code> or <code>||</code> after a backslash newline. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12763">#12763</a>: Fix an infinite loop for <code>Style/MultilineMethodSignature</code> when there is a newline directly after the def keyword. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12774">#12774</a>: Fix an infinite loop for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> when passing more than 2 arguments to <code>raise</code>. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12663">#12663</a>: Fix <code>Lint/Syntax</code> getting disabled by <code>rubocop:disable Lint/Syntax</code>. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12756">#12756</a>: Only parse target Ruby from gemspec if array elements are strings. ([<a href="https://github.com/davidrunger"><code>`@​davidrunger</code></a>][])</li>`
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12730">#12730</a>: Skip <code>LineLength</code> phase on <code>--auto-gen-only-exclude</code>. ([<a href="https://github.com/sambostock"><code>`@​sambostock</code></a>][])</li>`
</ul>
<h2>1.62.0 (2024-03-06)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12600">#12600</a>: Support Prism as a Ruby parser (experimental). ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12725">#12725</a>: Support <code>TargetRubyVersion 3.4</code> (experimental). ([<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/pull/12746">#12746</a>: Fix a false positive for <code>Lint/ToEnumArguments</code> when enumerator is created for another method in no arguments method definition. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12726">#12726</a>: Fix a false positive for <code>Style/RedundantLineContinuation</code> when using line concatenation and calling a method with keyword arguments without parentheses. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12738">#12738</a>: Fix an error for <code>Style/Encoding</code> when magic encoding with mixed case present. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12732">#12732</a>: Fix error determining target Ruby when gemspec <code>required_ruby_version</code> is read from another file. ([<a href="https://github.com/davidrunger"><code>`@​davidrunger</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12736">#12736</a>: Fix invalid autocorrect in <code>Layout/SpaceInsideHashLiteralBraces</code>. ([<a href="https://github.com/bquorning"><code>`@​bquorning</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12667">#12667</a>: Don't load excluded configuration. ([<a href="https://github.com/jonas054"><code>`@​jonas054</code></a>][])</li>`
</ul>
<h2>1.61.0 (2024-02-29)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12682">#12682</a>: Add <code>--editor-mode</code> CLI option. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12657">#12657</a>: Support <code>AutoCorrect: contextual</code> option for LSP. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12273">#12273</a>: Make <code>OffenseCountFormatter</code> display autocorrection information. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/12679">#12679</a>: Publish <code>RuboCop::LSP.enable</code> API to enable LSP mode. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/12699">#12699</a>: Support searching for <code>.rubocop.yml</code> and <code>rubocop/config.yml</code> in compliance with dot-config. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop/commit/ed9b69edae0f69771e41de24d6f9cdef6ab03482"><code>ed9b69e</code></a> Cut 1.62.1</li>
<li><a href="https://github.com/rubocop/rubocop/commit/a99fe78dd58b4fe8514cc8e765df70ab0772c3a9"><code>a99fe78</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/eceedb713aaba2fcf133943b67f924e3748633e8"><code>eceedb7</code></a> Fix an error for <code>Lint/UselessTimes</code> when no block is present</li>
<li><a href="https://github.com/rubocop/rubocop/commit/8d2ef482fe6eb1163b15d4d6f4d7cdd643cfd24c"><code>8d2ef48</code></a> Fix an infinite loop for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> when...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/bb0dd97894f2b87d16fdbad379cb08cb2402b1d9"><code>bb0dd97</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/12771">#12771</a> from Earlopain/node-matcher-directive-followup</li>
<li><a href="https://github.com/rubocop/rubocop/commit/9b39a559883b6b682bfb85a92178f4fe95d841d5"><code>9b39a55</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/12773">#12773</a> from Earlopain/fix-error-for-style-for</li>
<li><a href="https://github.com/rubocop/rubocop/commit/409c5a04096c635e079d327f65f896ccc9a4edfe"><code>409c5a0</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/12772">#12772</a> from Earlopain/fix-error-for-style-class-vars</li>
<li><a href="https://github.com/rubocop/rubocop/commit/54dbee1ba10cb48e2fa0a4f701a7cefc6a7f66e4"><code>54dbee1</code></a> Fix an error for <code>Style/For</code> with <code>EnforcedStyle: for</code> when no receiver</li>
<li><a href="https://github.com/rubocop/rubocop/commit/94c17b839821116249f0941844531755e8a501d7"><code>94c17b8</code></a> Fix an error for <code>Style/ClassVars</code> when calling <code>class_variable_set</code> without ...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/5ee786dcadfa3c91096d9e81dcd16e4776ca6186"><code>5ee786d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/12770">#12770</a> from Earlopain/fix-an-error-for-lint-redundant-with...</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.61.0...v1.62.1">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 Apr 1, 2024
2 parents ef2ae97 + 536afbc commit 38afa75
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.61.0', require: false
gem 'rubocop', '~> 1.62.1', require: false
end

0 comments on commit 38afa75

Please sign in to comment.