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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdea5180a5c3d98cc51a47ab44549e89cbe7fb67
4
- data.tar.gz: c78cb71361aa346932467b5b7bb54b733e6c7c8f
3
+ metadata.gz: f889910b3fbd36b27eeda6cdf07873a3039a1f27
4
+ data.tar.gz: 59cbc71fcc87fc60dc3f74fcd90453924eb1ab97
5
5
  SHA512:
6
- metadata.gz: 8f8a7b278d2a098e2b25200d4947475ea26a27cdce013cf252983e5045b19ae76d9e78ef062de5df438c01c00e901669a2d69db91c6106f5e01ae33dee96c923
7
- data.tar.gz: aabcbe6eb8f25b36ce2b18d7e7c96f274850b07e07aead5188504d0f829e94c87e537ce9eb2eaf2cfbffa561bfdb80ebb89fc47cae643e474fd66597c0ab1094
6
+ metadata.gz: '0856b25c8d9f05f508cff9140b128b4764c880e0d80ae9183f7e4e6ec54a7c412fd3884375b785799941daa77621f0d0126cacc09e516e0afe7510d3dbf9c2e5'
7
+ data.tar.gz: baab275dbfde17e5484fa975c5b59e9f728d2384d9f4d51d20f5f4634e1ab5556fb36580507f9929b00aaa165bd4b3850b7ec21244cecdf03869540509a98d8f
@@ -109,6 +109,8 @@ class Sorbet::Private::HiddenMethodFinder
109
109
  '--stdout-hup-hack',
110
110
  '--silence-dev-message',
111
111
  '--no-error-count',
112
+ '-e', # this is additive with any files / dirs
113
+ '""',
112
114
  ],
113
115
  err: SOURCE_CONSTANTS_ERR
114
116
  )
@@ -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['files']
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.5737
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-06 00:00:00.000000000 Z
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.5737
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.5737
26
+ version: 0.5.5742
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement