grape_sorbet 0.1.1 → 0.1.3
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/.ruby-version +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile +4 -4
- data/Gemfile.lock +47 -38
- data/lib/grape_sorbet/version.rb +1 -1
- data/lib/tapioca/dsl/compilers/grape_endpoints.rb +1 -1
- 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: b00b6d9b1c4e650ce991600d0f925ebd5045db62fe696191d9bfda97339e320b
|
|
4
|
+
data.tar.gz: 0c149dad28b3f3fc3b727f2ed153c56c9b46389bfa8f9bb83ab9f77d07dd88c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 194209069ed8c955e704b08c2190a149c1458db92b12ff17f61ce6ab5be3a0ced82713941611a2e5a19f22c00a31c1577a2f804595ff396bc4bc813d897bb366
|
|
7
|
+
data.tar.gz: 63a58991ed1a0274c833134a40936baf679e92247b082d259f6b1231c4644d02b7464d5d30374264f7d282fd6e1e4912db4c42c1c10c534cbd9363b885363043
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.0.
|
|
1
|
+
4.0.5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.1.3 (2026-05-26)
|
|
2
|
+
|
|
3
|
+
- Fix endpoint compiler to respect API superclass (#44)
|
|
4
|
+
|
|
5
|
+
## 0.1.2 (2026-05-14)
|
|
6
|
+
|
|
7
|
+
- Bump dependencies and update GitHub Actions workflows (#37)
|
|
8
|
+
|
|
1
9
|
## 0.1.1 (2026-05-05)
|
|
2
10
|
|
|
3
11
|
- Bump dependencies and drop support for Ruby 3.2 (#36)
|
data/Gemfile
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
source "https://rubygems.org"
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
# Specify your gem's dependencies in grape_sorbet.gemspec
|
|
5
|
+
# Specify your gem's dependencies in sorbet_operation.gemspec
|
|
8
6
|
gemspec
|
|
9
7
|
|
|
10
8
|
gem "rake", "~> 13.0"
|
|
@@ -23,10 +21,12 @@ group :development do
|
|
|
23
21
|
gem "rubocop-rake", require: false
|
|
24
22
|
gem "rubocop-shopify", require: false
|
|
25
23
|
gem "rubocop-sorbet", require: false
|
|
24
|
+
|
|
25
|
+
gem "bundler-audit", require: false
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
group :test do
|
|
29
|
-
gem "minitest", "~>
|
|
29
|
+
gem "minitest", "~> 6.0"
|
|
30
30
|
gem "minitest-reporters", "~> 1.4"
|
|
31
31
|
|
|
32
32
|
gem "simplecov", require: false
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
grape_sorbet (0.1.
|
|
4
|
+
grape_sorbet (0.1.3)
|
|
5
5
|
activesupport
|
|
6
6
|
grape (~> 3.0)
|
|
7
7
|
sorbet-runtime (>= 0.6)
|
|
@@ -28,13 +28,16 @@ GEM
|
|
|
28
28
|
benchmark (0.5.0)
|
|
29
29
|
bigdecimal (4.1.2)
|
|
30
30
|
builder (3.3.0)
|
|
31
|
+
bundler-audit (0.9.3)
|
|
32
|
+
bundler (>= 1.2.0)
|
|
33
|
+
thor (~> 1.0)
|
|
31
34
|
concurrent-ruby (1.3.6)
|
|
32
35
|
connection_pool (3.0.2)
|
|
33
36
|
date (3.5.1)
|
|
34
37
|
docile (1.4.1)
|
|
35
38
|
drb (2.2.3)
|
|
36
|
-
dry-configurable (1.
|
|
37
|
-
dry-core (~> 1.
|
|
39
|
+
dry-configurable (1.4.0)
|
|
40
|
+
dry-core (~> 1.0)
|
|
38
41
|
zeitwerk (~> 2.6)
|
|
39
42
|
dry-core (1.2.0)
|
|
40
43
|
concurrent-ruby (~> 1.0)
|
|
@@ -77,7 +80,9 @@ GEM
|
|
|
77
80
|
language_server-protocol (3.17.0.5)
|
|
78
81
|
lint_roller (1.1.0)
|
|
79
82
|
logger (1.7.0)
|
|
80
|
-
minitest (
|
|
83
|
+
minitest (6.0.6)
|
|
84
|
+
drb (~> 2.0)
|
|
85
|
+
prism (~> 1.5)
|
|
81
86
|
minitest-reporters (1.8.0)
|
|
82
87
|
ansi
|
|
83
88
|
builder
|
|
@@ -103,7 +108,7 @@ GEM
|
|
|
103
108
|
rack (3.2.6)
|
|
104
109
|
rainbow (3.1.1)
|
|
105
110
|
rake (13.4.2)
|
|
106
|
-
rbi (0.3.
|
|
111
|
+
rbi (0.3.12)
|
|
107
112
|
prism (~> 1.0)
|
|
108
113
|
rbs (>= 4.0.1)
|
|
109
114
|
rbs (4.0.2)
|
|
@@ -119,7 +124,7 @@ GEM
|
|
|
119
124
|
io-console (~> 0.5)
|
|
120
125
|
require-hooks (0.4.0)
|
|
121
126
|
rexml (3.4.4)
|
|
122
|
-
rubocop (1.86.
|
|
127
|
+
rubocop (1.86.2)
|
|
123
128
|
json (~> 2.3)
|
|
124
129
|
language_server-protocol (~> 3.17.0.2)
|
|
125
130
|
lint_roller (~> 1.1.0)
|
|
@@ -150,10 +155,10 @@ GEM
|
|
|
150
155
|
lint_roller
|
|
151
156
|
rubocop (>= 1.75.2)
|
|
152
157
|
ruby-progressbar (1.13.0)
|
|
153
|
-
rubydex (0.2.
|
|
154
|
-
rubydex (0.2.
|
|
155
|
-
rubydex (0.2.
|
|
156
|
-
rubydex (0.2.
|
|
158
|
+
rubydex (0.2.3-aarch64-linux)
|
|
159
|
+
rubydex (0.2.3-arm64-darwin)
|
|
160
|
+
rubydex (0.2.3-x86_64-darwin)
|
|
161
|
+
rubydex (0.2.3-x86_64-linux)
|
|
157
162
|
securerandom (0.4.1)
|
|
158
163
|
simplecov (0.22.0)
|
|
159
164
|
docile (~> 1.1)
|
|
@@ -161,16 +166,16 @@ GEM
|
|
|
161
166
|
simplecov_json_formatter (~> 0.1)
|
|
162
167
|
simplecov-html (0.13.2)
|
|
163
168
|
simplecov_json_formatter (0.1.4)
|
|
164
|
-
sorbet (0.6.
|
|
165
|
-
sorbet-static (= 0.6.
|
|
166
|
-
sorbet-runtime (0.6.
|
|
167
|
-
sorbet-static (0.6.
|
|
168
|
-
sorbet-static (0.6.
|
|
169
|
-
sorbet-static (0.6.
|
|
170
|
-
sorbet-static-and-runtime (0.6.
|
|
171
|
-
sorbet (= 0.6.
|
|
172
|
-
sorbet-runtime (= 0.6.
|
|
173
|
-
spoom (1.7.
|
|
169
|
+
sorbet (0.6.13224)
|
|
170
|
+
sorbet-static (= 0.6.13224)
|
|
171
|
+
sorbet-runtime (0.6.13224)
|
|
172
|
+
sorbet-static (0.6.13224-aarch64-linux)
|
|
173
|
+
sorbet-static (0.6.13224-universal-darwin)
|
|
174
|
+
sorbet-static (0.6.13224-x86_64-linux)
|
|
175
|
+
sorbet-static-and-runtime (0.6.13224)
|
|
176
|
+
sorbet (= 0.6.13224)
|
|
177
|
+
sorbet-runtime (= 0.6.13224)
|
|
178
|
+
spoom (1.7.14)
|
|
174
179
|
erubi (>= 1.10.0)
|
|
175
180
|
prism (>= 0.28.0)
|
|
176
181
|
rbi (>= 0.3.3)
|
|
@@ -203,14 +208,17 @@ GEM
|
|
|
203
208
|
|
|
204
209
|
PLATFORMS
|
|
205
210
|
aarch64-linux
|
|
211
|
+
arm64-darwin
|
|
206
212
|
universal-darwin
|
|
213
|
+
x86_64-darwin
|
|
207
214
|
x86_64-linux
|
|
208
215
|
|
|
209
216
|
DEPENDENCIES
|
|
217
|
+
bundler-audit
|
|
210
218
|
grape-entity
|
|
211
219
|
grape_sorbet!
|
|
212
220
|
irb
|
|
213
|
-
minitest (~>
|
|
221
|
+
minitest (~> 6.0)
|
|
214
222
|
minitest-reporters (~> 1.4)
|
|
215
223
|
rake (~> 13.0)
|
|
216
224
|
rubocop
|
|
@@ -231,12 +239,13 @@ CHECKSUMS
|
|
|
231
239
|
benchmark (0.5.0) sha256=465df122341aedcb81a2a24b4d3bd19b6c67c1530713fd533f3ff034e419236c
|
|
232
240
|
bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd
|
|
233
241
|
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
|
242
|
+
bundler-audit (0.9.3) sha256=81c8766c71e47d0d28a0f98c7eed028539f21a6ea3cd8f685eb6f42333c9b4e9
|
|
234
243
|
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
235
244
|
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
236
245
|
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
237
246
|
docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
|
|
238
247
|
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
239
|
-
dry-configurable (1.
|
|
248
|
+
dry-configurable (1.4.0) sha256=e35d1b5f3c081753ef361f564919db79000f32cfa6f20ee3a3ba5921b41b73ce
|
|
240
249
|
dry-core (1.2.0) sha256=0cc5a7da88df397f153947eeeae42e876e999c1e30900f3c536fb173854e96a1
|
|
241
250
|
dry-inflector (1.3.1) sha256=7fb0c2bb04f67638f25c52e7ba39ab435d922a3a5c3cd196120f63accb682dcc
|
|
242
251
|
dry-logic (1.6.0) sha256=da6fedbc0f90fc41f9b0cc7e6f05f5d529d1efaef6c8dcc8e0733f685745cea2
|
|
@@ -245,7 +254,7 @@ CHECKSUMS
|
|
|
245
254
|
erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
|
|
246
255
|
grape (3.2.1) sha256=448072f55904e5a4dca2e3781f0a373942514be65402cafb6177f5bc73db1b94
|
|
247
256
|
grape-entity (1.0.4) sha256=cda42416d87831de0da2f28aa1f5ba9b38856b936b4a5ba995e52d32de1ec0bd
|
|
248
|
-
grape_sorbet (0.1.
|
|
257
|
+
grape_sorbet (0.1.3)
|
|
249
258
|
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
250
259
|
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
251
260
|
irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3
|
|
@@ -253,7 +262,7 @@ CHECKSUMS
|
|
|
253
262
|
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
|
254
263
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
255
264
|
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
256
|
-
minitest (
|
|
265
|
+
minitest (6.0.6) sha256=153ea36d1d987a62942382b61075745042a2b3123b1cd48f4c3675af9cc7d6f1
|
|
257
266
|
minitest-reporters (1.8.0) sha256=8ce5280fb73ad3178ae525454df169b6f28c1b38b1d088ea91815d3a370ba384
|
|
258
267
|
multi_json (1.21.1) sha256=e6126a31808e3b4d19f483c775ceac34df190dffa62adfb63a165ee14ba68080
|
|
259
268
|
mustermann (4.0.0) sha256=91f67411bb208d1d93c41e6128cb3b0f8ddd9ec7c45966f1007e1c43c08040d7
|
|
@@ -269,14 +278,14 @@ CHECKSUMS
|
|
|
269
278
|
rack (3.2.6) sha256=5ed78e1f73b2e25679bec7d45ee2d4483cc4146eb1be0264fc4d94cb5ef212c2
|
|
270
279
|
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
271
280
|
rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
|
|
272
|
-
rbi (0.3.
|
|
281
|
+
rbi (0.3.12) sha256=406ea58265942e7f2316744a11de742fdef8b2325bb6066c71c9765f53298eb2
|
|
273
282
|
rbs (4.0.2) sha256=af75671e66cd03434cc546622741ebf83f6197ec4328375805306330bf78ef25
|
|
274
283
|
rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
|
|
275
284
|
regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
|
|
276
285
|
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
277
286
|
require-hooks (0.4.0) sha256=005f4c6435b4edae73e358cdbaba48370a4121f9ce893d5d2a3c66fce855677d
|
|
278
287
|
rexml (3.4.4) sha256=19e0a2c3425dfbf2d4fc1189747bdb2f849b6c5e74180401b15734bc97b5d142
|
|
279
|
-
rubocop (1.86.
|
|
288
|
+
rubocop (1.86.2) sha256=bb2e97f635eda42c448f2588f4a6ff78f221b8bdfdf65b1e9b07fbd57521b45d
|
|
280
289
|
rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
|
|
281
290
|
rubocop-minitest (0.39.1) sha256=998398d6da4026d297f0f9bf709a1eac5f2b6947c24431f94af08138510cf7ed
|
|
282
291
|
rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
|
|
@@ -284,21 +293,21 @@ CHECKSUMS
|
|
|
284
293
|
rubocop-shopify (2.18.0) sha256=dafa25e5617ce4600ff86b1de3d5b78e43ab3d58cc5729df38e492b8e10294eb
|
|
285
294
|
rubocop-sorbet (0.12.0) sha256=195521e132500555819313df5accaaf56bf721a63de3e5b7b1d0b25f696b1f39
|
|
286
295
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
287
|
-
rubydex (0.2.
|
|
288
|
-
rubydex (0.2.
|
|
289
|
-
rubydex (0.2.
|
|
290
|
-
rubydex (0.2.
|
|
296
|
+
rubydex (0.2.3-aarch64-linux) sha256=f666ff383430cc800cb0889d52c77da7457e99165b5eef7c0d45491a5fafea87
|
|
297
|
+
rubydex (0.2.3-arm64-darwin) sha256=997d7895a0208ec3d7ef922c9d29243b62e10c67bc3c2396a9f978d7df117390
|
|
298
|
+
rubydex (0.2.3-x86_64-darwin) sha256=de4890f91bedb59bfefb90c528939e52475da3afa105feaf855594ad527b0fb9
|
|
299
|
+
rubydex (0.2.3-x86_64-linux) sha256=796a54c1af9f8868c87bf92fee5f9ccc39ffd40eb8386e0875058a18beb76b09
|
|
291
300
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
292
301
|
simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
|
|
293
302
|
simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
|
|
294
303
|
simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
|
|
295
|
-
sorbet (0.6.
|
|
296
|
-
sorbet-runtime (0.6.
|
|
297
|
-
sorbet-static (0.6.
|
|
298
|
-
sorbet-static (0.6.
|
|
299
|
-
sorbet-static (0.6.
|
|
300
|
-
sorbet-static-and-runtime (0.6.
|
|
301
|
-
spoom (1.7.
|
|
304
|
+
sorbet (0.6.13224) sha256=a82398de43a8ee02f5255c8be19034161bdf6b88b24a2c98b21b271fe01ab682
|
|
305
|
+
sorbet-runtime (0.6.13224) sha256=25214f47e16bf13028519e04209ac2b1a59333657bdf01f816c1b4bcbec7b56c
|
|
306
|
+
sorbet-static (0.6.13224-aarch64-linux) sha256=bbee6c311b6148db57a612b2862ae888beafafc31529576bcef4fb0dbdc7b99f
|
|
307
|
+
sorbet-static (0.6.13224-universal-darwin) sha256=9c048af5973d50aec51affefce1bd8a36c1e862c515797a7c53c160e2f30e0d7
|
|
308
|
+
sorbet-static (0.6.13224-x86_64-linux) sha256=f71c20d40f03511eb749df62fb7c35dc80966d627b6a6747a608939bdf96d23e
|
|
309
|
+
sorbet-static-and-runtime (0.6.13224) sha256=fa5a4bf40eead8c6958d2eba1b0e25b2624e29639effcc1265f73a6f00d782fc
|
|
310
|
+
spoom (1.7.14) sha256=48da4e39d9a63611aa0132a3656d7e75833fcccb6006d59f7fa879b98c8877c4
|
|
302
311
|
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
303
312
|
tapioca (0.19.1) sha256=5de94d458950897ffe3d4e86a21eec48bb6a8775af85f80b1486b7ae7ba51823
|
|
304
313
|
thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
|
|
@@ -310,4 +319,4 @@ CHECKSUMS
|
|
|
310
319
|
zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
|
|
311
320
|
|
|
312
321
|
BUNDLED WITH
|
|
313
|
-
4.0.
|
|
322
|
+
4.0.12
|
data/lib/grape_sorbet/version.rb
CHANGED
|
@@ -128,7 +128,7 @@ module Tapioca
|
|
|
128
128
|
|
|
129
129
|
sig { params(api: RBI::Scope).void }
|
|
130
130
|
def create_api_class(api)
|
|
131
|
-
superclass = "::Grape::API::Instance"
|
|
131
|
+
superclass = superclass_of(constant)&.name || "::Grape::API::Instance"
|
|
132
132
|
|
|
133
133
|
api.create_class(APIInstanceClassName, superclass_name: superclass) do |klass|
|
|
134
134
|
klass.create_extend(CallbacksMethodsModuleName)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grape_sorbet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thatch Health, Inc.
|
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
99
|
version: '0'
|
|
100
100
|
requirements: []
|
|
101
|
-
rubygems_version: 4.0.
|
|
101
|
+
rubygems_version: 4.0.10
|
|
102
102
|
specification_version: 4
|
|
103
103
|
summary: Sorbet signatures and Tapioca DSL compiler for Grape.
|
|
104
104
|
test_files: []
|