platform-style 0.4.0 → 0.5.0
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/.tool-versions +1 -0
- data/Gemfile.lock +54 -37
- data/default.yml +19 -4
- data/lib/platform/style/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4b5346de376088e65be02255f0737234a38d292d92105f2c5c2067314634427
|
4
|
+
data.tar.gz: ccf49f2143d9d5f947f2c38e081b91192e4c3a6bcd6a7111a17ed74daf90fcce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33aa715607fff50d2709aa4c334692263fbdca16e15d8cda6eb5d7666503acf97d5d475348df2f71e75626dbdbb1aefc7354d9a23554e6af2f8cd85a8616cb95
|
7
|
+
data.tar.gz: f1884832e5c84414261ac3c4676c4833a34fb87799894e3c15c82ff0cf2315c15c8089593f81eff742bf43dabc47c46e565c23e7802c1889965798f5332c9939
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.3.7
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
platform-style (0.
|
4
|
+
platform-style (0.5.0)
|
5
5
|
rubocop (>= 1.59)
|
6
6
|
rubocop-factory_bot (>= 2.24)
|
7
7
|
rubocop-graphql (>= 0.19)
|
@@ -13,8 +13,9 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activesupport (
|
16
|
+
activesupport (8.0.2)
|
17
17
|
base64
|
18
|
+
benchmark (>= 0.3)
|
18
19
|
bigdecimal
|
19
20
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
20
21
|
connection_pool (>= 2.2.5)
|
@@ -24,64 +25,80 @@ GEM
|
|
24
25
|
minitest (>= 5.1)
|
25
26
|
securerandom (>= 0.3)
|
26
27
|
tzinfo (~> 2.0, >= 2.0.5)
|
27
|
-
|
28
|
+
uri (>= 0.13.1)
|
29
|
+
ast (2.4.3)
|
28
30
|
base64 (0.2.0)
|
29
|
-
|
30
|
-
|
31
|
-
|
31
|
+
benchmark (0.4.0)
|
32
|
+
bigdecimal (3.1.9)
|
33
|
+
concurrent-ruby (1.3.5)
|
34
|
+
connection_pool (2.5.0)
|
32
35
|
drb (2.2.1)
|
33
|
-
i18n (1.14.
|
36
|
+
i18n (1.14.7)
|
34
37
|
concurrent-ruby (~> 1.0)
|
35
|
-
json (2.
|
36
|
-
language_server-protocol (3.17.0.
|
37
|
-
|
38
|
-
|
38
|
+
json (2.10.2)
|
39
|
+
language_server-protocol (3.17.0.4)
|
40
|
+
lint_roller (1.1.0)
|
41
|
+
logger (1.7.0)
|
42
|
+
minitest (5.25.5)
|
39
43
|
parallel (1.26.3)
|
40
|
-
parser (3.3.
|
44
|
+
parser (3.3.7.4)
|
41
45
|
ast (~> 2.4.1)
|
42
46
|
racc
|
47
|
+
prism (1.4.0)
|
43
48
|
racc (1.8.1)
|
44
|
-
rack (3.1.
|
49
|
+
rack (3.1.12)
|
45
50
|
rainbow (3.1.1)
|
46
51
|
rake (13.2.1)
|
47
|
-
regexp_parser (2.
|
48
|
-
rubocop (1.
|
52
|
+
regexp_parser (2.10.0)
|
53
|
+
rubocop (1.75.1)
|
49
54
|
json (~> 2.3)
|
50
|
-
language_server-protocol (
|
55
|
+
language_server-protocol (~> 3.17.0.2)
|
56
|
+
lint_roller (~> 1.1.0)
|
51
57
|
parallel (~> 1.10)
|
52
58
|
parser (>= 3.3.0.2)
|
53
59
|
rainbow (>= 2.2.2, < 4.0)
|
54
|
-
regexp_parser (>= 2.
|
55
|
-
rubocop-ast (>= 1.
|
60
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
61
|
+
rubocop-ast (>= 1.43.0, < 2.0)
|
56
62
|
ruby-progressbar (~> 1.7)
|
57
|
-
unicode-display_width (>= 2.4.0, <
|
58
|
-
rubocop-ast (1.
|
59
|
-
parser (>= 3.3.
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
rubocop (
|
64
|
-
rubocop-
|
65
|
-
|
66
|
-
rubocop
|
67
|
-
rubocop-
|
63
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
64
|
+
rubocop-ast (1.43.0)
|
65
|
+
parser (>= 3.3.7.2)
|
66
|
+
prism (~> 1.4)
|
67
|
+
rubocop-factory_bot (2.27.1)
|
68
|
+
lint_roller (~> 1.1)
|
69
|
+
rubocop (~> 1.72, >= 1.72.1)
|
70
|
+
rubocop-graphql (1.5.5)
|
71
|
+
lint_roller (~> 1.1)
|
72
|
+
rubocop (>= 1.72.1, < 2)
|
73
|
+
rubocop-performance (1.25.0)
|
74
|
+
lint_roller (~> 1.1)
|
75
|
+
rubocop (>= 1.75.0, < 2.0)
|
76
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
77
|
+
rubocop-rails (2.31.0)
|
68
78
|
activesupport (>= 4.2.0)
|
79
|
+
lint_roller (~> 1.1)
|
69
80
|
rack (>= 1.1)
|
70
|
-
rubocop (>= 1.
|
71
|
-
rubocop-ast (>= 1.
|
72
|
-
rubocop-rake (0.
|
73
|
-
|
74
|
-
|
75
|
-
|
81
|
+
rubocop (>= 1.75.0, < 2.0)
|
82
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
83
|
+
rubocop-rake (0.7.1)
|
84
|
+
lint_roller (~> 1.1)
|
85
|
+
rubocop (>= 1.72.1)
|
86
|
+
rubocop-rspec (3.5.0)
|
87
|
+
lint_roller (~> 1.1)
|
88
|
+
rubocop (~> 1.72, >= 1.72.1)
|
76
89
|
ruby-progressbar (1.13.0)
|
77
|
-
securerandom (0.
|
90
|
+
securerandom (0.4.1)
|
78
91
|
tzinfo (2.0.6)
|
79
92
|
concurrent-ruby (~> 1.0)
|
80
|
-
unicode-display_width (
|
93
|
+
unicode-display_width (3.1.4)
|
94
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
95
|
+
unicode-emoji (4.0.4)
|
96
|
+
uri (1.0.3)
|
81
97
|
|
82
98
|
PLATFORMS
|
83
99
|
arm64-darwin-21
|
84
100
|
arm64-darwin-23
|
101
|
+
arm64-darwin-24
|
85
102
|
|
86
103
|
DEPENDENCIES
|
87
104
|
platform-style!
|
data/default.yml
CHANGED
@@ -13,7 +13,7 @@ AllCops:
|
|
13
13
|
- db/data_schema.rb
|
14
14
|
- vendor/bundle/**/*
|
15
15
|
NewCops: enable
|
16
|
-
TargetRubyVersion: 3.
|
16
|
+
TargetRubyVersion: 3.3
|
17
17
|
|
18
18
|
# GraphQL
|
19
19
|
|
@@ -136,6 +136,7 @@ Layout/LineLength:
|
|
136
136
|
Exclude:
|
137
137
|
- app/graphql/**/*
|
138
138
|
- app/types/platform_types.rb
|
139
|
+
- config/initializers/*
|
139
140
|
- db/migrate/*
|
140
141
|
Max: 120
|
141
142
|
|
@@ -172,6 +173,7 @@ Metrics/BlockLength:
|
|
172
173
|
CountComments: false
|
173
174
|
Enabled: true
|
174
175
|
Exclude:
|
176
|
+
- app/models/configuration/platform_config.rb
|
175
177
|
- config/**/*
|
176
178
|
- Gemfile
|
177
179
|
|
@@ -226,6 +228,16 @@ Naming/VariableNumber:
|
|
226
228
|
- spec/factories/**/*.rb
|
227
229
|
- spec/requests/**/*.rb
|
228
230
|
|
231
|
+
# Rails
|
232
|
+
|
233
|
+
Rails/Output:
|
234
|
+
Exclude:
|
235
|
+
- app/scripts/**/*
|
236
|
+
|
237
|
+
Rails/SkipsModelValidations:
|
238
|
+
Exclude:
|
239
|
+
- app/scripts/**/*
|
240
|
+
|
229
241
|
# RSpec
|
230
242
|
|
231
243
|
RSpec/ExampleLength:
|
@@ -235,6 +247,9 @@ RSpec/ExampleLength:
|
|
235
247
|
- heredoc
|
236
248
|
Max: 20
|
237
249
|
|
250
|
+
RSpec/ImplicitSubject:
|
251
|
+
EnforcedStyle: single_statement_only
|
252
|
+
|
238
253
|
RSpec/IndexedLet:
|
239
254
|
Enabled: false
|
240
255
|
|
@@ -260,9 +275,6 @@ RSpec/MultipleExpectations:
|
|
260
275
|
Style/Documentation:
|
261
276
|
Enabled: false
|
262
277
|
|
263
|
-
RSpec/ImplicitSubject:
|
264
|
-
EnforcedStyle: single_statement_only
|
265
|
-
|
266
278
|
Style/MultilineIfModifier:
|
267
279
|
Enabled: false
|
268
280
|
|
@@ -274,3 +286,6 @@ Style/NumericLiterals:
|
|
274
286
|
- \d{10,}
|
275
287
|
Enabled: true
|
276
288
|
Strict: false
|
289
|
+
|
290
|
+
Style/SafeNavigationChainLength:
|
291
|
+
Max: 4
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: platform-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Disco Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -116,6 +116,7 @@ extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
118
|
- ".rubocop.yml"
|
119
|
+
- ".tool-versions"
|
119
120
|
- Gemfile
|
120
121
|
- Gemfile.lock
|
121
122
|
- LICENSE.txt
|
@@ -141,14 +142,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
142
|
requirements:
|
142
143
|
- - ">="
|
143
144
|
- !ruby/object:Gem::Version
|
144
|
-
version: '3.
|
145
|
+
version: '3.3'
|
145
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
147
|
requirements:
|
147
148
|
- - ">="
|
148
149
|
- !ruby/object:Gem::Version
|
149
150
|
version: '0'
|
150
151
|
requirements: []
|
151
|
-
rubygems_version: 3.5.
|
152
|
+
rubygems_version: 3.5.22
|
152
153
|
signing_key:
|
153
154
|
specification_version: 4
|
154
155
|
summary: Disco Labs style guide for Platform projects
|