sorbet 0.5.5737 → 0.5.5742
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hidden-definition-finder.rb +2 -0
- data/lib/require_everything.rb +4 -1
- 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: f889910b3fbd36b27eeda6cdf07873a3039a1f27
|
4
|
+
data.tar.gz: 59cbc71fcc87fc60dc3f74fcd90453924eb1ab97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0856b25c8d9f05f508cff9140b128b4764c880e0d80ae9183f7e4e6ec54a7c412fd3884375b785799941daa77621f0d0126cacc09e516e0afe7510d3dbf9c2e5'
|
7
|
+
data.tar.gz: baab275dbfde17e5484fa975c5b59e9f728d2384d9f4d51d20f5f4634e1ab5556fb36580507f9929b00aaa165bd4b3850b7ec21244cecdf03869540509a98d8f
|
data/lib/require_everything.rb
CHANGED
@@ -117,6 +117,8 @@ class Sorbet::Private::RequireEverything
|
|
117
117
|
"--stop-after=parser",
|
118
118
|
"--silence-dev-message",
|
119
119
|
"--no-error-count",
|
120
|
+
"-e",
|
121
|
+
"''",
|
120
122
|
]) {|io| io.read}
|
121
123
|
# This returns a hash with structure:
|
122
124
|
# { files:
|
@@ -130,7 +132,8 @@ class Sorbet::Private::RequireEverything
|
|
130
132
|
# ]
|
131
133
|
# }
|
132
134
|
parsed = JSON.parse(output)
|
133
|
-
parsed
|
135
|
+
parsed
|
136
|
+
.fetch('files', [])
|
134
137
|
.reject{|file| ["Ignore", "Stdlib"].include?(file["strict"])}
|
135
138
|
.map{|file| file["path"]}
|
136
139
|
.select{|path| File.file?(path)} # Some files have https:// paths. We ignore those here.
|
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.5.
|
4
|
+
version: 0.5.5742
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-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.5.
|
19
|
+
version: 0.5.5742
|
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.5.
|
26
|
+
version: 0.5.5742
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|