Skip to content

Commit 7c3b62c

Browse files
authored
Build(deps-dev): Bump rubocop from 1.71.2 to 1.72.2 (#767)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.71.2 to 1.72.2. <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.72.2</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13853">#13853</a>: Fix exclusion of relative paths in plugin's <code>AllCops: Exclude</code> as expected. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13844">#13844</a>: Fix an error for <code>Style/RedundantFormat</code> when a template argument is used without keyword arguments. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13857">#13857</a>: Fix an error for <code>Style/RedundantFormat</code> when numeric placeholders is used in the template argument. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13861">#13861</a>: Fix <code>ArgumentError</code> related to two deprecated <code>AllowedPattern</code> APIs. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13849">#13849</a>: Fix an error for <code>Lint/UselessConstantScoping</code> when multiple assigning to constants after <code>private</code> access modifier. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13856">#13856</a>: Fix false positives for <code>Lint/UselessConstantScoping</code> when a constant is used after <code>private</code> access modifier with arguments. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13846">#13846</a>: Mark <code>Style/RedundantFormat</code> as unsafe autocorrect. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h2>RuboCop 1.72.1</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13836">#13836</a>: Fix an error for <code>Style/RedundantParentheses</code> when a different expression appears before a range literal. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13839">#13839</a>: Fix false positives for <code>Lint/RedundantTypeConversion</code> when passing block arguments when generating a Hash or a Set. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13839">#13839</a>: Extension plugin is loaded automatically with <code>require 'rubocop/rspec/support'</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h2>RuboCop 1.72</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13740">#13740</a>: Add new <code>Lint/CopDirectiveSyntax</code> cop. ([<a href="https://github.com/kyanagi"><code>@​kyanagi</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13800">#13800</a>: Add new <code>Lint/SuppressedExceptionInNumberConversion</code> cop. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13702">#13702</a>: Add new <code>Lint/RedundantTypeConversion</code> cop. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13831">#13831</a>: Add new <code>Lint/UselessConstantScoping</code> cop. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13793">#13793</a>: Add new <code>Style/RedundantFormat</code> cop to check for uses of <code>format</code> or <code>sprintf</code> with only a single string argument. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13581">#13581</a>: Add new <code>InternalAffairs/LocationExists</code> cop to check for code that can be replaced with <code>Node#loc?</code> or <code>Node#loc_is?</code>. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13661">#13661</a>: Make server mode detect local paths in .rubocop.yml under <code>inherit_from</code> and <code>require</code> for automatically restart. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13721">#13721</a>: <code>Naming/PredicateName</code>: Optionally use Sorbet to detect predicate methods. ([<a href="https://github.com/issyl0"><code>@​issyl0</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/6012">#6012</a>: Support RuboCop extension plugin. (<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/issues/13807">#13807</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when chaining <code>[]</code> method calls. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13788">#13788</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when <code>[]</code> method is called with variable or constant receivers. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13811">#13811</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when handling range literals with redundant parentheses. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13796">#13796</a>: Fix crash in <code>Layout/EmptyLinesAroundMethodBody</code> for endless methods. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13817">#13817</a>: Fix false positive for format specifier with non-numeric precision. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12672">#12672</a>: Fix false positives for <code>Lint/FormatParameterMismatch</code> when the width value is interpolated. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12795">#12795</a>: Fix <code>Layout/BlockAlignment</code> for blocks that are the body of an endless method. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</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.72.2 (2025-02-17)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13853">#13853</a>: Fix exclusion of relative paths in plugin's <code>AllCops: Exclude</code> as expected. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13844">#13844</a>: Fix an error for <code>Style/RedundantFormat</code> when a template argument is used without keyword arguments. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13857">#13857</a>: Fix an error for <code>Style/RedundantFormat</code> when numeric placeholders is used in the template argument. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13861">#13861</a>: Fix <code>ArgumentError</code> related to two deprecated <code>AllowedPattern</code> APIs. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13849">#13849</a>: Fix an error for <code>Lint/UselessConstantScoping</code> when multiple assigning to constants after <code>private</code> access modifier. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13856">#13856</a>: Fix false positives for <code>Lint/UselessConstantScoping</code> when a constant is used after <code>private</code> access modifier with arguments. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13846">#13846</a>: Mark <code>Style/RedundantFormat</code> as unsafe autocorrect. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h2>1.72.1 (2025-02-15)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13836">#13836</a>: Fix an error for <code>Style/RedundantParentheses</code> when a different expression appears before a range literal. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13839">#13839</a>: Fix false positives for <code>Lint/RedundantTypeConversion</code> when passing block arguments when generating a Hash or a Set. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13839">#13839</a>: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h2>1.72.0 (2025-02-14)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13740">#13740</a>: Add new <code>Lint/CopDirectiveSyntax</code> cop. ([<a href="https://github.com/kyanagi"><code>@​kyanagi</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13800">#13800</a>: Add new <code>Lint/SuppressedExceptionInNumberConversion</code> cop. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13702">#13702</a>: Add new <code>Lint/RedundantTypeConversion</code> cop. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13831">#13831</a>: Add new <code>Lint/UselessConstantScoping</code> cop. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13793">#13793</a>: Add new <code>Style/RedundantFormat</code> cop to check for uses of <code>format</code> or <code>sprintf</code> with only a single string argument. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13581">#13581</a>: Add new <code>InternalAffairs/LocationExists</code> cop to check for code that can be replaced with <code>Node#loc?</code> or <code>Node#loc_is?</code>. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13661">#13661</a>: Make server mode detect local paths in .rubocop.yml under <code>inherit_from</code> and <code>require</code> for automatically restart. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13721">#13721</a>: <code>Naming/PredicateName</code>: Optionally use Sorbet to detect predicate methods. ([<a href="https://github.com/issyl0"><code>@​issyl0</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/6012">#6012</a>: Support RuboCop extension plugin. ([<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/issues/13807">#13807</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when chaining <code>[]</code> method calls. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13788">#13788</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when <code>[]</code> method is called with variable or constant receivers. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13811">#13811</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when handling range literals with redundant parentheses. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13796">#13796</a>: Fix crash in <code>Layout/EmptyLinesAroundMethodBody</code> for endless methods. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13817">#13817</a>: Fix false positive for format specifier with non-numeric precision. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12672">#12672</a>: Fix false positives for <code>Lint/FormatParameterMismatch</code> when the width value is interpolated. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12795">#12795</a>: Fix <code>Layout/BlockAlignment</code> for blocks that are the body of an endless method. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13822">#13822</a>: Fix undefined method Logger when processing watched file notifications. ([<a href="https://github.com/vinistock"><code>@​vinistock</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/869b5d4e9353e8a167fd92a416767af80e113fe5"><code>869b5d4</code></a> Cut 1.72.2</li> <li><a href="https://github.com/rubocop/rubocop/commit/7c361777d3d8814798a2dbb21bf7ab8c8fee1214"><code>7c36177</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/d4525d6d5bd824c78afd3c05d052ed0054975f22"><code>d4525d6</code></a> Correct Style/RedundantParentheses documentation</li> <li><a href="https://github.com/rubocop/rubocop/commit/7fc05f8b8521dd4d3a7a9b1d089a120d8f1415a5"><code>7fc05f8</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13861">#13861</a>] Fix <code>ArgumentError</code> related to two deprecated <code>AllowedPattern</code> APIs</li> <li><a href="https://github.com/rubocop/rubocop/commit/aa8c0a97854a5e2249036ffd1514970f98096ba0"><code>aa8c0a9</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13849">#13849</a>] Fix an error for <code>Lint/UselessConstantScoping</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/241fe6be27a57bb314d9a99b90062ee06fd249af"><code>241fe6b</code></a> Fix an error for <code>Style/RedundantFormat</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/b573711918799d59cc2342336ed7659cbfdc2471"><code>b573711</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13856">#13856</a>] Fix false positives for <code>Lint/UselessConstantScoping</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/e8119f745fe73f4e8f867b42c07dee3ed060f2ca"><code>e8119f7</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13844">#13844</a>] Fix an error for <code>Style/RedundantFormat</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/a807f7c38e8de4fa5f378931c50e98e47f89e568"><code>a807f7c</code></a> Fix exclusion of relative paths in plugin's <code>AllCops: Exclude</code> as expected</li> <li><a href="https://github.com/rubocop/rubocop/commit/28c2fe875ff08eb5468d78faffd86db1bf4a71a6"><code>28c2fe8</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13850">#13850</a>] Fix false negatives for <code>InternalAffairs/ExampleDescription</code></li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.71.2...v1.72.2">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.71.2&new-version=1.72.2)](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 efa730b + b915d9b commit 7c3b62c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Gemfile.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ GEM
360360
rdoc (>= 4.0.0)
361361
reline (>= 0.4.2)
362362
jmespath (1.6.2)
363-
json (2.9.1)
363+
json (2.10.1)
364364
json-schema (5.1.0)
365365
addressable (~> 2.8)
366366
jsonapi-resources (0.10.7)
@@ -370,6 +370,7 @@ GEM
370370
jwt (2.8.2)
371371
base64
372372
language_server-protocol (3.17.0.4)
373+
lint_roller (1.1.0)
373374
listen (3.9.0)
374375
rb-fsevent (~> 0.10, >= 0.10.3)
375376
rb-inotify (~> 0.9, >= 0.9.10)
@@ -422,7 +423,7 @@ GEM
422423
optimist (3.1.0)
423424
orm_adapter (0.5.0)
424425
parallel (1.26.3)
425-
parser (3.3.7.0)
426+
parser (3.3.7.1)
426427
ast (~> 2.4.1)
427428
racc
428429
pg (1.5.9)
@@ -575,9 +576,10 @@ GEM
575576
rswag-ui (2.16.0)
576577
actionpack (>= 5.2, < 8.1)
577578
railties (>= 5.2, < 8.1)
578-
rubocop (1.71.2)
579+
rubocop (1.72.2)
579580
json (~> 2.3)
580-
language_server-protocol (>= 3.17.0)
581+
language_server-protocol (~> 3.17.0.2)
582+
lint_roller (~> 1.1.0)
581583
parallel (~> 1.10)
582584
parser (>= 3.3.0.2)
583585
rainbow (>= 2.2.2, < 4.0)

0 commit comments

Comments
 (0)