sorbet-runtime 0.5.5456 → 0.5.5460
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/types/configuration.rb +1 -1
- data/lib/types/props/private/deserializer_generator.rb +6 -4
- 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: 4f318f4353570ae20ddc241e12a3c3bb5d68716ba76c6265b74a17af50b26398
|
4
|
+
data.tar.gz: 30dcba650adf059d0ae9449bc5d6a81454099b1712a99238d66ea3b00df185a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff0ba7277b66ba00d1ac1255786e8598ba452e13f56bb7f5541a3df5b82a91ee96cf696914590de57cdd1409ad54564f55c495b888e0ee6372f695948495cac5
|
7
|
+
data.tar.gz: dc9f2468fe050d5288c9812dfcbb4e3f351938537f519d6f15c83090fb6f3650e1dc66391c4a4e03c23f0535b2ee392829a46699d67ec8f3c8416a01e2519d70
|
data/lib/types/configuration.rb
CHANGED
@@ -336,7 +336,7 @@ module T::Configuration
|
|
336
336
|
# T::Configuration.scalar_types = ["NilClass", "TrueClass", "FalseClass", ...]
|
337
337
|
def self.scalar_types=(values)
|
338
338
|
if values.nil?
|
339
|
-
@
|
339
|
+
@scalar_types = values
|
340
340
|
else
|
341
341
|
bad_values = values.select {|v| v.class != String}
|
342
342
|
unless bad_values.empty?
|
@@ -59,10 +59,12 @@ module T::Props
|
|
59
59
|
rescue NoMethodError => e
|
60
60
|
T::Configuration.soft_assert_handler(
|
61
61
|
'Deserialization error (probably unexpected stored type)',
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
62
|
+
storytime: {
|
63
|
+
klass: self.class,
|
64
|
+
prop: #{prop.inspect},
|
65
|
+
value: val,
|
66
|
+
error: e.message
|
67
|
+
}
|
66
68
|
)
|
67
69
|
val
|
68
70
|
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.5460
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|