Skip to content

Bump the rubocop-dependencies group across 1 directory with 4 updates#95

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

Bump the rubocop-dependencies group across 1 directory with 4 updates#95
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rubocop-dependencies-a6f501d8b4

Conversation

@dependabot
Copy link
Copy Markdown

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

Bumps the rubocop-dependencies group with 4 updates in the / directory: rubocop-capybara, rubocop-rails, rubocop-rspec and rubocop-yard.

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.3

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails v2.35.3

Bug fixes

  • #1630: Fix a false positive in Rails/StrongParametersExpect when negating params[:key] with !, such as !params[:key]. (@​koic)
  • #1629: Fix false positives in Rails/StrongParametersExpect when using the safe navigation operator (&.) on params[:key]. Autocorrecting params[:key]&.downcase to params.expect(:key).downcase silently changes behavior — a missing param goes from returning nil to raising ActionController::ParameterMissing. (@​lucasmazza)

RuboCop Rails v2.35.2

Bug fixes

  • #1625: Fix false positives in Rails/StrongParametersExpect when using collection methods (such as delete, keys, merge, slice, dig, fetch, or transform_values) on params[:key], as well as block-style calls such as params[:key].each { ... } or params[:key].map(&:to_s). (@​koic)
  • #1627: Fix false positives in Rails/StrongParametersExpect for usages like params[:key].try(:method) and params[:key].try!(:method). (@​nicholasdower)

RuboCop Rails v2.35.1

Bug fixes

  • #1616: Fix false positives in Rails/StrongParametersExpect when using nil-safe conversion methods such as to_i, to_s, to_a, to_f, and to_h on params[:key]. (@​koic)
  • #1622: Fix false positives in Rails/StrongParametersExpect when using key-check methods such as key?, has_key?, include?, and member? on params[:key]. (@​koic)
  • #1620: Fix false positives in Rails/StrongParametersExpect when using type-check methods such as is_a?, kind_of?, and instance_of? on params[:key]. (@​koic)

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][])

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.35.3 (2026-05-27)

Bug fixes

  • #1630: Fix a false positive in Rails/StrongParametersExpect when negating params[:key] with !, such as !params[:key]. ([@​koic][])
  • #1629: Fix false positives in Rails/StrongParametersExpect when using the safe navigation operator (&.) on params[:key]. Autocorrecting params[:key]&.downcase to params.expect(:key).downcase silently changes behavior — a missing param goes from returning nil to raising ActionController::ParameterMissing. ([@​lucasmazza][])

2.35.2 (2026-05-19)

Bug fixes

  • #1625: Fix false positives in Rails/StrongParametersExpect when using collection methods (such as delete, keys, merge, slice, dig, fetch, or transform_values) on params[:key], as well as block-style calls such as params[:key].each { ... } or params[:key].map(&:to_s). ([@​koic][])
  • #1627: Fix false positives in Rails/StrongParametersExpect for usages like params[:key].try(:method) and params[:key].try!(:method). ([@​nicholasdower][])

2.35.1 (2026-05-17)

Bug fixes

  • #1616: Fix false positives in Rails/StrongParametersExpect when using nil-safe conversion methods such as to_i, to_s, to_a, to_f, and to_h on params[:key]. ([@​koic][])
  • #1622: Fix false positives in Rails/StrongParametersExpect when using key-check methods such as key?, has_key?, include?, and member? on params[:key]. ([@​koic][])
  • #1620: Fix false positives in Rails/StrongParametersExpect when using type-check methods such as is_a?, kind_of?, and instance_of? on params[:key]. ([@​koic][])

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
  • 944f6f5 Cut 2.35.3
  • 7f93b76 Update Changelog
  • 3e9d4a5 Merge pull request #1631 from koic/fix_false_positive_for_rails_strong_parame...
  • 3529b8d [Fix #1630] Fix a false positive in Rails/StrongParametersExpect
  • dbb2e27 Merge pull request #1629 from lucasmazza/fix/strong-parameters-expect-safe-na...
  • 0ea9fbc Fix Rails/StrongParametersExpect to allow safe navigation operator on optiona...
  • 5d4154d Reset the docs version
  • 26f1034 Cut 2.35.2
  • 65841f0 Update Changelog
  • e89ab8e Merge pull request #1626 from koic/fix_false_positives_for_rails_strong_param...
  • Additional commits viewable in compare view

Updates rubocop-rspec from 3.9.0 to 3.10.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.10.0

  • Add new cop RSpec/MatchWithSimpleRegex to suggest include matcher when match is used with simple string literals without regex-specific features. (@​bquorning)
  • Add new cop RSpec/DiscardedMatcher to detect matchers in void context (e.g. missing .and between compound matchers). (@​ydakuka)
  • Add support for itblock nodes. (@​Darhazer)
  • RSpec/ScatteredLet now preserves the order of lets during auto-correction. (@​Darhazer)
  • Fix a false negative for RSpec/EmptyLineAfterFinalLet inside shared_examples / include_examples / it_behaves_like blocks. (@​Darhazer)
  • Fix a false positive for RSpec/ContainExactly when contain_exactly has multiple splat arguments. (@​ydah)
  • Add autocorrect support for RSpec/SubjectDeclaration. (@​eugeneius)
  • Fix false negatives for RSpec/SpecFilePathFormat when the expected class path only partially matches a path segment. (@​ydah)
  • Fix a false negative for RSpec/ExpectActual when the matcher takes no arguments (e.g. expect("foo").to be_present, expect(1).to be). (@​cvx)
Changelog

Sourced from rubocop-rspec's changelog.

3.10.0 (2026-06-05)

  • Add new cop RSpec/MatchWithSimpleRegex to suggest include matcher when match is used with simple string literals without regex-specific features. ([@​bquorning])
  • Add new cop RSpec/DiscardedMatcher to detect matchers in void context (e.g. missing .and between compound matchers). ([@​ydakuka])
  • Add support for itblock nodes. ([@​Darhazer])
  • RSpec/ScatteredLet now preserves the order of lets during auto-correction. ([@​Darhazer])
  • Fix a false negative for RSpec/EmptyLineAfterFinalLet inside shared_examples / include_examples / it_behaves_like blocks. ([@​Darhazer])
  • Fix a false positive for RSpec/ContainExactly when contain_exactly has multiple splat arguments. ([@​ydah])
  • Add autocorrect support for RSpec/SubjectDeclaration. ([@​eugeneius])
  • Fix false negatives for RSpec/SpecFilePathFormat when the expected class path only partially matches a path segment. ([@​ydah])
  • Fix a false negative for RSpec/ExpectActual when the matcher takes no arguments (e.g. expect("foo").to be_present, expect(1).to be). ([@​cvx])
Commits
  • 48c9f28 Merge pull request #2179 from rubocop/release
  • b7775ac Bump version to 3.10.0
  • e010e02 Merge pull request #2171 from cvx/argumentless
  • 03a728e Catch argumentless matchers in RSpec/ExpectActual
  • d95deb9 Extract #register_offense in ExpectActual
  • 5bb9847 Merge pull request #2176 from rubocop/issue-2167-spec-file-path-format
  • b8af4aa Merge pull request #2174 from rubocop/issue-2173-contain-exactly-single-splat
  • 23c23cc Fix a false positive for RSpec/ContainExactly when contain_exactly has mu...
  • e7b6e4c Fix false negatives for RSpec/SpecFilePathFormat when the expected class pa...
  • 679d990 Merge pull request #2169 from rubocop/add-include-suggestion-for-match-with-s...
  • Additional commits viewable in compare view

Updates rubocop-yard from 1.1.0 to 1.2.0

Release notes

Sourced from rubocop-yard's releases.

v1.2.0

What's Changed

New Contributors

Full Changelog: ksss/rubocop-yard@v1.1.0...v1.2.0

Changelog

Sourced from rubocop-yard's changelog.

[Unreleased]

  • YARD/MeaninglessTag: Allow @param on Struct.new/Data.define constant assignments (ksss/rubocop-yard#36)
Commits

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-dependencies group with 4 updates in the / directory: [rubocop-capybara](https://github.com/rubocop/rubocop-capybara), [rubocop-rails](https://github.com/rubocop/rubocop-rails), [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) and [rubocop-yard](https://github.com/ksss/rubocop-yard).


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.3
- [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.3)

Updates `rubocop-rspec` from 3.9.0 to 3.10.0
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v3.9.0...v3.10.0)

Updates `rubocop-yard` from 1.1.0 to 1.2.0
- [Release notes](https://github.com/ksss/rubocop-yard/releases)
- [Changelog](https://github.com/ksss/rubocop-yard/blob/main/CHANGELOG.md)
- [Commits](ksss/rubocop-yard@v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: rubocop-capybara
  dependency-version: 2.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop-dependencies
- dependency-name: rubocop-rails
  dependency-version: 2.35.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop-dependencies
- dependency-name: rubocop-rspec
  dependency-version: 3.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop-dependencies
- dependency-name: rubocop-yard
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop-dependencies
...

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 Jun 5, 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