Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Bump rubocop-rspec from 2.15.0 to 2.22.0 #120

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 8, 2023

Bumps rubocop-rspec from 2.15.0 to 2.22.0.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.22.0

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

RuboCop RSpec v2.21.0

  • Fix a false positive in RSpec/IndexedLet with suffixes after index-like numbers. (@​pirj)
  • Fix an error for RSpec/Rails/HaveHttpStatus with comparison with strings containing non-numeric characters. (@​ydah)
  • Fix an error for RSpec/MatchArray when match_array with no argument. (@​ydah)
  • Add support a_block_changing and changing for RSpec/ChangeByZero. (@​ydah)
  • Drop Ruby 2.6 support. (@​ydah)

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)

RuboCop RSpec v2.19.0

  • Add new RSpec/PendingBlockInsideExample cop. (@​ydah)
  • Add new RSpec/RedundantAround cop. ([@​r7kamura])
  • Add new RSpec/Rails/TravelAround cop. ([@​r7kamura])
  • Add new RSpec/ContainExactly and RSpec/MatchArray cops. ([@​faucct])
  • Rename RSpec/PendingBlockInsideExample cop to RSpec/SkipBlockInsideExample. (@​pirj)
  • 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)
  • 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)
  • Fix an incorrect autocorrect for RSpec/VerifiedDoubleReference when namespaced class. (@​ydah)
  • Deprecate send_pattern/block_pattern/numblock_pattern helpers in favour of using node pattern explicitly. (@​pirj, @​ydah)

... (truncated)

Changelog

Sourced from rubocop-rspec's changelog.

2.22.0 (2023-05-06)

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

2.21.0 (2023-05-05)

  • Fix a false positive in RSpec/IndexedLet with suffixes after index-like numbers. ([@​pirj])
  • Fix an error for RSpec/Rails/HaveHttpStatus with comparison with strings containing non-numeric characters. ([@​ydah])
  • Fix an error for RSpec/MatchArray when match_array with no argument. ([@​ydah])
  • Add support a_block_changing and changing for RSpec/ChangeByZero. ([@​ydah])
  • Drop Ruby 2.6 support. ([@​ydah])

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)

... (truncated)

Commits

Dependabot compatibility score

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)

Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.15.0 to 2.22.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@v2.15.0...v2.22.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file Needs QA labels May 8, 2023
@dependabot dependabot bot requested a review from a team May 8, 2023 05:01
@amymliebs
Copy link
Contributor

We will pause on this until the work to split the panolint repo into panolint-ruby and panolint-rails is complete. Ticket with the status of that work: https://panoramaed.atlassian.net/browse/ACON-18

@cyrorama
Copy link

Added a commit to prevent Dependabot from re-creating this PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file Needs QA squad-backlogged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants