Draft: Bump rubocop-rspec from 1.44.1 to 2.7.0
Bumps rubocop-rspec from 1.44.1 to 2.7.0.
Release notes
Sourced from rubocop-rspec's releases.
RuboCop RSpec v2.7.0
- Add new
RSpec/FactoryBot/SyntaxMethods
cop. (@leoarnold)- Exclude
task
type specs fromRSpec/DescribeClass
cop. (@harry-graham)RuboCop RSpec v2.6.0
- Fix merging RSpec DSL configuration from third-party gems. (@pirj)
- Fix
RSpec/ExcessiveDocstringSpacing
false positive for multi-line indented strings. (@G-Rath)- Fix
Include
configuration for sub-departments. (@pirj)- Ignore heredocs in
RSpec/ExcessiveDocstringSpacing
. (@G-Rath)- Stop
RSpec/ExampleWording
from trying to correct heredocs. (@G-Rath)- Add autocorrect support for
RSpec/VariableDefinition
. (@r7kamura)RuboCop RSpec v2.5.0
- Declare autocorrect as unsafe for
ExpectChange
. (@francois-ferrandis)- Fix each example for
RSpec/HookArgument
. (@lokhi)- Exclude unrelated Rails directories from
RSpec/DescribeClass
. (@MothOnMars)- Add
RSpec/ExcessiveDocstringSpacing
cop. (@G-Rath)- Add
RSpec/SubjectDeclaration
cop. (@dswij)- Fix excessive whitespace removal in
RSpec/EmptyHook
autocorrection. (@pirj)- Bump RuboCop requirement to v1.19.0. (@pirj)
- Fix false positive in
RSpec/IteratedExpectation
when there is single, non-expectation statement in the block body. (@Darhazer)RuboCop RSpec v2.4.0
- Update
RSpec/FilePath
to check suffix when given a non-constant top-level node (e.g. features). (@topalovic)- Add missing documentation for
single_statement_only
style ofRSpec/ImplicitSubject
cop. (@tejasbubane)- Fix an exception in
DescribedClass
when accessing a constant on a variable in a spec that is nested in a namespace. (@rrosenblum)- Add new
RSpec/IdenticalEqualityAssertion
cop. (@tejasbubane)- Add
RSpec/Rails/AvoidSetupHook
cop. (@paydaylight)- Fix false negative in
RSpec/ExpectChange
cop with block style and chained method call. (@tejasbubane)
... (truncated)
Changelog
Sourced from rubocop-rspec's changelog.
2.7.0 (2021-12-26)
- Add new
RSpec/FactoryBot/SyntaxMethods
cop. (@leoarnold)- Exclude
task
type specs fromRSpec/DescribeClass
cop. (@harry-graham)2.6.0 (2021-11-08)
- Fix merging RSpec DSL configuration from third-party gems. (@pirj)
- Fix
RSpec/ExcessiveDocstringSpacing
false positive for multi-line indented strings. (@G-Rath)- Fix
Include
configuration for sub-departments. (@pirj)- Ignore heredocs in
RSpec/ExcessiveDocstringSpacing
. (@G-Rath)- Stop
RSpec/ExampleWording
from trying to correct heredocs. (@G-Rath)- Add autocorrect support for
RSpec/VariableDefinition
. (@r7kamura)2.5.0 (2021-09-21)
- Declare autocorrect as unsafe for
ExpectChange
. (@francois-ferrandis)- Fix each example for
RSpec/HookArgument
. (@lokhi)- Exclude unrelated Rails directories from
RSpec/DescribeClass
. (@MothOnMars)- Add
RSpec/ExcessiveDocstringSpacing
cop. (@G-Rath)- Add
RSpec/SubjectDeclaration
cop. (@dswij)- Fix excessive whitespace removal in
RSpec/EmptyHook
autocorrection. (@pirj)- Bump RuboCop requirement to v1.19.0. (@pirj)
- Fix false positive in
RSpec/IteratedExpectation
when there is single, non-expectation statement in the block body. (@Darhazer)2.4.0 (2021-06-09)
- Update
RSpec/FilePath
to check suffix when given a non-constant top-level node (e.g. features). (@topalovic)- Add missing documentation for
single_statement_only
style ofRSpec/ImplicitSubject
cop. (@tejasbubane)- Fix an exception in
DescribedClass
when accessing a constant on a variable in a spec that is nested in a namespace. (@rrosenblum)- Add new
RSpec/IdenticalEqualityAssertion
cop. (@tejasbubane)- Add
RSpec/Rails/AvoidSetupHook
cop. (@paydaylight)- Fix false negative in
RSpec/ExpectChange
cop with block style and chained method call. (@tejasbubane)2.3.0 (2021-04-28)
- Allow
RSpec/ContextWording
to accept multi-word prefixes. ([@hosamaly][])- Drop support for ruby 2.4. ([@bquorning][])
- Add
CountAsOne
configuration option toRSpec/ExampleLength
. ([@stephannv][])- Fix a false positive for
RSpec/RepeatedExampleGroupBody
whenpending
orskip
have argument(s). ([@Tietew][])2.2.0 (2021-02-02)
- Fix
HooksBeforeExamples
,LeadingSubject
,LetBeforeExamples
andScatteredLet
autocorrection to take into account inline comments and comments immediately before the moved node. (@Darhazer)- Improve rubocop-rspec performance. (@Darhazer, [@bquorning][])
- Include
Enabled: true
to prevent a mismatched configuration parameter warning whenRSpec
cops are explicitly enabled in the user configuration. (@pirj)2.1.0 (2020-12-17)
- Fix
RSpec/FilePath
false positive for relative file path runs with long namespaces. ([@ahukkanen][])
... (truncated)
Commits
-
34f3932
Merge pull request #1221 from rubocop/release -
8dad0da
Bump version to 2.7.0 -
bc564fb
Merge pull request #1222 from rubocop/fix-internal-rubocop-cop-offense -
62d1199
Fix RedundantMethodDispatchNode offense -
573f22b
Merge pull request #1219 from harry-graham/feature/describeclass_cop_exclude_... -
394ac9c
Exclude task type specs from RSpec/DescribeClass cop -
7cf850d
Merge pull request #1215 from leoarnold/leoarnold/factorybot/dsl -
5520d3b
Add newRSpec/FactoryBot/SyntaxMethods
cop. -
51b1fbf
Merge pull request #1213 from dvandersluis/gemspec/require-mfa -
00c0e11
Setrubygems_mfa_required
in gemspec. - Additional commits viewable in compare view
Edited by David Chandek-Stark