rubocop-rspec 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/config/default.yml +30 -0
- data/lib/rubocop/rspec/version.rb +1 -1
- data/rubocop-rspec.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b632d4031edbdbf3b9c5725b94b93c1869f93bbe
|
4
|
+
data.tar.gz: 9647cd0ba4cddd8e6835199a18b9e872cfbac3fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cf570910495f4e5676ff3919ded08af4eb8cc02ef1ae8d68a2a881b608ac059555951ec8474309d1a5045203eafde5729338b4c3283d2df2334eef7babb21e7
|
7
|
+
data.tar.gz: af4516dd2e81af1063e0a76d934e51fed5bc6f187be0eea955096ac707d3a09cf28b555ef20e1c7a8beb047674b7177f233a1c086118acb97496e5a5190e9a9e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## 1.0.1
|
4
|
+
|
5
|
+
* Add `config` folder to gemspec. ([@pstengel][])
|
6
|
+
|
3
7
|
## 1.0.rc3
|
4
8
|
|
5
9
|
* Update to RuboCop `>= 0.23`. ([@geniou][])
|
@@ -25,3 +29,4 @@
|
|
25
29
|
|
26
30
|
[@geniou]: https://github.com/geniou
|
27
31
|
[@nevir]: https://github.com/nevir
|
32
|
+
[@pstengel]: https://github.com/pstengel
|
data/config/default.yml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
RSpec/DescribeClass:
|
2
|
+
Description: 'Check that the first argument to the top level describe is the tested class or module.'
|
3
|
+
Enabled: true
|
4
|
+
|
5
|
+
RSpec/DescribedClass:
|
6
|
+
Description: 'Use `described_class` for tested class / module'
|
7
|
+
Enabled: true
|
8
|
+
|
9
|
+
RSpec/DescribeMethod:
|
10
|
+
Description: 'Checks that the second argument to top level describe is the tested method name.'
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
RSpec/ExampleWording:
|
14
|
+
Description: 'Do not use should when describing your tests.'
|
15
|
+
Enabled: true
|
16
|
+
|
17
|
+
RSpec/MultipleDescribes:
|
18
|
+
Description: 'Checks for multiple top level describes.'
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
RSpec/InstanceVariable:
|
22
|
+
Description: 'Checks for the usage of instance variables.'
|
23
|
+
Enabled: true
|
24
|
+
|
25
|
+
RSpec/FileName:
|
26
|
+
Description: 'Checks the file and folder naming of the spec file.'
|
27
|
+
Enabled: true
|
28
|
+
CustomTransform:
|
29
|
+
RuboCop: rubocop
|
30
|
+
RSpec: rspec
|
data/rubocop-rspec.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian MacLeod
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- MIT-LICENSE.md
|
85
85
|
- README.md
|
86
86
|
- Rakefile
|
87
|
+
- config/default.yml
|
87
88
|
- lib/rubocop-rspec.rb
|
88
89
|
- lib/rubocop/cop/rspec/describe_class.rb
|
89
90
|
- lib/rubocop/cop/rspec/describe_method.rb
|