sorbet 0.4.4506 → 0.4.4507
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serialize.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3e2ad6d926719e77236e7c933da0d4845750bb2
|
4
|
+
data.tar.gz: f899ccea8ce81570ae99ec01b3bb4a9c66701a1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b300a7b30f38a59077a22c37889e777f6857ca5526059ae07cbd72b1da077b97b8009a9fd857e0a58bcdcc112de886719281188eb666834967ffd51d55a7ce8
|
7
|
+
data.tar.gz: 56a50e31c2d8bc3e717b58372fad20835bd37e3e935072481fca2c68eaf3c6afe4fb37cdf05f061aafd847cc11cfec07a8f20095e5fa4c9ce2cbd4d01a300d94
|
data/lib/serialize.rb
CHANGED
@@ -102,8 +102,8 @@ class Sorbet::Private::Serialize
|
|
102
102
|
next if Sorbet::Private::ConstantLookupCache::DEPRECATED_CONSTANTS.include?("#{class_name}::#{const_sym}")
|
103
103
|
begin
|
104
104
|
value = klass.const_get(const_sym)
|
105
|
-
rescue LoadError, NameError, RuntimeError, ArgumentError
|
106
|
-
ret << "#
|
105
|
+
rescue LoadError, NameError, RuntimeError, ArgumentError => err
|
106
|
+
ret << "# Got #{err.class} when trying to get class constant symbol #{class_name}::#{const_sym}\n"
|
107
107
|
next
|
108
108
|
end
|
109
109
|
# next if !Sorbet::Private::RealStdlib.real_is_a?(value, T::Types::TypeVariable)
|
@@ -116,8 +116,8 @@ class Sorbet::Private::Serialize
|
|
116
116
|
next if Sorbet::Private::ConstantLookupCache::DEPRECATED_CONSTANTS.include?("#{class_name}::#{const_sym}")
|
117
117
|
begin
|
118
118
|
value = klass.const_get(const_sym, false)
|
119
|
-
rescue LoadError, NameError, RuntimeError, ArgumentError
|
120
|
-
ret << "#
|
119
|
+
rescue LoadError, NameError, RuntimeError, ArgumentError => err
|
120
|
+
ret << "# Got #{err.class} when trying to get class constant symbol #{class_name}::#{const_sym}_\n"
|
121
121
|
next
|
122
122
|
end
|
123
123
|
next if Sorbet::Private::RealStdlib.real_is_a?(value, Module)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sorbet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4507
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.4.
|
19
|
+
version: 0.4.4507
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.4.
|
26
|
+
version: 0.4.4507
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|