mfind-rubocop-rspec 1.1.0 → 1.2.0

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: 202722681be34789c58292c414860a447bfc45dd35121abed8bb9edd6e7de77a
4
- data.tar.gz: 375be97614e3396401c93f7d0e8930119b01156ae5be54fc97843de3e54265e9
3
+ metadata.gz: 8bc93e78ec0a2c13e1c13c6021f4bda94f875172b4e093f7dd9b1950f9718254
4
+ data.tar.gz: 737111aa14af5e28facef11d2c38bad26b002aa2d19a55d5f09aacba18e966f2
5
5
  SHA512:
6
- metadata.gz: 1bef86e62aa62bb441f9cd5020b1757a0ae772f9dbf692c9d0a612c69935306b97db8e58d88e710fbb50ae4834d5dc23e61bdf66aff02843ef38a5feecee3e34
7
- data.tar.gz: 38d54dc343db70c1e1e2b8a991bd31f07824101f49c5245314d65a17dbacfa2f02029c905f5f5be5d1e978d8640a293dd7e971602e2d7f580d8d0f07fe54c6e5
6
+ metadata.gz: fea85df900c207fc73d9cd8e5b8bcd0f011cb5561d9bdc166d9561b4a4d63953d5cc20d7396a3eab08caab478b9475201aa7d30ce4d5bd0358d9f3b95992c43b
7
+ data.tar.gz: 784a25148485222b608c70fcd8f7c75ed334c4f491ed7b08efe3b0ac4fa861c45fd16da3021bbd04c2e1a62ed0f71cad89512953e70ad854168549c6d65cec65
data/default.yml CHANGED
@@ -13,23 +13,54 @@ AllCops:
13
13
  - log/**/*
14
14
  - logs/**/*
15
15
 
16
- Style/Documentation:
17
- Enabled: false
18
-
19
- Style/BracesAroundHashParameters:
20
- EnforcedStyle: context_dependent
21
-
22
- Metrics/LineLength:
16
+ Layout/LineLength:
23
17
  Max: 120
24
18
 
25
- Metrics/ModuleLength:
19
+ Metrics/AbcSize:
20
+ Max: 15
21
+
22
+ Metrics/BlockLength:
23
+ Max: 25
24
+ Exclude:
25
+ - "**/*_spec.rb"
26
+
27
+ Metrics/BlockNesting:
28
+ Max: 3
26
29
  Exclude:
27
30
  - "**/*_spec.rb"
28
31
 
29
- Metrics/BlockLength:
32
+ Metrics/ClassLength:
33
+ Max: 100
34
+
35
+ Metrics/CyclomaticComplexity:
36
+ Max: 6
37
+
38
+ Metrics/MethodLength:
39
+ Max: 15
40
+
41
+ Metrics/ModuleLength:
42
+ Max: 100
30
43
  Exclude:
31
44
  - "**/*_spec.rb"
32
45
 
46
+ Metrics/ParameterLists:
47
+ Max: 5
48
+
49
+ Metrics/PerceivedComplexity:
50
+ Max: 10
51
+
52
+ Style/Documentation:
53
+ Enabled: false
54
+
55
+ Style/HashEachMethods:
56
+ Enabled: true
57
+
58
+ Style/HashTransformKeys:
59
+ Enabled: true
60
+
61
+ Style/HashTransformValues:
62
+ Enabled: true
63
+
33
64
  RSpec/ContextWording:
34
65
  Enabled: false
35
66
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MfindRuboCopRSpec
4
- VERSION = '1.1.0'
4
+ VERSION = '1.2.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mfind-rubocop-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mFind IT
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.75.0
19
+ version: 0.80.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.75.0
26
+ version: 0.80.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.0
33
+ version: 1.5.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.0
40
+ version: 1.5.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.36.0
47
+ version: 1.38.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.36.0
54
+ version: 1.38.1
55
55
  description:
56
56
  email:
57
57
  - development@mfind.pl