boxt_rubocop 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/config/default.yml +64 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0d430acee1e3da79ba89bd897af13d8da4e9e26afff31d667dc9c3654c45210
|
4
|
+
data.tar.gz: a3dbe02615e786cf49a624fd1c3b137c100acae48fb96ad26e024c94f1214069
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05e5f0059a8fcc21e41d545c602b6f91af010cbe9b579aab03f1be157c003a0fa55bf67a33615988b16aef19184bfda3059297c68bfd6e8c74516b238be51008
|
7
|
+
data.tar.gz: 2892f7f57a81b5bede2a39d9bb23d9c26502b486f11e05a453f9412ecd088024274d080a228e208ea387b07d32be8b0082946c6ceaf926178ff45f76ca0bb057
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
data/config/default.yml
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- "**/*/schema.rb"
|
4
|
+
- Gemfile.lock
|
5
|
+
- node_modules/**/*
|
6
|
+
- tmp/**/*
|
7
|
+
- vendor/**/*
|
8
|
+
NewCops: enable
|
9
|
+
|
10
|
+
Boxt/ApiPathFormat:
|
11
|
+
Description: 'Ensure that the API path uses kebab case'
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
Layout/ClassStructure:
|
15
|
+
Enabled: true
|
16
|
+
|
17
|
+
Layout/LineLength:
|
18
|
+
Exclude:
|
19
|
+
- config/routes.rb
|
20
|
+
- config/routes/*
|
21
|
+
Max: 120
|
22
|
+
|
23
|
+
Metrics/AbcSize:
|
24
|
+
Exclude:
|
25
|
+
- db/migrate/**/*
|
26
|
+
|
27
|
+
Metrics/BlockLength:
|
28
|
+
CountAsOne: ["array", "hash"]
|
29
|
+
Exclude:
|
30
|
+
- "*.gemspec"
|
31
|
+
- Gemfile
|
32
|
+
- config/environments/*
|
33
|
+
- config/routes.rb
|
34
|
+
- config/routes/*
|
35
|
+
- db/migrate/**/*
|
36
|
+
- lib/tasks/**/*
|
37
|
+
- spec/**/*
|
38
|
+
- test/**/*
|
39
|
+
|
40
|
+
Metrics/ClassLength:
|
41
|
+
CountAsOne: ["array", "hash"]
|
42
|
+
Exclude:
|
43
|
+
- db/migrate/**/*
|
44
|
+
- spec/**/*
|
45
|
+
- test/**/*
|
46
|
+
|
47
|
+
Metrics/MethodLength:
|
48
|
+
CountAsOne: ["array", "heredoc", "hash"]
|
49
|
+
Exclude:
|
50
|
+
- db/migrate/**/*
|
51
|
+
- spec/**/*
|
52
|
+
- test/**/*
|
53
|
+
|
54
|
+
Metrics/ModuleLength:
|
55
|
+
CountAsOne: ["array", "hash"]
|
56
|
+
|
57
|
+
Style/Documentation:
|
58
|
+
Enabled: false
|
59
|
+
|
60
|
+
Style/DoubleNegation:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
Style/StringLiterals:
|
64
|
+
EnforcedStyle: double_quotes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxt_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.56.
|
19
|
+
version: 1.56.4
|
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: 1.56.
|
26
|
+
version: 1.56.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.24.
|
89
|
+
version: 2.24.1
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.24.
|
96
|
+
version: 2.24.1
|
97
97
|
description: Base Rubocop settings for all Boxt Ruby projects
|
98
98
|
email:
|
99
99
|
- developers@boxt.co.uk
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- README.md
|
106
106
|
- Rakefile
|
107
107
|
- VERSION
|
108
|
+
- config/default.yml
|
108
109
|
- lib/boxt_rubocop.rb
|
109
110
|
- lib/rubocop/boxt.rb
|
110
111
|
- lib/rubocop/boxt/inject.rb
|