Skip to content

Commit a52bda0

Browse files
authored
Build(deps-dev): Bump rubocop from 1.75.8 to 1.76.0 (#863)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.75.8 to 1.76.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 v1.76.0</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12360">#12360</a>: Add new <code>Naming/PredicateMethod</code> cop to check that predicate methods end with <code>?</code> and non-predicate methods do not. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13121">#13121</a>: Add new <code>Style/EmptyStringInsideInterpolation</code> cop. (<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14091">#14091</a>: Add new cop <code>Style/RedundantArrayFlatten</code>. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14184">#14184</a>: Add new cop <code>Lint/UselessOr</code>. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14221">#14221</a>: Enhance <code>Gemspec</code> department cops to detect offenses if specification variable is <code>it</code> or a numbered parameter. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14166">#14166</a>: Add new cop <code>Lint/UselessDefaultValueArgument</code>. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14228">#14228</a>: Fix a false positive for <code>Style/RedundantParentheses</code> when using a one-line <code>rescue</code> expression as a method argument. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14224">#14224</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when using one-line pattern matching. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14205">#14205</a>: False negatives in <code>Style/SafeNavigation</code> when a ternary expression is used in a method argument. (<a href="https://github.com/steiley"><code>@​steiley</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14226">#14226</a>: Fix <code>Lint/LiteralAsCondition</code> autocorrect when branches of a condition have comments. (<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14066">#14066</a>: Add <code>EnforcedStyle: allow_single_line</code> as the default to <code>Style/ItBlockParameter</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13788">#13788</a>: Disable <code>Lint/ShadowingOuterLocalVariable</code> by default. (<a href="https://github.com/nekketsuuu"><code>@​nekketsuuu</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14215">#14215</a>: Recognize inequation (<code>!=</code>) in <code>Lint/IdentityComparison</code>. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</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.0 (2025-06-04)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12360">#12360</a>: Add new <code>Naming/PredicateMethod</code> cop to check that predicate methods end with <code>?</code> and non-predicate methods do not. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13121">#13121</a>: Add new <code>Style/EmptyStringInsideInterpolation</code> cop. ([<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14091">#14091</a>: Add new cop <code>Style/RedundantArrayFlatten</code>. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14184">#14184</a>: Add new cop <code>Lint/UselessOr</code>. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14221">#14221</a>: Enhance <code>Gemspec</code> department cops to detect offenses if specification variable is <code>it</code> or a numbered parameter. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14166">#14166</a>: Add new cop <code>Lint/UselessDefaultValueArgument</code>. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14228">#14228</a>: Fix a false positive for <code>Style/RedundantParentheses</code> when using a one-line <code>rescue</code> expression as a method argument. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14224">#14224</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when using one-line pattern matching. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14205">#14205</a>: False negatives in <code>Style/SafeNavigation</code> when a ternary expression is used in a method argument. ([<a href="https://github.com/steiley"><code>@​steiley</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14226">#14226</a>: Fix <code>Lint/LiteralAsCondition</code> autocorrect when branches of a condition have comments. ([<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14066">#14066</a>: Add <code>EnforcedStyle: allow_single_line</code> as the default to <code>Style/ItBlockParameter</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13788">#13788</a>: Disable <code>Lint/ShadowingOuterLocalVariable</code> by default. ([<a href="https://github.com/nekketsuuu"><code>@​nekketsuuu</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14215">#14215</a>: Recognize inequation (<code>!=</code>) in <code>Lint/IdentityComparison</code>. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/190a64de3358db1c9e9c86eae32665916c37535c"><code>190a64d</code></a> Cut 1.76</li> <li><a href="https://github.com/rubocop/rubocop/commit/f62809d8dd5268f737f1d640a12f26f56b3d0490"><code>f62809d</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/329b5808b6adaae077d44ca91cd49317528866ed"><code>329b580</code></a> Use <code>RuboCop::AST::Node#any_match_pattern_type?</code> method</li> <li><a href="https://github.com/rubocop/rubocop/commit/9368339baaa3a5942a9f25d1652efcca4b336351"><code>9368339</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14228">#14228</a>] Fix false positive for <code>Style/RedundantParentheses</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/16efaa9ca545b0c9332a64778949868d1846972e"><code>16efaa9</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14226">#14226</a> from Zopolis4/standee</li> <li><a href="https://github.com/rubocop/rubocop/commit/af29d5ce6d3e991dbaa4655bbd9a15be1154fb4f"><code>af29d5c</code></a> Fix <code>Lint/LiteralAsCondition</code> autocorrect when branches of a condition have c...</li> <li><a href="https://github.com/rubocop/rubocop/commit/173db55ef67100cfa28477b511ea2d5699e75169"><code>173db55</code></a> Add new cop Lint/UselessOr</li> <li><a href="https://github.com/rubocop/rubocop/commit/c977def8693fc7da1d168f3260e461cf51cd984c"><code>c977def</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14225">#14225</a> from viralpraxis/fix-style-empty-string-inside-inte...</li> <li><a href="https://github.com/rubocop/rubocop/commit/fac13c5d00d6d9965e5d7a3ec9f04a7046fc6824"><code>fac13c5</code></a> Fix <code>Style/EmptyStringInsideInterpolation</code> cop error on non-string literal</li> <li><a href="https://github.com/rubocop/rubocop/commit/25a7eefb2a8f81e1a7b44a6546c1fd958385f983"><code>25a7eef</code></a> Fix false negatives for <code>Style/RedundantParentheses</code></li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.75.8...v1.76.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.75.8&new-version=1.76.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 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>
2 parents bd2bae9 + f2e10e2 commit a52bda0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,18 +637,18 @@ GEM
637637
rswag-ui (2.16.0)
638638
actionpack (>= 5.2, < 8.1)
639639
railties (>= 5.2, < 8.1)
640-
rubocop (1.75.8)
640+
rubocop (1.76.0)
641641
json (~> 2.3)
642642
language_server-protocol (~> 3.17.0.2)
643643
lint_roller (~> 1.1.0)
644644
parallel (~> 1.10)
645645
parser (>= 3.3.0.2)
646646
rainbow (>= 2.2.2, < 4.0)
647647
regexp_parser (>= 2.9.3, < 3.0)
648-
rubocop-ast (>= 1.44.0, < 2.0)
648+
rubocop-ast (>= 1.45.0, < 2.0)
649649
ruby-progressbar (~> 1.7)
650650
unicode-display_width (>= 2.4.0, < 4.0)
651-
rubocop-ast (1.44.1)
651+
rubocop-ast (1.45.0)
652652
parser (>= 3.3.7.2)
653653
prism (~> 1.4)
654654
rubocop-capybara (2.22.1)

0 commit comments

Comments
 (0)