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 +4 -4
- data/lib/solargraph/version.rb +1 -1
- data/lib/solargraph/yard_map.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a227df553c29a37fd42a7e7c1ed0a41f2c064dc2
|
4
|
+
data.tar.gz: f57a9a06b0495086c981cb2f8bbf29ffaab2c3a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e8831205c0924300465d6b40ed210bfc865ba1315ef98ab2d7bfe74f0b56b0e0386a43e0a17cf131a60e1abe745a4355b463f33e2ae0ec5fec98ab4d7f2bcac
|
7
|
+
data.tar.gz: ee879308f132f039e0721afe9218d51566402227409e7e86034bb918bf0f1ada9503ae1912d0b1b2c733ba922bc8087b52db7177918ff025598147fe8bc69c8b
|
data/lib/solargraph/version.rb
CHANGED
data/lib/solargraph/yard_map.rb
CHANGED
@@ -354,7 +354,9 @@ module Solargraph
|
|
354
354
|
tried = []
|
355
355
|
required.each do |r|
|
356
356
|
begin
|
357
|
-
|
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?
|