Draft: Bump rubocop-rspec from 1.44.1 to 2.8.0
Bumps rubocop-rspec from 1.44.1 to 2.8.0.
Release notes
Sourced from rubocop-rspec's releases.
RuboCop RSpec v2.8.0
- Fix
RSpec/FactoryBot/SyntaxMethodsandRSpec/Capybara/FeatureMethodsto inspect shared groups. (@pirj)- Fix
RSpec/LeadingSubjectfailure in non-spec code. (@pirj)- Add bad example to
RSpec/SubjectStubcop. (@oshiro3)- Replace non-styleguide cops
StyleGuideattribute withReference. (@pirj)- Fix
RSpec/SubjectStubto disallow stubbing of subjects defined in parent example groups. (@pirj)RuboCop RSpec v2.7.0
- Add new
RSpec/FactoryBot/SyntaxMethodscop. (@leoarnold)- Exclude
tasktype specs fromRSpec/DescribeClasscop. (@harry-graham)RuboCop RSpec v2.6.0
- Fix merging RSpec DSL configuration from third-party gems. (@pirj)
- Fix
RSpec/ExcessiveDocstringSpacingfalse positive for multi-line indented strings. (@G-Rath)- Fix
Includeconfiguration for sub-departments. (@pirj)- Ignore heredocs in
RSpec/ExcessiveDocstringSpacing. (@G-Rath)- Stop
RSpec/ExampleWordingfrom 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/ExcessiveDocstringSpacingcop. (@G-Rath)- Add
RSpec/SubjectDeclarationcop. (@dswij)- Fix excessive whitespace removal in
RSpec/EmptyHookautocorrection. (@pirj)- Bump RuboCop requirement to v1.19.0. (@pirj)
- Fix false positive in
RSpec/IteratedExpectationwhen there is single, non-expectation statement in the block body. (@Darhazer)RuboCop RSpec v2.4.0
- Update
RSpec/FilePathto check suffix when given a non-constant top-level node (e.g. features). ([@topalovic][])
... (truncated)
Changelog
Sourced from rubocop-rspec's changelog.
2.8.0 (2022-01-24)
- Fix
RSpec/FactoryBot/SyntaxMethodsandRSpec/Capybara/FeatureMethodsto inspect shared groups. (@pirj)- Fix
RSpec/LeadingSubjectfailure in non-spec code. (@pirj)- Add bad example to
RSpec/SubjectStubcop. (@oshiro3)- Replace non-styleguide cops
StyleGuideattribute withReference. (@pirj)- Fix
RSpec/SubjectStubto disallow stubbing of subjects defined in parent example groups. (@pirj)2.7.0 (2021-12-26)
- Add new
RSpec/FactoryBot/SyntaxMethodscop. (@leoarnold)- Exclude
tasktype specs fromRSpec/DescribeClasscop. (@harry-graham)2.6.0 (2021-11-08)
- Fix merging RSpec DSL configuration from third-party gems. (@pirj)
- Fix
RSpec/ExcessiveDocstringSpacingfalse positive for multi-line indented strings. (@G-Rath)- Fix
Includeconfiguration for sub-departments. (@pirj)- Ignore heredocs in
RSpec/ExcessiveDocstringSpacing. (@G-Rath)- Stop
RSpec/ExampleWordingfrom 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/ExcessiveDocstringSpacingcop. (@G-Rath)- Add
RSpec/SubjectDeclarationcop. (@dswij)- Fix excessive whitespace removal in
RSpec/EmptyHookautocorrection. (@pirj)- Bump RuboCop requirement to v1.19.0. (@pirj)
- Fix false positive in
RSpec/IteratedExpectationwhen there is single, non-expectation statement in the block body. (@Darhazer)2.4.0 (2021-06-09)
- Update
RSpec/FilePathto check suffix when given a non-constant top-level node (e.g. features). ([@topalovic][])- Add missing documentation for
single_statement_onlystyle ofRSpec/ImplicitSubjectcop. ([@tejasbubane][])- Fix an exception in
DescribedClasswhen accessing a constant on a variable in a spec that is nested in a namespace. ([@rrosenblum][])- Add new
RSpec/IdenticalEqualityAssertioncop. ([@tejasbubane][])- Add
RSpec/Rails/AvoidSetupHookcop. ([@paydaylight][])- Fix false negative in
RSpec/ExpectChangecop with block style and chained method call. ([@tejasbubane][])2.3.0 (2021-04-28)
- Allow
RSpec/ContextWordingto accept multi-word prefixes. ([@hosamaly][])- Drop support for ruby 2.4. ([@bquorning][])
- Add
CountAsOneconfiguration option toRSpec/ExampleLength. ([@stephannv][])- Fix a false positive for
RSpec/RepeatedExampleGroupBodywhenpendingorskiphave argument(s). ([@Tietew][])2.2.0 (2021-02-02)
... (truncated)
Commits
-
d929e14Merge pull request #1234 from rubocop/release -
0342f08Bump version to 2.8.0 -
514c25bMerge pull request #1232 from rubocop/1230-make-subject_stub-stricter -
569abeaMerge pull request #1233 from rubocop/adoc-fixes -
acf3c61Fix a bit of asciidoc formatting -
61b2025Make RSpec/SubjectStub stricter -
92b787cRefactor and improve performance -
9192504Merge pull request #1225 from rubocop/1101-align-with-style-guide -
0e7beb6Add style guide references -
f308d2bAdjust config formatting to keep styleguide links - Additional commits viewable in compare view
Edited by David Chandek-Stark