carwow_rubocop 3.2.0 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -19
- data/carwow_rubocop.gemspec +11 -11
- data/default.yml +10 -4
- 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: c5eb0655bbee6e4a19a6f6768ed3bfdcbb7afd7afc8b0454141235880b3a85c2
|
4
|
+
data.tar.gz: c16fa6a575e36249abe3fd0b26772bbdadb5107acd058faa2e3e69a708dfaa5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c521fe82bd262c587430af64a1c5f94f2489cbdebfe3c34a9149431b758aca78c1770484433c05f0101b5c66ecbd5244b13dca1233d439386b6e21584d5650aa
|
7
|
+
data.tar.gz: 1d68d6e5cd09c78b1173a572e6b11c30f3ca4a70835d8e0a9f3934f9ba5a2379f62e99e1007c41a1f7fd85a962e5e9792eb8b35ab8285878455b3fa0ef2ab518
|
data/Gemfile.lock
CHANGED
@@ -1,34 +1,41 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
carwow_rubocop (3.2
|
5
|
-
rubocop (>= 0.
|
4
|
+
carwow_rubocop (3.4.2)
|
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.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.0.3)
|
19
|
+
rexml (3.2.4)
|
20
|
+
rubocop (1.8.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.0)
|
30
|
+
parser (>= 2.7.1.5)
|
31
|
+
rubocop-performance (1.9.2)
|
32
|
+
rubocop (>= 0.90.0, < 2.0)
|
33
|
+
rubocop-ast (>= 0.4.0)
|
34
|
+
rubocop-rspec (2.1.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
|
@@ -39,4 +46,4 @@ DEPENDENCIES
|
|
39
46
|
rake
|
40
47
|
|
41
48
|
BUNDLED WITH
|
42
|
-
2.1.
|
49
|
+
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,11 +3,12 @@ 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/**/*'
|
@@ -35,6 +36,7 @@ Metrics/BlockLength:
|
|
35
36
|
- '**/*.rake'
|
36
37
|
- '**/*.gemspec'
|
37
38
|
- 'config/environments/*.rb'
|
39
|
+
- 'config/initializers/*.rb'
|
38
40
|
|
39
41
|
Naming/RescuedExceptionsVariableName:
|
40
42
|
Enabled: false
|
@@ -45,11 +47,15 @@ RSpec/ContextWording:
|
|
45
47
|
RSpec/ExampleLength:
|
46
48
|
Max: 10
|
47
49
|
|
48
|
-
Style/
|
50
|
+
Style/AsciiComments:
|
49
51
|
Enabled: false
|
50
52
|
|
51
|
-
Style/
|
53
|
+
Style/Documentation:
|
52
54
|
Enabled: false
|
53
55
|
|
54
56
|
Style/DoubleNegation:
|
55
57
|
Enabled: false
|
58
|
+
|
59
|
+
Style/FrozenStringLiteralComment:
|
60
|
+
Enabled: false
|
61
|
+
|
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.2
|
4
|
+
version: 3.4.2
|
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-01-07 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: []
|