sorbet 0.4.5099 → 0.4.5109

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gem_loader.rb +14 -3
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f3c5996c829f7a297b7569946749911ceabdae0
4
- data.tar.gz: 7216a762dc884c47a3f113907b07e1f0d98dfef3
3
+ metadata.gz: 2ef693ca3caa35b14b4f9f33cc5d52ba2aec16a9
4
+ data.tar.gz: 28a22a9948f48962219855d39a0e02a022dc19eb
5
5
  SHA512:
6
- metadata.gz: 0e49259c84d0338f187b2250919c46f3c5e1d85dc4d21f0f184d086a5a18d9ff1f6ac383e8233aedeb46546353b3ad453291fb22a81d746b2a52832e9a63d5b6
7
- data.tar.gz: 3a2720246c90c9c1e8b9ebda751d6275fc4f9212db11532a96ec6abf4f2a9d0117e6c689154b7bc03a2bab6da9cc9f0511d7ee0e908bf6bba58929fda1464fbf
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
- require gem # rubocop:disable PrisonGuard/NoDynamicRequire
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
- Bundler.require
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.5099
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-04 00:00:00.000000000 Z
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.5099
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.5099
26
+ version: 0.4.5109
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement