optimum-energy-rubocop 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +4 -3
- data/VERSION.txt +1 -1
- data/optimum_energy_rubocop.yml +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6c2fdf428d38eddadfaa13cca2e1f5f581f96bb0ed5103e590e2a0c141bab95
|
4
|
+
data.tar.gz: fc3763fe66182de09ecf3285d20d53655e0d0cbe992792b760c707e37bc8b2ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a107f66df4f727cd0edcad0bdd22ea01edd08d4779014aef8dcb0a5d32a47040c757196d733d00292d047669d410e315008fb976e24bc6fee2d0b3164d14ac3
|
7
|
+
data.tar.gz: bd536f561503e24561c70792a32e2faba8b3bbb55fbd853cec7b3826221340d463cd9f3dac831a4536cbf0947dedb5d9058584c142f8bf21f4c980f0e027e2de
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
optimum-energy-rubocop (0.7.
|
4
|
+
optimum-energy-rubocop (0.7.4)
|
5
5
|
rubocop (~> 0.80)
|
6
6
|
rubocop-rails (~> 2.4.2)
|
7
7
|
|
@@ -11,24 +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.7.
|
14
|
+
parser (2.7.1.2)
|
15
15
|
ast (~> 2.4.0)
|
16
16
|
rack (2.2.2)
|
17
17
|
rainbow (3.0.0)
|
18
18
|
rexml (3.2.4)
|
19
|
-
rubocop (0.
|
19
|
+
rubocop (0.82.0)
|
20
20
|
jaro_winkler (~> 1.5.1)
|
21
21
|
parallel (~> 1.10)
|
22
22
|
parser (>= 2.7.0.1)
|
23
23
|
rainbow (>= 2.2.2, < 4.0)
|
24
24
|
rexml
|
25
25
|
ruby-progressbar (~> 1.7)
|
26
|
-
unicode-display_width (>= 1.4.0, <
|
26
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
27
27
|
rubocop-rails (2.4.2)
|
28
28
|
rack (>= 1.1)
|
29
29
|
rubocop (>= 0.72.0)
|
30
30
|
ruby-progressbar (1.10.1)
|
31
|
-
unicode-display_width (1.
|
31
|
+
unicode-display_width (1.7.0)
|
32
32
|
|
33
33
|
PLATFORMS
|
34
34
|
ruby
|
data/README.md
CHANGED
@@ -24,9 +24,10 @@ inherit_from:
|
|
24
24
|
|
25
25
|
## Updating This Gem
|
26
26
|
|
27
|
-
After making changes to the rules in the [
|
28
|
-
is bumped in both the [VERSION.txt](VERSION.txt) and
|
29
|
-
version is not changed, repos consuming this gem will not
|
27
|
+
After making changes to the rules in the [optimum_energy_rubocop.yml](optimum_energy_rubocop.yml)
|
28
|
+
file, be sure that the version is bumped in both the [VERSION.txt](VERSION.txt) and
|
29
|
+
[Gemfile.lock](Gemfile.lock) files. If the version is not changed, repos consuming this gem will not
|
30
|
+
get the updates.
|
30
31
|
|
31
32
|
## Running Rubocop
|
32
33
|
|
data/VERSION.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.4
|
data/optimum_energy_rubocop.yml
CHANGED
@@ -79,6 +79,9 @@ Layout/MultilineOperationIndentation:
|
|
79
79
|
Layout/SpaceInsideArrayLiteralBrackets:
|
80
80
|
EnforcedStyle: space
|
81
81
|
|
82
|
+
Layout/SpaceAroundMethodCallOperator:
|
83
|
+
Enabled: true
|
84
|
+
|
82
85
|
Layout/SpaceAroundOperators:
|
83
86
|
AllowForAlignment: false
|
84
87
|
|
@@ -92,11 +95,17 @@ Layout/SpaceInsideStringInterpolation:
|
|
92
95
|
# LINT #
|
93
96
|
########
|
94
97
|
|
98
|
+
Lint/RaiseException:
|
99
|
+
Enabled: true
|
100
|
+
|
95
101
|
# Rubocop has a nasty habit of removing inline rule declarations, even when they're necessary. This
|
96
102
|
# disables that behavior.
|
97
103
|
Lint/RedundantCopEnableDirective:
|
98
104
|
AutoCorrect: false
|
99
105
|
|
106
|
+
Lint/StructNewOverride:
|
107
|
+
Enabled: true
|
108
|
+
|
100
109
|
Lint/UnusedBlockArgument:
|
101
110
|
AutoCorrect: false
|
102
111
|
|
@@ -199,6 +208,9 @@ Style/EachWithObject:
|
|
199
208
|
Style/EmptyMethod:
|
200
209
|
AutoCorrect: false
|
201
210
|
|
211
|
+
Style/ExponentialNotation:
|
212
|
+
AutoCorrect: true
|
213
|
+
|
202
214
|
Style/FormatString:
|
203
215
|
EnforcedStyle: percent
|
204
216
|
|
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.4
|
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-
|
11
|
+
date: 2020-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|