Skip to content

Commit

Permalink
Bump the linters group with 2 updates (#4374)
Browse files Browse the repository at this point in the history
Bumps the linters group with 2 updates:
[rubocop](https://github.com/rubocop/rubocop) and
[rubocop-rails](https://github.com/rubocop/rubocop-rails).

Updates `rubocop` from 1.73.0 to 1.73.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 v1.73.2</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13942">#13942</a>:
Fix incorrect disabling of departments when inheriting configuration.
(<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>:
Fix false positives for <code>Style/InverseMethods</code> when using
<code>any?</code> or <code>none?</code> with safe navigation operator.
(<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13938">#13938</a>:
Fix false positives for <code>Style/RedundantCondition</code> when a
variable or a constant is used. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13935">#13935</a>:
Fix a false negative for <code>Style/RedundantFreeze</code> when calling
methods that produce frozen objects with numblocks. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13928">#13928</a>:
Fix <code>end pattern with unmatched parenthesis: / (RegexpError)</code>
on Ruby 3.2.0. (<a
href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>:
Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when
the arguments are on multiple lines and contain comments. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12669">#12669</a>:
Update autocorrection for <code>Lint/EmptyConditionalBody</code> to be
safe. (<a
href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li>
</ul>
<h2>RuboCop v1.73.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13920">#13920</a>:
Fix an error for <code>Lint/MixedCaseRange</code> when <code>/[[
]]/</code> is used. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13912">#13912</a>:
Fix wrong autocorrect for <code>Lint/EmptyConditionalBody</code> when
assigning to a variable with only a single branch. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13913">#13913</a>:
Fix false positives for <code>Style/RedundantCondition</code> when using
when true is used as the true branch and the condition is not a
predicate method. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13909">#13909</a>:
Fix false positive with
<code>Layout/ClosingParenthesisIndentation</code> when first parameter
is a hash. (<a
href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13915">#13915</a>:
Fix writing generics type of rbs-inline annotation for nested class in
<code>Style/CommentedKeyword</code>. (<a
href="https://github.com/dak2"><code>@​dak2</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13916">#13916</a>:
Fix <code>Lint/LiteralAsCondition</code> acting on the right hand side
of &amp;&amp; nodes. (<a
href="https://github.com/zopolis4"><code>@​zopolis4</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.73.2 (2025-03-04)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13942">#13942</a>:
Fix incorrect disabling of departments when inheriting configuration.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>:
Fix false positives for <code>Style/InverseMethods</code> when using
<code>any?</code> or <code>none?</code> with safe navigation operator.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13938">#13938</a>:
Fix false positives for <code>Style/RedundantCondition</code> when a
variable or a constant is used. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13935">#13935</a>:
Fix a false negative for <code>Style/RedundantFreeze</code> when calling
methods that produce frozen objects with numblocks. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13928">#13928</a>:
Fix <code>end pattern with unmatched parenthesis: / (RegexpError)</code>
on Ruby 3.2.0. ([<a
href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>:
Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when
the arguments are on multiple lines and contain comments. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12669">#12669</a>:
Update autocorrection for <code>Lint/EmptyConditionalBody</code> to be
safe. ([<a
href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li>
</ul>
<h2>1.73.1 (2025-02-27)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13920">#13920</a>:
Fix an error for <code>Lint/MixedCaseRange</code> when <code>/[[
]]/</code> is used. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13912">#13912</a>:
Fix wrong autocorrect for <code>Lint/EmptyConditionalBody</code> when
assigning to a variable with only a single branch. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13913">#13913</a>:
Fix false positives for <code>Style/RedundantCondition</code> when using
when true is used as the true branch and the condition is not a
predicate method. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13909">#13909</a>:
Fix false positive with
<code>Layout/ClosingParenthesisIndentation</code> when first parameter
is a hash. ([<a
href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13915">#13915</a>:
Fix writing generics type of rbs-inline annotation for nested class in
<code>Style/CommentedKeyword</code>. ([<a
href="https://github.com/dak2"><code>@​dak2</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13916">#13916</a>:
Fix <code>Lint/LiteralAsCondition</code> acting on the right hand side
of &amp;&amp; nodes. ([<a
href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop/commit/815dccadbbf373075cf3d42f3fb7365502259b15"><code>815dcca</code></a>
Cut 1.73.2</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/398aaabde8da74ec9c2aa22b575f83738f7158c2"><code>398aaab</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/4ae459d28c940abc337fa01598aa386cbdd430a3"><code>4ae459d</code></a>
Fix incorrect disabling of departments when inheriting
configuration</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/ba9d953c13a6cd577ff41ead497c45798f4eb567"><code>ba9d953</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>]
Fix false positives for <code>Style/InverseMethods</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/7e91fd91b9a34d814c853639ce4f2e6e67779f6f"><code>7e91fd9</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>]
Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when
th...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/f6ddcdd3d836c9d6f4a9e12815ac4c29809b6840"><code>f6ddcdd</code></a>
Move common <code>arguments_range</code> to <code>RangeHelp</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/2873bb81d63bbb8e26c6a2c6b713449d29b2569b"><code>2873bb8</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13938">#13938</a>
from koic/fix_false_positive_for_style_redundant_co...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/9884defa7514a2b616e65fbd8f5b9718f5b49ef0"><code>9884def</code></a>
Fix false positives for <code>Style/RedundantCondition</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/323cb71dce89b9700decd508cbd5c2594876d4c2"><code>323cb71</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13937">#13937</a>
from dvandersluis/fix/changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/1cdb3b77b04f54845c8ad47ff9d090a578a69028"><code>1cdb3b7</code></a>
Fix changelog for <a
href="https://redirect.github.com/rubocop/rubocop/issues/13935">#13935</a></li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.73.0...v1.73.2">compare
view</a></li>
</ul>
</details>
<br />

Updates `rubocop-rails` from 2.30.2 to 2.30.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop-rails/releases">rubocop-rails's
releases</a>.</em></p>
<blockquote>
<h2>RuboCop Rails v2.30.3</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1458">#1458</a>:
Fix a false positive for <code>Rails/RelativeDateConstant</code> when
assigning a lambda/proc with numblock. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1457">#1457</a>:
Fix a false positive for <code>Rails/ReversibleMigration</code> in
<code>drop_table</code> with numblock. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1456">#1456</a>:
Fix a false positive for <code>Rails/CreateTableWithTimestamps</code>
with numblocks. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1459">#1459</a>:
Fix a false positive for <code>Rails/UniqBeforePluck</code> when using a
numblock with <code>uniq</code>. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1455">#1455</a>:
Make <code>Rails/SaveBang</code> aware of numblocks. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1453">#1453</a>:
Make <code>Rails/TransactionExitStatement</code> aware of numblocks. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1179">#1179</a>:
<code>Rails/ReflectionClassName</code>: Accept method calls on local
variables. (<a
href="https://github.com/exterm"><code>@​exterm</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1385">#1385</a>:
Make <code>Lint/UselessAccessModifier</code> aware of
<code>ActiveSupport::Concern</code> and
<code>Module#concerning</code>/<code>Module#concern</code> core
extensions. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1454">#1454</a>:
Disable <code>Rails/Delegate</code> for controllers. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md">rubocop-rails's
changelog</a>.</em></p>
<blockquote>
<h2>2.30.3 (2025-03-03)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1458">#1458</a>:
Fix a false positive for <code>Rails/RelativeDateConstant</code> when
assigning a lambda/proc with numblock. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1457">#1457</a>:
Fix a false positive for <code>Rails/ReversibleMigration</code> in
<code>drop_table</code> with numblock. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1456">#1456</a>:
Fix a false positive for <code>Rails/CreateTableWithTimestamps</code>
with numblocks. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1459">#1459</a>:
Fix a false positive for <code>Rails/UniqBeforePluck</code> when using a
numblock with <code>uniq</code>. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1455">#1455</a>:
Make <code>Rails/SaveBang</code> aware of numblocks. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1453">#1453</a>:
Make <code>Rails/TransactionExitStatement</code> aware of numblocks.
([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1179">#1179</a>:
<code>Rails/ReflectionClassName</code>: Accept method calls on local
variables. ([<a
href="https://github.com/exterm"><code>@​exterm</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1385">#1385</a>:
Make <code>Lint/UselessAccessModifier</code> aware of
<code>ActiveSupport::Concern</code> and
<code>Module#concerning</code>/<code>Module#concern</code> core
extensions. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1454">#1454</a>:
Disable <code>Rails/Delegate</code> for controllers. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/92c663ce58c4a1c37f68eba4068b48b6079aa2b0"><code>92c663c</code></a>
Cut 2.30.3</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/801d002911dff7dd53b50fc6af828c32ca62a99e"><code>801d002</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/ef733488bb7c6bd1bc565884ed2656db0435aa6e"><code>ef73348</code></a>
Automate the process of GitHub release creation</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/7e217740ca217a6d6b6f24a3c05ca19294800860"><code>7e21774</code></a>
Suppress RuboCop's offenses</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/a250bfabbe131c02e6bb60ed232edf01a1f1575b"><code>a250bfa</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1459">#1459</a>
from Earlopain/uniq-before-pluck-numblock</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/67cff82adfa4679b599f2e4a6be69e8addbf2eca"><code>67cff82</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1458">#1458</a>
from Earlopain/relative-date-const-numblock</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/78988e779796c2f7f372e0cdb0b52ab286f77ac0"><code>78988e7</code></a>
Fix a false positive for <code>Rails/UniqBeforePluck</code> when using a
numblock with `...</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/a02819faaf2b48837b2a7a9cac375215be9d4b17"><code>a02819f</code></a>
Fix a false positive for <code>Rails/RelativeDateConstant</code> when
assigning a lambda...</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/2ad3e1a936cbc193ac10553f0c52efd4c52fb75b"><code>2ad3e1a</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1457">#1457</a>
from Earlopain/reversible-migration-drop-table-numblock</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/9254ef6d6467f9a397322a4c4fa27bc6afcdb521"><code>9254ef6</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1456">#1456</a>
from Earlopain/timestamp-numblock</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop-rails/compare/v2.30.2...v2.30.3">compare
view</a></li>
</ul>
</details>
<br />


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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 5, 2025
1 parent c27eb1a commit b55146a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ GEM
puma (6.6.0)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.1.10)
rack (3.1.11)
rack-attack (6.7.0)
rack (>= 1.0, < 4)
rack-contrib (2.5.0)
Expand Down Expand Up @@ -411,7 +411,7 @@ GEM
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.2)
rubocop (1.73.0)
rubocop (1.73.2)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand All @@ -432,7 +432,7 @@ GEM
lint_roller (~> 1.1)
rubocop (>= 1.72.1, < 2.0)
rubocop-ast (>= 1.38.0, < 2.0)
rubocop-rails (2.30.2)
rubocop-rails (2.30.3)
activesupport (>= 4.2.0)
lint_roller (~> 1.1)
rack (>= 1.1)
Expand Down

0 comments on commit b55146a

Please sign in to comment.