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

Bump the rubocop group with 2 updates #4999

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 25, 2023

Bumps the rubocop group with 2 updates: rubocop-capybara and rubocop-minitest.

Updates rubocop-capybara from 2.18.0 to 2.19.0

Release notes

Sourced from rubocop-capybara's releases.

RuboCop Capybara v2.19.0

What's Changed

  • Add new Capybara/RSpec/PredicateMatcher cop. (@​ydah)
  • Add new Capybara/RSpec/HaveSelector cop. (@​ydah)
  • Add new Capybara/ClickLinkOrButtonStyle cop. (@​ydah)
  • Fix a false positive for Capybara/SpecificFinders when find with kind option. (@​ydah)
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. (@​ydah)
  • Drop Ruby 2.6 support. (@​ydah)

Full Changelog: rubocop/rubocop-capybara@v2.18.0...v2.19.0

Changelog

Sourced from rubocop-capybara's changelog.

2.19.0 (2023-09-20)

  • Add new Capybara/RSpec/PredicateMatcher cop. ([@​ydah])
  • Add new Capybara/RSpec/HaveSelector cop. ([@​ydah])
  • Add new Capybara/ClickLinkOrButtonStyle cop. ([@​ydah])
  • Fix a false positive for Capybara/SpecificFinders when find with kind option. ([@​ydah])
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. ([@​ydah])
  • Drop Ruby 2.6 support. ([@​ydah])
Commits
  • 749c1c3 Merge pull request #70 from rubocop/bump-version
  • 426fcb8 Bump version v2.19.0
  • 8696fdd Merge pull request #66 from rubocop/fix/50
  • 292c1b8 Fix an incorrect autocorrect for Capybara/CurrentPathExpectation
  • d020309 Merge pull request #69 from rubocop/fix-project-spec
  • 7bef12a Merge pull request #61 from rubocop/feature/58
  • 43d0eac Add new Capybara/ClickLinkOrButtonStyle cop
  • 02e0187 Merge pull request #63 from rubocop/new_cop_have_selector
  • 56d339d Improve for project_spec
  • 54069a0 Add new Capybara/RSpec/HaveSelector cop
  • Additional commits viewable in compare view

Updates rubocop-minitest from 0.31.1 to 0.32.1

Release notes

Sourced from rubocop-minitest's releases.

RuboCop Minitest 0.32.1

Bug fixes

  • #261: Fix an error for Minitest/AssertOperator and Minitest/RefuteOperator when using variable argument. (@​koic)

RuboCop Minitest 0.32.0

New features

  • #255: Add new Minitest/AssertOperator and Minitest/RefuteOperator cops. (@​koic)

Bug fixes

  • #259: Fix autocorrection for Minitest/LiteralAsActualArgument, Minitest/AssertPathExists, and Minitest/RefutePathExists cops to preserve the presence or absence of argument parentheses. (@​koic)
Changelog

Sourced from rubocop-minitest's changelog.

0.32.1 (2023-09-24)

Bug fixes

  • #261: Fix an error for Minitest/AssertOperator and Minitest/RefuteOperator when using variable argument. ([@​koic][])

0.32.0 (2023-09-23)

New features

  • #255: Add new Minitest/AssertOperator and Minitest/RefuteOperator cops. ([@​koic][])

Bug fixes

  • #259: Fix autocorrection for Minitest/LiteralAsActualArgument, Minitest/AssertPathExists, and Minitest/RefutePathExists cops to preserve the presence or absence of argument parentheses. ([@​koic][])
Commits
  • 039ba38 Cut 0.32.1
  • 1f90acf Update Changelog
  • 4794578 Merge pull request #262 from koic/fix_an_error_for_assert_operator
  • 9aad91a [Fix #261] Fix an error for Minitest/AssertOperator
  • 4c0d555 Switch back docs version to master
  • 801bc2b Cut 0.32.0
  • f22bd90 Update Changelog
  • 71f70d7 Merge pull request #260 from koic/add_new_minitest_assert_operator_and_refute...
  • 95e0cde [Fix #255] Add new Minitest/AssertOperator and Minitest/RefuteOperator cops
  • 6832890 Fix duplicate contributor names when generating changelog
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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: [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) and [rubocop-minitest](https://github.com/rubocop/rubocop-minitest).


Updates `rubocop-capybara` from 2.18.0 to 2.19.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.18.0...v2.19.0)

Updates `rubocop-minitest` from 0.31.1 to 0.32.1
- [Release notes](https://github.com/rubocop/rubocop-minitest/releases)
- [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-minitest@v0.31.1...v0.32.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from jorg-vr as a code owner September 25, 2023 11:38
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 25, 2023
@jorg-vr jorg-vr requested a review from a team as a code owner September 26, 2023 12:54
@jorg-vr jorg-vr requested review from chvp and removed request for a team September 26, 2023 12:54
Comment on lines +661 to +663
assert_operator resp, :[], 'last_solution_is_best'
assert_operator resp, :[], 'has_solution'
assert_operator resp, :[], 'has_correct_solution'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the explanation of the cop responsible for this change? The original code is more readable to me.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I also looked it up, but they only refer to this section of the styleguide https://minitest.rubystyle.guide/#assert-operator which isn't a lot more explicit about why
Some people on stackoverflow do suggest better assert failure messages when using assert operator

Anyway, this change will already be reverted in the next rubocop update rubocop/rubocop-minitest#264

So we might just close this pr and wait for the next one

@bmesuere bmesuere closed this Sep 29, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 29, 2023

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-2f257e460a branch September 29, 2023 08:26
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.

None yet

2 participants