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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d622e5f383926c912f9d6ec1bc33f81e5dcd42ce745b3d50817b3f0f2e988595
4
- data.tar.gz: c2e6d058370184b0b597307fc1e101cd3f5ae0dd02cd2c8af7a935a982528113
3
+ metadata.gz: a6c2fdf428d38eddadfaa13cca2e1f5f581f96bb0ed5103e590e2a0c141bab95
4
+ data.tar.gz: fc3763fe66182de09ecf3285d20d53655e0d0cbe992792b760c707e37bc8b2ff
5
5
  SHA512:
6
- metadata.gz: 0e11a55e98de89ceba27d9b54d36941937848830a6a2f05a679643c508258c34851261aad3dd79fe59b44e4dba6e12beba319fbde3cf8d280f7f943a45a33456
7
- data.tar.gz: c976b22785d4c3a4f435158312fbf3d1d773e9cb2acee9fccb73d23b4e0e8e3f182b77c19c7f317a03ae3bd366b7f9692891cd8cebaeecbc71411a16c7f139b6
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.3)
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.0.4)
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.80.1)
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, < 1.7)
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.6.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 [default.yml](default.yml) file, be sure that the version
28
- is bumped in both the [VERSION.txt](VERSION.txt) and [Gemfile.lock](Gemfile.lock) files. If the
29
- version is not changed, repos consuming this gem will not get the updates.
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.3
1
+ 0.7.4
@@ -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.3
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-04-14 00:00:00.000000000 Z
11
+ date: 2020-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop