Bump rubocop from 1.44.1 to 1.45.1 (#1421)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.44.1 to
1.45.1.
<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.45.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11552">#11552</a>:
Fix a false positive for <code>Lint/Debugger</code> when methods
containing different method chains. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11548">#11548</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when if a
non method definition was included. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11554">#11554</a>:
Fix an error for <code>Style/RedundantCondition</code> when the branches
contains empty hash literal argument. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11549">#11549</a>:
Fix an error for third party cops when inheriting
<code>RuboCop::Cop::Cop</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<h2>RuboCop 1.45</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10839">#10839</a>:
Add API for 3rd party template support. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11528">#11528</a>:
Add new <code>Style/RedundantHeredocDelimiterQuotes</code> cop. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11188">#11188</a>:
Add a <code>--no-detach</code> option for <code>--start-server</code>.
This will start the server process in the foreground, which can be
helpful when running within Docker where detaching the process
terminates the container. (<a
href="https://github.com/f1sherman"><code>@​f1sherman</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11546">#11546</a>:
Make <code>Lint/UselessAccessModifier</code> aware of Ruby 3.2's
<code>Data.define</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11396">#11396</a>:
Add ability to profile rubocop execution via <code>--profile</code> and
<code>--memory</code> options. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11491">#11491</a>:
Fix a crash on <code>Lint/UselessAssignment</code>. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11515">#11515</a>:
Fix a false negative for <code>Naming/HeredocDelimiterNaming</code> when
using lowercase. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11511">#11511</a>:
Fix a false negative for <code>Style/YodaCondition</code> when using
constant. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11520">#11520</a>:
Fix a false negative for <code>Style/YodaExpression</code> when using
constant. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11521">#11521</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
using <code>Kernel.format</code> with the interpolated number of decimal
places fields match. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11545">#11545</a>:
Fix the following false positive for
<code>Lint/NestedMethodDefinition</code> when using numbered parameter.
(<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11535">#11535</a>:
Fix a false positive for <code>Style/NumberedParametersLimit</code> when
only <code>_2</code> or higher numbered parameter is used. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11508">#11508</a>:
Fix a false positive for <code>Style/OperatorMethodCall</code> when
using multiple arguments for operator method. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11503">#11503</a>:
Fix a false positive for <code>Style/RedundantCondition</code> when
using method argument with operator. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11529">#11529</a>:
Fix an incorrect autocorrect for <code>Layout/ClassStructure</code> when
definitions that need to be sorted are defined alternately. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11530">#11530</a>:
Fix an incorrect autocorrect for
<code>Style/AccessModifierDeclarations</code> when multiple groupable
access modifiers are defined. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10910">#10910</a>:
Fix an incorrect autocorrect for
<code>Style/MultilineTernaryOperator</code> when contains a comment. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11522">#11522</a>:
Don't flag default keyword arguments in
<code>Style/ArgumentsForwarding</code>. ([<a
href="https://github.com/splattael"><code>@​splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11547">#11547</a>:
Fix a false positive for <code>Lint/NestedMethodDefinition</code> when
using Ruby 3.2's <code>Data.define</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11537">#11537</a>:
Fix an infinite loop error for <code>Layout/ArrayAlignment</code> when
using assigning unbracketed array elements. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11516">#11516</a>:
Fix missing parentheses in shorthand hash syntax as argument calls. ([<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/11504">#11504</a>:
Allow <code>initialize</code> method in
<code>Style/DocumentationMethod</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11541">#11541</a>:
Enable autocorrection for
<code>Layout/LineContinuationLeadingSpace</code>. ([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11542">#11542</a>:
Mark <code>Layout/AssignmentIndentation</code> as safe and
<code>Lint/AssignmentInCondition</code> as unsafe for autocorrection.
([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11517">#11517</a>:
Make <code>Lint/Debugger</code> aware of <code>p</code>,
<code>PP.pp</code>, and <code>pp</code> methods. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11539">#11539</a>:
Remove <code>bundler</code> from default <code>AllowedGems</code> of
<code>Gemspec/DevelopmentDependencies</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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.45.1 (2023-02-08)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11552">#11552</a>:
Fix a false positive for <code>Lint/Debugger</code> when methods
containing different method chains. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11548">#11548</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when if a
non method definition was included. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11554">#11554</a>:
Fix an error for <code>Style/RedundantCondition</code> when the branches
contains empty hash literal argument. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11549">#11549</a>:
Fix an error for third party cops when inheriting
<code>RuboCop::Cop::Cop</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.45.0 (2023-02-08)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10839">#10839</a>:
Add API for 3rd party template support. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11528">#11528</a>:
Add new <code>Style/RedundantHeredocDelimiterQuotes</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11188">#11188</a>:
Add a <code>--no-detach</code> option for <code>--start-server</code>.
This will start the server process in the foreground, which can be
helpful when running within Docker where detaching the process
terminates the container. ([<a
href="https://github.com/f1sherman"><code>@​f1sherman</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11546">#11546</a>:
Make <code>Lint/UselessAccessModifier</code> aware of Ruby 3.2's
<code>Data.define</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11396">#11396</a>:
Add ability to profile rubocop execution via <code>--profile</code> and
<code>--memory</code> options. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11491">#11491</a>:
Fix a crash on <code>Lint/UselessAssignment</code>. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11515">#11515</a>:
Fix a false negative for <code>Naming/HeredocDelimiterNaming</code> when
using lowercase. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11511">#11511</a>:
Fix a false negative for <code>Style/YodaCondition</code> when using
constant. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11520">#11520</a>:
Fix a false negative for <code>Style/YodaExpression</code> when using
constant. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11521">#11521</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
using <code>Kernel.format</code> with the interpolated number of decimal
places fields match. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11545">#11545</a>:
Fix the following false positive for
<code>Lint/NestedMethodDefinition</code> when using numbered parameter.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11535">#11535</a>:
Fix a false positive for <code>Style/NumberedParametersLimit</code> when
only <code>_2</code> or higher numbered parameter is used. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11508">#11508</a>:
Fix a false positive for <code>Style/OperatorMethodCall</code> when
using multiple arguments for operator method. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11503">#11503</a>:
Fix a false positive for <code>Style/RedundantCondition</code> when
using method argument with operator. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11529">#11529</a>:
Fix an incorrect autocorrect for <code>Layout/ClassStructure</code> when
definitions that need to be sorted are defined alternately. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11530">#11530</a>:
Fix an incorrect autocorrect for
<code>Style/AccessModifierDeclarations</code> when multiple groupable
access modifiers are defined. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10910">#10910</a>:
Fix an incorrect autocorrect for
<code>Style/MultilineTernaryOperator</code> when contains a comment.
([<a href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11522">#11522</a>:
Don't flag default keyword arguments in
<code>Style/ArgumentsForwarding</code>. ([<a
href="https://github.com/splattael"><code>@​splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11547">#11547</a>:
Fix a false positive for <code>Lint/NestedMethodDefinition</code> when
using Ruby 3.2's <code>Data.define</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11537">#11537</a>:
Fix an infinite loop error for <code>Layout/ArrayAlignment</code> when
using assigning unbracketed array elements. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11516">#11516</a>:
Fix missing parentheses in shorthand hash syntax as argument calls. ([<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/11504">#11504</a>:
Allow <code>initialize</code> method in
<code>Style/DocumentationMethod</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11541">#11541</a>:
Enable autocorrection for
<code>Layout/LineContinuationLeadingSpace</code>. ([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11542">#11542</a>:
Mark <code>Layout/AssignmentIndentation</code> as safe and
<code>Lint/AssignmentInCondition</code> as unsafe for autocorrection.
([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11517">#11517</a>:
Make <code>Lint/Debugger</code> aware of <code>p</code>,
<code>PP.pp</code>, and <code>pp</code> methods. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11539">#11539</a>:
Remove <code>bundler</code> from default <code>AllowedGems</code> of
<code>Gemspec/DevelopmentDependencies</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b0f8575442"><code>b0f8575</code></a>
Cut 1.45.1</li>
<li><a
href="c3f9516b7d"><code>c3f9516</code></a>
Update Changelog</li>
<li><a
href="c4ee09c17f"><code>c4ee09c</code></a>
Fix an error for <code>Style/AccessModifierDeclarations</code> when if a
non method defi...</li>
<li><a
href="24049465e7"><code>2404946</code></a>
CI against JRuby 9.4 instead of JRuby 9.3</li>
<li><a
href="2989584f5a"><code>2989584</code></a>
Fix a false positive for <code>Lint/Debugger</code> when methods
containing different me...</li>
<li><a
href="cdfc3976b4"><code>cdfc397</code></a>
Restore a pending test for processing a regex with regopt</li>
<li><a
href="dca922115e"><code>dca9221</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11554">#11554</a>]
Fix an error for <code>Style/RedundantCondition</code></li>
<li><a
href="4ec3822247"><code>4ec3822</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11549">#11549</a>]
Fix an error for third party cops</li>
<li><a
href="b1b393a210"><code>b1b393a</code></a>
Switch back the docs version</li>
<li><a
href="170d244c0a"><code>170d244</code></a>
Cut 1.45</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.44.1...v1.45.1">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.44.1&new-version=1.45.1)](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>
This commit is contained in:
dependabot[bot]
2023-02-14 17:03:15 -08:00
committed by GitHub
parent 69335153ce
commit 4819013e50

View File

@@ -4,12 +4,12 @@ GEM
ast (2.4.2)
json (2.6.3)
parallel (1.22.1)
parser (3.2.0.0)
parser (3.2.1.0)
ast (~> 2.4.1)
rainbow (3.1.1)
regexp_parser (2.6.2)
regexp_parser (2.7.0)
rexml (3.2.5)
rubocop (1.44.1)
rubocop (1.45.1)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
@@ -19,8 +19,8 @@ GEM
rubocop-ast (>= 1.24.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.24.1)
parser (>= 3.1.1.0)
rubocop-ast (1.26.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.11.0)
unicode-display_width (2.4.2)