deps-dev: bump rubocop-rspec from 2.19.0 to 2.22.0
Created by: dependabot[bot]
Bumps rubocop-rspec from 2.19.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
. Therubocop-factory_bot
repository is a dependency ofrubocop-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
whenmatch_array
with no argument. (@ydah
)- Add support
a_block_changing
andchanging
forRSpec/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 forRSpec/Rails/HttpStatus
. (@ydah
)- Add support for shared example groups to
RSpec/EmptyLineAfterExampleGroup
. (@pirj
)- Add support for
RSpec/HaveHttpStatus
when usingresponse.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:?
whenomit_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 numblockaround
. (@ydah
)- Change
RSpec/ContainExactly
to ignore calls with no arguments, and changeRSpec/MatchArray
to ignore calls with an empty array literal argument. (@ydah
,@bquorning
)- Make
RSpec/MatchArray
andRSpec/ContainExactly
pending. (@ydah
)
Changelog
Sourced from rubocop-rspec's changelog.
2.22.0 (2023-05-06)
- Extract factory_bot cops to a separate repository,
rubocop-factory_bot
. Therubocop-factory_bot
repository is a dependency ofrubocop-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
whenmatch_array
with no argument. ([@ydah
])- Add support
a_block_changing
andchanging
forRSpec/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 forRSpec/Rails/HttpStatus
. ([@ydah
])- Add support for shared example groups to
RSpec/EmptyLineAfterExampleGroup
. ([@pirj
])- Add support for
RSpec/HaveHttpStatus
when usingresponse.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:?
whenomit_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 numblockaround
. ([@ydah
])- Change
RSpec/ContainExactly
to ignore calls with no arguments, and changeRSpec/MatchArray
to ignore calls with an empty array literal argument. ([@ydah
], [@bquorning
])- Make
RSpec/MatchArray
andRSpec/ContainExactly
pending. ([@ydah
])
Commits
-
21d0ee4
Merge pull request #1583 from ydah/extract-factory_bot-cops -
a37fc2c
Release v2.22.0 -
12616e1
Extract Factory Bot cops -
75c16dd
Switch docs version back -
42242dc
Merge pull request #1639 from rubocop/release -
3193815
Bump version to v2.21.0 -
76a81f0
Merge pull request #1631 from ydah/change_drop_ruby_2_6_support -
9362de1
Merge pull request #1638 from ydah/fix-typo -
72fe722
Fix some typos -
d831aa4
Merge pull request #1637 from Ivanov-Anton/patch-1 - 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)