Bump rubocop from 1.45.1 to 1.46.0 (#1472)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.45.1 to
1.46.0.
<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.46</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11569">#11569</a>:
Support <code>TargetRubyVersion 3.3</code> (experimental). (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11574">#11574</a>:
Fix a broken shorthand syntax autocorrection. (<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11599">#11599</a>:
Fix a false positive for <code>Layout/LineContinuationSpacing</code>
when using percent literals. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11556">#11556</a>:
Fix a false positive for <code>Lint/Debugger</code> when <code>p</code>
is an argument of method call. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11591">#11591</a>:
Fix a false positive for <code>Lint/ToEnumArguments</code> when
enumerator is not created for <code>__callee__</code> and
<code>__callee__</code> methods. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11603">#11603</a>:
Actually run temporarily enabled cops. (<a
href="https://github.com/tdeo"><code>@​tdeo</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11579">#11579</a>:
Fix an error for <code>Layout/HeredocArgumentClosingParenthesis</code>
when heredoc is a method argument in a parenthesized block argument. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11576">#11576</a>:
Fix an error for <code>Lint/UselessRescue</code> when
<code>rescue</code> does not exception variable and <code>ensure</code>
has empty body. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11608">#11608</a>:
Fix an error for <code>Lint/RefinementImportMethods</code> when using
<code>include</code> on the top level. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11589">#11589</a>:
Fix an error for <code>Layout/HeredocArgumentClosingParenthesis</code>
when heredoc is a branch body in a method argument of a parenthesized
argument. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11567">#11567</a>:
Fix <code>Layout/EndAlignment</code> false negative. (<a
href="https://github.com/j-miyake"><code>@​j-miyake</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11582">#11582</a>:
Fix checking if token with large offset begins its line. (<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11412">#11412</a>:
Mark <code>Style/ArrayIntersect</code> as unsafe. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11559">#11559</a>:
Fixed false positives and negatives in
<code>Style/RedundantRegexpCharacterClass</code> when using octal
escapes (e.g. &quot;\0&quot;). (<a
href="https://github.com/jaynetics"><code>@​jaynetics</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11575">#11575</a>:
Fix parentheses in value omissions for multiple assignments. (<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11586">#11586</a>:
Handle <code>ruby2_keywords</code> in
<code>Style/DocumentationMethod</code> cop. (<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11604">#11604</a>:
Make <code>Naming/VariableNumber</code> to allow <code>x86_64</code> CPU
architecture name by default. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11596">#11596</a>:
Make <code>Style/AccessorGrouping</code> aware of method call before
accessor. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11588">#11588</a>:
Optimize <code>Style/WordArray</code> complex matrix check. (<a
href="https://github.com/sambostock"><code>@​sambostock</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11573">#11573</a>:
Handle hash patterns and pins in <code>Lint/OutOfRangeRegexpRef</code>
cop. (<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11564">#11564</a>:
Remove print debug methods from default for <code>Lint/Debugger</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.46.0 (2023-02-22)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11569">#11569</a>:
Support <code>TargetRubyVersion 3.3</code> (experimental). ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11574">#11574</a>:
Fix a broken shorthand syntax autocorrection. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11599">#11599</a>:
Fix a false positive for <code>Layout/LineContinuationSpacing</code>
when using percent literals. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11556">#11556</a>:
Fix a false positive for <code>Lint/Debugger</code> when <code>p</code>
is an argument of method call. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11591">#11591</a>:
Fix a false positive for <code>Lint/ToEnumArguments</code> when
enumerator is not created for <code>__callee__</code> and
<code>__callee__</code> methods. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11603">#11603</a>:
Actually run temporarily enabled cops. ([<a
href="https://github.com/tdeo"><code>@​tdeo</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11579">#11579</a>:
Fix an error for <code>Layout/HeredocArgumentClosingParenthesis</code>
when heredoc is a method argument in a parenthesized block argument.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11576">#11576</a>:
Fix an error for <code>Lint/UselessRescue</code> when
<code>rescue</code> does not exception variable and <code>ensure</code>
has empty body. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11608">#11608</a>:
Fix an error for <code>Lint/RefinementImportMethods</code> when using
<code>include</code> on the top level. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11589">#11589</a>:
Fix an error for <code>Layout/HeredocArgumentClosingParenthesis</code>
when heredoc is a branch body in a method argument of a parenthesized
argument. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11567">#11567</a>:
Fix <code>Layout/EndAlignment</code> false negative. ([<a
href="https://github.com/j-miyake"><code>@​j-miyake</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11582">#11582</a>:
Fix checking if token with large offset begins its line. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11412">#11412</a>:
Mark <code>Style/ArrayIntersect</code> as unsafe. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11559">#11559</a>:
Fixed false positives and negatives in
<code>Style/RedundantRegexpCharacterClass</code> when using octal
escapes (e.g. &quot;\0&quot;). ([<a
href="https://github.com/jaynetics"><code>@​jaynetics</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11575">#11575</a>:
Fix parentheses in value omissions for multiple assignments. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11586">#11586</a>:
Handle <code>ruby2_keywords</code> in
<code>Style/DocumentationMethod</code> cop. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11604">#11604</a>:
Make <code>Naming/VariableNumber</code> to allow <code>x86_64</code> CPU
architecture name by default. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11596">#11596</a>:
Make <code>Style/AccessorGrouping</code> aware of method call before
accessor. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11588">#11588</a>:
Optimize <code>Style/WordArray</code> complex matrix check. ([<a
href="https://github.com/sambostock"><code>@​sambostock</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11573">#11573</a>:
Handle hash patterns and pins in <code>Lint/OutOfRangeRegexpRef</code>
cop. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11564">#11564</a>:
Remove print debug methods from default for <code>Lint/Debugger</code>.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="be57c6df36"><code>be57c6d</code></a>
Cut 1.46</li>
<li><a
href="4442453f5d"><code>4442453</code></a>
Update Changelog</li>
<li><a
href="28f8fb3d7c"><code>28f8fb3</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11591">#11591</a>]
Fix a false positive for <code>Lint/ToEnumArguments</code></li>
<li><a
href="87c7e69b59"><code>87c7e69</code></a>
Fix an error for
<code>Layout/HeredocArgumentClosingParenthesis</code></li>
<li><a
href="df7c4cd1f4"><code>df7c4cd</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11596">#11596</a>]
Make <code>Style/AccessorGrouping</code> aware of method call before
accessor</li>
<li><a
href="efce268820"><code>efce268</code></a>
Actually run temporarily enabled cops</li>
<li><a
href="52e8e4f11f"><code>52e8e4f</code></a>
Fix checking if token with large offset begins its line</li>
<li><a
href="c9630bcd7a"><code>c9630bc</code></a>
Fix an error for <code>Lint/RefinementImportMethods</code></li>
<li><a
href="48b2a326ed"><code>48b2a32</code></a>
Fix parentheses in value omissions for multiple assignments</li>
<li><a
href="d16167ee28"><code>d16167e</code></a>
Add new <code>InternalAffairs/ProcessedSourceBufferName</code> cop</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.45.1...v1.46.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop&package-manager=bundler&previous-version=1.45.1&new-version=1.46.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 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>
Co-authored-by: Andrew Dryga <andrew@dryga.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2023-03-16 00:52:02 -07:00
committed by GitHub
parent 6eba82499a
commit f6d586e074

View File

@@ -9,14 +9,14 @@ GEM
rainbow (3.1.1)
regexp_parser (2.7.0)
rexml (3.2.5)
rubocop (1.45.1)
rubocop (1.46.0)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
rubocop-ast (>= 1.26.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.26.0)