[ruby] Update rubocop-capybara 2.21.0 → 2.22.1 (minor) #4774
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
2.22.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 41 commits:
Merge pull request #149 from rubocop/release
Release v2.22.1
Merge pull request #148 from koic/fix_incorrect_plugin_version
Fix incorrect plugin version
Merge pull request #147 from rubocop/switch-docs-version
Switch docs version back
Merge pull request #146 from rubocop/release
Release v2.22.0
Merge pull request #144 from rubocop/rubocop-plugin
Make RuboCop Capybara work as a RuboCop plugin
Merge pull request #145 from Earlopain/publish-upstream-only
Only run publish workflow on upstream repo
Merge pull request #143 from rubocop/improve-code-coverage
Instruct SimpleCov to ignore unreachable code
Merge pull request #141 from dvandersluis/use-node-groups
Use node groups in node patterns to replace unions of types
Merge pull request #142 from dvandersluis/regenerate-todo
Fix build by running `rubocop --regenerate-todo`
Merge pull request #36 from rubocop/fix_7
Add a new `Capybara/NegationMatcherAfterVisit` cop
Merge pull request #139 from rubocop/ruby34
Update Ruby version in GitHub Actions workflow to 3.4
Merge pull request #138 from Earlopain/rspec-monorepo
Update RSpec 4 CI to the monorepo
Merge pull request #135 from rubocop/docs
Update references and examples for Capybara cops in documentation
Merge pull request #129 from Earlopain/have-selector-error
Fix an error for `Capybara/RSpec/HaveSelector` when passing no arguments.
Merge pull request #130 from rubocop/fix-flaky-test
Fix the flaky test for spec/rubocop/capybara/description_extractor_spec.rb
Merge pull request #131 from rubocop/fix-rubocop-offenses
Update documentation
Fix some rubocop offenses
Merge pull request #118 from rubocop/add-new-cop
Add new `Capybara/FindAllFirst` cop
Merge pull request #99 from rubocop/to_ambiguous_click
Add `Capybara/AmbiguousClick` cop and make soft-deprecated `Capybara/ClickLinkOrButtonStyle` cop. If you want to use `EnforcedStyle: strict`, use `Capybara/AmbiguousClick` cop instead
Merge pull request #127 from rubocop/remove-setting
Remove unnecessary RuboCop RSpec settings
Merge pull request #126 from rubocop/switch-docs-version
Switch docs version back
✳️ rubocop (1.74.0 → 1.75.1) · Repo · Changelog
Release Notes
1.75.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 67 commits:
Cut 1.75.1
Update Changelog
Rename `allow_named_parameter` to `only_numbered_parameters` in `Style/ItBlockParameter`
Merge pull request #14039 from lovro-bikic/adjust-raise-args-docs
Update Style/RaiseArgs docs
Reset the docs version
Cut 1.75
Update Changelog
Fix handling of long heredoc lines with SplitStrings enabled
Fix comment autocorrection for Style/IfInsideElse
Add `AllowConsecutiveConditionals` setting to `Style/Next` to allow consecutive conditional statements
Fix false negative for Lint/ShadowingOuterLocalVariable
[Fix #13597] Add new `Style/ItBlockParameter` cop
[Fixes #12358] Add `does` as a forbidden prefix to `Naming/PredicateName`
Enable reusable Prism parse result for Ruby LSP add-on
Tweak the output of `rubocop -V` when `TargetRubyVersion` <= 3.2
Merge pull request #14035 from Earlopain/ruby-3.4-proper-support
[Fix #13617] Proper support for Ruby 3.4
Merge pull request #14034 from dvandersluis/shared-examples-consistency
Consistently use `shared_examples` in specs
Support TargetRubyVersion 3.5 (experimental)
Merge pull request #14028 from vlad-pisanov/vp_multiline_parameter_breaks_1
Fix false negative for `Layout/MultilineMethodParameterLineBreaks` when class method definitions are used
Merge pull request #14027 from vlad-pisanov/vp_line_length_defs_1
Fix false negative for `Layout/LineLength` when autocorrecting class method definitions
Merge pull request #14016 from dvandersluis/redundant-format-const
Update `Style/RedundantFormat` to register offenses when the only argument to `format` or `sprintf` is a constant
Merge pull request #14024 from lovro-bikic/redundant-parentheses-for-chained-and
Offend parentheses for chained && expressions
Merge pull request #14022 from koic/fix_an_error_for_style_hash_fetch_chain
Merge pull request #14023 from koic/support_itblock_in_internal_affairs_cops
Support `it` block parameter in `InternalAffairs` cops
Fix an error for `Style/HashFetchChain`
Support `it` block parameter in `Metrics` cops
Support `it` block parameter in `Lint` cops
Support `it` block parameter in `Layout` cops
Support `it` block parameter in `Style` cops
Merge pull request #14012 from lovro-bikic/sole-nested-conditional-incorrect-autocorrects
Fix incorrect autocorrections for Style/SoleNestedConditional
Allow cop renames to trigger warnings instead of fatal errors
Highlight a console error message
[Fix #12049] Add new `Style/HashDig` cop to detect method chains that can be replaced with a single call to `dig`
[Doc] Tweak an example in the "Plugin Migration Guide"
Merge pull request #14002 from dvandersluis/fix-broken-prism-specs
Remove `broken_on: :prism` from specs
Merge pull request #14004 from Shopify/vs-perform-initial-indexing-before-watched-files
[Fix #14000] Perform initial indexing before triggering watched file notifications
Remove duplicate security issue link
Merge pull request #13997 from Earlopain/stale-tweaks
Allow free-form issue creation
Merge pull request #13996 from eugeneius/lint_useless_assignment_different_branch
Tweak stale close message
Immediately remove stale label on comment
[Fix #13990] Fix a false positive for Lint/UselessAssignment
Merge pull request #13922 from tejasbubane/fix-13621
[Doc] Tweak the doc of `Layout/RedundantLineBreak`
[Doc] Tweak navigation of docs
[Fix #13986] Add support for `Array#intersection` to `Style/ArrayIntersect`
Improve documentation for `Lint/RaiseException`
Use `RuboCop::AST::IfNode#then?`
[Doc] Tweak the doc of formatters
Merge pull request #13968 from viralpraxis/fix-internal-affairs-redundant-described-class-as-subject-cop-error-on-missing-describe
[Fix #13621] Add `ForbiddenIdentifiers` and `ForbiddenPatterns` to `Naming/MethodName` cop
Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe
Merge pull request #13983 from dvandersluis/issue/8099
[Fix #8099] Fix infinite loop between `Layout/SpaceAroundOperators` and `Layout/HashAlignment` with `EnforcedHashRocketStyle` being an array containing `table`
Reset the docs version
Release Notes
3.3.7.2 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 12 commits:
Update changelog.
Bump version
* Bump maintenance branches to 3.2.8 and 3.1.7 (#1074)
Tweak a terminology
Document parser/prism migration path
Update changelog.
Update changelog.
Bump version.
+ add prism-specific node types (#1071)
Document the current state of the project in the readme (#1069)
- builder.rb: fix hash value omission considering some local vars as constants (#1064)
Update changelog.
Release Notes
1.43.0
1.42.0
1.41.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 18 commits:
Add release notes
Cut 1.43.0
Update Changelog
Use the `prism` translation layer to analyze Ruby 3.4 by default
Add `prism` as a dependency
Restore docs/antora.yml
Cut 1.42.0
Update Changelog
Support `Prism::Translation::Parser35` for Ruby 3.5 parser
Remove a bit of backwards compat code
Remove prism skips in tests
Stop using `Parser::CurrentRuby`
Restore docs/antora.yml
Cut 1.41.0
Update Changelog
Add support for `itblock` node for Ruby 3.4 (#365)
Revert "Don't show a deprecation warning for `EnsureNode#branch` just yet"
Restore docs/antora.yml
🆕 prism (added, 1.4.0)
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