tt_ruby_style 0.0.5 → 0.0.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e06d98982050bbc0922531d156067eba71444a8954b243b329b36ee687738772
4
- data.tar.gz: 6ba6fbe6b16f77c7d4b7257613874dbb2379e4d3a9260a6676f45d68ef91bdd7
3
+ metadata.gz: 858ccb8f50f32f2931d2dbed0a48af263c5adf5bf982f5036507cfc3c02a6eba
4
+ data.tar.gz: 3d1619415bef086c9a85bcca0acb6b8936c14e64cea0b9527846bb0d124894dd
5
5
  SHA512:
6
- metadata.gz: 474713e938086477b2b5c51966ade5d8fd2a6079fd8e59d72c0852f33f221d5a0e408fb910add48b1bac2be2bf46c72369aac747cb00898db6b61c308fc5f72b
7
- data.tar.gz: c5c04d8675f68f7089fd16a764ccb07d3577c1ff91341a487e044009dde6a2b1d3d63b7db062d226b06b862bfb40b5138475cbd3e29279f04bb009c61a084aa3
6
+ metadata.gz: e236a699ad424354ff434f89c6ca4bef609013b6555959a27154e3ba135018a69af0c07e8f651edadbfa3be02b1c6a93e16a13794d18f77247048507477ea735
7
+ data.tar.gz: db1508f5102c4f909873251fed466beae0225fe931ad8958c47d996b9b0e8eb9952c3fa92d3cf7a7da3d60e19db0559fafa7b431731a3e4305b8bfd78baa7387
data/.gitignore CHANGED
@@ -9,6 +9,7 @@
9
9
  /tmp/
10
10
  /.idea/
11
11
  .DS_Store
12
+ /.ruby-gemset
12
13
 
13
14
  # rspec failure tracking
14
15
  .rspec_status
@@ -0,0 +1 @@
1
+ ruby-2.6.5
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # tt_ruby_style
2
2
 
3
- Percy shared style configs.
3
+ Talent Tech shared style configs.
4
4
 
5
5
  ## Installation
6
6
 
@@ -6,6 +6,27 @@ 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
+ Rails/UnknownEnv:
14
+ Environments:
15
+ - production
16
+ - development
17
+ - test
18
+ - staging
19
+
20
+ # Allow bulk table change
21
+ Rails/BulkChangeTable:
22
+ Enabled: false
23
+
24
+ # This cop checks for the use of methods which skip validations which are listed
25
+ # in https://guides.rubyonrails.org/active_record_validations.html#skipping-validations
26
+ Rails/SkipsModelValidations:
27
+ Enabled: false
28
+
29
+ ### Style
9
30
 
10
31
  # Eats a lot of the upper section space
11
32
  Style/FrozenStringLiteralComment:
@@ -38,6 +59,8 @@ Style/AsciiComments:
38
59
  Security/Eval:
39
60
  Enabled: false
40
61
 
62
+ ### Metrics
63
+
41
64
  Metrics/LineLength:
42
65
  Max: 120
43
66
 
@@ -56,6 +79,9 @@ Metrics/PerceivedComplexity:
56
79
  Metrics/AbcSize:
57
80
  Max: 20
58
81
 
82
+ Metrics/ClassLength:
83
+ Max: 150
84
+
59
85
  # Specs size could be enormous
60
86
  Metrics/BlockLength:
61
87
  # Offense count: 85
@@ -66,4 +92,7 @@ Metrics/BlockLength:
66
92
  Exclude:
67
93
  - spec/**/*_spec.rb
68
94
 
69
-
95
+ # Enable: it { expect { code }.to change { another.code } }
96
+ Lint/AmbiguousBlockAssociation:
97
+ Exclude:
98
+ - "spec/**/*"
@@ -1,5 +1,5 @@
1
1
  module TalentTech
2
2
  module Style
3
- VERSION = '0.0.5'.freeze
3
+ VERSION = '0.0.10'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tt_ruby_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - TalentTech Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2020-03-26 00:00:00.000000000 Z
@@ -66,14 +66,15 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '13.0'
69
- description:
70
- email:
69
+ description:
70
+ email:
71
71
  executables: []
72
72
  extensions: []
73
73
  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
@@ -88,11 +89,11 @@ files:
88
89
  - lib/talent_tech/style.rb
89
90
  - lib/talent_tech/style/version.rb
90
91
  - tt_ruby_style.gemspec
91
- homepage:
92
+ homepage:
92
93
  licenses: []
93
94
  metadata:
94
95
  allowed_push_host: https://rubygems.org
95
- post_install_message:
96
+ post_install_message:
96
97
  rdoc_options: []
97
98
  require_paths:
98
99
  - lib
@@ -107,8 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
108
  - !ruby/object:Gem::Version
108
109
  version: '0'
109
110
  requirements: []
110
- rubygems_version: 3.0.8
111
- signing_key:
111
+ rubygems_version: 3.1.4
112
+ signing_key:
112
113
  specification_version: 4
113
114
  summary: TalentTech rules for rubocop
114
115
  test_files: []