chore(deps): update dependency rubocop-rspec to v2.31.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
rubocop-rspec (changelog) | minor |
2.22.0 -> 2.31.0
|
Release Notes
rubocop/rubocop-rspec (rubocop-rspec)
v2.31.0
- Support
AutoCorrect: contextual
option for LSP. ([@ydah])
v2.30.0
- Add new
RSpec/ExpectInLet
cop. ([@yasu551])
v2.29.2
- Fix beginless and endless range bug for RepeatedIncludeExample cop. ([@hasghari])
- Fix a false positive for
RSpec/RepeatedSubjectCall
when subject is used as argument to function call. ([@K-S-A])
v2.29.1
- Fix an error in the default configuration. ([@ydah])
v2.29.0
- Fix an autocorrect error for
RSpec/ExpectActual
. ([@bquorning]) - Add new
RSpec/UndescriptiveLiteralsDescription
cop. ([@ydah]) - Add new
RSpec/EmptyOutput
cop. ([@bquorning])
v2.28.0
- Extract RSpec Rails cops to a separate repository,
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
- Fix a false positive for
RSpec/RepeatedSubjectCall
whensubject.method_call
. ([@ydah]) - Add configuration option
OnlyStaticConstants
toRSpec/DescribedClass
. ([@ydah])
v2.27.0
- Add new
RSpec/IsExpectedSpecify
cop. ([@ydah]) - Add new
RSpec/RepeatedSubjectCall
cop. ([@drcapulet]) - Add support for
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]) - Support asserts with messages in
Rspec/BeEmpty
. ([@G-Rath]) - Fix a false positive for
RSpec/ExpectActual
when used with rspec-rails routing matchers. ([@naveg]) - Add configuration option
ResponseMethods
toRSpec/Rails/HaveHttpStatus
. ([@ydah]) - Fix a false negative for
RSpec/DescribedClass
when class with constant. ([@ydah]) - Fix a false positive for
RSpec/ExampleWithoutDescription
whenspecify
with multi-line block and missing description. ([@ydah]) - Fix an incorrect autocorrect for
RSpec/ChangeByZero
when compound expectations with line break before.by(0)
. ([@ydah])
v2.26.1
- Fix an error for
RSpec/SharedExamples
when using examples without argument. ([@ydah])
v2.26.0
- Add new
RSpec/RedundantPredicateMatcher
cop. ([@ydah]) - Add new
RSpec/RemoveConst
cop. ([@swelther]) - Add support for correcting "it will" (future tense) for
RSpec/ExampleWording
. ([@jdufresne]) - Add support for
symbol
style forRSpec/SharedExamples
. ([@jessieay]) - Ensure
PendingWithoutReason
can detect violations inside shared groups. ([@robinaugh])
v2.25.0
- Add support single quoted string and percent string and heredoc for
RSpec/Rails/HttpStatus
. ([@ydah]) - Change to be inline disable for
RSpec/SpecFilePathFormat
likeRSpec/FilePath
. ([@ydah]) - Fix a false positive for
RSpec/MetadataStyle
with example groups having multiple string arguments. ([@franzliedke])
v2.24.1
- Fix an error when using
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
- Split
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]) - Add new
RSpec/Eq
cop. ([@ydah]) - Add
RSpec/MetadataStyle
andRSpec/EmptyMetadata
cops. ([@r7kamura]) - Add support
RSpec/Rails/HttpStatus
whenhave_http_status
with string argument. ([@ydah]) - Fix an infinite loop error when
RSpec/ExcessiveDocstringSpacing
finds a description with non-ASCII leading/trailing whitespace. ([@bcgraham]) - Fix an incorrect autocorrect for
RSpec/ReceiveMessages
when return values declared between stubs. ([@marocchino]) - Fix a false positive
RSpec/Focus
when chained method call and inside define method. ([@ydah])
v2.23.2
- Fix an incorrect autocorrect for
RSpec/ReceiveMessages
when method is only non-word character. ([@marocchino]) - Fix a false positive for
RSpec/ReceiveMessages
when return with splat. ([@marocchino])
v2.23.1
- Mark to
Safe: false
forRSpec/Rails/NegationBeValid
cop. ([@ydah]) - Declare autocorrect as unsafe for
RSpec/ReceiveMessages
. ([@bquorning])
v2.23.0
- Add new
RSpec/Rails/NegationBeValid
cop. ([@ydah]) - Fix a false negative for
RSpec/ExcessiveDocstringSpacing
when finds description with em space. ([@ydah]) - Fix a false positive for
RSpec/EmptyExampleGroup
when example group with examples defined inif
branch inside iterator. ([@ydah]) - Update the message output of
RSpec/ExpectActual
to include the word 'value'. ([@corydiamand]) - Fix a false negative for
RSpec/Pending
whenit
without body. ([@ydah]) - Add new
RSpec/ReceiveMessages
cop. ([@ydah]) - Change default.yml path to use
**/spec/*
instead ofspec/*
. ([@ydah]) - Add
AllowedIdentifiers
andAllowedPatterns
configuration option toRSpec/IndexedLet
. ([@ydah]) - Fix
RSpec/NamedSubject
when block has no body. ([@splattael]) - Fix
RSpec/LetBeforeExamples
autocorrect incompatible withRSpec/ScatteredLet
autocorrect. ([@ydah]) - Update
RSpec/Focus
to supportshared_context
andshared_examples
. ([@tmaier])
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.