Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ruby] Update rubocop-capybara 2.21.0 → 2.22.1 (minor) #4774

Merged
merged 4 commits into from
Mar 27, 2025

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Mar 24, 2025

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop-capybara (2.21.0 → 2.22.1) · Repo · Changelog

Release Notes

2.22.1

  • Fix incorrect plugin version. (@koic)

2.22.0

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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 41 commits:

✳️ rubocop (1.74.0 → 1.75.1) · Repo · Changelog

Release Notes

1.75.0

New features

  • #12049: Add new Style/HashFetchChain cop to detect chained fetch calls that can be replaced with a single call to dig. (@dvandersluis)
  • #13597: Add new Style/ItBlockParameter cop. (@koic)
  • #13899: Enable reusable Prism parse result for Ruby LSP add-on. (@koic)
  • #14015: Support it block parameter in Layout cops. (@koic)
  • #14017: Support it block parameter in Lint cops. (@koic)
  • #14018: Support it block parameter in Metrics cops. (@koic)
  • #14013: Support it block parameter in Style cops. (@koic)
  • #14025: Support TargetRubyVersion: 3.5 (experimental). (@earlopain)

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. (@koic)
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. (@vlad-pisanov)
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. (@vlad-pisanov)
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. (@dvandersluis)
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. (@mauro-oto)
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. (@viralpraxis)
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. (@lovro-bikic)
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. (@eugeneius)
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. (@lovro-bikic)
  • #14020: Fix comment autocorrection for Style/IfInsideElse. (@lovro-bikic)

Changes

  • #12358: Add does as a forbidden prefix to Naming/PredicateName. (@dvandersluis)
  • #13621: Add ForbiddenIdentifiers and ForbiddenPatterns config options to Naming/MethodName cop. (@tejasbubane)
  • #13986: Add support for Array#intersection to Style/ArrayIntersect. (@dvandersluis)
  • #14006: Allow cop renames to trigger warnings instead of fatal errors. (@dvandersluis)
  • #13617: Use the prism translation layer to analyze Ruby 3.4+ by default. (@earlopain)
  • #14024: Change Style/RedundantParentheses to offend parentheses for chained && expressions. (@lovro-bikic)
  • #14029: Add AllowConsecutiveConditionals setting to Style/Next to allow consecutive conditional statements. (@vlad-pisanov)
  • #14016: Update Style/RedundantFormat to register offenses when the only argument to format or sprintf is a constant. (@dvandersluis)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 67 commits:

↗️ parser (indirect, 3.3.7.1 → 3.3.7.3) · Repo · Changelog

Release Notes

3.3.7.2 (from changelog)

Features implemented:

  • add prism-specific node types (#1071) (Earlopain)

Bugs fixed:

  • builder.rb: fix hash value omission considering some local vars as constants (#1064) (Earlopain)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 12 commits:

↗️ rubocop-ast (indirect, 1.40.0 → 1.43.0) · Repo · Changelog

Release Notes

1.43.0

Changes

  • #374: Use the prism translation layer to analyze Ruby 3.4 by default. ([@Earlopain])
  • #373: Add prism as a runtime dependency. ([@Earlopain])

1.42.0

New features

  • #370: Support Prism::Translation::Parser35 for Ruby 3.5 parser (experimental). (@earlopain, @koic)

1.41.0

New features

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 18 commits:

🆕 prism (added, 1.4.0)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the dependencies Pull requests that update a dependency file label Mar 24, 2025
@StephenHulme StephenHulme self-assigned this Mar 25, 2025
@depfu depfu bot force-pushed the depfu/update/rubocop-capybara-2.22.1 branch from c30db2f to fb38b24 Compare March 26, 2025 19:05
@depfu depfu bot force-pushed the depfu/update/rubocop-capybara-2.22.1 branch from fb38b24 to 1419ffe Compare March 27, 2025 10:15
@depfu depfu bot changed the title 🚨 [security] [ruby] Update rubocop-capybara 2.21.0 → 2.22.1 (minor) [ruby] Update rubocop-capybara 2.21.0 → 2.22.1 (minor) Mar 27, 2025
@StephenHulme StephenHulme merged commit 20e931a into develop Mar 27, 2025
21 checks passed
@StephenHulme StephenHulme deleted the depfu/update/rubocop-capybara-2.22.1 branch March 27, 2025 10:54
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant