optimum-energy-rubocop 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Dockerfile +1 -1
- data/Gemfile.lock +13 -11
- data/VERSION.txt +1 -1
- data/optimum-energy-rubocop.gemspec +2 -2
- data/optimum_energy_rubocop.yml +20 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f0cd9f0166ac4ace7b49f917a78c87538580cf14af2bf62b72502b92378ca33
|
4
|
+
data.tar.gz: 2d7667bd018bc5ef9eebb4e8b1ae9b36e75a0151b9e788ca8692a91540f96595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7889df2b5efca3031974f35aa70d4b326cab878336806396ebaace3a6223f05698637fffcc98e533acdf25399af77da5fe51d79fe83d827cb23000436ecd50e2
|
7
|
+
data.tar.gz: 7bbb608c029580ed08abb6bd2707d910ab444511c5545ba57d198582e97310dab43a7911463d763abc354f6696e6c1db18eaa68d7c5dcc197d05aa38ce444190
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.0
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
optimum-energy-rubocop (0.7.
|
5
|
-
rubocop (~> 0.
|
6
|
-
rubocop-rails (~> 2.4.
|
4
|
+
optimum-energy-rubocop (0.7.2)
|
5
|
+
rubocop (~> 0.80)
|
6
|
+
rubocop-rails (~> 2.4.2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -11,22 +11,24 @@ GEM
|
|
11
11
|
ast (2.4.0)
|
12
12
|
jaro_winkler (1.5.4)
|
13
13
|
parallel (1.19.1)
|
14
|
-
parser (2.
|
14
|
+
parser (2.7.0.2)
|
15
15
|
ast (~> 2.4.0)
|
16
|
-
rack (2.
|
16
|
+
rack (2.2.2)
|
17
17
|
rainbow (3.0.0)
|
18
|
-
|
18
|
+
rexml (3.2.4)
|
19
|
+
rubocop (0.80.0)
|
19
20
|
jaro_winkler (~> 1.5.1)
|
20
21
|
parallel (~> 1.10)
|
21
|
-
parser (>= 2.
|
22
|
+
parser (>= 2.7.0.1)
|
22
23
|
rainbow (>= 2.2.2, < 4.0)
|
24
|
+
rexml
|
23
25
|
ruby-progressbar (~> 1.7)
|
24
26
|
unicode-display_width (>= 1.4.0, < 1.7)
|
25
|
-
rubocop-rails (2.4.
|
27
|
+
rubocop-rails (2.4.2)
|
26
28
|
rack (>= 1.1)
|
27
29
|
rubocop (>= 0.72.0)
|
28
30
|
ruby-progressbar (1.10.1)
|
29
|
-
unicode-display_width (1.6.
|
31
|
+
unicode-display_width (1.6.1)
|
30
32
|
|
31
33
|
PLATFORMS
|
32
34
|
ruby
|
@@ -35,7 +37,7 @@ DEPENDENCIES
|
|
35
37
|
optimum-energy-rubocop!
|
36
38
|
|
37
39
|
RUBY VERSION
|
38
|
-
ruby 2.
|
40
|
+
ruby 2.7.0p0
|
39
41
|
|
40
42
|
BUNDLED WITH
|
41
|
-
1.
|
43
|
+
2.1.4
|
data/VERSION.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.2
|
@@ -9,6 +9,6 @@ Gem::Specification.new do |spec|
|
|
9
9
|
|
10
10
|
spec.files = `git ls-files -z`.split("\x0")
|
11
11
|
|
12
|
-
spec.add_dependency "rubocop", "~> 0.
|
13
|
-
spec.add_dependency "rubocop-rails", "~> 2.4.
|
12
|
+
spec.add_dependency "rubocop", "~> 0.80"
|
13
|
+
spec.add_dependency "rubocop-rails", "~> 2.4.2"
|
14
14
|
end
|
data/optimum_energy_rubocop.yml
CHANGED
@@ -91,12 +91,17 @@ Layout/SpaceInsideStringInterpolation:
|
|
91
91
|
########
|
92
92
|
# LINT #
|
93
93
|
########
|
94
|
-
|
94
|
+
|
95
95
|
# Rubocop has a nasty habit of removing inline rule declarations, even when they're necessary. This
|
96
96
|
# disables that behavior.
|
97
|
-
# TODO: Push this rule back to the source.
|
98
97
|
Lint/RedundantCopEnableDirective:
|
99
|
-
|
98
|
+
AutoCorrect: false
|
99
|
+
|
100
|
+
Lint/UnusedBlockArgument:
|
101
|
+
AutoCorrect: false
|
102
|
+
|
103
|
+
Lint/UnusedMethodArgument:
|
104
|
+
AutoCorrect: false
|
100
105
|
|
101
106
|
###########
|
102
107
|
# METRICS #
|
@@ -188,6 +193,9 @@ Style/Documentation:
|
|
188
193
|
Style/DoubleNegation:
|
189
194
|
Enabled: false
|
190
195
|
|
196
|
+
Style/EmptyMethod:
|
197
|
+
AutoCorrect: false
|
198
|
+
|
191
199
|
Style/FormatString:
|
192
200
|
EnforcedStyle: percent
|
193
201
|
|
@@ -196,6 +204,15 @@ Style/FormatString:
|
|
196
204
|
Style/FrozenStringLiteralComment:
|
197
205
|
EnforcedStyle: never
|
198
206
|
|
207
|
+
Style/HashEachMethods:
|
208
|
+
Enabled: true
|
209
|
+
|
210
|
+
Style/HashTransformKeys:
|
211
|
+
Enabled: true
|
212
|
+
|
213
|
+
Style/HashTransformValues:
|
214
|
+
Enabled: true
|
215
|
+
|
199
216
|
Style/MultilineBlockChain:
|
200
217
|
Enabled: false
|
201
218
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optimum-energy-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Optimum Energy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.80'
|
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.
|
26
|
+
version: '0.80'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.4.
|
33
|
+
version: 2.4.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: 2.4.
|
40
|
+
version: 2.4.2
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
executables: []
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
|
-
rubygems_version: 3.
|
81
|
+
rubygems_version: 3.1.2
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: The shared Rubocop configuration for Optimum Energy
|