Skip to content

Commit

Permalink
Bump rubocop-rails from 2.21.0 to 2.21.2 (#110)
Browse files Browse the repository at this point in the history
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from
2.21.0 to 2.21.2.
<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 2.21.2</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1126">#1126</a>:
Fix a false positive for
<code>Rails/RedundantActiveRecordAllMethod</code> when using some
<code>Enumerable</code>'s methods with block argument. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1121">#1121</a>:
Fix an error for <code>Rails/SelectMap</code> when using
<code>select(:column_name).map(&amp;:column_name)</code> without
receiver model. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1119">#1119</a>:
Fix an incorrect autocorrect for
<code>Rails/RedundantActiveRecordAllMethod</code> when <code>all</code>
has parentheses. (<a
href="https://github.com/masato-bkn"><code>@​masato-bkn</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1130">#1130</a>:
Fix crash for <code>Rails/UniqueValidationWithoutIndex</code> with bare
validate. (<a
href="https://github.com/jamiemccarthy"><code>@​jamiemccarthy</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1124">#1124</a>:
Fix false positives for
<code>Rails/RedundantActiveRecordAllMethod</code> when receiver is not
an Active Record model. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<h2>RuboCop Rails 2.21.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1108">#1108</a>:
Fix an incorrect autocorrect for <code>Rails/TimeZone</code> when using
<code>String#to_time</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1109">#1109</a>:
Fix error for <code>Rails/RedundantActiveRecordAllMethod</code> when
<code>all</code> is an argument for AR methods. (<a
href="https://github.com/masato-bkn"><code>@​masato-bkn</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1110">#1110</a>:
Fix false positive for <code>Rails/RedundantActiveRecordAllMethod</code>
when <code>all</code> has any parameters. (<a
href="https://github.com/masato-bkn"><code>@​masato-bkn</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.21.2 (2023-09-30)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1126">#1126</a>:
Fix a false positive for
<code>Rails/RedundantActiveRecordAllMethod</code> when using some
<code>Enumerable</code>'s methods with block argument. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1121">#1121</a>:
Fix an error for <code>Rails/SelectMap</code> when using
<code>select(:column_name).map(&amp;:column_name)</code> without
receiver model. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1119">#1119</a>:
Fix an incorrect autocorrect for
<code>Rails/RedundantActiveRecordAllMethod</code> when <code>all</code>
has parentheses. ([<a
href="https://github.com/masato-bkn"><code>@​masato-bkn</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1130">#1130</a>:
Fix crash for <code>Rails/UniqueValidationWithoutIndex</code> with bare
validate. ([<a
href="https://github.com/jamiemccarthy"><code>@​jamiemccarthy</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1124">#1124</a>:
Fix false positives for
<code>Rails/RedundantActiveRecordAllMethod</code> when receiver is not
an Active Record model. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>2.21.1 (2023-09-14)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1108">#1108</a>:
Fix an incorrect autocorrect for <code>Rails/TimeZone</code> when using
<code>String#to_time</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1109">#1109</a>:
Fix error for <code>Rails/RedundantActiveRecordAllMethod</code> when
<code>all</code> is an argument for AR methods. ([<a
href="https://github.com/masato-bkn"><code>@​masato-bkn</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1110">#1110</a>:
Fix false positive for <code>Rails/RedundantActiveRecordAllMethod</code>
when <code>all</code> has any parameters. ([<a
href="https://github.com/masato-bkn"><code>@​masato-bkn</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/fda7a43f8e49d2b200c423eac073ee0a36bfdf72"><code>fda7a43</code></a>
Cut 2.21.2</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/c0d83ee5278b242a323545686586979c86fd2e5e"><code>c0d83ee</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/8d63d0e46ebf02febb849f84350b14700f6d740d"><code>8d63d0e</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1135">#1135</a>
from technicalpickles/qualify-struct</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/a21f4a3b28e6aa43bc0e93ca17f963de91c60ba4"><code>a21f4a3</code></a>
Use ::Struct to avoid collisions with cop namespace</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/e1b1fff527a935ab94f5d4deba5c3630fe9366be"><code>e1b1fff</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1126">#1126</a>
from koic/fix_a_false_positive_for_rails_redundant_a...</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/e586f7f3c887e538fa1f5dd81f2be84ba6a04a0f"><code>e586f7f</code></a>
Fix a false positive for
<code>Rails/RedundantActiveRecordAllMethod</code></li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/0a57811998c82b84ddb8101f4637f4a9b042e9ff"><code>0a57811</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1127">#1127</a>
from koic/fix_false_positive_for_rails_redundant_act...</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/7a0208b73e8ee2214ab009684775155586838a41"><code>7a0208b</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1131">#1131</a>
from jamiemccarthy/jm-unique-validation-fix</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/bd4f92bb8b5d138cf9f12208574728c4721fe26c"><code>bd4f92b</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1130">#1130</a>]
Fix crash for Rails/UniqueValidationWithoutIndex with bare validate</li>
<li><a
href="https://github.com/rubocop/rubocop-rails/commit/d3117ff87c9193ebec45d5efa8f8e68c2f91ccdc"><code>d3117ff</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1122">#1122</a>
from koic/fix_an_error_for_rails_select_map</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop-rails/compare/v2.21.0...v2.21.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-rails&package-manager=bundler&previous-version=2.21.0&new-version=2.21.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Oct 2, 2023
1 parent 68514c8 commit 6491c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ GEM
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.21.0)
rubocop-rails (2.21.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand Down Expand Up @@ -381,7 +381,7 @@ GEM
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
version_gem (1.1.2)
web-console (4.2.1)
actionview (>= 6.0.0)
Expand Down

0 comments on commit 6491c12

Please sign in to comment.