sevenwire-rubocop 1.1.3 → 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: 1f1925923cd1552728bcbf42dca90cb8f162020572ed7630ade83f34bb362b7e
4
- data.tar.gz: b9967c9c21597d320246901c96446bb62f18c6cb8afb99e29a53de5a7c08aafb
3
+ metadata.gz: 85a5e606c1a9efb8809e3c4b3dca8ccac453a2f5d1b96ad690b723ce53d4179d
4
+ data.tar.gz: 50863549ffe0895d2699198a79905ccc1a7c4335b578f45d30994b6b22117427
5
5
  SHA512:
6
- metadata.gz: 6692e05922c91302bdf7edd05b1234cc97323893a33b4fbba245ac5138c4fce5b9435ed1f53bd3a107e9e41e01c36ecd638290789387a578fd177eff4d7b4e14
7
- data.tar.gz: 280b64be22288aad30dbdb7a8546af068d301b5629ca0dc23059016532ed01b31db8214e29c7946a4c4398010b60f359af9bcd6b343395e3bc4d89c1188303a5
6
+ metadata.gz: c8b0316fa9659a4f0b87db0e1747573539a70a055384c807704f94b1ee4c8d5678ba263b0017f083d4525098993cd35d8d979a6a307e689947966d3852e18de1
7
+ data.tar.gz: 0f9fde5b1a41c1eb8b29a5d026c4d7611dd28171eb97349ec7d20ee5468f0192afb89b0d54af912e7461d9d044f05f6e53754aa833b8f88865c8f2660d61b025
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.0
1
+ 2.7.1
data/Gemfile CHANGED
@@ -1,2 +1,2 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
  gemspec
data/Gemfile.lock CHANGED
@@ -1,41 +1,44 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sevenwire-rubocop (1.0.4)
5
- rubocop (~> 0.62.0)
6
- rubocop-rspec (~> 1.31.0)
4
+ sevenwire-rubocop (1.2.0)
5
+ rubocop (~> 0.82.0)
6
+ rubocop-performance (~> 1.5)
7
+ rubocop-rspec (~> 1.39.0)
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
10
11
  specs:
11
12
  ast (2.4.0)
12
- jaro_winkler (1.5.2)
13
- parallel (1.14.0)
14
- parser (2.6.0.0)
13
+ jaro_winkler (1.5.4)
14
+ parallel (1.19.1)
15
+ parser (2.7.1.2)
15
16
  ast (~> 2.4.0)
16
- powerpack (0.1.2)
17
17
  rainbow (3.0.0)
18
- rake (10.5.0)
19
- rubocop (0.62.0)
18
+ rake (12.3.2)
19
+ rexml (3.2.4)
20
+ rubocop (0.82.0)
20
21
  jaro_winkler (~> 1.5.1)
21
22
  parallel (~> 1.10)
22
- parser (>= 2.5, != 2.5.1.1)
23
- powerpack (~> 0.1)
23
+ parser (>= 2.7.0.1)
24
24
  rainbow (>= 2.2.2, < 4.0)
25
+ rexml
25
26
  ruby-progressbar (~> 1.7)
26
- unicode-display_width (~> 1.4.0)
27
- rubocop-rspec (1.31.0)
28
- rubocop (>= 0.60.0)
29
- ruby-progressbar (1.10.0)
30
- unicode-display_width (1.4.1)
27
+ unicode-display_width (>= 1.4.0, < 2.0)
28
+ rubocop-performance (1.5.2)
29
+ rubocop (>= 0.71.0)
30
+ rubocop-rspec (1.39.0)
31
+ rubocop (>= 0.68.1)
32
+ ruby-progressbar (1.10.1)
33
+ unicode-display_width (1.7.0)
31
34
 
32
35
  PLATFORMS
33
36
  ruby
34
37
 
35
38
  DEPENDENCIES
36
- bundler (~> 1.15)
37
- rake (~> 10.0)
39
+ bundler (~> 2.1)
40
+ rake (~> 12.3)
38
41
  sevenwire-rubocop!
39
42
 
40
43
  BUNDLED WITH
41
- 1.17.2
44
+ 2.1.4
data/Rakefile CHANGED
@@ -1 +1 @@
1
- require 'bundler/gem_tasks'
1
+ require "bundler/gem_tasks"
data/default.yml CHANGED
@@ -1,5 +1,8 @@
1
+ require:
2
+ - rubocop-performance
1
3
  inherit_from:
2
4
  - ./departments/layout.yml
5
+ - ./departments/lint.yml
3
6
  - ./departments/metrics.yml
4
7
  - ./departments/performance.yml
5
8
  - ./departments/rspec.yml
@@ -8,3 +8,9 @@ Layout/ClassStructure:
8
8
  Layout/EndAlignment:
9
9
  Enabled: true
10
10
  EnforcedStyleAlignWith: variable
11
+
12
+ Layout/LineLength:
13
+ Max: 100
14
+
15
+ Layout/SpaceAroundMethodCallOperator:
16
+ Enabled: true
@@ -0,0 +1,5 @@
1
+ Lint/RaiseException:
2
+ Enabled: true
3
+
4
+ Lint/StructNewOverride:
5
+ Enabled: true
@@ -7,9 +7,6 @@ Metrics/BlockLength:
7
7
  Metrics/ClassLength:
8
8
  Max: 200
9
9
 
10
- Metrics/LineLength:
11
- Max: 100
12
-
13
10
  Metrics/MethodLength:
14
11
  Max: 20
15
12
 
@@ -7,9 +7,21 @@ Style/ClassAndModuleChildren:
7
7
  Style/Documentation:
8
8
  Enabled: false
9
9
 
10
+ Style/ExponentialNotation:
11
+ Enabled: false
12
+
10
13
  Style/FrozenStringLiteralComment:
11
14
  Enabled: false
12
15
 
16
+ Style/HashEachMethods:
17
+ Enabled: false
18
+
19
+ Style/HashTransformKeys:
20
+ Enabled: false
21
+
22
+ Style/HashTransformValues:
23
+ Enabled: false
24
+
13
25
  Style/MethodCalledOnDoEndBlock:
14
26
  Enabled: true
15
27
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sevenwire
4
4
  module Rubocop
5
- VERSION = "1.1.3"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
@@ -22,8 +22,9 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
24
24
 
25
- spec.add_dependency "rubocop", "~> 0.62.0"
26
- spec.add_dependency "rubocop-rspec", "~> 1.31.0"
27
- spec.add_development_dependency "bundler", "~> 1.15"
28
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_dependency "rubocop", "~> 0.82.0"
26
+ spec.add_dependency "rubocop-performance", "~> 1.5"
27
+ spec.add_dependency "rubocop-rspec", "~> 1.39.0"
28
+ spec.add_development_dependency "bundler", "~> 2.1"
29
+ spec.add_development_dependency "rake", "~> 12.3"
29
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sevenwire-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Arbini
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-03-07 00:00:00.000000000 Z
12
+ date: 2020-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -17,56 +17,70 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.62.0
20
+ version: 0.82.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 0.62.0
27
+ version: 0.82.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: rubocop-performance
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.5'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.5'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: rubocop-rspec
30
44
  requirement: !ruby/object:Gem::Requirement
31
45
  requirements:
32
46
  - - "~>"
33
47
  - !ruby/object:Gem::Version
34
- version: 1.31.0
48
+ version: 1.39.0
35
49
  type: :runtime
36
50
  prerelease: false
37
51
  version_requirements: !ruby/object:Gem::Requirement
38
52
  requirements:
39
53
  - - "~>"
40
54
  - !ruby/object:Gem::Version
41
- version: 1.31.0
55
+ version: 1.39.0
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: bundler
44
58
  requirement: !ruby/object:Gem::Requirement
45
59
  requirements:
46
60
  - - "~>"
47
61
  - !ruby/object:Gem::Version
48
- version: '1.15'
62
+ version: '2.1'
49
63
  type: :development
50
64
  prerelease: false
51
65
  version_requirements: !ruby/object:Gem::Requirement
52
66
  requirements:
53
67
  - - "~>"
54
68
  - !ruby/object:Gem::Version
55
- version: '1.15'
69
+ version: '2.1'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: rake
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - "~>"
61
75
  - !ruby/object:Gem::Version
62
- version: '10.0'
76
+ version: '12.3'
63
77
  type: :development
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - "~>"
68
82
  - !ruby/object:Gem::Version
69
- version: '10.0'
83
+ version: '12.3'
70
84
  description:
71
85
  email:
72
86
  - b@sevenwire.com
@@ -86,6 +100,7 @@ files:
86
100
  - Rakefile
87
101
  - default.yml
88
102
  - departments/layout.yml
103
+ - departments/lint.yml
89
104
  - departments/metrics.yml
90
105
  - departments/performance.yml
91
106
  - departments/rspec.yml
@@ -112,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
127
  - !ruby/object:Gem::Version
113
128
  version: '0'
114
129
  requirements: []
115
- rubygems_version: 3.0.1
130
+ rubygems_version: 3.1.2
116
131
  signing_key:
117
132
  specification_version: 4
118
133
  summary: Shared Rubocop config.