solargraph 0.41.0 → 0.41.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/solargraph/api_map.rb +1 -1
- data/lib/solargraph/bench.rb +5 -1
- data/lib/solargraph/library.rb +2 -1
- data/lib/solargraph/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 821bc3321cdaf8fd3a707fbf5c04545fadde37dbb4ce177c0f64cfc2330dd2f2
|
4
|
+
data.tar.gz: 29bfda592a11968558178117ac849e1dbc7bf02c5685740a79682e911cadadf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c1c06c2996704646df0c140b47e5109bfd6f70ba7504e7021fec26c1b6c8416cb099f4d23654b06959ccf268f2d213f65c2d586a2aae7b3ba6e6479d1f83bfb
|
7
|
+
data.tar.gz: '09f816e9bc2d8aed6e95f414e9859a32996f8b989d41e06519afdd2be72cffe6409c9502e9a57594c9d587fda187a2b218b0bdd46027a0d11e044d4320284842'
|
data/CHANGELOG.md
CHANGED
data/lib/solargraph/api_map.rb
CHANGED
@@ -80,7 +80,7 @@ module Solargraph
|
|
80
80
|
external_requires.push req unless result
|
81
81
|
end
|
82
82
|
end
|
83
|
-
br = @required.include?('bundler/require') ? bench.
|
83
|
+
br = @required.include?('bundler/require') ? require_from_bundle(bench.directory) : {}
|
84
84
|
@required.merge br.keys
|
85
85
|
yard_map.change(external_requires, br, bench.gemnames)
|
86
86
|
@store = Store.new(yard_map.pins + implicit.pins + pins)
|
data/lib/solargraph/bench.rb
CHANGED
@@ -15,13 +15,17 @@ module Solargraph
|
|
15
15
|
# @return [Set<String>]
|
16
16
|
attr_reader :gemnames
|
17
17
|
|
18
|
+
# @return [String]
|
19
|
+
attr_reader :directory
|
20
|
+
|
18
21
|
# @param source_maps [Array<SourceMap>, Set<SourceMap>]
|
19
22
|
# @param load_paths [Array<String>, Set<String>]
|
20
23
|
# @param gemnames [Array<String>, Set<String>]
|
21
|
-
def initialize source_maps: [], load_paths: [], gemnames: []
|
24
|
+
def initialize source_maps: [], load_paths: [], gemnames: [], directory: ''
|
22
25
|
@source_maps = source_maps.to_set
|
23
26
|
@load_paths = load_paths.to_set
|
24
27
|
@gemnames = gemnames.to_set
|
28
|
+
@directory = directory
|
25
29
|
end
|
26
30
|
end
|
27
31
|
end
|
data/lib/solargraph/library.rb
CHANGED
data/lib/solargraph/version.rb
CHANGED
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.41.
|
4
|
+
version: 0.41.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Snyder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backport
|