solargraph 0.17.2 → 0.17.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70caa0a1b8b30a5d8c276ef9ec3dd54e36df6786
4
- data.tar.gz: 346775f0ce4f6b0dd62f2240ab0ad523c845075a
3
+ metadata.gz: 1e42b128f6b533cce21220f0f3bc674fc2a20157
4
+ data.tar.gz: 3a9d391b9f2982529a0de8cb038dd593924093c4
5
5
  SHA512:
6
- metadata.gz: 415327acf2fc2f9779aa53a01a0a5bd4dd9e14f39cdc879f4ce51fdd9533eb3786a4c129fc0e365e080ddf8f4a2e5de0cb8464c7443ca2cbc1bb4d8a0fb4a6cf
7
- data.tar.gz: 77954b8598a0b098d50b4080169f952dbdb008381c7471bebcd97fe6ebd4a737d23a768e5f5cb6bda05689dd6e3a6543cf62146590c01c53431151d62b68b324
6
+ metadata.gz: 987ecb11f32e4b621d734c388d2365b03a2af86b37e2ee6fea5b81fafc2edc63ac37908070fd91ce24aa47772c8772f8be2526ba1ec246edba64a9606fc529d2
7
+ data.tar.gz: a3f0bc9c84895bf888f6729d7eba91fe078ba946fbdff9f4cc6736546b6a7561dffc084d6339eb258a16f2d1aab0a6eb553f68ea7591fc7b5c1ba71300b731b7
@@ -142,6 +142,7 @@ module Solargraph
142
142
  def self.get_api_map workspace
143
143
  api_map = nil
144
144
  @@semaphore.synchronize {
145
+ @@api_hash[nil] ||= Solargraph::ApiMap.new if workspace.nil?
145
146
  api_map = @@api_hash[workspace]
146
147
  }
147
148
  api_map
@@ -1,3 +1,3 @@
1
1
  module Solargraph
2
- VERSION = '0.17.2'
2
+ VERSION = '0.17.3'
3
3
  end
@@ -333,7 +333,7 @@ module Solargraph
333
333
  spec = Gem::Specification.find_by_path(r)
334
334
  begin
335
335
  spec = Gem::Specification.find_by_name(r) if spec.nil?
336
- rescue Gem::MissingSpecError => e
336
+ rescue Gem::LoadError => e
337
337
  # @todo How to handle this?
338
338
  end
339
339
  if spec.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.17.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-16 00:00:00.000000000 Z
11
+ date: 2018-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser