optimum-energy-rubocop 0.7.7 → 0.8.0
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 +32 -35
- data/README.md +2 -5
- data/VERSION.txt +1 -1
- data/deployment.env.encrypted +1 -1
- data/optimum-energy-rubocop.gemspec +2 -2
- data/optimum_energy_rubocop.yml +14 -0
- 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: 27199d485e6daa78dd114e748debeffc3dade7b41f5669b504613bcbbb5d0b0f
|
4
|
+
data.tar.gz: 7ad2e6932424beec2a337a847e7766afc9cce1f21993daa300bc2b25cc5802c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eced455a90088a9c97d51fb1d7f34ed0c874ba75717f9d5cc7c07c76f4bd5f11b3e76c6f251b249c1ec19f5bb37c7866ea113dbe3bf621c5e3d760df07472d65
|
7
|
+
data.tar.gz: a3afb7fd6541cb4ba78e911d0cb16e5c809482258317678eb86cd8c0218ded37bbfba4c224239c188fe3b3c53c2ab6ec6134e4a3a0020caf6499951ad27341c3
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.1.0
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,61 +1,58 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
optimum-energy-rubocop (0.
|
5
|
-
rubocop (~>
|
6
|
-
rubocop-rails (~> 2.
|
4
|
+
optimum-energy-rubocop (0.8.0)
|
5
|
+
rubocop (~> 1.24.1)
|
6
|
+
rubocop-rails (~> 2.13.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
11
|
+
activesupport (7.0.1)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>=
|
14
|
-
minitest (
|
15
|
-
tzinfo (~>
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
i18n (1.8.5)
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
ast (2.4.2)
|
17
|
+
concurrent-ruby (1.1.9)
|
18
|
+
i18n (1.8.11)
|
20
19
|
concurrent-ruby (~> 1.0)
|
21
|
-
minitest (5.
|
22
|
-
parallel (1.
|
23
|
-
parser (
|
20
|
+
minitest (5.15.0)
|
21
|
+
parallel (1.21.0)
|
22
|
+
parser (3.1.0.0)
|
24
23
|
ast (~> 2.4.1)
|
25
24
|
rack (2.2.3)
|
26
|
-
rainbow (3.
|
27
|
-
regexp_parser (
|
28
|
-
rexml (3.2.
|
29
|
-
rubocop (
|
25
|
+
rainbow (3.1.1)
|
26
|
+
regexp_parser (2.2.0)
|
27
|
+
rexml (3.2.5)
|
28
|
+
rubocop (1.24.1)
|
30
29
|
parallel (~> 1.10)
|
31
|
-
parser (>=
|
30
|
+
parser (>= 3.0.0.0)
|
32
31
|
rainbow (>= 2.2.2, < 4.0)
|
33
|
-
regexp_parser (>= 1.
|
32
|
+
regexp_parser (>= 1.8, < 3.0)
|
34
33
|
rexml
|
35
|
-
rubocop-ast (>=
|
34
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
36
35
|
ruby-progressbar (~> 1.7)
|
37
|
-
unicode-display_width (>= 1.4.0, <
|
38
|
-
rubocop-ast (
|
39
|
-
parser (>=
|
40
|
-
rubocop-rails (2.
|
36
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
37
|
+
rubocop-ast (1.15.1)
|
38
|
+
parser (>= 3.0.1.1)
|
39
|
+
rubocop-rails (2.13.1)
|
41
40
|
activesupport (>= 4.2.0)
|
42
41
|
rack (>= 1.1)
|
43
|
-
rubocop (>=
|
44
|
-
ruby-progressbar (1.
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
unicode-display_width (1.7.0)
|
49
|
-
zeitwerk (2.4.0)
|
42
|
+
rubocop (>= 1.7.0, < 2.0)
|
43
|
+
ruby-progressbar (1.11.0)
|
44
|
+
tzinfo (2.0.4)
|
45
|
+
concurrent-ruby (~> 1.0)
|
46
|
+
unicode-display_width (2.1.0)
|
50
47
|
|
51
48
|
PLATFORMS
|
52
|
-
|
49
|
+
x86_64-darwin-19
|
53
50
|
|
54
51
|
DEPENDENCIES
|
55
52
|
optimum-energy-rubocop!
|
56
53
|
|
57
54
|
RUBY VERSION
|
58
|
-
ruby
|
55
|
+
ruby 3.1.0p0
|
59
56
|
|
60
57
|
BUNDLED WITH
|
61
|
-
2.
|
58
|
+
2.3.3
|
data/README.md
CHANGED
@@ -15,11 +15,8 @@ gem 'optimum-energy-rubocop'
|
|
15
15
|
Create a `.rubocop.yml` file and add this configuration.
|
16
16
|
|
17
17
|
```
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
inherit_from:
|
22
|
-
- optimum_energy_rubocop.yml
|
18
|
+
inherit_gem:
|
19
|
+
optimum-energy-rubocop: optimum_energy_rubocop.yml
|
23
20
|
```
|
24
21
|
|
25
22
|
## Updating This Gem
|
data/VERSION.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/deployment.env.encrypted
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
codeship:v2
|
2
|
-
|
2
|
+
IKBJYRm4ObjGLsvovpL6Ov+IwE3JgQtN2ckNn2AbftoBWh9gEKXDRD9LPhZfKPiaDTNrUWIvNFKNqGI6eMNm6r5Uu/1iHZdnmwoP5t9pv+4t8S+dYsSfzNhvJ9psisoN1hTT/8+CtxyZ13BEhS4ejF2aUZ+8IePxKLr+NTk=
|
@@ -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", "~>
|
13
|
-
spec.add_dependency "rubocop-rails", "~> 2.
|
12
|
+
spec.add_dependency "rubocop", "~> 1.24.1"
|
13
|
+
spec.add_dependency "rubocop-rails", "~> 2.13.1"
|
14
14
|
end
|
data/optimum_energy_rubocop.yml
CHANGED
@@ -13,6 +13,16 @@ AllCops:
|
|
13
13
|
Exclude:
|
14
14
|
- 'db/schema.rb'
|
15
15
|
- 'bin/*'
|
16
|
+
- 'node_modules/**/*'
|
17
|
+
- 'vendor/**/*'
|
18
|
+
- 'tmp/**/*'
|
19
|
+
|
20
|
+
##########
|
21
|
+
# GEMSPEC #
|
22
|
+
##########
|
23
|
+
|
24
|
+
Gemspec/RequiredRubyVersion:
|
25
|
+
Enabled: false
|
16
26
|
|
17
27
|
##########
|
18
28
|
# LAYOUT #
|
@@ -78,6 +88,7 @@ Layout/LineLength:
|
|
78
88
|
Max: 100
|
79
89
|
AllowHeredoc: false
|
80
90
|
AllowURI: false
|
91
|
+
AutoCorrect: true
|
81
92
|
|
82
93
|
Layout/MultilineMethodCallIndentation:
|
83
94
|
EnforcedStyle: indented
|
@@ -211,6 +222,9 @@ Rails/TimeZone:
|
|
211
222
|
Style/AccessModifierDeclarations:
|
212
223
|
EnforcedStyle: inline
|
213
224
|
|
225
|
+
Style/ClassAndModuleChildren:
|
226
|
+
Enabled: false
|
227
|
+
|
214
228
|
Style/ConditionalAssignment:
|
215
229
|
EnforcedStyle: assign_to_condition
|
216
230
|
|
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.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Optimum Energy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-14 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:
|
19
|
+
version: 1.24.1
|
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:
|
26
|
+
version: 1.24.1
|
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.
|
33
|
+
version: 2.13.1
|
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.
|
40
|
+
version: 2.13.1
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
executables: []
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
82
|
+
rubygems_version: 3.3.3
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: The shared Rubocop configuration for Optimum Energy
|