sorbet 0.4.4709 → 0.4.4733
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fetch-rbis.rb +1 -1
- data/lib/hidden-definition-finder.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3e14ed74685218936002be76f721a7ab268df87
|
4
|
+
data.tar.gz: 8d7ab5529d0475114cf39ce20db795ac01ba13fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa3fe14923041454b8b8716435334e9a696975c1265f96b5d41ff157a9657351d3bfa6e460b5536a8d960897662030fe16b63e3511fc83059a55d1e00b733412
|
7
|
+
data.tar.gz: d25b195f99e1126e618b7fa787f993a3da294e76f99b163e09c432f69ddf8bed1723c6db6912403c3e01e9ed07075d850fdecb2a808963739ff3701a9752a2f8
|
data/lib/fetch-rbis.rb
CHANGED
@@ -35,7 +35,7 @@ class Sorbet::Private::FetchRBIs
|
|
35
35
|
end
|
36
36
|
|
37
37
|
FileUtils.cd(RBI_CACHE_DIR) do
|
38
|
-
IO.popen(%w{git fetch
|
38
|
+
IO.popen(%w{git fetch --all}) {|pipe| pipe.read}
|
39
39
|
raise "Failed to git fetch" if $?.exitstatus != 0
|
40
40
|
IO.popen(%w{git checkout -q} + [SORBET_TYPED_REVISION]) {|pipe| pipe.read}
|
41
41
|
raise "Failed to git checkout" if $?.exitstatus != 0
|
@@ -201,7 +201,7 @@ class Sorbet::Private::HiddenMethodFinder
|
|
201
201
|
end
|
202
202
|
|
203
203
|
def serialize_class(source_entry, rbi_entry, klass, source_symbols, rbi_symbols, source_by_name)
|
204
|
-
return if rbi_entry["kind"] != "
|
204
|
+
return if rbi_entry["kind"] != "CLASS_OR_MODULE"
|
205
205
|
|
206
206
|
name = rbi_entry["name"]["name"]
|
207
207
|
if name.start_with?('<Class:')
|
@@ -230,7 +230,7 @@ class Sorbet::Private::HiddenMethodFinder
|
|
230
230
|
else
|
231
231
|
source_type = source_entry["kind"]
|
232
232
|
end
|
233
|
-
if source_type && source_type != "
|
233
|
+
if source_type && source_type != "CLASS_OR_MODULE"
|
234
234
|
return "# The source says #{real_name(my_klass)} is a #{source_type} but reflection says it is a #{rbi_entry['kind']}"
|
235
235
|
end
|
236
236
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.4733
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-static
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.4.
|
19
|
+
version: 0.4.4733
|
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.4733
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|