carwow_rubocop 3.1.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +24 -18
- data/carwow_rubocop.gemspec +11 -11
- data/default.yml +16 -13
- data/lib/carwow_rubocop/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aca908c948096d71e8112457e5552cd13f1553e72a77034497d4b8805615dad3
|
4
|
+
data.tar.gz: f9f686dcd7332b9af07cd27ee34a1e4a1f49233b0f0362bab723ac5fa2a17c45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 616660f882870921fdb823e752a78ea035b139bb7a0590a5d18f98b159c6d175183b36517656760c3f1b2caf27b19647cc941666e4d1df0bb3026bf9e37fa74c
|
7
|
+
data.tar.gz: 6aa34ceb8bad8d55a98d33fbd8292837bc3b92935588f8ab9ba6ca124db14d7fa03faea41c2d640ae54879d12158a8cdf656ad68350da397890e886d174872cc
|
data/Gemfile.lock
CHANGED
@@ -1,34 +1,40 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
carwow_rubocop (3.1
|
5
|
-
rubocop (>= 0.
|
4
|
+
carwow_rubocop (3.4.1)
|
5
|
+
rubocop (>= 0.93)
|
6
6
|
rubocop-performance
|
7
7
|
rubocop-rspec
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
ast (2.4.
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
ast (~> 2.4.0)
|
12
|
+
ast (2.4.1)
|
13
|
+
parallel (1.19.2)
|
14
|
+
parser (2.7.2.0)
|
15
|
+
ast (~> 2.4.1)
|
17
16
|
rainbow (3.0.0)
|
18
|
-
rake (
|
19
|
-
|
20
|
-
|
17
|
+
rake (13.0.1)
|
18
|
+
regexp_parser (1.8.2)
|
19
|
+
rexml (3.2.4)
|
20
|
+
rubocop (0.93.1)
|
21
21
|
parallel (~> 1.10)
|
22
|
-
parser (>= 2.
|
22
|
+
parser (>= 2.7.1.5)
|
23
23
|
rainbow (>= 2.2.2, < 4.0)
|
24
|
+
regexp_parser (>= 1.8)
|
25
|
+
rexml
|
26
|
+
rubocop-ast (>= 0.6.0)
|
24
27
|
ruby-progressbar (~> 1.7)
|
25
|
-
unicode-display_width (>= 1.4.0, <
|
26
|
-
rubocop-
|
27
|
-
|
28
|
-
rubocop-
|
29
|
-
rubocop (>= 0.
|
28
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
29
|
+
rubocop-ast (0.8.0)
|
30
|
+
parser (>= 2.7.1.5)
|
31
|
+
rubocop-performance (1.8.1)
|
32
|
+
rubocop (>= 0.87.0)
|
33
|
+
rubocop-ast (>= 0.4.0)
|
34
|
+
rubocop-rspec (1.43.2)
|
35
|
+
rubocop (~> 0.87)
|
30
36
|
ruby-progressbar (1.10.1)
|
31
|
-
unicode-display_width (1.
|
37
|
+
unicode-display_width (1.7.0)
|
32
38
|
|
33
39
|
PLATFORMS
|
34
40
|
ruby
|
@@ -39,4 +45,4 @@ DEPENDENCIES
|
|
39
45
|
rake
|
40
46
|
|
41
47
|
BUNDLED WITH
|
42
|
-
2.
|
48
|
+
2.1.4
|
data/carwow_rubocop.gemspec
CHANGED
@@ -3,15 +3,15 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
require 'carwow_rubocop/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name
|
7
|
-
spec.version
|
8
|
-
spec.
|
9
|
-
spec.
|
10
|
-
|
11
|
-
spec.summary
|
12
|
-
spec.description
|
13
|
-
spec.homepage
|
14
|
-
spec.license
|
6
|
+
spec.name = 'carwow_rubocop'
|
7
|
+
spec.version = CarwowRubocop::VERSION
|
8
|
+
spec.required_ruby_version = '>= 2.7.0'
|
9
|
+
spec.authors = ['carwow Developers']
|
10
|
+
spec.email = ['developers@carwow.co.uk']
|
11
|
+
spec.summary = "carwow's rubocop configuration"
|
12
|
+
spec.description = "All carwow's ruby projects will follow these rules"
|
13
|
+
spec.homepage = 'https://github.com/carwow/carwow_rubocop'
|
14
|
+
spec.license = 'MIT'
|
15
15
|
|
16
16
|
if spec.respond_to?(:metadata)
|
17
17
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
|
30
30
|
spec.add_development_dependency 'bundler'
|
31
31
|
spec.add_development_dependency 'rake'
|
32
|
-
spec.add_dependency 'rubocop', '>= 0.
|
33
|
-
spec.add_dependency 'rubocop-rspec'
|
32
|
+
spec.add_dependency 'rubocop', '>= 0.93'
|
34
33
|
spec.add_dependency 'rubocop-performance'
|
34
|
+
spec.add_dependency 'rubocop-rspec'
|
35
35
|
end
|
data/default.yml
CHANGED
@@ -3,21 +3,22 @@ require:
|
|
3
3
|
- rubocop-performance
|
4
4
|
|
5
5
|
AllCops:
|
6
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.7
|
7
|
+
NewCops: enable
|
7
8
|
Exclude:
|
8
9
|
- 'Rakefile'
|
9
10
|
- 'vendor/**/*'
|
10
|
-
- 'db
|
11
|
+
- 'db/*schema*'
|
11
12
|
- 'node_modules/**/*'
|
12
13
|
- 'bin/**/*'
|
13
14
|
- 'tmp/**/*'
|
14
15
|
- 'public/**/*'
|
15
16
|
|
16
|
-
Layout/
|
17
|
+
Layout/ArgumentAlignment:
|
17
18
|
EnforcedStyle: with_fixed_indentation
|
18
19
|
|
19
|
-
Layout/
|
20
|
-
|
20
|
+
Layout/LineLength:
|
21
|
+
Max: 120
|
21
22
|
|
22
23
|
Layout/MultilineMethodCallBraceLayout:
|
23
24
|
EnforcedStyle: new_line
|
@@ -25,6 +26,9 @@ Layout/MultilineMethodCallBraceLayout:
|
|
25
26
|
Layout/MultilineMethodCallIndentation:
|
26
27
|
EnforcedStyle: indented
|
27
28
|
|
29
|
+
Layout/ParameterAlignment:
|
30
|
+
EnforcedStyle: with_fixed_indentation
|
31
|
+
|
28
32
|
Metrics/BlockLength:
|
29
33
|
Exclude:
|
30
34
|
- 'config/routes.rb'
|
@@ -32,13 +36,17 @@ Metrics/BlockLength:
|
|
32
36
|
- '**/*.rake'
|
33
37
|
- '**/*.gemspec'
|
34
38
|
- 'config/environments/*.rb'
|
35
|
-
|
36
|
-
Metrics/LineLength:
|
37
|
-
Max: 120
|
39
|
+
- 'config/initializers/*.rb'
|
38
40
|
|
39
41
|
Naming/RescuedExceptionsVariableName:
|
40
42
|
Enabled: false
|
41
43
|
|
44
|
+
RSpec/ContextWording:
|
45
|
+
Enabled: False
|
46
|
+
|
47
|
+
RSpec/ExampleLength:
|
48
|
+
Max: 10
|
49
|
+
|
42
50
|
Style/Documentation:
|
43
51
|
Enabled: false
|
44
52
|
|
@@ -48,8 +56,3 @@ Style/FrozenStringLiteralComment:
|
|
48
56
|
Style/DoubleNegation:
|
49
57
|
Enabled: false
|
50
58
|
|
51
|
-
RSpec/ContextWording:
|
52
|
-
Enabled: False
|
53
|
-
|
54
|
-
RSpec/ExampleLength:
|
55
|
-
Max: 10
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carwow_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1
|
4
|
+
version: 3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- carwow Developers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,16 +44,16 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
47
|
+
version: '0.93'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
54
|
+
version: '0.93'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: rubocop-
|
56
|
+
name: rubocop-performance
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: rubocop-
|
70
|
+
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -105,7 +105,7 @@ licenses:
|
|
105
105
|
- MIT
|
106
106
|
metadata:
|
107
107
|
allowed_push_host: https://rubygems.org
|
108
|
-
post_install_message:
|
108
|
+
post_install_message:
|
109
109
|
rdoc_options: []
|
110
110
|
require_paths:
|
111
111
|
- lib
|
@@ -113,15 +113,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
116
|
+
version: 2.7.0
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
119
|
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.
|
124
|
-
signing_key:
|
123
|
+
rubygems_version: 3.1.4
|
124
|
+
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: carwow's rubocop configuration
|
127
127
|
test_files: []
|