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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20c776d18b6b987d6b62b70e4059353cfc33a93369c3bf054b0536b3bda9df69
4
- data.tar.gz: 63d893948684ae9a30e5ef249fa20aa94e2e8f45997dba8c645db34b6bb9f86f
3
+ metadata.gz: 27199d485e6daa78dd114e748debeffc3dade7b41f5669b504613bcbbb5d0b0f
4
+ data.tar.gz: 7ad2e6932424beec2a337a847e7766afc9cce1f21993daa300bc2b25cc5802c2
5
5
  SHA512:
6
- metadata.gz: 78582677dd14837e8b301ac1d435ac74d655db94a62dd08aa0d132958904ff9aa893179eb86e4ee18931a626ad3ebbac864fb4dbbf630d2eb8e63f5091891126
7
- data.tar.gz: cfcabe6d8169de650e13c6cb2633494f8c383b14c1e5fb16d6cf4b3eb0a0d2a85ff37aae59cd67c90bf0955d96bb8bb32d7f341d6d49b7bd5ef68e9aaf7fc443
6
+ metadata.gz: eced455a90088a9c97d51fb1d7f34ed0c874ba75717f9d5cc7c07c76f4bd5f11b3e76c6f251b249c1ec19f5bb37c7866ea113dbe3bf621c5e3d760df07472d65
7
+ data.tar.gz: a3afb7fd6541cb4ba78e911d0cb16e5c809482258317678eb86cd8c0218ded37bbfba4c224239c188fe3b3c53c2ab6ec6134e4a3a0020caf6499951ad27341c3
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.1.0
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:2.7.1
1
+ FROM ruby:3.1.0
2
2
 
3
3
  # Install the dependencies
4
4
  ADD Gemfile Gemfile.lock .ruby-version optimum-energy-rubocop.gemspec VERSION.txt /app/
data/Gemfile.lock CHANGED
@@ -1,61 +1,58 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- optimum-energy-rubocop (0.7.5)
5
- rubocop (~> 0.80)
6
- rubocop-rails (~> 2.7.1)
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 (6.0.3.2)
11
+ activesupport (7.0.1)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
- i18n (>= 0.7, < 2)
14
- minitest (~> 5.1)
15
- tzinfo (~> 1.1)
16
- zeitwerk (~> 2.2, >= 2.2.2)
17
- ast (2.4.1)
18
- concurrent-ruby (1.1.6)
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.14.1)
22
- parallel (1.19.2)
23
- parser (2.7.1.4)
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.0.0)
27
- regexp_parser (1.7.1)
28
- rexml (3.2.4)
29
- rubocop (0.88.0)
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 (>= 2.7.1.1)
30
+ parser (>= 3.0.0.0)
32
31
  rainbow (>= 2.2.2, < 4.0)
33
- regexp_parser (>= 1.7)
32
+ regexp_parser (>= 1.8, < 3.0)
34
33
  rexml
35
- rubocop-ast (>= 0.1.0, < 1.0)
34
+ rubocop-ast (>= 1.15.1, < 2.0)
36
35
  ruby-progressbar (~> 1.7)
37
- unicode-display_width (>= 1.4.0, < 2.0)
38
- rubocop-ast (0.2.0)
39
- parser (>= 2.7.0.1)
40
- rubocop-rails (2.7.1)
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 (>= 0.87.0)
44
- ruby-progressbar (1.10.1)
45
- thread_safe (0.3.6)
46
- tzinfo (1.2.7)
47
- thread_safe (~> 0.1)
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
- ruby
49
+ x86_64-darwin-19
53
50
 
54
51
  DEPENDENCIES
55
52
  optimum-energy-rubocop!
56
53
 
57
54
  RUBY VERSION
58
- ruby 2.7.1p83
55
+ ruby 3.1.0p0
59
56
 
60
57
  BUNDLED WITH
61
- 2.1.4
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
- require:
19
- - optimum-energy-rubocop
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.7.7
1
+ 0.8.0
@@ -1,2 +1,2 @@
1
1
  codeship:v2
2
- JjzJa5IPPlslZNYdlQaBuQwNLu1cNBVcIFyCqOQ1Bz9Rfmo/b673eak7fgsGFNs1cMIvp28L61IfIBKwRsy0x1lrGGIfdjo8lwIGA/JCyM5IpHrpsBazaVjaL0cHzOulATzlwQ==
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", "~> 0.80"
13
- spec.add_dependency "rubocop-rails", "~> 2.7.1"
12
+ spec.add_dependency "rubocop", "~> 1.24.1"
13
+ spec.add_dependency "rubocop-rails", "~> 2.13.1"
14
14
  end
@@ -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.7.7
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: 2020-07-30 00:00:00.000000000 Z
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: '0.80'
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: '0.80'
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.7.1
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.7.1
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.1.2
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