armitage-rubocop 0.76.0.2 → 0.76.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8098e765656d0a3cdacd93c0334a66476b76db2e3e469e6a7c2cacccb95dc2f2
4
- data.tar.gz: bbc3a1618a14ca32066276fc6748abcdc891a8a55b15117d7e13df259fd4c1df
3
+ metadata.gz: 6b0eebb76f43a865bf4a4338d5dc0c0cf34c655c6948e212541a75ebe25135c2
4
+ data.tar.gz: 608d4825fcfc20d654c903d2a713058844dfd77456266456999f803a137f1443
5
5
  SHA512:
6
- metadata.gz: 55cfdc569affc1ca968045ad7e23871196d784c1b48f76365275fda13f6fb7aba21919fc5c9abc08bc729bf58a73308f1bbe125ff6629da9d736898da55a8d30
7
- data.tar.gz: c2abac4feac725d5822740a9d1c4791cad0140845ce2e858d92ac61f40895feb6581e200155b3a1c7b86f6f6dde9c58af538bcf3673b22d6f9016580e6a61bae
6
+ metadata.gz: 298c6b966efaf7f7761daeef8fb5caa8ccb89e09c5296e3606a62a1248b6d978eb431ab9625e1141614baa24c010b91bae40d3202048b5f291d91eb9de1d69c4
7
+ data.tar.gz: 8bfef0bc83129f2fbfaff9d6d5bb7b219aa96221cbbf7aeb06bbd2b53e9f3683f2f194c61671e5b66da2443d233746f49ccf3839b9e777fe5c667b7396dca3b6
data/.rubocop.yml CHANGED
@@ -1,4 +1,6 @@
1
- inherit_from: ./lib/rubocop.general.yml
1
+ inherit_from:
2
+ - ./lib/rubocop.general.yml
3
+ - ./lib/rubocop.rake.yml
2
4
 
3
5
  AllCops:
4
6
  TargetRubyVersion: 2.6.5
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  Configured rules:
10
10
 
11
- - **Common** (`.rubocop.general.yml`) (`.rubocop.rails.yml`)
11
+ - **Common** (`.rubocop.general.yml`) (`.rubocop.rails.yml`) (`.rubocop.rake.yml`)
12
12
  - Bundler
13
13
  - Rake
14
14
  - Gemspec
@@ -20,6 +20,7 @@ Configured rules:
20
20
  - Rails (isn't included in `.rubocop.general.yml`)
21
21
  - Security
22
22
  - Style
23
+ - Rake (isn't included in `.rubocop.general.yml`)
23
24
  - **RSpec** (`.rubocop.rspec.yml`) (`.rubocop.rails.yml`)
24
25
  - Capybara
25
26
  - FactoryBot
@@ -55,6 +56,7 @@ inherit_gem:
55
56
  armitage-rubocop:
56
57
  - lib/rubocop.general.yml
57
58
  - lib/rubocop.rspec.yml
59
+ - lib/rubocop.rake.yml
58
60
  ```
59
61
 
60
62
  ```yaml
@@ -4,7 +4,7 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.version = '0.76.0.2'
7
+ spec.version = '0.76.0.3'
8
8
 
9
9
  spec.name = 'armitage-rubocop'
10
10
  spec.license = 'MIT'
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'rubocop', '= 0.76.0'
26
26
  spec.add_dependency 'rubocop-performance', '= 1.5.1'
27
27
  spec.add_dependency 'rubocop-rails', '= 2.3.2'
28
- spec.add_dependency 'rubocop-rspec', '= 1.36.0'
28
+ spec.add_dependency 'rubocop-rspec', '= 1.37.0'
29
29
  spec.add_dependency 'rubocop-rake', '= 0.5.0'
30
30
 
31
31
  spec.add_development_dependency 'bundler'
@@ -4,3 +4,6 @@ FactoryBot/AttributeDefinedStatically:
4
4
  FactoryBot/CreateList:
5
5
  Enabled: true
6
6
  EnforcedStyle: create_list
7
+
8
+ FactoryBot/FactoryClassName:
9
+ Enabled: true
data/lib/rspec/rspec.yml CHANGED
@@ -39,6 +39,9 @@ RSpec/DescribedClass:
39
39
  SkipBlocks: false
40
40
  EnforcedStyle: described_class
41
41
 
42
+ RSpec/DescribedClassModuleWrapping:
43
+ Enabled: true
44
+
42
45
  RSpec/Dialect:
43
46
  Enabled: true
44
47
  PreferredMethods: {}
@@ -175,7 +178,10 @@ RSpec/Pending:
175
178
  Enabled: false
176
179
 
177
180
  RSpec/PredicateMatcher:
178
- Enabled: false
181
+ Enabled: true
182
+ Strict: true
183
+ EnforcedStyle: explicit
184
+ AllowedExplicitMatchers: []
179
185
 
180
186
  RSpec/ReceiveCounts:
181
187
  Enabled: false
@@ -10,7 +10,6 @@ inherit_from:
10
10
  - ./common/performance.yml
11
11
  - ./common/security.yml
12
12
  - ./common/style.yml
13
- - ./common/rake.yml
14
13
 
15
14
  AllCops:
16
15
  DefaultFormatter: progress
@@ -3,6 +3,7 @@ require: rubocop-rails
3
3
  inherit_from:
4
4
  - ./rubocop.general.yml
5
5
  - ./rubocop.rspec.yml
6
+ - ./rubocop.rake.yml
6
7
  - ./common/rails.yml
7
8
 
8
9
  AllCops:
@@ -0,0 +1,10 @@
1
+ require: rubocop-rake
2
+
3
+ inherit_from:
4
+ - ./common/rake.yml
5
+
6
+ Rake:
7
+ Enabled: true
8
+ Include:
9
+ - 'Rakefile'
10
+ - '**/*.rake'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0.2
4
+ version: 0.76.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2019-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.36.0
61
+ version: 1.37.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.36.0
68
+ version: 1.37.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -157,6 +157,7 @@ files:
157
157
  - lib/rspec/rspec.yml
158
158
  - lib/rubocop.general.yml
159
159
  - lib/rubocop.rails.yml
160
+ - lib/rubocop.rake.yml
160
161
  - lib/rubocop.rspec.yml
161
162
  homepage: https://github.com/0exp/armitage
162
163
  licenses: