Skip to content

Update rubocop-capybara requirement from ~> 2.23.0 to ~> 3.0.0#152

Merged
mvz merged 2 commits into
masterfrom
dependabot/bundler/rubocop-capybara-tw-3.0.0
Jun 26, 2026
Merged

Update rubocop-capybara requirement from ~> 2.23.0 to ~> 3.0.0#152
mvz merged 2 commits into
masterfrom
dependabot/bundler/rubocop-capybara-tw-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on rubocop-capybara to permit the latest version.

Release notes

Sourced from rubocop-capybara's releases.

RuboCop Capybara v3.0.0

  • Enable pending cops by default for the 3.0 release. (@​ydah)
  • Remove the deprecated Capybara/ClickLinkOrButtonStyle cop. (@​ydah)
  • Remove obsolete cop name migration config for the 2.x to 3.0 transition. (@​ydah)
Changelog

Sourced from rubocop-capybara's changelog.

3.0.0 (2026-06-22)

  • Enable pending cops by default for the 3.0 release. ([@​ydah])
  • Remove the deprecated Capybara/ClickLinkOrButtonStyle cop. ([@​ydah])
  • Remove obsolete cop name migration config for the 2.x to 3.0 transition. ([@​ydah])

2.23.0 (2026-04-30)

  • Bump RuboCop requirement to +1.81. ([@​ydah])
  • Add new Capybara/RSpec/HaveContent cop. ([@​nzlaura])
  • Move the department associated with Capybara::RSpecMatchers to Capybara/RSpec/*. ([@​ydah])
    • Rename Capybara/CurrentPathExpectation to Capybara/RSpec/CurrentPathExpectation
    • Rename Capybara/SpecificMatcher to Capybara/RSpec/SpecificMatcher
    • Rename Capybara/NegationMatcher to Capybara/RSpec/NegationMatcher
    • Rename Capybara/NegationMatcherAfterVisit to Capybara/RSpec/NegationMatcherAfterVisit
    • Rename Capybara/VisibilityMatcher to Capybara/RSpec/VisibilityMatcher
  • Split Capybara/MatchStyle into Capybara/AssertStyle and Capybara/RSpec/MatchStyle. ([@​ydah])
  • Fix a false positive for Capybara/FindAllFirst when using logical operators with all('...')[0]. ([@​ydah])
  • Fix an incorrect autocorrect for Capybara/FindAllFirst when find or all with match: :first uses a receiver and mark autocorrection as unsafe. ([@​ydah])
  • Fix an error for Capybara/RSpec/HaveSelector when passing only a selector type. ([@​ydah])

2.22.1 (2025-03-12)

  • Fix incorrect plugin version. ([@​koic])

2.22.0 (2025-03-10)

  • Add Capybara/AmbiguousClick cop and make soft-deprecated Capybara/ClickLinkOrButtonStyle cop. If you want to use EnforcedStyle: strict, use Capybara/AmbiguousClick cop instead. ([@​ydah])
  • Add new Capybara/FindAllFirst cop. ([@​ydah])
  • Add a new Capybara/NegationMatcherAfterVisit cop. ([@​ydah])
  • Fix an error for Capybara/RSpec/HaveSelector when passing no arguments. ([@​earlopain])
  • Make RuboCop Capybara work as a RuboCop plugin. ([@​bquorning])
  • Fix an incorrect autocorrect for Capybara/RedundantWithinFind when escape required css selector. ([@​ydah])

2.21.0 (2024-06-08)

  • Fix a false negative for Capybara/NegationMatcher when using to_not. ([@​ydah])
  • Fix a false negative for Capybara/SpecificFinders when using find(:id, 'some-id'). ([@​ydah])

2.20.0 (2024-01-03)

  • Change to default EnforcedStyle: link_or_button for Capybara/ClickLinkOrButtonStyle cop. ([@​ydah])
  • Fix a false negative for RSpec/HaveSelector when first argument is dstr node. ([@​ydah])
  • Add new Capybara/RedundantWithinFind cop. ([@​ydah])
  • Fix an invalid attributes parse when name with multiple [] for Capybara/SpecificFinders and Capybara/SpecificActions and Capybara/SpecificMatcher. ([@​ydah])
  • Change to default EnforcedStyle: have_no for Capybara/NegationMatcher cop. ([@​ydah])
  • Fix a false positive for Capybara/SpecificMatcher when text: or exact_text: with regexp. ([@​ydah])

2.19.0 (2023-09-20)

... (truncated)

Commits
  • a9b8f9a Merge pull request #177 from rubocop/v3.0.0
  • 6a4579d release v3.0.0
  • 75e7cda Merge pull request #176 from rubocop/docs/update-specific-matcher-readme
  • f02ff72 Update SpecificMatcher README example
  • ebe10e8 Merge pull request #174 from rubocop/enable-pending-capybara-cops
  • 20a5721 Enable pending Capybara cops
  • fee3774 Merge pull request #173 from rubocop/remove-obsolete-cop-name-migration
  • ea818bd Remove obsolete cop name migration config
  • 989fe3c Merge pull request #172 from rubocop/remove-click-link-or-button-style
  • 5d5a5b8 Merge pull request #175 from rubocop/dependabot/github_actions/actions/checko...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jun 22, 2026
Updates the requirements on [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-capybara/releases)
- [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md)
- [Commits](rubocop/rubocop-capybara@v2.23.0...v3.0.0)

---
updated-dependencies:
- dependency-name: rubocop-capybara
  dependency-version: 3.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/rubocop-capybara-tw-3.0.0 branch from 6c0bd53 to fb4c12f Compare June 26, 2026 10:01
@mvz mvz merged commit 6400451 into master Jun 26, 2026
8 checks passed
@mvz mvz deleted the dependabot/bundler/rubocop-capybara-tw-3.0.0 branch June 26, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant