solargraph 0.39.16 → 0.40.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -8
- data/CHANGELOG.md +998 -0
- data/SPONSORS.md +1 -0
- data/lib/solargraph.rb +2 -4
- data/lib/solargraph/api_map.rb +61 -63
- data/lib/solargraph/api_map/cache.rb +2 -2
- data/lib/solargraph/api_map/store.rb +3 -7
- data/lib/solargraph/{bundle.rb → bench.rb} +6 -2
- data/lib/solargraph/compat.rb +14 -0
- data/lib/solargraph/convention.rb +13 -4
- data/lib/solargraph/convention/base.rb +16 -8
- data/lib/solargraph/convention/gemfile.rb +2 -5
- data/lib/solargraph/convention/gemspec.rb +3 -6
- data/lib/solargraph/convention/rspec.rb +3 -6
- data/lib/solargraph/diagnostics/rubocop_helpers.rb +1 -20
- data/lib/solargraph/environ.rb +11 -6
- data/lib/solargraph/language_server/host.rb +5 -0
- data/lib/solargraph/language_server/message/extended/check_gem_version.rb +6 -1
- data/lib/solargraph/language_server/message/text_document/definition.rb +1 -1
- data/lib/solargraph/language_server/message/text_document/formatting.rb +47 -20
- data/lib/solargraph/library.rb +6 -8
- data/lib/solargraph/parser/legacy/node_methods.rb +9 -0
- data/lib/solargraph/parser/legacy/node_processors/ivasgn_node.rb +1 -1
- data/lib/solargraph/parser/legacy/node_processors/send_node.rb +34 -22
- data/lib/solargraph/parser/node_processor/base.rb +3 -0
- data/lib/solargraph/parser/rubyvm/node_methods.rb +18 -1
- data/lib/solargraph/parser/rubyvm/node_processors/args_node.rb +1 -1
- data/lib/solargraph/parser/rubyvm/node_processors/ivasgn_node.rb +1 -1
- data/lib/solargraph/parser/rubyvm/node_processors/send_node.rb +38 -28
- data/lib/solargraph/pin.rb +0 -3
- data/lib/solargraph/pin/common.rb +1 -1
- data/lib/solargraph/pin/conversions.rb +1 -1
- data/lib/solargraph/pin/documenting.rb +3 -9
- data/lib/solargraph/pin/method.rb +141 -7
- data/lib/solargraph/pin/method_alias.rb +1 -1
- data/lib/solargraph/position.rb +2 -14
- data/lib/solargraph/source.rb +10 -6
- data/lib/solargraph/source/chain.rb +3 -3
- data/lib/solargraph/source_map.rb +4 -1
- data/lib/solargraph/source_map/clip.rb +3 -2
- data/lib/solargraph/source_map/mapper.rb +10 -6
- data/lib/solargraph/type_checker.rb +50 -44
- data/lib/solargraph/type_checker/checks.rb +5 -1
- data/lib/solargraph/type_checker/param_def.rb +1 -1
- data/lib/solargraph/type_checker/rules.rb +5 -1
- data/lib/solargraph/version.rb +1 -1
- data/lib/solargraph/workspace/config.rb +15 -0
- data/lib/solargraph/yard_map.rb +38 -47
- data/lib/solargraph/yard_map/core_fills.rb +185 -0
- data/lib/solargraph/yard_map/helpers.rb +16 -0
- data/lib/solargraph/yard_map/mapper.rb +11 -5
- data/lib/solargraph/{pin/yard_pin/constant.rb → yard_map/mapper/to_constant.rb} +6 -6
- data/lib/solargraph/yard_map/mapper/to_method.rb +78 -0
- data/lib/solargraph/{pin/yard_pin/namespace.rb → yard_map/mapper/to_namespace.rb} +6 -6
- data/lib/solargraph/yard_map/rdoc_to_yard.rb +1 -1
- data/lib/solargraph/yard_map/stdlib_fills.rb +43 -0
- data/lib/solargraph/{pin/yard_pin/method.rb → yard_map/to_method.rb} +29 -30
- data/solargraph.gemspec +5 -5
- metadata +22 -36
- data/lib/solargraph/core_fills.rb +0 -164
- data/lib/solargraph/pin/attribute.rb +0 -49
- data/lib/solargraph/pin/base_method.rb +0 -149
- data/lib/solargraph/pin/yard_pin.rb +0 -12
- data/lib/solargraph/pin/yard_pin/yard_mixin.rb +0 -20
- data/lib/solargraph/stdlib_fills.rb +0 -40
- data/travis-bundler.rb +0 -11
@@ -1,17 +1,17 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Solargraph
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
class YardMap
|
5
|
+
class Mapper
|
6
|
+
module ToConstant
|
7
|
+
extend YardMap::Helpers
|
8
8
|
|
9
|
-
def
|
9
|
+
def self.make code_object, closure = nil, spec = nil
|
10
10
|
closure ||= Solargraph::Pin::Namespace.new(
|
11
11
|
name: code_object.namespace.to_s,
|
12
12
|
gates: [code_object.namespace.to_s]
|
13
13
|
)
|
14
|
-
|
14
|
+
Pin::Constant.new(
|
15
15
|
location: object_location(code_object, spec),
|
16
16
|
closure: closure,
|
17
17
|
name: code_object.name.to_s,
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Solargraph
|
4
|
+
class YardMap
|
5
|
+
class Mapper
|
6
|
+
module ToMethod
|
7
|
+
extend YardMap::Helpers
|
8
|
+
|
9
|
+
def self.make code_object, name = nil, scope = nil, visibility = nil, closure = nil, spec = nil
|
10
|
+
closure ||= Solargraph::Pin::Namespace.new(
|
11
|
+
name: code_object.namespace.to_s,
|
12
|
+
gates: [code_object.namespace.to_s]
|
13
|
+
)
|
14
|
+
location = object_location(code_object, spec)
|
15
|
+
comments = code_object.docstring ? code_object.docstring.all.to_s : ''
|
16
|
+
Pin::Method.new(
|
17
|
+
location: location,
|
18
|
+
closure: closure,
|
19
|
+
name: name || code_object.name.to_s,
|
20
|
+
comments: comments,
|
21
|
+
scope: scope || code_object.scope,
|
22
|
+
visibility: visibility || code_object.visibility,
|
23
|
+
parameters: get_parameters(code_object, location, comments),
|
24
|
+
explicit: code_object.is_explicit?
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
class << self
|
29
|
+
private
|
30
|
+
|
31
|
+
# @param code_object [YARD::CodeObjects::Base]
|
32
|
+
# @return [Array<Solargraph::Pin::Parameter>]
|
33
|
+
def get_parameters code_object, location, comments
|
34
|
+
return [] unless code_object.is_a?(YARD::CodeObjects::MethodObject)
|
35
|
+
# HACK: Skip `nil` and `self` parameters that are sometimes emitted
|
36
|
+
# for methods defined in C
|
37
|
+
# See https://github.com/castwide/solargraph/issues/345
|
38
|
+
code_object.parameters.select { |a| a[0] && a[0] != 'self' }.map do |a|
|
39
|
+
Solargraph::Pin::Parameter.new(
|
40
|
+
location: location,
|
41
|
+
closure: self,
|
42
|
+
comments: comments,
|
43
|
+
name: arg_name(a),
|
44
|
+
presence: nil,
|
45
|
+
decl: arg_type(a),
|
46
|
+
asgn_code: a[1]
|
47
|
+
)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
# @param a [Array]
|
52
|
+
# @return [String]
|
53
|
+
def arg_name a
|
54
|
+
a[0].gsub(/[^a-z0-9_]/i, '')
|
55
|
+
end
|
56
|
+
|
57
|
+
# @param a [Array]
|
58
|
+
# @return [::Symbol]
|
59
|
+
def arg_type a
|
60
|
+
if a[0].start_with?('**')
|
61
|
+
:kwrestarg
|
62
|
+
elsif a[0].start_with?('*')
|
63
|
+
:restarg
|
64
|
+
elsif a[0].start_with?('&')
|
65
|
+
:blockarg
|
66
|
+
elsif a[0].end_with?(':')
|
67
|
+
a[1] ? :kwoptarg : :kwarg
|
68
|
+
elsif a[1]
|
69
|
+
:optarg
|
70
|
+
else
|
71
|
+
:arg
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -1,18 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Solargraph
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
class YardMap
|
5
|
+
class Mapper
|
6
|
+
module ToNamespace
|
7
|
+
extend YardMap::Helpers
|
8
8
|
|
9
|
-
def
|
9
|
+
def self.make code_object, spec, closure = nil
|
10
10
|
closure ||= Solargraph::Pin::Namespace.new(
|
11
11
|
name: code_object.namespace.to_s,
|
12
12
|
closure: Pin::ROOT_PIN,
|
13
13
|
gates: [code_object.namespace.to_s]
|
14
14
|
)
|
15
|
-
|
15
|
+
Pin::Namespace.new(
|
16
16
|
location: object_location(code_object, spec),
|
17
17
|
name: code_object.name.to_s,
|
18
18
|
comments: code_object.docstring ? code_object.docstring.all.to_s : '',
|
@@ -63,7 +63,7 @@ module Solargraph
|
|
63
63
|
name_hash[mod.full_name] = namepin
|
64
64
|
# @param met [RDoc::AnyMethod]
|
65
65
|
mod.each_method do |met|
|
66
|
-
pin = Solargraph::SourceMap.load_string("def Object.tmp#{met.param_seq};end").first_pin('Object.tmp') || Solargraph::Pin::
|
66
|
+
pin = Solargraph::SourceMap.load_string("def Object.tmp#{met.param_seq};end").first_pin('Object.tmp') || Solargraph::Pin::Method.new
|
67
67
|
pins.push Solargraph::Pin::Method.new(
|
68
68
|
name: met.name,
|
69
69
|
closure: namepin,
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Solargraph
|
2
|
+
class YardMap
|
3
|
+
module StdlibFills
|
4
|
+
Override = Pin::Reference::Override
|
5
|
+
|
6
|
+
LIBS = {
|
7
|
+
'benchmark' => [
|
8
|
+
Override.method_return('Benchmark.measure', 'Benchmark::Tms')
|
9
|
+
],
|
10
|
+
|
11
|
+
'pathname' => [
|
12
|
+
Override.method_return('Pathname#join', 'Pathname'),
|
13
|
+
Override.method_return('Pathname#basename', 'Pathname'),
|
14
|
+
Override.method_return('Pathname#dirname', 'Pathname'),
|
15
|
+
Override.method_return('Pathname#cleanpath', 'Pathname'),
|
16
|
+
Override.method_return('Pathname#children', 'Array<Pathname>'),
|
17
|
+
Override.method_return('Pathname#entries', 'Array<Pathname>')
|
18
|
+
],
|
19
|
+
|
20
|
+
'set' => [
|
21
|
+
Override.method_return('Enumerable#to_set', 'Set'),
|
22
|
+
Override.method_return('Set#add', 'self'),
|
23
|
+
Override.method_return('Set#add?', 'self, nil'),
|
24
|
+
Override.method_return('Set#classify', 'Hash'),
|
25
|
+
Override.from_comment('Set#each', '@yieldparam_single_parameter'),
|
26
|
+
],
|
27
|
+
|
28
|
+
'tempfile' => [
|
29
|
+
Override.from_comment('Tempfile.open', %(
|
30
|
+
@yieldparam [Tempfile]
|
31
|
+
@return [Tempfile]
|
32
|
+
))
|
33
|
+
]
|
34
|
+
}.freeze
|
35
|
+
|
36
|
+
# @param path [String]
|
37
|
+
# @return [Array<Pin::Reference::Override>]
|
38
|
+
def self.get path
|
39
|
+
LIBS[path] || []
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -1,39 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Solargraph
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
# @param code_object [YARD::CodeObjects::Base]
|
10
|
-
# @param name [String, nil]
|
11
|
-
# @param scope [Symbol, nil]
|
12
|
-
# @param visibility [Symbol, nil]
|
13
|
-
# @param closure [Solargraph::Pin::Closure, nil]
|
14
|
-
# @param spec [Gem::Specification]
|
15
|
-
def initialize code_object, name = nil, scope = nil, visibility = nil, closure = nil, spec = nil
|
16
|
-
closure ||= Solargraph::Pin::Namespace.new(
|
17
|
-
name: code_object.namespace.to_s,
|
18
|
-
gates: [code_object.namespace.to_s]
|
19
|
-
)
|
20
|
-
super(
|
21
|
-
location: object_location(code_object, spec),
|
22
|
-
closure: closure,
|
23
|
-
name: name || code_object.name.to_s,
|
24
|
-
comments: code_object.docstring ? code_object.docstring.all.to_s : '',
|
25
|
-
scope: scope || code_object.scope,
|
26
|
-
visibility: visibility || code_object.visibility,
|
27
|
-
parameters: get_parameters(code_object),
|
28
|
-
explicit: code_object.is_explicit?
|
29
|
-
)
|
30
|
-
end
|
31
|
-
|
32
|
-
private
|
4
|
+
class YardMap
|
5
|
+
class ToMethod
|
6
|
+
module InnerMethods
|
7
|
+
module_function
|
33
8
|
|
34
9
|
# @param code_object [YARD::CodeObjects::Base]
|
35
10
|
# @return [Array<Solargraph::Pin::Parameter>]
|
36
|
-
def get_parameters code_object
|
11
|
+
def get_parameters code_object, location, comments
|
37
12
|
return [] unless code_object.is_a?(YARD::CodeObjects::MethodObject)
|
38
13
|
# HACK: Skip `nil` and `self` parameters that are sometimes emitted
|
39
14
|
# for methods defined in C
|
@@ -75,6 +50,30 @@ module Solargraph
|
|
75
50
|
end
|
76
51
|
end
|
77
52
|
end
|
53
|
+
private_constant :InnerMethods
|
54
|
+
|
55
|
+
# include YardMixin
|
56
|
+
# extend YardMixin
|
57
|
+
extend Helpers
|
58
|
+
|
59
|
+
def make code_object, name = nil, scope = nil, visibility = nil, closure = nil, spec = nil
|
60
|
+
closure ||= Solargraph::Pin::Namespace.new(
|
61
|
+
name: code_object.namespace.to_s,
|
62
|
+
gates: [code_object.namespace.to_s]
|
63
|
+
)
|
64
|
+
location = object_location(code_object, spec)
|
65
|
+
comments = code_object.docstring ? code_object.docstring.all.to_s : ''
|
66
|
+
Pin::Method.new(
|
67
|
+
location: location,
|
68
|
+
closure: closure,
|
69
|
+
name: name || code_object.name.to_s,
|
70
|
+
comments: comments,
|
71
|
+
scope: scope || code_object.scope,
|
72
|
+
visibility: visibility || code_object.visibility,
|
73
|
+
parameters: InnerMethods.get_parameters(code_object, location, comments),
|
74
|
+
explicit: code_object.is_explicit?
|
75
|
+
)
|
76
|
+
end
|
78
77
|
end
|
79
78
|
end
|
80
79
|
end
|
data/solargraph.gemspec
CHANGED
@@ -17,18 +17,18 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.license = 'MIT'
|
18
18
|
s.executables = ['solargraph']
|
19
19
|
|
20
|
-
s.required_ruby_version = '>= 2.
|
20
|
+
s.required_ruby_version = '>= 2.4'
|
21
21
|
|
22
22
|
s.add_runtime_dependency 'backport', '~> 1.1'
|
23
23
|
s.add_runtime_dependency 'benchmark'
|
24
24
|
s.add_runtime_dependency 'bundler', '>= 1.17.2'
|
25
25
|
s.add_runtime_dependency 'e2mmap'
|
26
26
|
s.add_runtime_dependency 'jaro_winkler', '~> 1.5'
|
27
|
-
s.add_runtime_dependency '
|
28
|
-
s.add_runtime_dependency '
|
29
|
-
s.add_runtime_dependency 'parser', '~>
|
27
|
+
s.add_runtime_dependency 'kramdown', '~> 2.3'
|
28
|
+
s.add_runtime_dependency 'kramdown-parser-gfm', '~> 1.1'
|
29
|
+
s.add_runtime_dependency 'parser', '~> 3.0'
|
30
30
|
s.add_runtime_dependency 'reverse_markdown', '>= 1.0.5', '< 3'
|
31
|
-
s.add_runtime_dependency 'rubocop', '
|
31
|
+
s.add_runtime_dependency 'rubocop', '>= 0.52'
|
32
32
|
s.add_runtime_dependency 'thor', '~> 1.0'
|
33
33
|
s.add_runtime_dependency 'tilt', '~> 2.0'
|
34
34
|
s.add_runtime_dependency 'yard', '~> 0.9', '>= 0.9.24'
|
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.
|
4
|
+
version: 0.40.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:
|
11
|
+
date: 2021-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backport
|
@@ -81,59 +81,47 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.5'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: kramdown
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 0.7.3
|
89
|
+
version: '2.3'
|
93
90
|
type: :runtime
|
94
91
|
prerelease: false
|
95
92
|
version_requirements: !ruby/object:Gem::Requirement
|
96
93
|
requirements:
|
97
94
|
- - "~>"
|
98
95
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 0.7.3
|
96
|
+
version: '2.3'
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
98
|
+
name: kramdown-parser-gfm
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
106
100
|
requirements:
|
107
101
|
- - "~>"
|
108
102
|
- !ruby/object:Gem::Version
|
109
|
-
version: '1.
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 1.9.1
|
103
|
+
version: '1.1'
|
113
104
|
type: :runtime
|
114
105
|
prerelease: false
|
115
106
|
version_requirements: !ruby/object:Gem::Requirement
|
116
107
|
requirements:
|
117
108
|
- - "~>"
|
118
109
|
- !ruby/object:Gem::Version
|
119
|
-
version: '1.
|
120
|
-
- - ">="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 1.9.1
|
110
|
+
version: '1.1'
|
123
111
|
- !ruby/object:Gem::Dependency
|
124
112
|
name: parser
|
125
113
|
requirement: !ruby/object:Gem::Requirement
|
126
114
|
requirements:
|
127
115
|
- - "~>"
|
128
116
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
117
|
+
version: '3.0'
|
130
118
|
type: :runtime
|
131
119
|
prerelease: false
|
132
120
|
version_requirements: !ruby/object:Gem::Requirement
|
133
121
|
requirements:
|
134
122
|
- - "~>"
|
135
123
|
- !ruby/object:Gem::Version
|
136
|
-
version: '
|
124
|
+
version: '3.0'
|
137
125
|
- !ruby/object:Gem::Dependency
|
138
126
|
name: reverse_markdown
|
139
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,14 +146,14 @@ dependencies:
|
|
158
146
|
name: rubocop
|
159
147
|
requirement: !ruby/object:Gem::Requirement
|
160
148
|
requirements:
|
161
|
-
- - "
|
149
|
+
- - ">="
|
162
150
|
- !ruby/object:Gem::Version
|
163
151
|
version: '0.52'
|
164
152
|
type: :runtime
|
165
153
|
prerelease: false
|
166
154
|
version_requirements: !ruby/object:Gem::Requirement
|
167
155
|
requirements:
|
168
|
-
- - "
|
156
|
+
- - ">="
|
169
157
|
- !ruby/object:Gem::Version
|
170
158
|
version: '0.52'
|
171
159
|
- !ruby/object:Gem::Dependency
|
@@ -303,6 +291,7 @@ files:
|
|
303
291
|
- ".rspec"
|
304
292
|
- ".travis.yml"
|
305
293
|
- ".yardopts"
|
294
|
+
- CHANGELOG.md
|
306
295
|
- Gemfile
|
307
296
|
- LICENSE
|
308
297
|
- README.md
|
@@ -316,7 +305,7 @@ files:
|
|
316
305
|
- lib/solargraph/api_map/cache.rb
|
317
306
|
- lib/solargraph/api_map/source_to_yard.rb
|
318
307
|
- lib/solargraph/api_map/store.rb
|
319
|
-
- lib/solargraph/
|
308
|
+
- lib/solargraph/bench.rb
|
320
309
|
- lib/solargraph/compat.rb
|
321
310
|
- lib/solargraph/complex_type.rb
|
322
311
|
- lib/solargraph/complex_type/type_methods.rb
|
@@ -330,7 +319,6 @@ files:
|
|
330
319
|
- lib/solargraph/converters/dl.rb
|
331
320
|
- lib/solargraph/converters/dt.rb
|
332
321
|
- lib/solargraph/converters/misc.rb
|
333
|
-
- lib/solargraph/core_fills.rb
|
334
322
|
- lib/solargraph/diagnostics.rb
|
335
323
|
- lib/solargraph/diagnostics/base.rb
|
336
324
|
- lib/solargraph/diagnostics/require_not_found.rb
|
@@ -460,9 +448,7 @@ files:
|
|
460
448
|
- lib/solargraph/parser/rubyvm/node_processors/sym_node.rb
|
461
449
|
- lib/solargraph/parser/snippet.rb
|
462
450
|
- lib/solargraph/pin.rb
|
463
|
-
- lib/solargraph/pin/attribute.rb
|
464
451
|
- lib/solargraph/pin/base.rb
|
465
|
-
- lib/solargraph/pin/base_method.rb
|
466
452
|
- lib/solargraph/pin/base_variable.rb
|
467
453
|
- lib/solargraph/pin/block.rb
|
468
454
|
- lib/solargraph/pin/class_variable.rb
|
@@ -492,11 +478,6 @@ files:
|
|
492
478
|
- lib/solargraph/pin/reference/superclass.rb
|
493
479
|
- lib/solargraph/pin/singleton.rb
|
494
480
|
- lib/solargraph/pin/symbol.rb
|
495
|
-
- lib/solargraph/pin/yard_pin.rb
|
496
|
-
- lib/solargraph/pin/yard_pin/constant.rb
|
497
|
-
- lib/solargraph/pin/yard_pin/method.rb
|
498
|
-
- lib/solargraph/pin/yard_pin/namespace.rb
|
499
|
-
- lib/solargraph/pin/yard_pin/yard_mixin.rb
|
500
481
|
- lib/solargraph/position.rb
|
501
482
|
- lib/solargraph/range.rb
|
502
483
|
- lib/solargraph/server_methods.rb
|
@@ -524,7 +505,6 @@ files:
|
|
524
505
|
- lib/solargraph/source_map/clip.rb
|
525
506
|
- lib/solargraph/source_map/completion.rb
|
526
507
|
- lib/solargraph/source_map/mapper.rb
|
527
|
-
- lib/solargraph/stdlib_fills.rb
|
528
508
|
- lib/solargraph/type_checker.rb
|
529
509
|
- lib/solargraph/type_checker/checks.rb
|
530
510
|
- lib/solargraph/type_checker/param_def.rb
|
@@ -543,12 +523,18 @@ files:
|
|
543
523
|
- lib/solargraph/yard_map.rb
|
544
524
|
- lib/solargraph/yard_map/cache.rb
|
545
525
|
- lib/solargraph/yard_map/core_docs.rb
|
526
|
+
- lib/solargraph/yard_map/core_fills.rb
|
546
527
|
- lib/solargraph/yard_map/core_gen.rb
|
528
|
+
- lib/solargraph/yard_map/helpers.rb
|
547
529
|
- lib/solargraph/yard_map/mapper.rb
|
530
|
+
- lib/solargraph/yard_map/mapper/to_constant.rb
|
531
|
+
- lib/solargraph/yard_map/mapper/to_method.rb
|
532
|
+
- lib/solargraph/yard_map/mapper/to_namespace.rb
|
548
533
|
- lib/solargraph/yard_map/rdoc_to_yard.rb
|
534
|
+
- lib/solargraph/yard_map/stdlib_fills.rb
|
535
|
+
- lib/solargraph/yard_map/to_method.rb
|
549
536
|
- lib/yard-solargraph.rb
|
550
537
|
- solargraph.gemspec
|
551
|
-
- travis-bundler.rb
|
552
538
|
- yardoc/2.2.2.tar.gz
|
553
539
|
homepage: http://solargraph.org
|
554
540
|
licenses:
|
@@ -562,7 +548,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
562
548
|
requirements:
|
563
549
|
- - ">="
|
564
550
|
- !ruby/object:Gem::Version
|
565
|
-
version: '2.
|
551
|
+
version: '2.4'
|
566
552
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
567
553
|
requirements:
|
568
554
|
- - ">="
|