From 46dcb26b03364b186c7ea6a6ef48a3663b193890 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 20 Sep 2024 07:04:18 +0100
Subject: [PATCH] Upgrade: Bump rubocop-performance from 1.21.1 to 1.22.0
(#4811)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps
[rubocop-performance](https://github.com/rubocop/rubocop-performance)
from 1.21.1 to 1.22.0.
Release notes
Sourced from rubocop-performance's
releases.
RuboCop Performance 1.22.0
Bug fixes
- #454:
Fix false positives for
Performance/BigDecimalWithNumericArgument
when using
BigDecimal 3.1+. (@koic
)
Changes
- #385:
Disable
Performance/BlockGivenWithExplicitBlock
by default.
(@earlopain
)
- #407:
Make
Performance/DoubleStartEndWith
aware of safe
navigation. (@earlopain
)
Changelog
Sourced from rubocop-performance's
changelog.
1.22.0 (2024-09-16)
Bug fixes
- #454:
Fix false positives for
Performance/BigDecimalWithNumericArgument
when using
BigDecimal 3.1+. ([@koic
][])
Changes
- #385:
Disable
Performance/BlockGivenWithExplicitBlock
by default.
([@earlopain
][])
- #407:
Make
Performance/DoubleStartEndWith
aware of safe
navigation. ([@earlopain
][])
Commits
bf5f64f
Cut 1.22.0
d26b441
Update Changelog
7233005
Merge pull request #465
from Earlopain/start-end-safe-navigation
767f2c9
[Fix #407]
Make Performance/DoubleStartEndWith
aware of safe
navigation
f28d18d
Merge pull request #466
from Earlopain/block-given-disable
8907a12
[Fix #385]
Disable Performance/BlockGivenWithExplicitBlock
by
default
082d635
Add changelog entry for #463
0f401f7
Merge pull request #463
from koic/fix_false_positives_for_performance_big_dec...
6f20945
[Fix #454]
Fix false positives for
Performance/BigDecimalWithNumericArgument
b52d821
Merge pull request #459
from Earlopain/rubocop-workaround
- Additional commits viewable in compare
view
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-performance&package-manager=bundler&previous-version=1.21.1&new-version=1.22.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)
---
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 | 2 +-
Gemfile.lock | 14 ++++++--------
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/Gemfile b/Gemfile
index 420da04abc..e6d1c1acdd 100644
--- a/Gemfile
+++ b/Gemfile
@@ -60,7 +60,7 @@ group :development do
gem 'lookbook', '~> 2.3.2'
gem 'rack-mini-profiler'
gem 'rubocop', '~> 1.61', require: false
- gem 'rubocop-performance', '~> 1.19', require: false
+ gem 'rubocop-performance', '~> 1.22', require: false
gem 'rubocop-rails', '~> 2.26', require: false
gem 'rubocop-rspec', '~> 2.25', require: false
gem 'web-console', '~> 4.2'
diff --git a/Gemfile.lock b/Gemfile.lock
index 21e894352e..33ea955a51 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -347,7 +347,7 @@ GEM
parallel (1.26.3)
parallel_tests (4.7.1)
parallel
- parser (3.3.4.2)
+ parser (3.3.5.0)
ast (~> 2.4.1)
racc
pg (1.5.7)
@@ -435,8 +435,7 @@ GEM
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
- rexml (3.3.6)
- strscan
+ rexml (3.3.7)
rotp (6.3.0)
rouge (4.3.0)
rqrcode (2.2.0)
@@ -482,13 +481,13 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
- rubocop-ast (1.32.1)
+ rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
- rubocop-performance (1.21.1)
+ rubocop-performance (1.22.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.26.0)
@@ -552,7 +551,6 @@ GEM
stimulus-rails (1.3.3)
railties (>= 6.0.0)
stringio (3.1.1)
- strscan (3.1.0)
thor (1.3.2)
timeout (0.4.1)
turbo-rails (2.0.6)
@@ -561,7 +559,7 @@ GEM
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
- unicode-display_width (2.5.0)
+ unicode-display_width (2.6.0)
uri (0.13.0)
vcr (6.2.0)
version_gem (1.1.4)
@@ -646,7 +644,7 @@ DEPENDENCIES
rspec-snapshot (~> 2.0)
rspec_junit_formatter (~> 0.6)
rubocop (~> 1.61)
- rubocop-performance (~> 1.19)
+ rubocop-performance (~> 1.22)
rubocop-rails (~> 2.26)
rubocop-rspec (~> 2.25)
ruby-progressbar (~> 1.13)