rubocop-rspec 2.4.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35d3cf723ee0c50db00cbc5e63f5d9bf142186843fd56a86248dfb284c65180c
4
- data.tar.gz: 8d0c0e01c405332eac2075b60d518a71e82a7d54f4b41ef111f5ef2b869e1f88
3
+ metadata.gz: 4786aaf8f829745dafce927499fd98671a0b8ab08a61a9c99eafc26fb7235926
4
+ data.tar.gz: 38e23b1194fb915f42f4399fe6be1b6c950de10d367300a01226549e15747f93
5
5
  SHA512:
6
- metadata.gz: 2e28be09b6cc11154b903ef574ef44487c44ade441f79b1172569d66cecd2c027d525dbcefbe755d7a0f2c872491a018fb24cd026453dc13ac764bcae7312abc
7
- data.tar.gz: 3062cea8205acc5e020c404034c8c2590c6c5c089649c62280887b0bc20ca3b4b38048a983b2947f9ed10bc1824992955c6a58736db53f071c72a3fdde9363f8
6
+ metadata.gz: 39bb13d4cfe09307955f392935c626fb8b920e2b38a33323464e15fb9a7248c88db27259cab8c118df4ebb5888c11973e04e2e5f3ce58e64e1f18486801ac3c7
7
+ data.tar.gz: 51fa7212f5b0576b0fbfcf88c57cff79612934695f8f8f1b6c3106006b5e6dd1eff08c06cfe60fcd8a994e3eccd51810c61b208e398b708090f3e257d0bed3e8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,39 @@
2
2
 
3
3
  ## Master (Unreleased)
4
4
 
5
+ ## 2.8.0 (2022-01-24)
6
+
7
+ * Fix `RSpec/FactoryBot/SyntaxMethods` and `RSpec/Capybara/FeatureMethods` to inspect shared groups. ([@pirj][])
8
+ * Fix `RSpec/LeadingSubject` failure in non-spec code. ([@pirj][])
9
+ * Add bad example to `RSpec/SubjectStub` cop. ([@oshiro3][])
10
+ * Replace non-styleguide cops `StyleGuide` attribute with `Reference`. ([@pirj][])
11
+ * Fix `RSpec/SubjectStub` to disallow stubbing of subjects defined in parent example groups. ([@pirj][])
12
+
13
+ ## 2.7.0 (2021-12-26)
14
+
15
+ * Add new `RSpec/FactoryBot/SyntaxMethods` cop. ([@leoarnold][])
16
+ * Exclude `task` type specs from `RSpec/DescribeClass` cop. ([@harry-graham][])
17
+
18
+ ## 2.6.0 (2021-11-08)
19
+
20
+ * Fix merging RSpec DSL configuration from third-party gems. ([@pirj][])
21
+ * Fix `RSpec/ExcessiveDocstringSpacing` false positive for multi-line indented strings. ([@G-Rath][])
22
+ * Fix `Include` configuration for sub-departments. ([@pirj][])
23
+ * Ignore heredocs in `RSpec/ExcessiveDocstringSpacing`. ([@G-Rath][])
24
+ * Stop `RSpec/ExampleWording` from trying to correct heredocs. ([@G-Rath][])
25
+ * Add autocorrect support for `RSpec/VariableDefinition`. ([@r7kamura][])
26
+
27
+ ## 2.5.0 (2021-09-21)
28
+
29
+ * Declare autocorrect as unsafe for `ExpectChange`. ([@francois-ferrandis][])
30
+ * Fix each example for `RSpec/HookArgument`. ([@lokhi][])
31
+ * Exclude unrelated Rails directories from `RSpec/DescribeClass`. ([@MothOnMars][])
32
+ * Add `RSpec/ExcessiveDocstringSpacing` cop. ([@G-Rath][])
33
+ * Add `RSpec/SubjectDeclaration` cop. ([@dswij][])
34
+ * Fix excessive whitespace removal in `RSpec/EmptyHook` autocorrection. ([@pirj][])
35
+ * Bump RuboCop requirement to v1.19.0. ([@pirj][])
36
+ * Fix false positive in `RSpec/IteratedExpectation` when there is single, non-expectation statement in the block body. ([@Darhazer][])
37
+
5
38
  ## 2.4.0 (2021-06-09)
6
39
 
7
40
  * Update `RSpec/FilePath` to check suffix when given a non-constant top-level node (e.g. features). ([@topalovic][])
@@ -625,3 +658,12 @@ Compatibility release so users can upgrade RuboCop to 0.51.0. No new features.
625
658
  [@rrosenblum]: https://github.com/rrosenblum
626
659
  [@paydaylight]: https://github.com/paydaylight
627
660
  [@topalovic]: https://github.com/topalovic
661
+ [@lokhi]: https://github.com/lokhi
662
+ [@MothOnMars]: https://github.com/MothOnMars
663
+ [@G-Rath]: https://github.com/G-Rath
664
+ [@dswij]: https://github.com/dswij
665
+ [@francois-ferrandis]: https://github.com/francois-ferrandis
666
+ [@r7kamura]: https://github.com/r7kamura
667
+ [@leoarnold]: https://github.com/leoarnold
668
+ [@harry-graham]: https://github.com/harry-graham
669
+ [@oshiro3]: https://github.com/oshiro3
data/README.md CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  [![Join the chat at https://gitter.im/rubocop-rspec/Lobby](https://badges.gitter.im/rubocop-rspec/Lobby.svg)](https://gitter.im/rubocop-rspec/Lobby)
4
4
  [![Gem Version](https://badge.fury.io/rb/rubocop-rspec.svg)](https://rubygems.org/gems/rubocop-rspec)
5
- [![CircleCI](https://circleci.com/gh/rubocop/rubocop-rspec.svg?style=svg)](https://circleci.com/gh/rubocop/rubocop-rspec)
6
- [![Test Coverage](https://api.codeclimate.com/v1/badges/8ffaabf633c968c22bdd/test_coverage)](https://codeclimate.com/github/rubocop-hq/rubocop-rspec/test_coverage)
7
- [![Maintainability](https://api.codeclimate.com/v1/badges/8ffaabf633c968c22bdd/maintainability)](https://codeclimate.com/github/rubocop-hq/rubocop-rspec/maintainability)
5
+ ![CI](https://github.com/rubocop-hq/rubocop-rspec/workflows/CI/badge.svg)
8
6
 
9
7
  RSpec-specific analysis for your projects, as an extension to
10
8
  [RuboCop](https://github.com/rubocop/rubocop).
@@ -67,7 +65,7 @@ end
67
65
 
68
66
  ### Code Climate
69
67
 
70
- rubocop-rspec is available on Code Climate as part of the rubocop engine. [Learn More](https://codeclimate.com/changelog/55a433bbe30ba00852000fac).
68
+ rubocop-rspec is available on Code Climate as part of the rubocop engine. [Learn More](https://marketing.codeclimate.com/changelog/55a433bbe30ba00852000fac/).
71
69
 
72
70
  ## Documentation
73
71