sorbet-runtime 0.5.5891 → 0.5.5895
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/types/enum.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: d5fe8e95f7a8b77b4581abb34605e0a7b64543fe5f1874811b5a6d2e0ad2ba89
|
4
|
+
data.tar.gz: 94fd61dc19fa8f0eb8c76731a91dfb066b28c1b8c8ff323142b1550fe40f8c1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7ec7b8517ca767acc09e4672a5ee543da2dda29a5958bed6f29c37fe08c5d29bc0a42caa6b6b581474f6999393396e216d04bcf245229a2e080b7a6861812b0
|
7
|
+
data.tar.gz: 43b11ac79b770799065191c8d65884e89233a9245b84f235839a4b84ca61e28b87b1e0365d280c80b1554d7362a79e4853f01afd7b1a1e5e0cd159c63ce08691
|
data/lib/types/enum.rb
CHANGED
@@ -88,7 +88,7 @@ class T::Enum
|
|
88
88
|
|
89
89
|
# Note: It would have been nice to make this method final before people started overriding it.
|
90
90
|
# @return [Boolean] Does the given serialized value correspond with any of this enum's values.
|
91
|
-
sig {overridable.params(serialized_val: SerializedVal).returns(T::Boolean)}
|
91
|
+
sig {overridable.params(serialized_val: SerializedVal).returns(T::Boolean).checked(:never)}
|
92
92
|
def self.has_serialized?(serialized_val)
|
93
93
|
if @mapping.nil?
|
94
94
|
raise "Attempting to access serialization map of #{self.class} before it has been initialized." \
|
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.5895
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|