sorbet-runtime 0.5.5830 → 0.5.5835
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/types/_types.rb +4 -4
- data/lib/types/types/attached_class.rb +4 -0
- data/lib/types/types/noreturn.rb +4 -0
- data/lib/types/types/self_type.rb +4 -0
- data/lib/types/types/untyped.rb +4 -0
- 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: 1c78c486ad11e0c1425ad311f09498c7932e29d5dc95ecd3b39d497706d918ba
|
4
|
+
data.tar.gz: c465da35e7c4a3327b4f8b2b29854f45aecfb2dfabc7863245cd82028371101a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f92f74be1bb881101fab6440467307a370d063d458da5014ebfed3f768cfac7c829bcbb4200492d48d49d0d1c03d4652c4cfc9fb67edd64fc54643972a0ff332
|
7
|
+
data.tar.gz: 0ff90148441a61f9cf1911fac9c6e91e065b927bb3d68a423c0371f765e11c00e4bbe3eef1b639c443603ea62a0a79ee6807ce5d54a1ab35d5bda38c23675b66
|
data/lib/types/_types.rb
CHANGED
@@ -37,12 +37,12 @@ module T
|
|
37
37
|
# Matches any object. In the static checker, T.untyped allows any
|
38
38
|
# method calls or operations.
|
39
39
|
def self.untyped
|
40
|
-
T::Types::Untyped
|
40
|
+
T::Types::Untyped::Private::INSTANCE
|
41
41
|
end
|
42
42
|
|
43
43
|
# Indicates a function never returns (e.g. "Kernel#raise")
|
44
44
|
def self.noreturn
|
45
|
-
T::Types::NoReturn
|
45
|
+
T::Types::NoReturn::Private::INSTANCE
|
46
46
|
end
|
47
47
|
|
48
48
|
# T.all(<Type>, <Type>, ...) -- matches an object that has all of the types listed
|
@@ -62,12 +62,12 @@ module T
|
|
62
62
|
|
63
63
|
# Matches `self`:
|
64
64
|
def self.self_type
|
65
|
-
T::Types::SelfType
|
65
|
+
T::Types::SelfType::Private::INSTANCE
|
66
66
|
end
|
67
67
|
|
68
68
|
# Matches the instance type in a singleton-class context
|
69
69
|
def self.attached_class
|
70
|
-
T::Types::AttachedClassType
|
70
|
+
T::Types::AttachedClassType::Private::INSTANCE
|
71
71
|
end
|
72
72
|
|
73
73
|
# Matches any class that subclasses or includes the provided class
|
data/lib/types/types/noreturn.rb
CHANGED
data/lib/types/types/untyped.rb
CHANGED
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.5835
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|