solargraph 0.18.0 → 0.18.1

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: 2ccb588fb1b726e174fc3e8d569a92f1e8ae0c9d
4
- data.tar.gz: 0ec8f37bcd32ecde24d4f56a80bd6db81d559c13
3
+ metadata.gz: a227df553c29a37fd42a7e7c1ed0a41f2c064dc2
4
+ data.tar.gz: f57a9a06b0495086c981cb2f8bbf29ffaab2c3a3
5
5
  SHA512:
6
- metadata.gz: 71df1903bd21f4a7e762068d23ff09c5d5c1a078e63eec46ce04b5500d9e27fcda2ff8a921c16ce3a4b7d6379cc8ac582ea48a9d36fc6e4f1e8ed8282d9e77fa
7
- data.tar.gz: 4e1fe48e17648c06a5ca4bf513fc46856ae848746844a1db6f2d21ee281f8c664a44ddbf7b1dd01e47ec80abbb8eba77c742853086a1d43d66e7a9b218c21a12
6
+ metadata.gz: 9e8831205c0924300465d6b40ed210bfc865ba1315ef98ab2d7bfe74f0b56b0e0386a43e0a17cf131a60e1abe745a4355b463f33e2ae0ec5fec98ab4d7f2bcac
7
+ data.tar.gz: ee879308f132f039e0721afe9218d51566402227409e7e86034bb918bf0f1ada9503ae1912d0b1b2c733ba922bc8087b52db7177918ff025598147fe8bc69c8b
@@ -1,3 +1,3 @@
1
1
  module Solargraph
2
- VERSION = '0.18.0'
2
+ VERSION = '0.18.1'
3
3
  end
@@ -354,7 +354,9 @@ module Solargraph
354
354
  tried = []
355
355
  required.each do |r|
356
356
  begin
357
- spec = Gem::Specification.find_by_name(r.split('/').first)
357
+ name = r.split('/').first
358
+ next if name.nil?
359
+ spec = Gem::Specification.find_by_name(name)
358
360
  next if spec.nil?
359
361
  ver = spec.version.to_s
360
362
  ver = ">= 0" if ver.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder