sorbet-runtime 0.5.10826 → 0.5.10830
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 +4 -4
- data/lib/types/types/typed_enumerable.rb +2 -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: 8286322e525639c67783a95436254554061a00170521ce97d7b9369854b664ea
|
4
|
+
data.tar.gz: bc599f3b6f1bc034bfd3818dc296dba85851ce69c2395ee14a3c2d6b94d10e0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 571e7f454cc34f1aa7894eb8b63ab94fe80592290f6837548910b8536d15e3b362a8e4eb849141cea0d4f8ef9a8f120881f81bf0f36fcff02733e6488ab1bd8a
|
7
|
+
data.tar.gz: c2b302e57fe5d75a8477e936366db30fcd66454bcbff76495425bd6a049384a743f85e11ce9c829bf4f70d7a3f157daee3000f8d33e2b143e29b8f4f791af408
|
@@ -91,6 +91,8 @@ module T::Types
|
|
91
91
|
# both reading and writing. However, Sorbet treats *all*
|
92
92
|
# Enumerable subclasses as covariant for ease of adoption.
|
93
93
|
@type.subtype_of?(other.type)
|
94
|
+
elsif other.class <= Simple
|
95
|
+
underlying_class <= other.raw_type
|
94
96
|
else
|
95
97
|
false
|
96
98
|
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.10830
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|