Draft: Bump rubocop-rspec from 1.44.1 to 2.6.0
Bumps rubocop-rspec from 1.44.1 to 2.6.0.
Release notes
Sourced from rubocop-rspec's releases.
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)- 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)RuboCop RSpec v2.3.0
- 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][])
... (truncated)
Changelog
Sourced from rubocop-rspec's changelog.
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)
- Fix
HooksBeforeExamples,LeadingSubject,LetBeforeExamplesandScatteredLetautocorrection to take into account inline comments and comments immediately before the moved node. (@Darhazer)- Improve rubocop-rspec performance. (@Darhazer, [@bquorning][])
- Include
Enabled: trueto prevent a mismatched configuration parameter warning whenRSpeccops are explicitly enabled in the user configuration. (@pirj)2.1.0 (2020-12-17)
- Fix
RSpec/FilePathfalse positive for relative file path runs with long namespaces. ([@ahukkanen][])- Update
RSpec/Focusto have auto-correction. ([@dvandersluis][])2.0.1 (2020-12-02)
- Fixed infinite loop in
RSpec/ExpectActualautocorrection when both expected and actual values are literals. (@Darhazer)
... (truncated)
Commits
-
6683d5fMerge pull request #1208 from rubocop/release -
82ac3eaBump version to 2.6.0 -
96aa010Merge pull request #1084 from rubocop/github-actions -
52baf6eRemove simplecov gem and related rake task -
6e40b38Stop sending coverage data do Code Climate -
ee19e9fMove from CircleCI to GitHub Actions -
8821470Merge pull request #1204 from r7kamura/feature/variable-definition-auto-correct -
02a03b7Add autocorrect support forRSpec/VariableDefinition -
6d1cd98Merge pull request #1203 from koic/fix_error_when_running_rake_new_cop -
fe07b32Fix an error when runningrake new_cop - Additional commits viewable in compare view
Edited by David Chandek-Stark