carwow_rubocop 3.2.2 → 3.4.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 +25 -18
- data/carwow_rubocop.gemspec +11 -11
- data/default.yml +11 -3
- 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: affec1b7daf6f48be8e2b1d348dfa9416a9c3ba3dd006aadd66184e201518493
|
4
|
+
data.tar.gz: c9c0e4225ac1121f85859025ab9f0826476d7c88698cfb332bce9c9460e8b2fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c526a23768388e1becf47be2413e456be48e9490575ab1ead69e4555e9094913c39b9f3cf9d037d0e988f88fdde99cc26bc3cf24d57f830dbed499e0eac560b
|
7
|
+
data.tar.gz: 80ca5783aa0e29e3ff36f8da704b98476bab98f48f785059c60b6aa360818c77b5eb5a4504b092d2913a2b1aa1c9185eb5e56d024d0dce1a3e9ddcd4507b5938
|
data/Gemfile.lock
CHANGED
@@ -1,34 +1,41 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
carwow_rubocop (3.
|
5
|
-
rubocop (>= 0.
|
4
|
+
carwow_rubocop (3.4.4)
|
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.2)
|
13
|
+
parallel (1.20.1)
|
14
|
+
parser (3.0.0.0)
|
15
|
+
ast (~> 2.4.1)
|
17
16
|
rainbow (3.0.0)
|
18
|
-
rake (
|
19
|
-
|
20
|
-
|
17
|
+
rake (13.0.1)
|
18
|
+
regexp_parser (2.1.1)
|
19
|
+
rexml (3.2.4)
|
20
|
+
rubocop (1.11.0)
|
21
21
|
parallel (~> 1.10)
|
22
|
-
parser (>=
|
22
|
+
parser (>= 3.0.0.0)
|
23
23
|
rainbow (>= 2.2.2, < 4.0)
|
24
|
+
regexp_parser (>= 1.8, < 3.0)
|
25
|
+
rexml
|
26
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
24
27
|
ruby-progressbar (~> 1.7)
|
25
|
-
unicode-display_width (>= 1.4.0, <
|
26
|
-
rubocop-
|
27
|
-
|
28
|
-
rubocop-
|
29
|
-
rubocop (>= 0.
|
30
|
-
|
31
|
-
|
28
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
29
|
+
rubocop-ast (1.4.1)
|
30
|
+
parser (>= 2.7.1.5)
|
31
|
+
rubocop-performance (1.10.1)
|
32
|
+
rubocop (>= 0.90.0, < 2.0)
|
33
|
+
rubocop-ast (>= 0.4.0)
|
34
|
+
rubocop-rspec (2.2.0)
|
35
|
+
rubocop (~> 1.0)
|
36
|
+
rubocop-ast (>= 1.1.0)
|
37
|
+
ruby-progressbar (1.11.0)
|
38
|
+
unicode-display_width (2.0.0)
|
32
39
|
|
33
40
|
PLATFORMS
|
34
41
|
ruby
|
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 = Gem::Requirement.new('>= 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,7 +3,8 @@ 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/**/*'
|
@@ -28,6 +29,9 @@ Layout/MultilineMethodCallIndentation:
|
|
28
29
|
Layout/ParameterAlignment:
|
29
30
|
EnforcedStyle: with_fixed_indentation
|
30
31
|
|
32
|
+
Lint/DuplicateBranch:
|
33
|
+
IgnoreLiteralBranches: true
|
34
|
+
|
31
35
|
Metrics/BlockLength:
|
32
36
|
Exclude:
|
33
37
|
- 'config/routes.rb'
|
@@ -46,11 +50,15 @@ RSpec/ContextWording:
|
|
46
50
|
RSpec/ExampleLength:
|
47
51
|
Max: 10
|
48
52
|
|
49
|
-
Style/
|
53
|
+
Style/AsciiComments:
|
50
54
|
Enabled: false
|
51
55
|
|
52
|
-
Style/
|
56
|
+
Style/Documentation:
|
53
57
|
Enabled: false
|
54
58
|
|
55
59
|
Style/DoubleNegation:
|
56
60
|
Enabled: false
|
61
|
+
|
62
|
+
Style/FrozenStringLiteralComment:
|
63
|
+
Enabled: false
|
64
|
+
|
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.
|
4
|
+
version: 3.4.4
|
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: 2021-03-15 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: []
|