Commit 0695b50
authored
Build(deps-dev): Bump rubocop from 1.76.0 to 1.76.1 (#865)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.76.0 to
1.76.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 v1.76.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14245">#14245</a>:
Fix an error for <code>Lint/EmptyInterpolation</code> when using
primitives in interpolation. (<a
href="https://github.com/ka8725"><code>@ka8725</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14233">#14233</a>:
Fix an error for <code>Style/SafeNavigation</code> when using ternary
expression with index access call. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14236">#14236</a>:
Fix an error for <code>Style/SafeNavigation</code> when using ternary
expression with operator method call. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14249">#14249</a>:
Fix false positives for <code>Style/RedundantArrayFlatten</code> when
<code>Array#join</code> is used with an argument other than the default
<code>nil</code>. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14239">#14239</a>:
Fix false positives for <code>Style/RedundantParentheses</code> when
using one-line <code>in</code> pattern matching in operator. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14240">#14240</a>:
Fix <code>Naming/PredicateMethod</code> cop error on empty parentheses
method body. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14235">#14235</a>:
Fix <code>Style/SafeNavigation</code> cop error on indexed assignment in
ternary expression. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14247">#14247</a>:
Fix <code>Style/SafeNavigation</code> invalid autocorrection on double
colon method call. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</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.76.1 (2025-06-09)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14245">#14245</a>:
Fix an error for <code>Lint/EmptyInterpolation</code> when using
primitives in interpolation. ([<a
href="https://github.com/ka8725"><code>@ka8725</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14233">#14233</a>:
Fix an error for <code>Style/SafeNavigation</code> when using ternary
expression with index access call. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14236">#14236</a>:
Fix an error for <code>Style/SafeNavigation</code> when using ternary
expression with operator method call. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14249">#14249</a>:
Fix false positives for <code>Style/RedundantArrayFlatten</code> when
<code>Array#join</code> is used with an argument other than the default
<code>nil</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14239">#14239</a>:
Fix false positives for <code>Style/RedundantParentheses</code> when
using one-line <code>in</code> pattern matching in operator. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14240">#14240</a>:
Fix <code>Naming/PredicateMethod</code> cop error on empty parentheses
method body. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14235">#14235</a>:
Fix <code>Style/SafeNavigation</code> cop error on indexed assignment in
ternary expression. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14247">#14247</a>:
Fix <code>Style/SafeNavigation</code> invalid autocorrection on double
colon method call. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop/commit/c74a5b3e838a01e535e3c59b03960a2e273a9b65"><code>c74a5b3</code></a>
Cut 1.76.1</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c78ad7af9ba2755b5a2471796196bcb64520430e"><code>c78ad7a</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/0bd38fff7c79b66356ee1b018be102f71a8d3dd6"><code>0bd38ff</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/14249">#14249</a>]
Fix false positives for <code>Style/RedundantArrayFlatten</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/bf526269c929a7cf8d26b9d19a5ba8d8a019a2c2"><code>bf52626</code></a>
Improve <code>expect_offense</code> interpolation documentation</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/d0dfd683abd1f00ffeebbe61fbb86c446825de16"><code>d0dfd68</code></a>
Add new rake task to verify config references availability</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/44f5eb772990ea73dd790fdc3b5f528388b21816"><code>44f5eb7</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14259">#14259</a>
from koic/fix_build_error_on_windows_matrix</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/ed880df1855d36e7346a73ad7d8ba3e1c0e85512"><code>ed880df</code></a>
Fix build errors on Winsows matrix</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/9316b04a691df3244bc148a8cfe6d8d8f21c337c"><code>9316b04</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14244">#14244</a>
from koic/fix_false_positives_for_style_redundant_p...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/bb32f69c0cc5259db5fc235ba8a48d6257c51d73"><code>bb32f69</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14252">#14252</a>
from koic/workaround_ruby_lsp_0_24</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/067da9d3d23c799cae6d8e02111f020cac64ae49"><code>067da9d</code></a>
Workaround to avoid build error in Ruby LSP add-on test with Ruby LSP
0.24</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.76.0...v1.76.1">compare
view</a></li>
</ul>
</details>
<br />
[](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>1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
| 657 | + | |
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| |||
0 commit comments