tt_ruby_style 0.0.4 → 0.0.9
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/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/README.md +1 -1
- data/default.yml +33 -7
- data/lib/talent_tech/style/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8dcc7290fef502332841049f807de5e0a0888bc1d5f4a8868a6bc57f1bd6b6e7
|
|
4
|
+
data.tar.gz: e1e2bb28f110e232a504ea12c1c4952cbbe1051ac203baa19a35a990c808950e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34a6c1384fc850e3cfff428574fec22d3d5486d234725b6324c0b17ed0aafb8b10fbb0d16e26c3fe80163386b68f5168316593e51bd889e9694db3168d69c572
|
|
7
|
+
data.tar.gz: 8556cb13f485261eee96bf4a13d50f4b50a59f3835cb53860a96dac2a31394729961ef3b0431362af0da2aca76c186970390ffcd320e84dc5457cfb5c6344e44
|
data/.gitignore
CHANGED
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby-2.6.5
|
data/README.md
CHANGED
data/default.yml
CHANGED
|
@@ -6,6 +6,24 @@ AllCops:
|
|
|
6
6
|
- 'db/schema.rb'
|
|
7
7
|
- 'lib/tasks/auto_annotate_models.rake'
|
|
8
8
|
- 'lib/twirp/**/*'
|
|
9
|
+
- 'lib/twirp_clients/**/*'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Rails
|
|
13
|
+
|
|
14
|
+
Rails/UnknownEnv:
|
|
15
|
+
Environments:
|
|
16
|
+
- production
|
|
17
|
+
- development
|
|
18
|
+
- test
|
|
19
|
+
- staging
|
|
20
|
+
|
|
21
|
+
# This cop checks for the use of methods which skip validations which are listed
|
|
22
|
+
# in https://guides.rubyonrails.org/active_record_validations.html#skipping-validations
|
|
23
|
+
Rails/SkipsModelValidations:
|
|
24
|
+
Enabled: false
|
|
25
|
+
|
|
26
|
+
### Style
|
|
9
27
|
|
|
10
28
|
# Eats a lot of the upper section space
|
|
11
29
|
Style/FrozenStringLiteralComment:
|
|
@@ -38,10 +56,7 @@ Style/AsciiComments:
|
|
|
38
56
|
Security/Eval:
|
|
39
57
|
Enabled: false
|
|
40
58
|
|
|
41
|
-
|
|
42
|
-
Metrics/BlockLength:
|
|
43
|
-
Exclude:
|
|
44
|
-
- spec/**/*_spec.rb
|
|
59
|
+
### Metrics
|
|
45
60
|
|
|
46
61
|
Metrics/LineLength:
|
|
47
62
|
Max: 120
|
|
@@ -61,9 +76,20 @@ Metrics/PerceivedComplexity:
|
|
|
61
76
|
Metrics/AbcSize:
|
|
62
77
|
Max: 20
|
|
63
78
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
79
|
+
Metrics/ClassLength:
|
|
80
|
+
Max: 150
|
|
81
|
+
|
|
82
|
+
# Specs size could be enormous
|
|
67
83
|
Metrics/BlockLength:
|
|
84
|
+
# Offense count: 85
|
|
85
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
|
86
|
+
# ExcludedMethods: refine
|
|
68
87
|
Max: 203
|
|
88
|
+
# Specs size could be enormous
|
|
89
|
+
Exclude:
|
|
90
|
+
- spec/**/*_spec.rb
|
|
69
91
|
|
|
92
|
+
# Enable: it { expect { code }.to change { another.code } }
|
|
93
|
+
Lint/AmbiguousBlockAssociation:
|
|
94
|
+
Exclude:
|
|
95
|
+
- "spec/**/*"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tt_ruby_style
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TalentTech Team
|
|
@@ -74,6 +74,7 @@ extra_rdoc_files: []
|
|
|
74
74
|
files:
|
|
75
75
|
- ".gitignore"
|
|
76
76
|
- ".rubocop.yml"
|
|
77
|
+
- ".ruby-version"
|
|
77
78
|
- Gemfile
|
|
78
79
|
- Makefile
|
|
79
80
|
- README.md
|
|
@@ -107,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
107
108
|
- !ruby/object:Gem::Version
|
|
108
109
|
version: '0'
|
|
109
110
|
requirements: []
|
|
110
|
-
rubygems_version: 3.
|
|
111
|
+
rubygems_version: 3.1.2
|
|
111
112
|
signing_key:
|
|
112
113
|
specification_version: 4
|
|
113
114
|
summary: TalentTech rules for rubocop
|