From 6491c12e623ae10589b9da3cbd13756b760f0724 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 2 Oct 2023 13:39:55 +0100
Subject: [PATCH] Bump rubocop-rails from 2.21.0 to 2.21.2 (#110)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from
2.21.0 to 2.21.2.
Release notes
Sourced from rubocop-rails's
releases.
RuboCop Rails 2.21.2
Bug fixes
- #1126:
Fix a false positive for
Rails/RedundantActiveRecordAllMethod
when using some
Enumerable
's methods with block argument. (@koic
)
- #1121:
Fix an error for
Rails/SelectMap
when using
select(:column_name).map(&:column_name)
without
receiver model. (@koic
)
- #1119:
Fix an incorrect autocorrect for
Rails/RedundantActiveRecordAllMethod
when all
has parentheses. (@masato-bkn
)
- #1130:
Fix crash for
Rails/UniqueValidationWithoutIndex
with bare
validate. (@jamiemccarthy
)
- #1124:
Fix false positives for
Rails/RedundantActiveRecordAllMethod
when receiver is not
an Active Record model. (@koic
)
RuboCop Rails 2.21.1
Bug fixes
- #1108:
Fix an incorrect autocorrect for
Rails/TimeZone
when using
String#to_time
. (@koic
)
- #1109:
Fix error for
Rails/RedundantActiveRecordAllMethod
when
all
is an argument for AR methods. (@masato-bkn
)
- #1110:
Fix false positive for
Rails/RedundantActiveRecordAllMethod
when all
has any parameters. (@masato-bkn
)
Changelog
Sourced from rubocop-rails's
changelog.
2.21.2 (2023-09-30)
Bug fixes
- #1126:
Fix a false positive for
Rails/RedundantActiveRecordAllMethod
when using some
Enumerable
's methods with block argument. ([@koic
][])
- #1121:
Fix an error for
Rails/SelectMap
when using
select(:column_name).map(&:column_name)
without
receiver model. ([@koic
][])
- #1119:
Fix an incorrect autocorrect for
Rails/RedundantActiveRecordAllMethod
when all
has parentheses. ([@masato-bkn
][])
- #1130:
Fix crash for
Rails/UniqueValidationWithoutIndex
with bare
validate. ([@jamiemccarthy
][])
- #1124:
Fix false positives for
Rails/RedundantActiveRecordAllMethod
when receiver is not
an Active Record model. ([@koic
][])
2.21.1 (2023-09-14)
Bug fixes
- #1108:
Fix an incorrect autocorrect for
Rails/TimeZone
when using
String#to_time
. ([@koic
][])
- #1109:
Fix error for
Rails/RedundantActiveRecordAllMethod
when
all
is an argument for AR methods. ([@masato-bkn
][])
- #1110:
Fix false positive for
Rails/RedundantActiveRecordAllMethod
when all
has any parameters. ([@masato-bkn
][])
Commits
fda7a43
Cut 2.21.2
c0d83ee
Update Changelog
8d63d0e
Merge pull request #1135
from technicalpickles/qualify-struct
a21f4a3
Use ::Struct to avoid collisions with cop namespace
e1b1fff
Merge pull request #1126
from koic/fix_a_false_positive_for_rails_redundant_a...
e586f7f
Fix a false positive for
Rails/RedundantActiveRecordAllMethod
0a57811
Merge pull request #1127
from koic/fix_false_positive_for_rails_redundant_act...
7a0208b
Merge pull request #1131
from jamiemccarthy/jm-unique-validation-fix
bd4f92b
[Fix #1130]
Fix crash for Rails/UniqueValidationWithoutIndex with bare validate
d3117ff
Merge pull request #1122
from koic/fix_an_error_for_rails_select_map
- Additional commits viewable in compare
view
[![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)
---
Dependabot commands and options
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 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)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
Gemfile.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Gemfile.lock b/Gemfile.lock
index 27ea214..5fb4676 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -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)
@@ -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)