sorbet 0.4.5099 → 0.4.5109
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gem_loader.rb +14 -3
- 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: 2ef693ca3caa35b14b4f9f33cc5d52ba2aec16a9
|
4
|
+
data.tar.gz: 28a22a9948f48962219855d39a0e02a022dc19eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03db6317bd23df81a5ba1be4d1ac09d27806139c83ec7a5a0b849922f1304b1df3e69bd19482158c0cab5a1dc83c1ec210725a4803f08d9fad124a4ae844f03a
|
7
|
+
data.tar.gz: 7334e5cc457f89ea206d2941dd769245c87b187720ffcf8877bec43a2d2fbac70bc24326fcb5a76e212f32981cc736cf5cf16fde18bf0082cd1aed6166191805
|
data/lib/gem_loader.rb
CHANGED
@@ -559,7 +559,11 @@ class Sorbet::Private::GemLoader
|
|
559
559
|
puts "NameError: #{e}"
|
560
560
|
end
|
561
561
|
else
|
562
|
-
|
562
|
+
begin
|
563
|
+
require gem # rubocop:disable PrisonGuard/NoDynamicRequire
|
564
|
+
rescue NameError => e
|
565
|
+
puts "NameError: #{e}"
|
566
|
+
end
|
563
567
|
end
|
564
568
|
end
|
565
569
|
|
@@ -579,10 +583,17 @@ class Sorbet::Private::GemLoader
|
|
579
583
|
specs.sort_by(&:name).each do |gemspec|
|
580
584
|
begin
|
581
585
|
require_gem(gemspec.name)
|
582
|
-
rescue LoadError
|
586
|
+
rescue LoadError => e
|
587
|
+
puts "LoadError: #{e}"
|
588
|
+
rescue NameError => e
|
589
|
+
puts "NameError: #{e}"
|
583
590
|
end
|
584
591
|
end
|
585
|
-
|
592
|
+
begin
|
593
|
+
Bundler.require
|
594
|
+
rescue NameError => e
|
595
|
+
puts "NameError: #{e}"
|
596
|
+
end
|
586
597
|
end
|
587
598
|
end
|
588
599
|
# rubocop:enable PrisonGuard/AutogenLoaderPreamble
|
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.5109
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-05 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.5109
|
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.5109
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|