sorbet-runtime 0.5.10847 → 0.5.10851
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ceda9188cfb5f3ca01da11baacb06f35cad4eec80064b95dc9aba9d7f9518b28
|
|
4
|
+
data.tar.gz: 8f34dcae71e03b29d6c456a00c1d1e73e9dbba500ca2e55d6a4eb9fac963247a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01dab0bcea7d4a67a4bd4b57c7ee77b6b1ff33293a7abafb207e45381505d9ab6ebd1cb3007f057abb07f399250471a275151e6e7aa7a7e9f1c859015b212dd3
|
|
7
|
+
data.tar.gz: e7ee56145b08314190d96dffaecc2b7eba427071e07cd65d32c0c1a8f7ed69e88fd81a38417f7cf753ea7993e03766f87b7dc821a949eea9288a0abf7d400402
|
|
@@ -11,26 +11,28 @@ module T::Private::Methods::CallValidation
|
|
|
11
11
|
raise 'Should have used create_validator_procedure_fast'
|
|
12
12
|
end
|
|
13
13
|
# trampoline to reduce stack frame size
|
|
14
|
-
|
|
14
|
+
arg_types = method_sig.arg_types
|
|
15
|
+
case arg_types.length
|
|
16
|
+
when 0
|
|
15
17
|
create_validator_method_fast0(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type)
|
|
16
|
-
|
|
18
|
+
when 1
|
|
17
19
|
create_validator_method_fast1(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
arg_types[0][1].raw_type)
|
|
21
|
+
when 2
|
|
20
22
|
create_validator_method_fast2(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
arg_types[0][1].raw_type,
|
|
24
|
+
arg_types[1][1].raw_type)
|
|
25
|
+
when 3
|
|
24
26
|
create_validator_method_fast3(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
arg_types[0][1].raw_type,
|
|
28
|
+
arg_types[1][1].raw_type,
|
|
29
|
+
arg_types[2][1].raw_type)
|
|
30
|
+
when 4
|
|
29
31
|
create_validator_method_fast4(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
arg_types[0][1].raw_type,
|
|
33
|
+
arg_types[1][1].raw_type,
|
|
34
|
+
arg_types[2][1].raw_type,
|
|
35
|
+
arg_types[3][1].raw_type)
|
|
34
36
|
else
|
|
35
37
|
raise 'should not happen'
|
|
36
38
|
end
|
|
@@ -343,26 +345,28 @@ module T::Private::Methods::CallValidation
|
|
|
343
345
|
|
|
344
346
|
def self.create_validator_procedure_fast(mod, original_method, method_sig, original_visibility)
|
|
345
347
|
# trampoline to reduce stack frame size
|
|
346
|
-
|
|
348
|
+
arg_types = method_sig.arg_types
|
|
349
|
+
case arg_types.length
|
|
350
|
+
when 0
|
|
347
351
|
create_validator_procedure_fast0(mod, original_method, method_sig, original_visibility)
|
|
348
|
-
|
|
352
|
+
when 1
|
|
349
353
|
create_validator_procedure_fast1(mod, original_method, method_sig, original_visibility,
|
|
350
|
-
|
|
351
|
-
|
|
354
|
+
arg_types[0][1].raw_type)
|
|
355
|
+
when 2
|
|
352
356
|
create_validator_procedure_fast2(mod, original_method, method_sig, original_visibility,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
357
|
+
arg_types[0][1].raw_type,
|
|
358
|
+
arg_types[1][1].raw_type)
|
|
359
|
+
when 3
|
|
356
360
|
create_validator_procedure_fast3(mod, original_method, method_sig, original_visibility,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
+
arg_types[0][1].raw_type,
|
|
362
|
+
arg_types[1][1].raw_type,
|
|
363
|
+
arg_types[2][1].raw_type)
|
|
364
|
+
when 4
|
|
361
365
|
create_validator_procedure_fast4(mod, original_method, method_sig, original_visibility,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
+
arg_types[0][1].raw_type,
|
|
367
|
+
arg_types[1][1].raw_type,
|
|
368
|
+
arg_types[2][1].raw_type,
|
|
369
|
+
arg_types[3][1].raw_type)
|
|
366
370
|
else
|
|
367
371
|
raise 'should not happen'
|
|
368
372
|
end
|
|
@@ -608,26 +612,28 @@ module T::Private::Methods::CallValidation
|
|
|
608
612
|
raise 'Should have used create_validator_procedure_medium'
|
|
609
613
|
end
|
|
610
614
|
# trampoline to reduce stack frame size
|
|
611
|
-
|
|
615
|
+
arg_types = method_sig.arg_types
|
|
616
|
+
case arg_types.length
|
|
617
|
+
when 0
|
|
612
618
|
create_validator_method_medium0(mod, original_method, method_sig, original_visibility, method_sig.return_type)
|
|
613
|
-
|
|
619
|
+
when 1
|
|
614
620
|
create_validator_method_medium1(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
615
|
-
|
|
616
|
-
|
|
621
|
+
arg_types[0][1])
|
|
622
|
+
when 2
|
|
617
623
|
create_validator_method_medium2(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
624
|
+
arg_types[0][1],
|
|
625
|
+
arg_types[1][1])
|
|
626
|
+
when 3
|
|
621
627
|
create_validator_method_medium3(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
628
|
+
arg_types[0][1],
|
|
629
|
+
arg_types[1][1],
|
|
630
|
+
arg_types[2][1])
|
|
631
|
+
when 4
|
|
626
632
|
create_validator_method_medium4(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
633
|
+
arg_types[0][1],
|
|
634
|
+
arg_types[1][1],
|
|
635
|
+
arg_types[2][1],
|
|
636
|
+
arg_types[3][1])
|
|
631
637
|
else
|
|
632
638
|
raise 'should not happen'
|
|
633
639
|
end
|
|
@@ -940,26 +946,28 @@ module T::Private::Methods::CallValidation
|
|
|
940
946
|
|
|
941
947
|
def self.create_validator_procedure_medium(mod, original_method, method_sig, original_visibility)
|
|
942
948
|
# trampoline to reduce stack frame size
|
|
943
|
-
|
|
949
|
+
arg_types = method_sig.arg_types
|
|
950
|
+
case arg_types.length
|
|
951
|
+
when 0
|
|
944
952
|
create_validator_procedure_medium0(mod, original_method, method_sig, original_visibility)
|
|
945
|
-
|
|
953
|
+
when 1
|
|
946
954
|
create_validator_procedure_medium1(mod, original_method, method_sig, original_visibility,
|
|
947
|
-
|
|
948
|
-
|
|
955
|
+
arg_types[0][1])
|
|
956
|
+
when 2
|
|
949
957
|
create_validator_procedure_medium2(mod, original_method, method_sig, original_visibility,
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
958
|
+
arg_types[0][1],
|
|
959
|
+
arg_types[1][1])
|
|
960
|
+
when 3
|
|
953
961
|
create_validator_procedure_medium3(mod, original_method, method_sig, original_visibility,
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
962
|
+
arg_types[0][1],
|
|
963
|
+
arg_types[1][1],
|
|
964
|
+
arg_types[2][1])
|
|
965
|
+
when 4
|
|
958
966
|
create_validator_procedure_medium4(mod, original_method, method_sig, original_visibility,
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
967
|
+
arg_types[0][1],
|
|
968
|
+
arg_types[1][1],
|
|
969
|
+
arg_types[2][1],
|
|
970
|
+
arg_types[3][1])
|
|
963
971
|
else
|
|
964
972
|
raise 'should not happen'
|
|
965
973
|
end
|
|
@@ -11,26 +11,28 @@ module T::Private::Methods::CallValidation
|
|
|
11
11
|
raise 'Should have used create_validator_procedure_fast'
|
|
12
12
|
end
|
|
13
13
|
# trampoline to reduce stack frame size
|
|
14
|
-
|
|
14
|
+
arg_types = method_sig.arg_types
|
|
15
|
+
case arg_types.length
|
|
16
|
+
when 0
|
|
15
17
|
create_validator_method_fast0(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type)
|
|
16
|
-
|
|
18
|
+
when 1
|
|
17
19
|
create_validator_method_fast1(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
arg_types[0][1].raw_type)
|
|
21
|
+
when 2
|
|
20
22
|
create_validator_method_fast2(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
arg_types[0][1].raw_type,
|
|
24
|
+
arg_types[1][1].raw_type)
|
|
25
|
+
when 3
|
|
24
26
|
create_validator_method_fast3(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
arg_types[0][1].raw_type,
|
|
28
|
+
arg_types[1][1].raw_type,
|
|
29
|
+
arg_types[2][1].raw_type)
|
|
30
|
+
when 4
|
|
29
31
|
create_validator_method_fast4(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
arg_types[0][1].raw_type,
|
|
33
|
+
arg_types[1][1].raw_type,
|
|
34
|
+
arg_types[2][1].raw_type,
|
|
35
|
+
arg_types[3][1].raw_type)
|
|
34
36
|
else
|
|
35
37
|
raise 'should not happen'
|
|
36
38
|
end
|
|
@@ -343,26 +345,28 @@ module T::Private::Methods::CallValidation
|
|
|
343
345
|
|
|
344
346
|
def self.create_validator_procedure_fast(mod, original_method, method_sig, original_visibility)
|
|
345
347
|
# trampoline to reduce stack frame size
|
|
346
|
-
|
|
348
|
+
arg_types = method_sig.arg_types
|
|
349
|
+
case arg_types.length
|
|
350
|
+
when 0
|
|
347
351
|
create_validator_procedure_fast0(mod, original_method, method_sig, original_visibility)
|
|
348
|
-
|
|
352
|
+
when 1
|
|
349
353
|
create_validator_procedure_fast1(mod, original_method, method_sig, original_visibility,
|
|
350
|
-
|
|
351
|
-
|
|
354
|
+
arg_types[0][1].raw_type)
|
|
355
|
+
when 2
|
|
352
356
|
create_validator_procedure_fast2(mod, original_method, method_sig, original_visibility,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
357
|
+
arg_types[0][1].raw_type,
|
|
358
|
+
arg_types[1][1].raw_type)
|
|
359
|
+
when 3
|
|
356
360
|
create_validator_procedure_fast3(mod, original_method, method_sig, original_visibility,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
+
arg_types[0][1].raw_type,
|
|
362
|
+
arg_types[1][1].raw_type,
|
|
363
|
+
arg_types[2][1].raw_type)
|
|
364
|
+
when 4
|
|
361
365
|
create_validator_procedure_fast4(mod, original_method, method_sig, original_visibility,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
+
arg_types[0][1].raw_type,
|
|
367
|
+
arg_types[1][1].raw_type,
|
|
368
|
+
arg_types[2][1].raw_type,
|
|
369
|
+
arg_types[3][1].raw_type)
|
|
366
370
|
else
|
|
367
371
|
raise 'should not happen'
|
|
368
372
|
end
|
|
@@ -608,26 +612,28 @@ module T::Private::Methods::CallValidation
|
|
|
608
612
|
raise 'Should have used create_validator_procedure_medium'
|
|
609
613
|
end
|
|
610
614
|
# trampoline to reduce stack frame size
|
|
611
|
-
|
|
615
|
+
arg_types = method_sig.arg_types
|
|
616
|
+
case arg_types.length
|
|
617
|
+
when 0
|
|
612
618
|
create_validator_method_medium0(mod, original_method, method_sig, original_visibility, method_sig.return_type)
|
|
613
|
-
|
|
619
|
+
when 1
|
|
614
620
|
create_validator_method_medium1(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
615
|
-
|
|
616
|
-
|
|
621
|
+
arg_types[0][1])
|
|
622
|
+
when 2
|
|
617
623
|
create_validator_method_medium2(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
624
|
+
arg_types[0][1],
|
|
625
|
+
arg_types[1][1])
|
|
626
|
+
when 3
|
|
621
627
|
create_validator_method_medium3(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
628
|
+
arg_types[0][1],
|
|
629
|
+
arg_types[1][1],
|
|
630
|
+
arg_types[2][1])
|
|
631
|
+
when 4
|
|
626
632
|
create_validator_method_medium4(mod, original_method, method_sig, original_visibility, method_sig.return_type,
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
633
|
+
arg_types[0][1],
|
|
634
|
+
arg_types[1][1],
|
|
635
|
+
arg_types[2][1],
|
|
636
|
+
arg_types[3][1])
|
|
631
637
|
else
|
|
632
638
|
raise 'should not happen'
|
|
633
639
|
end
|
|
@@ -940,26 +946,28 @@ module T::Private::Methods::CallValidation
|
|
|
940
946
|
|
|
941
947
|
def self.create_validator_procedure_medium(mod, original_method, method_sig, original_visibility)
|
|
942
948
|
# trampoline to reduce stack frame size
|
|
943
|
-
|
|
949
|
+
arg_types = method_sig.arg_types
|
|
950
|
+
case arg_types.length
|
|
951
|
+
when 0
|
|
944
952
|
create_validator_procedure_medium0(mod, original_method, method_sig, original_visibility)
|
|
945
|
-
|
|
953
|
+
when 1
|
|
946
954
|
create_validator_procedure_medium1(mod, original_method, method_sig, original_visibility,
|
|
947
|
-
|
|
948
|
-
|
|
955
|
+
arg_types[0][1])
|
|
956
|
+
when 2
|
|
949
957
|
create_validator_procedure_medium2(mod, original_method, method_sig, original_visibility,
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
958
|
+
arg_types[0][1],
|
|
959
|
+
arg_types[1][1])
|
|
960
|
+
when 3
|
|
953
961
|
create_validator_procedure_medium3(mod, original_method, method_sig, original_visibility,
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
962
|
+
arg_types[0][1],
|
|
963
|
+
arg_types[1][1],
|
|
964
|
+
arg_types[2][1])
|
|
965
|
+
when 4
|
|
958
966
|
create_validator_procedure_medium4(mod, original_method, method_sig, original_visibility,
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
967
|
+
arg_types[0][1],
|
|
968
|
+
arg_types[1][1],
|
|
969
|
+
arg_types[2][1],
|
|
970
|
+
arg_types[3][1])
|
|
963
971
|
else
|
|
964
972
|
raise 'should not happen'
|
|
965
973
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sorbet-runtime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.10851
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05-
|
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|