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

Update rubocop-rspec requirement from ~> 2.19.0 to ~> 2.20.0 #590

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 18, 2023

Updates the requirements on rubocop-rspec to permit the latest version.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.20.0

  • Add new RSpec/IndexedLet cop. (@​dmitrytsepelev)
  • Add new RSpec/BeEmpty cop. (@​ydah, @​bquorning)
  • Add autocorrect support for RSpec/ScatteredSetup. (@​ydah)
  • Add support be_status style for RSpec/Rails/HttpStatus. (@​ydah)
  • Add support for shared example groups to RSpec/EmptyLineAfterExampleGroup. (@​pirj)
  • Add support for RSpec/HaveHttpStatus when using response.code. (@​ydah)
  • Fix order of expected and actual in correction for RSpec/Rails/MinitestAssertions (@​mvz)
  • Fix a false positive for RSpec/DescribedClassModuleWrapping when RSpec.describe numblock is nested within a module. (@​ydah)
  • Fix a false positive for RSpec/FactoryBot/ConsistentParenthesesStyle inside &&, || and :? when omit_parentheses is on (@​dmitrytsepelev)
  • Fix a false positive for RSpec/PendingWithoutReason when pending/skip has a reason inside an example group. (@​ydah)
  • Fix a false negative for RSpec/RedundantAround when redundant numblock around. (@​ydah)
  • Change RSpec/ContainExactly to ignore calls with no arguments, and change RSpec/MatchArray to ignore calls with an empty array literal argument. (@​ydah, @​bquorning)
  • Make RSpec/MatchArray and RSpec/ContainExactly pending. (@​ydah)
Changelog

Sourced from rubocop-rspec's changelog.

2.20.0 (2023-04-18)

  • Add new RSpec/IndexedLet cop. ([@​dmitrytsepelev])
  • Add new RSpec/BeEmpty cop. ([@​ydah], [@​bquorning])
  • Add autocorrect support for RSpec/ScatteredSetup. ([@​ydah])
  • Add support be_status style for RSpec/Rails/HttpStatus. ([@​ydah])
  • Add support for shared example groups to RSpec/EmptyLineAfterExampleGroup. ([@​pirj])
  • Add support for RSpec/HaveHttpStatus when using response.code. ([@​ydah])
  • Fix order of expected and actual in correction for RSpec/Rails/MinitestAssertions ([@​mvz])
  • Fix a false positive for RSpec/DescribedClassModuleWrapping when RSpec.describe numblock is nested within a module. ([@​ydah])
  • Fix a false positive for RSpec/FactoryBot/ConsistentParenthesesStyle inside &&, || and :? when omit_parentheses is on ([@​dmitrytsepelev])
  • Fix a false positive for RSpec/PendingWithoutReason when pending/skip has a reason inside an example group. ([@​ydah])
  • Fix a false negative for RSpec/RedundantAround when redundant numblock around. ([@​ydah])
  • Change RSpec/ContainExactly to ignore calls with no arguments, and change RSpec/MatchArray to ignore calls with an empty array literal argument. ([@​ydah], [@​bquorning])
  • Make RSpec/MatchArray and RSpec/ContainExactly pending. ([@​ydah])

2.19.0 (2023-03-06)

  • Fix a false positive for RSpec/ContextWording when context is interpolated string literal or execute string. ([@​ydah])
  • Fix a false positive for RSpec/DescribeMethod when multi-line describe without # and . at the beginning. ([@​ydah], [@​pirj])
  • Fix a false positive for RSpec/VariableName when inside non-spec code. ([@​ydah])
  • Fix a false positive for RSpec/VariableDefinition when inside non-spec code. ([@​ydah])
  • Add new RSpec/PendingBlockInsideExample cop. ([@​ydah])
  • Add RSpec/RedundantAround cop. ([@​r7kamura])
  • Add RSpec/Rails/TravelAround cop. ([@​r7kamura])
  • Add RSpec/ContainExactly and RSpec/MatchArray cops. ([@​faucct])
  • Fix a false positive for RSpec/PendingWithoutReason when not inside example and pending/skip with block. ([@​ydah], [@​pirj])
  • Fix a false positive for RSpec/PendingWithoutReason when skip is passed a block inside example. ([@​ydah], [@​pirj])
  • Rename RSpec/PendingBlockInsideExample cop to RSpec/SkipBlockInsideExample. ([@​pirj])
  • Deprecate send_pattern/block_pattern/numblock_pattern helpers in favour of using node pattern explicitly. ([@​pirj], [@​ydah])
  • Fix an incorrect autocorrect for RSpec/VerifiedDoubleReference when namespaced class. ([@​ydah])

2.18.1 (2023-01-19)

  • Add rubocop-capybara version constraint to prevent sudden cop enabling when it hits 3.0. ([@​pirj])

2.18.0 (2023-01-16)

  • Extract Capybara cops to a separate repository, rubocop-capybara. The rubocop-capybara repository is a dependency of rubocop-rspec and the Capybara cops are aliased (RSpec/Capybara/Foo == Capybara/Foo) until v3.0 is released, so the change will be invisible to users until then. ([@​pirj])

2.17.1 (2023-01-16)

  • Fix a false negative for RSpec/Pending when using skipped in metadata is multiline string. ([@​ydah])
  • Fix a false positive for RSpec/NoExpectationExample when using skipped in metadata is multiline string. ([@​ydah])
  • Fix a false positive for RSpec/ContextMethod when multi-line context with # at the beginning. ([@​ydah])
  • Fix an incorrect autocorrect for RSpec/PredicateMatcher when multiline expect and predicate method with heredoc. ([@​ydah])
  • Fix a false positive for RSpec/PredicateMatcher when include with multiple argument. ([@​ydah])

2.17.0 (2023-01-13)

... (truncated)

Commits
  • 454ec6d Merge pull request #1600 from rubocop/release
  • 8369393 Bump version to v2.20.0
  • 7e2a570 Merge pull request #1621 from ydah/refactor-RedundantAround
  • 219868e Refactor with integration into match_redundant_around_hook_block
  • 35e07d5 Merge pull request #1574 from ydah/described-class-module-wrapping
  • 6b52c86 Fix a false positive for RSpec/DescribedClassModuleWrapping when RSpec.desc...
  • 0610b73 Merge pull request #1527 from ydah/feature/1148
  • af64ecd Add support be_status style for RSpec/Rails/HttpStatus
  • cfa122e Merge pull request #1610 from ydah/fix/1609
  • cde8a69 Add support for RSpec/HaveHttpStatus when using response.code.
  • 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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v2.19.0...v2.20.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 18, 2023
@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (3ad436b) 91.79% compared to head (6d1a389) 91.79%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #590   +/-   ##
=======================================
  Coverage   91.79%   91.79%           
=======================================
  Files           8        8           
  Lines         597      597           
=======================================
  Hits          548      548           
  Misses         49       49           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@avdv avdv merged commit 23a1b72 into main Apr 21, 2023
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rspec-tw-2.20.0 branch April 21, 2023 20:37
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.

2 participants