rubocop-rspec 1.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 9d776ff7d0d4657397fc51beb4cee134e72a59e0
4
- data.tar.gz: 9a2759e9c478b34665d722d63fd4dafafe3bcd8c
3
+ metadata.gz: b632d4031edbdbf3b9c5725b94b93c1869f93bbe
4
+ data.tar.gz: 9647cd0ba4cddd8e6835199a18b9e872cfbac3fd
5
5
  SHA512:
6
- metadata.gz: 3e6016100dc5691f1e1674209dfac53f3519872aaa7cdea7906644fd724b39f185880fdf3988404116222862921c8fcf7d8a49961b5130fdaa957e793a7f2f0a
7
- data.tar.gz: 50a63df1eba01507fa966f6c3ccd63eae720e31abb232b93f29de3d50002d6b57d0102b621eefae3750063820f2b5002748367d568d7d427984e79aae6348daa
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
@@ -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
@@ -4,7 +4,7 @@ module RuboCop
4
4
  module RSpec
5
5
  # Version information for the RSpec RuboCop plugin.
6
6
  module Version
7
- STRING = '1.0'
7
+ STRING = '1.0.1'
8
8
  end
9
9
  end
10
10
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.require_paths = ['lib']
23
23
  spec.files = Dir[
24
- '{lib,spec}/**/*',
24
+ '{config,lib,spec}/**/*',
25
25
  '*.md',
26
26
  '*.gemspec',
27
27
  'Gemfile',
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: '1.0'
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