Skip to content

Bump the rubocop group across 1 directory with 2 updates#268

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rubocop-a0d87e9654
Open

Bump the rubocop group across 1 directory with 2 updates#268
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rubocop-a0d87e9654

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 13, 2026

Bumps the rubocop group with 2 updates in the / directory: rubocop-capybara and rubocop-rails.

Updates rubocop-capybara from 2.22.1 to 2.23.0

Release notes

Sourced from rubocop-capybara's releases.

RuboCop Capybara v2.23.0

  • 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)
Changelog

Sourced from rubocop-capybara's changelog.

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])
Commits
  • 2aa3696 Merge pull request #170 from rubocop/v2.23.0
  • d6ffe96 v2.23.0
  • da0500d Merge pull request #168 from rubocop/fix/167-find-all-first-receiver
  • d16b170 Fix an incorrect autocorrect for Capybara/FindAllFirst when find or all...
  • 965c790 Merge pull request #166 from rubocop/ci-test-rspec-4-on-its-main-branch
  • 3a3e959 CI: Test RSpec 4 prerelease on rspec main branch
  • ae01cbe Merge pull request #164 from rubocop/haveselector
  • 44490b7 Fix an error for Capybara/RSpec/HaveSelector when passing only a selector type
  • e5adb53 Merge pull request #155 from rubocop/move-rspec-dept
  • f172ed9 Split Capybara/MatchStyle into Capybara/AssertStyle and `Capybara/RSpec/M...
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.34.3 to 2.35.0

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails v2.35.0

Bug fixes

  • #1595: Fix a false negative for Rails/I18nLocaleTexts when using redirect_back_or_to with a flash message. (@​55728)
  • #1587: Fix false positives for Rails/Presence with operator methods like <<, =~, and others. (@​eugeneius)
  • #1586: Don't add unnecessary parentheses in Rails/Presence. (@​eugeneius)
  • #1602: Fix an error in Rails/SelectMap when .select appears inside a subquery in an argument. (@​koic)
  • #1604: Allow DatabaseTypeResolvable to fall back to an adapter configuration specified in a shared key. (@​codergeek121)
  • #1582: Fix a false negative where local was incorrectly treated as a known environment name when using == comparison in Rails/UnknownEnv. (@​lovro-bikic)

Changes

  • #1571: Add more detection patterns on Rails/ResponseParsedBody. (@​r7kamura)
  • #1583: Extend Rails/StrongParametersExpect to detect params[:key] in method calls and raising finder methods. (@​koic)
  • #1584: Add support for case statements to Rails/UnknownEnv. (@​lovro-bikic)
  • #1592: Fix false negative for != comparison in Rails/UnknownEnv. (@​lovro-bikic)
  • #1598: Use glob patterns compatible with Engine or Packwerk for cops targeting spec/ and test/ directories. (@​y-yagi)
Changelog

Sourced from rubocop-rails's changelog.

2.35.0 (2026-05-09)

Bug fixes

  • #1595: Fix a false negative for Rails/I18nLocaleTexts when using redirect_back_or_to with a flash message. ([@​55728][])
  • #1587: Fix false positives for Rails/Presence with operator methods like <<, =~, and others. ([@​eugeneius][])
  • #1586: Don't add unnecessary parentheses in Rails/Presence. ([@​eugeneius][])
  • #1602: Fix an error in Rails/SelectMap when .select appears inside a subquery in an argument. ([@​koic][])
  • #1604: Allow DatabaseTypeResolvable to fall back to an adapter configuration specified in a shared key. ([@​codergeek121][])
  • #1582: Fix a false negative where local was incorrectly treated as a known environment name when using == comparison in Rails/UnknownEnv. ([@​lovro-bikic][])

Changes

  • #1571: Add more detection patterns on Rails/ResponseParsedBody. ([@​r7kamura][])
  • #1583: Extend Rails/StrongParametersExpect to detect params[:key] in method calls and raising finder methods. ([@​koic][])
  • #1584: Add support for case statements to Rails/UnknownEnv. ([@​lovro-bikic][])
  • #1592: Fix false negative for != comparison in Rails/UnknownEnv. ([@​lovro-bikic][])
  • #1598: Use glob patterns compatible with Engine or Packwerk for cops targeting spec/ and test/ directories. ([@​y-yagi][])
Commits
  • aa320da Cut 2.35.0
  • 9b730e1 Update Changelog
  • 6fa91dd Fix KeyError when shared key has no adapter in database.yml
  • 7fc1595 Merge pull request #1605 from codergeek121/support-shared-key
  • 2201f5d Merge pull request #1603 from koic/fix_an_error_in_rails_select_map
  • 82b8037 Fix support for shared key in database.yml
  • 072a555 [Fix #1602] Fix an error in Rails/SelectMap
  • bf79547 Merge pull request #1597 from 55728/fix-i18n-locale-texts-redirect-back-or-to
  • 89a21e8 [Fix #1595] Fix a false negative for Rails/I18nLocaleTexts when using `redi...
  • 2a59f84 Merge pull request #1598 from y-yagi/globs_cops_for_test
  • Additional commits viewable in compare view

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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the rubocop group with 2 updates in the / directory: [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) and [rubocop-rails](https://github.com/rubocop/rubocop-rails).


Updates `rubocop-capybara` from 2.22.1 to 2.23.0
- [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.22.1...v2.23.0)

Updates `rubocop-rails` from 2.34.3 to 2.35.0
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rails@v2.34.3...v2.35.0)

---
updated-dependencies:
- dependency-name: rubocop-capybara
  dependency-version: 2.23.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-rails
  dependency-version: 2.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 13, 2026
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.

0 participants