boxt_rubocop 0.0.40 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/default.yml +17 -0
- data/rails.yml +2 -0
- data/rspec.yml +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e96f314026104893b461b70ec41d928bd73b9d8ebe502ea634b820e9fc84829
|
|
4
|
+
data.tar.gz: 0427f624d0a77b95e68d4ba28284ceb82aabbb8c897682a15c40effd97fedb74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d24d184e62bbe367994c27911b1c51589e699bf06ecec85ca2f6b5ab9d83380141de3b4d216d7a36ac258c4d9451ad53045c955bb52b9dc820ca887db40d083a
|
|
7
|
+
data.tar.gz: 1abf75870417e9c5b274ceb7c6c908494efaf29b67d3a498c7d25577692c9fa79c8c1cba02eeea591da3c7edad4853226c3fabc48d19e5ef051601b9cac888bb
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.41
|
data/default.yml
CHANGED
|
@@ -6,38 +6,55 @@ AllCops:
|
|
|
6
6
|
- tmp/**/*
|
|
7
7
|
- vendor/**/*
|
|
8
8
|
NewCops: enable
|
|
9
|
+
|
|
9
10
|
Layout/ClassStructure:
|
|
10
11
|
Enabled: true
|
|
12
|
+
|
|
11
13
|
Layout/LineLength:
|
|
12
14
|
Exclude:
|
|
13
15
|
- config/routes.rb
|
|
14
16
|
- config/routes/*
|
|
15
17
|
Max: 120
|
|
18
|
+
|
|
16
19
|
Metrics/AbcSize:
|
|
17
20
|
Exclude:
|
|
18
21
|
- db/migrate/**/*
|
|
22
|
+
|
|
19
23
|
Metrics/BlockLength:
|
|
24
|
+
CountAsOne: ["array", "hash"]
|
|
20
25
|
Exclude:
|
|
21
26
|
- "*.gemspec"
|
|
22
27
|
- Gemfile
|
|
28
|
+
- config/environments/*
|
|
23
29
|
- config/routes.rb
|
|
24
30
|
- config/routes/*
|
|
25
31
|
- db/migrate/**/*
|
|
32
|
+
- lib/tasks/**/*
|
|
26
33
|
- spec/**/*
|
|
27
34
|
- test/**/*
|
|
35
|
+
|
|
28
36
|
Metrics/ClassLength:
|
|
37
|
+
CountAsOne: ["array", "hash"]
|
|
29
38
|
Exclude:
|
|
30
39
|
- db/migrate/**/*
|
|
31
40
|
- spec/**/*
|
|
32
41
|
- test/**/*
|
|
42
|
+
|
|
33
43
|
Metrics/MethodLength:
|
|
44
|
+
CountAsOne: ["array", "heredoc", "hash"]
|
|
34
45
|
Exclude:
|
|
35
46
|
- db/migrate/**/*
|
|
36
47
|
- spec/**/*
|
|
37
48
|
- test/**/*
|
|
49
|
+
|
|
50
|
+
Metrics/ModuleLength:
|
|
51
|
+
CountAsOne: ["array", "hash"]
|
|
52
|
+
|
|
38
53
|
Style/Documentation:
|
|
39
54
|
Enabled: false
|
|
55
|
+
|
|
40
56
|
Style/DoubleNegation:
|
|
41
57
|
Enabled: false
|
|
58
|
+
|
|
42
59
|
Style/StringLiterals:
|
|
43
60
|
EnforcedStyle: double_quotes
|
data/rails.yml
CHANGED
data/rspec.yml
CHANGED
|
@@ -3,13 +3,26 @@
|
|
|
3
3
|
RSpec/DescribeClass:
|
|
4
4
|
Exclude:
|
|
5
5
|
- spec/tasks/**/*
|
|
6
|
+
|
|
6
7
|
# Avoid opening modules and defining specs within them
|
|
7
8
|
RSpec/DescribedClassModuleWrapping:
|
|
8
9
|
Enabled: true
|
|
10
|
+
|
|
9
11
|
# This is to prevent Rubocop from bugging on a spec helper that doesn't contain an example, which the support ones don't
|
|
10
12
|
RSpec/LeadingSubject:
|
|
11
13
|
Exclude:
|
|
12
14
|
- spec/support
|
|
15
|
+
|
|
16
|
+
# Allow arrays and hashes to be counted as one line in examples
|
|
17
|
+
RSpec/ExampleLength:
|
|
18
|
+
CountAsOne: ["array", "hash"]
|
|
19
|
+
|
|
20
|
+
# Because 5 is a bit mean
|
|
21
|
+
RSpec/MultipleMemoizedHelpers:
|
|
22
|
+
Max: 10
|
|
23
|
+
|
|
13
24
|
# Allow there to be a max of 4 example groups deep in Rspec tests
|
|
14
25
|
RSpec/NestedGroups:
|
|
15
26
|
Max: 4
|
|
27
|
+
|
|
28
|
+
|
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: 0.0.
|
|
4
|
+
version: 0.0.41
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Boxt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-07-
|
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|