talkable-style 1.2024.0701 → 1.2024.1101
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/gemspec.yml +12 -0
- data/config/layout.yml +0 -3
- data/config/lint.yml +6 -0
- data/config/naming.yml +0 -2
- data/config/rails.yml +2 -0
- data/config/rspec.yml +2 -0
- data/config/style.yml +12 -1
- data/default.yml +2 -1
- data/lib/talkable/style/version.rb +1 -1
- data/shared/.pronto_spell.pws +7 -0
- data/talkable-style.gemspec +10 -7
- metadata +17 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c91e7099127c140a0343e8144402b3c3baad9d7744155f9ff39ec40b705cfd4
|
4
|
+
data.tar.gz: d178cee0b57a8f8b9b955dd5f67faa21c3307473d9739533ab91f29c272d3365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 426f0bc807f8e7dcfaccc4263ef70d8e3c81d6a09962b87aec534d3a62e222db3a3f4a8e505d1b8b7f8760cbcf340b7f915343d92db4afb950268a8bf0e05a32
|
7
|
+
data.tar.gz: 256ea1ad0c51c7618872caaba23d13042163ef10f550f296cc14392f7f5acf08701eebd9491f8ec88aa5db65682fac51821e06c0ffd1bd638e6b9e2df9ea4580
|
data/config/gemspec.yml
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
Gemspec/AddRuntimeDependency:
|
2
|
+
Enabled: true
|
3
|
+
Gemspec/DeprecatedAttributeAssignment:
|
4
|
+
Enabled: true
|
5
|
+
Gemspec/DuplicatedAssignment:
|
6
|
+
Enabled: true
|
7
|
+
Gemspec/OrderedDependencies:
|
8
|
+
Enabled: true
|
9
|
+
Gemspec/RequireMFA:
|
10
|
+
Enabled: true
|
11
|
+
Gemspec/RequiredRubyVersion:
|
12
|
+
Enabled: true
|
data/config/layout.yml
CHANGED
data/config/lint.yml
CHANGED
@@ -50,6 +50,8 @@ Lint/DuplicateRequire:
|
|
50
50
|
Enabled: true
|
51
51
|
Lint/DuplicateRescueException:
|
52
52
|
Enabled: true
|
53
|
+
Lint/DuplicateSetElement:
|
54
|
+
Enabled: true
|
53
55
|
Lint/EachWithObjectArgument:
|
54
56
|
Enabled: true
|
55
57
|
Lint/ElseLayout:
|
@@ -214,6 +216,8 @@ Lint/TrailingCommaInAttributeDeclaration:
|
|
214
216
|
Enabled: true
|
215
217
|
Lint/TripleQuotes:
|
216
218
|
Enabled: true
|
219
|
+
Lint/UnescapedBracketInRegexp:
|
220
|
+
Enabled: true
|
217
221
|
Lint/UnexpectedBlockArity:
|
218
222
|
Enabled: true
|
219
223
|
Lint/UnifiedInteger:
|
@@ -238,6 +242,8 @@ Lint/UselessAssignment:
|
|
238
242
|
Enabled: true
|
239
243
|
Lint/UselessMethodDefinition:
|
240
244
|
Enabled: true
|
245
|
+
Lint/UselessNumericOperation:
|
246
|
+
Enabled: true
|
241
247
|
Lint/UselessRescue:
|
242
248
|
Enabled: true
|
243
249
|
Lint/UselessRuby2Keywords:
|
data/config/naming.yml
CHANGED
data/config/rails.yml
CHANGED
data/config/rspec.yml
CHANGED
data/config/style.yml
CHANGED
@@ -3,6 +3,8 @@ Style/AccessorGrouping:
|
|
3
3
|
Style/Alias:
|
4
4
|
Enabled: true
|
5
5
|
EnforcedStyle: prefer_alias_method
|
6
|
+
Style/AmbiguousEndlessMethodDefinition:
|
7
|
+
Enabled: true
|
6
8
|
Style/AndOr:
|
7
9
|
Enabled: true
|
8
10
|
Style/ArgumentsForwarding:
|
@@ -54,6 +56,8 @@ Style/ColonMethodCall:
|
|
54
56
|
Enabled: true
|
55
57
|
Style/ColonMethodDefinition:
|
56
58
|
Enabled: true
|
59
|
+
Style/CombinableDefined:
|
60
|
+
Enabled: true
|
57
61
|
Style/CombinableLoops:
|
58
62
|
Enabled: true
|
59
63
|
Style/CommentAnnotation:
|
@@ -132,7 +136,7 @@ Style/HashLikeCase:
|
|
132
136
|
Enabled: true
|
133
137
|
Style/HashSyntax:
|
134
138
|
Enabled: true
|
135
|
-
EnforcedShorthandSyntax:
|
139
|
+
EnforcedShorthandSyntax: either_consistent
|
136
140
|
Style/HashTransformKeys:
|
137
141
|
Enabled: true
|
138
142
|
Style/HashTransformValues:
|
@@ -153,6 +157,8 @@ Style/InverseMethods:
|
|
153
157
|
Enabled: true
|
154
158
|
Style/InvertibleUnlessCondition:
|
155
159
|
Enabled: true
|
160
|
+
Style/KeywordArgumentsMerging:
|
161
|
+
Enabled: true
|
156
162
|
Style/KeywordParametersOrder:
|
157
163
|
Enabled: true
|
158
164
|
Style/LambdaCall:
|
@@ -291,6 +297,8 @@ Style/RedundantInitialize:
|
|
291
297
|
Enabled: true
|
292
298
|
Style/RedundantInterpolation:
|
293
299
|
Enabled: true
|
300
|
+
Style/RedundantInterpolationUnfreeze:
|
301
|
+
Enabled: true
|
294
302
|
Style/RedundantLineContinuation:
|
295
303
|
Enabled: true
|
296
304
|
Style/RedundantParentheses:
|
@@ -329,6 +337,9 @@ Style/ReturnNilInPredicateMethodDefinition:
|
|
329
337
|
Enabled: true
|
330
338
|
Style/SafeNavigation:
|
331
339
|
Enabled: true
|
340
|
+
Style/SafeNavigationChainLength:
|
341
|
+
Enabled: true
|
342
|
+
Max: 3
|
332
343
|
Style/Sample:
|
333
344
|
Enabled: true
|
334
345
|
Style/SelectByRegexp:
|
data/default.yml
CHANGED
@@ -6,7 +6,7 @@ AllCops:
|
|
6
6
|
DisplayCopNames: false
|
7
7
|
DisabledByDefault: true
|
8
8
|
TargetRubyVersion: 3.3
|
9
|
-
TargetRailsVersion: 7.
|
9
|
+
TargetRailsVersion: 7.2
|
10
10
|
ActiveSupportExtensionsEnabled: true
|
11
11
|
|
12
12
|
inherit_from:
|
@@ -14,6 +14,7 @@ inherit_from:
|
|
14
14
|
- config/capybara.yml
|
15
15
|
- config/discourse.yml
|
16
16
|
- config/factory_bot.yml
|
17
|
+
- config/gemspec.yml
|
17
18
|
- config/gitlab-security.yml
|
18
19
|
- config/graphql.yml
|
19
20
|
- config/layout.yml
|
data/shared/.pronto_spell.pws
CHANGED
@@ -79,6 +79,7 @@ backreference
|
|
79
79
|
backtraces
|
80
80
|
barby
|
81
81
|
barcode
|
82
|
+
barcodes
|
82
83
|
bellsouth
|
83
84
|
bespalova
|
84
85
|
bethany
|
@@ -150,6 +151,7 @@ crosshair
|
|
150
151
|
crossorigin
|
151
152
|
crypted
|
152
153
|
crypto
|
154
|
+
cuprite
|
153
155
|
curebit
|
154
156
|
curology
|
155
157
|
customization
|
@@ -273,6 +275,7 @@ hanna
|
|
273
275
|
hapikey
|
274
276
|
hashchange
|
275
277
|
hashie
|
278
|
+
hashmap
|
276
279
|
helvetica
|
277
280
|
heredoc
|
278
281
|
highcharts
|
@@ -477,6 +480,7 @@ oscommerce
|
|
477
480
|
otpauth
|
478
481
|
param
|
479
482
|
params
|
483
|
+
passkit
|
480
484
|
pathname
|
481
485
|
pavel
|
482
486
|
perclient
|
@@ -559,6 +563,7 @@ scard
|
|
559
563
|
scherbina
|
560
564
|
scrollbar
|
561
565
|
scrollspy
|
566
|
+
selenoid
|
562
567
|
sendgrid
|
563
568
|
sephora
|
564
569
|
sergey
|
@@ -642,6 +647,7 @@ typeof
|
|
642
647
|
tzinfo
|
643
648
|
ubercart
|
644
649
|
ukhova
|
650
|
+
unbounced
|
645
651
|
uncached
|
646
652
|
uncomment
|
647
653
|
unencrypted
|
@@ -692,6 +698,7 @@ vodafone
|
|
692
698
|
voidnew
|
693
699
|
volusion
|
694
700
|
walkthrough
|
701
|
+
walletpasses
|
695
702
|
waypoint
|
696
703
|
webhook
|
697
704
|
webhooks
|
data/talkable-style.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "Talkable style guides and shared style configs."
|
12
12
|
spec.homepage = "https://github.com/talkable/talkable-style"
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
|
14
14
|
|
15
15
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
16
16
|
spec.metadata["rubygems_mfa_required"] = "true"
|
@@ -25,15 +25,18 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
|
-
spec.add_dependency "rubocop", "~> 1.
|
28
|
+
spec.add_dependency "rubocop", "~> 1.68.0"
|
29
29
|
spec.add_dependency "rubocop-capybara", "~> 2.21.0"
|
30
|
-
spec.add_dependency "rubocop-discourse", "~> 3.8.
|
30
|
+
spec.add_dependency "rubocop-discourse", "~> 3.8.3"
|
31
31
|
spec.add_dependency "rubocop-factory_bot", "~> 2.26.1"
|
32
|
+
|
33
|
+
# TODO: Replace with https://gitlab.com/gitlab-org/ruby/gems/gitlab-styles when it supports rubocop-rspec 3.2
|
32
34
|
spec.add_dependency "rubocop-gitlab-security", "~> 0.1.1"
|
33
|
-
|
34
|
-
spec.add_dependency "rubocop-
|
35
|
-
spec.add_dependency "rubocop-
|
35
|
+
|
36
|
+
spec.add_dependency "rubocop-graphql", "~> 1.5.4"
|
37
|
+
spec.add_dependency "rubocop-performance", "~> 1.22.1"
|
38
|
+
spec.add_dependency "rubocop-rails", "~> 2.27.0"
|
36
39
|
spec.add_dependency "rubocop-rake", "~> 0.6.0"
|
37
|
-
spec.add_dependency "rubocop-rspec", "~> 3.0
|
40
|
+
spec.add_dependency "rubocop-rspec", "~> 3.2.0"
|
38
41
|
spec.add_dependency "rubocop-rspec_rails", "~> 2.30.0"
|
39
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talkable-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2024.
|
4
|
+
version: 1.2024.1101
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Talkable
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-01 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.
|
19
|
+
version: 1.68.0
|
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.
|
26
|
+
version: 1.68.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.8.
|
47
|
+
version: 3.8.3
|
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: 3.8.
|
54
|
+
version: 3.8.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-factory_bot
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,42 +86,42 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.5.
|
89
|
+
version: 1.5.4
|
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: 1.5.
|
96
|
+
version: 1.5.4
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-performance
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.22.1
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.22.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rubocop-rails
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.27.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: 2.27.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop-rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 3.0
|
145
|
+
version: 3.2.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 3.0
|
152
|
+
version: 3.2.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubocop-rspec_rails
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -181,6 +181,7 @@ files:
|
|
181
181
|
- config/capybara.yml
|
182
182
|
- config/discourse.yml
|
183
183
|
- config/factory_bot.yml
|
184
|
+
- config/gemspec.yml
|
184
185
|
- config/gitlab-security.yml
|
185
186
|
- config/graphql.yml
|
186
187
|
- config/layout.yml
|
@@ -216,14 +217,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
216
217
|
requirements:
|
217
218
|
- - ">="
|
218
219
|
- !ruby/object:Gem::Version
|
219
|
-
version:
|
220
|
+
version: 3.1.0
|
220
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
222
|
requirements:
|
222
223
|
- - ">="
|
223
224
|
- !ruby/object:Gem::Version
|
224
225
|
version: '0'
|
225
226
|
requirements: []
|
226
|
-
rubygems_version: 3.5.
|
227
|
+
rubygems_version: 3.5.22
|
227
228
|
signing_key:
|
228
229
|
specification_version: 4
|
229
230
|
summary: Talkable style guides and shared style configs.
|