-
Notifications
You must be signed in to change notification settings - Fork 0
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 dependency rubocop-rspec to v2.31.0 - autoclosed #449
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: Gemfile.lock
|
6a5b21f
to
ad6ac95
Compare
ad6ac95
to
b77e8ad
Compare
b77e8ad
to
ed4e669
Compare
ed4e669
to
7ad6781
Compare
7ad6781
to
d9c8f3b
Compare
d9c8f3b
to
6590516
Compare
6590516
to
5569100
Compare
5569100
to
7f3c374
Compare
06b78eb
to
96de7c2
Compare
96de7c2
to
dae3d48
Compare
dae3d48
to
8f2e733
Compare
8f2e733
to
8203413
Compare
|
8203413
to
a23c3a2
Compare
This PR contains the following updates:
'2.13.2'
->'2.31.0'
Release Notes
rubocop/rubocop-rspec (rubocop-rspec)
v2.31.0
: RuboCop RSpec v2.31.0Compare Source
AutoCorrect: contextual
option for LSP. (@ydah)v2.30.0
: RuboCop RSpec v2.30.0Compare Source
RSpec/ExpectInLet
cop. (@yasu551)v2.29.2
Compare Source
RSpec/RepeatedSubjectCall
when subject is used as argument to function call. ([@K-S-A])v2.29.1
Compare Source
v2.29.0
Compare Source
RSpec/ExpectActual
. ([@bquorning])RSpec/UndescriptiveLiteralsDescription
cop. ([@ydah])RSpec/EmptyOutput
cop. ([@bquorning])v2.28.0
Compare Source
rubocop-rspec_rails
. Therubocop-rspec_rails
repository is a dependency ofrubocop-rspec
and the cops related to rspec-rails are aliased (RSpec/Rails/Foo
==RSpecRails/Foo
) until v3.0 is released, so the change will be invisible to users until then. ([@ydah])v2.27.1
Compare Source
RSpec/RepeatedSubjectCall
whensubject.method_call
. ([@ydah])OnlyStaticConstants
toRSpec/DescribedClass
. ([@ydah])v2.27.0
Compare Source
RSpec/IsExpectedSpecify
cop. ([@ydah])RSpec/RepeatedSubjectCall
cop. ([@drcapulet])assert_true
,assert_false
,assert_not_equal
,assert_not_nil
,*_empty
,*_predicate
,*_kind_of
,*_in_delta
,*_match
,*_instance_of
and*_includes
assertions inRSpec/Rails/MinitestAssertions
. ([@ydah], [@G-Rath])Rspec/BeEmpty
. ([@G-Rath])RSpec/ExpectActual
when used with rspec-rails routing matchers. ([@naveg])ResponseMethods
toRSpec/Rails/HaveHttpStatus
. ([@ydah])RSpec/DescribedClass
when class with constant. ([@ydah])RSpec/ExampleWithoutDescription
whenspecify
with multi-line block and missing description. ([@ydah])RSpec/ChangeByZero
when compound expectations with line break before.by(0)
. ([@ydah])v2.26.1
Compare Source
RSpec/SharedExamples
when using examples without argument. ([@ydah])v2.26.0
Compare Source
RSpec/RedundantPredicateMatcher
cop. ([@ydah])RSpec/RemoveConst
cop. ([@swelther])RSpec/ExampleWording
. ([@jdufresne])symbol
style forRSpec/SharedExamples
. ([@jessieay])PendingWithoutReason
can detect violations inside shared groups. ([@robinaugh])v2.25.0
Compare Source
RSpec/Rails/HttpStatus
. ([@ydah])RSpec/SpecFilePathFormat
likeRSpec/FilePath
. ([@ydah])RSpec/MetadataStyle
with example groups having multiple string arguments. ([@franzliedke])v2.24.1
Compare Source
RSpec/FilePath
and revert to enabled by default. If you have already moved toRSpec/SpecFilePathSuffix
andRSpec/SpecFilePathFormat
, disableRSpec/FilePath
explicitly asEnabled: false
. TheRSpec/FilePath
before migration and theRSpec/SpecFilePathSuffix
andRSpec/SpecFilePathFormat
as the target are available respectively. ([@ydah])v2.24.0
Compare Source
RSpec/FilePath
intoRSpec/SpecFilePathSuffix
andRSpec/SpecFilePathFormat
.RSpec/FilePath
cop is disabled by default and the two new cops are pending and need to be enabled explicitly. ([@ydah])RSpec/Eq
cop. ([@ydah])RSpec/MetadataStyle
andRSpec/EmptyMetadata
cops. ([@r7kamura])RSpec/Rails/HttpStatus
whenhave_http_status
with string argument. ([@ydah])RSpec/ExcessiveDocstringSpacing
finds a description with non-ASCII leading/trailing whitespace. ([@bcgraham])RSpec/ReceiveMessages
when return values declared between stubs. ([@marocchino])RSpec/Focus
when chained method call and inside define method. ([@ydah])v2.23.2
Compare Source
RSpec/ReceiveMessages
when method is only non-word character. ([@marocchino])RSpec/ReceiveMessages
when return with splat. ([@marocchino])v2.23.1
Compare Source
Safe: false
forRSpec/Rails/NegationBeValid
cop. ([@ydah])RSpec/ReceiveMessages
. ([@bquorning])v2.23.0
Compare Source
RSpec/Rails/NegationBeValid
cop. ([@ydah])RSpec/ExcessiveDocstringSpacing
when finds description with em space. ([@ydah])RSpec/EmptyExampleGroup
when example group with examples defined inif
branch inside iterator. ([@ydah])RSpec/ExpectActual
to include the word 'value'. ([@corydiamand])RSpec/Pending
whenit
without body. ([@ydah])RSpec/ReceiveMessages
cop. ([@ydah])**/spec/*
instead ofspec/*
. ([@ydah])AllowedIdentifiers
andAllowedPatterns
configuration option toRSpec/IndexedLet
. ([@ydah])RSpec/NamedSubject
when block has no body. ([@splattael])RSpec/LetBeforeExamples
autocorrect incompatible withRSpec/ScatteredLet
autocorrect. ([@ydah])RSpec/Focus
to supportshared_context
andshared_examples
([@tmaier])v2.22.0
Compare Source
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])v2.21.0
Compare Source
RSpec/IndexedLet
with suffixes after index-like numbers. ([@pirj])RSpec/Rails/HaveHttpStatus
with comparison with strings containing non-numeric characters. ([@ydah])RSpec/MatchArray
whenmatch_array
with no argument. ([@ydah])a_block_changing
andchanging
forRSpec/ChangeByZero
. ([@ydah])v2.20.0
Compare Source
RSpec/IndexedLet
cop. ([@dmitrytsepelev])RSpec/BeEmpty
cop. ([@ydah], [@bquorning])RSpec/ScatteredSetup
. ([@ydah])be_status
style forRSpec/Rails/HttpStatus
. ([@ydah])RSpec/EmptyLineAfterExampleGroup
. ([@pirj])RSpec/HaveHttpStatus
when usingresponse.code
. ([@ydah])RSpec/Rails/MinitestAssertions
([@mvz])RSpec/DescribedClassModuleWrapping
when RSpec.describe numblock is nested within a module. ([@ydah])RSpec/FactoryBot/ConsistentParenthesesStyle
inside&&
,||
and:?
whenomit_parentheses
is on ([@dmitrytsepelev])RSpec/PendingWithoutReason
when pending/skip has a reason inside an example group. ([@ydah])RSpec/RedundantAround
when redundant numblockaround
. ([@ydah])RSpec/ContainExactly
to ignore calls with no arguments, and changeRSpec/MatchArray
to ignore calls with an empty array literal argument. ([@ydah], [@bquorning])RSpec/MatchArray
andRSpec/ContainExactly
pending. ([@ydah])v2.19.0
Compare Source
RSpec/ContextWording
when context is interpolated string literal or execute string. ([@ydah])RSpec/DescribeMethod
when multi-line describe without#
and.
at the beginning. ([@ydah], [@pirj])RSpec/VariableName
when inside non-spec code. ([@ydah])RSpec/VariableDefinition
when inside non-spec code. ([@ydah])RSpec/PendingBlockInsideExample
cop. ([@ydah])RSpec/RedundantAround
cop. ([@r7kamura])RSpec/Rails/TravelAround
cop. ([@r7kamura])RSpec/ContainExactly
andRSpec/MatchArray
cops. ([@faucct])RSpec/PendingWithoutReason
when not inside example and pending/skip with block. ([@ydah], [@pirj])RSpec/PendingWithoutReason
whenskip
is passed a block inside example. ([@ydah], [@pirj])RSpec/PendingBlockInsideExample
cop toRSpec/SkipBlockInsideExample
. ([@pirj])send_pattern
/block_pattern
/numblock_pattern
helpers in favour of using node pattern explicitly. ([@pirj], [@ydah])RSpec/VerifiedDoubleReference
when namespaced class. ([@ydah])v2.18.1
Compare Source
rubocop-capybara
version constraint to prevent sudden cop enabling when it hits 3.0. ([@pirj])v2.18.0
Compare Source
rubocop-capybara
. Therubocop-capybara
repository is a dependency ofrubocop-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])v2.17.1
Compare Source
RSpec/Pending
when using skipped in metadata is multiline string. ([@ydah])RSpec/NoExpectationExample
when using skipped in metadata is multiline string. ([@ydah])RSpec/ContextMethod
when multi-line context with#
at the beginning. ([@ydah])RSpec/PredicateMatcher
when multiline expect and predicate method with heredoc. ([@ydah])RSpec/PredicateMatcher
wheninclude
with multiple argument. ([@ydah])v2.17.0
Compare Source
RSpec/PendingWithoutReason
when pending/skip is argument of methods. ([@ydah])RSpec/Capybara/MatchStyle
cop. ([@ydah])RSpec/Rails/MinitestAssertions
cop. ([@ydah])RSpec/PendingWithoutReason
when not inside example. ([@ydah])RSpec/PredicateMatcher
when usinginclude
andrespond_to
. ([@ydah])RSpec/StubbedMock
when stubbed message expectation with a block and block parameter. ([@ydah])v2.16.0
Compare Source
RSpec/FactoryBot/FactoryNameStyle
cop. ([@ydah])RSpec/Be
,RSpec/ExpectActual
,RSpec/ImplicitExpect
,RSpec/MessageSpies
,RSpec/PredicateMatcher
andRSpec/Rails/HaveHttpStatus
. ([@ydah])n_times
style onRSpec/FactoryBot/CreateList
. ([@r7kamura])RSpec/FactoryBot/ConsistentParenthesesStyle
when usinggenerate
with multiple arguments. ([@ydah])RSpec/BeEq
asSafe: false
. ([@r7kamura])RSpec/DuplicatedMetadata
cop. ([@r7kamura])RSpec/BeEql
asSafe: false
. ([@r7kamura])RSpec/PendingWithoutReason
cop. ([@r7kamura])v2.15.0
Compare Source
RSpec/RepeatedDescription
when different its block expectations are used. ([@ydah])named_only
style toRSpec/NamedSubject
. ([@kuahyeow])RSpec/FactoryBot/ConsistentParenthesesStyle
to ignore calls without the first positional argument. ([@pirj])RSpec/FactoryBot/ConsistentParenthesesStyle
to ignore calls inside a Hash or an Array. ([@pirj])RSpec/NestedGroups
to correctly useAllowedGroups
config. ([@samrjenkins])Runners
andHookScopes
RSpec DSL elements from configuration. ([@pirj])with default RSpec/Language config
helper tolib
(underrubocop/rspec/shared_contexts/default_rspec_language_config_context
), to allow use for downstream cops based onRuboCop::Cop::RSpec::Base
. ([@smcgivern])v2.14.2
Compare Source
FactoryBot/ConsistentParenthesesStyle
withomit_parentheses
option when method name and first argument are not on same line. ([@ydah])RSpec/ExampleWording
for insufficient example wording. ([@pirj])RSpec/SortMetadata
not to reorder arguments ofinclude_
/it_behaves_like
. ([@pirj])RSpec/NoExpectationExample
when allowed pattern methods with arguments. ([@ydah])RSpec/FilePath
so that it only checks suffix when path is under spec/routing or type is defined as routing. ([@r7kamura])v2.14.1
Compare Source
RSpec/Rails/InferredSpecType
with redundant type before other Hash metadata. ([@ydah])v2.14.0
Compare Source
require_implicit
style toRSpec/ImplicitSubject
. ([@r7kamura])RSpec/Capybara/SpecificMatcher
whenhave_css("a")
without attribute. ([@ydah])RSpec/ExampleWording
cop to raise error for insufficient descriptions. ([@akrox58])RSpec/Capybara/NegationMatcher
cop. ([@ydah])AllowedPatterns
configuration option toRSpec/NoExpectationExample
. ([@ydah])RSpec/NoExpectationExample
cop to ignore examples skipped or pending via metadata. ([@pirj])RSpec/FactoryBot/ConsistentParenthesesStyle
cop. ([@Liberatys])RSpec/Rails/InferredSpecType
cop. ([@r7kamura])RSpec/Capybara/SpecificActions
cop. ([@ydah])config/default.yml
removing deprecated option to make the config correctable by users. ([@ignaciovillaverde])include_examples
inRSpec/LetBeforeExamples
. ([@pirj])RSpec/SortMetadata
cop. ([@leoarnold])RSpec/SubjectDeclaration
. ([@ydah])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.