From 6bc24755bcf8eac9a963a4d3a52cdcf1bac7ecf9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:37:06 +0000 Subject: [PATCH] Bump rubocop-capybara from 2.21.0 to 2.22.1 `Capybara/ClickLinkOrButtonStyle` is now deprecated, so we're replacing it with `Capybara/AmbiguousClick`. We're also changing the `.rubocop.yml` file because we were getting a warning: ``` rubocop-capybara extension supports plugin, specify `plugins: rubocop-capybara` instead of `require: rubocop-capybara` in .rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html. ``` Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) from 2.21.0 to 2.22.1. - [Release notes](https://github.com/rubocop/rubocop-capybara/releases) - [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-capybara/compare/v2.21.0...v2.22.1) --- updated-dependencies: - dependency-name: rubocop-capybara dependency-version: 2.22.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .rubocop.yml | 5 ++--- Gemfile | 2 +- Gemfile.lock | 7 ++++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 1aca55702..ce9829966 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,8 +1,8 @@ plugins: + - rubocop-capybara - rubocop-factory_bot - rubocop-rspec require: - - rubocop-capybara - rubocop-performance - rubocop-rails - rubocop-rspec_rails @@ -24,9 +24,8 @@ Bundler/OrderedGems: Enabled: true ConsiderPunctuation: true -Capybara/ClickLinkOrButtonStyle: +Capybara/AmbiguousClick: Enabled: true - EnforcedStyle: strict Capybara/CurrentPathExpectation: Enabled: true diff --git a/Gemfile b/Gemfile index f342fa622..a2b8154ac 100644 --- a/Gemfile +++ b/Gemfile @@ -104,7 +104,7 @@ group :development do gem "pronto-rubocop", "~> 0.11.6", require: false gem "pronto-stylelint", "~> 0.11.1", require: false gem "rubocop", "~> 1.76.1", require: false - gem "rubocop-capybara", "~> 2.21.0", require: false + gem "rubocop-capybara", "~> 2.22.1", require: false gem "rubocop-factory_bot", "~> 2.27.1", require: false gem "rubocop-performance", "~> 1.23.1", require: false gem "rubocop-rails", "~> 2.29.1", require: false diff --git a/Gemfile.lock b/Gemfile.lock index fa7ae8c7a..9e1c8ddb9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -639,8 +639,9 @@ GEM rubocop-ast (1.47.1) parser (>= 3.3.7.2) prism (~> 1.4) - rubocop-capybara (2.21.0) - rubocop (~> 1.41) + rubocop-capybara (2.22.1) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) rubocop-factory_bot (2.27.1) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) @@ -886,7 +887,7 @@ DEPENDENCIES ros-apartment (~> 3.2.0) rspec-rails (~> 7.1.1) rubocop (~> 1.76.1) - rubocop-capybara (~> 2.21.0) + rubocop-capybara (~> 2.22.1) rubocop-factory_bot (~> 2.27.1) rubocop-performance (~> 1.23.1) rubocop-rails (~> 2.29.1)