steep 0.13.0 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +0 -3
- data/CHANGELOG.md +28 -0
- data/Rakefile +0 -13
- data/bin/setup +0 -2
- data/bin/smoke_runner.rb +0 -1
- data/exe/steep +0 -1
- data/lib/steep.rb +33 -1
- data/lib/steep/annotation_parser.rb +4 -4
- data/lib/steep/ast/buffer.rb +11 -7
- data/lib/steep/ast/builtin.rb +8 -0
- data/lib/steep/ast/types/factory.rb +124 -89
- data/lib/steep/cli.rb +16 -1
- data/lib/steep/drivers/annotations.rb +1 -1
- data/lib/steep/drivers/check.rb +20 -4
- data/lib/steep/drivers/init.rb +5 -5
- data/lib/steep/drivers/langserver.rb +13 -287
- data/lib/steep/drivers/utils/driver_helper.rb +1 -1
- data/lib/steep/drivers/vendor.rb +2 -2
- data/lib/steep/drivers/watch.rb +97 -85
- data/lib/steep/drivers/worker.rb +51 -0
- data/lib/steep/project.rb +9 -5
- data/lib/steep/project/completion_provider.rb +298 -0
- data/lib/steep/project/dsl.rb +14 -0
- data/lib/steep/project/file.rb +54 -47
- data/lib/steep/project/hover_content.rb +17 -8
- data/lib/steep/project/options.rb +25 -3
- data/lib/steep/project/target.rb +40 -24
- data/lib/steep/server/base_worker.rb +56 -0
- data/lib/steep/server/code_worker.rb +151 -0
- data/lib/steep/server/interaction_worker.rb +281 -0
- data/lib/steep/server/master.rb +196 -0
- data/lib/steep/server/signature_worker.rb +148 -0
- data/lib/steep/server/utils.rb +36 -0
- data/lib/steep/server/worker_process.rb +62 -0
- data/lib/steep/signature/errors.rb +1 -1
- data/lib/steep/signature/validator.rb +13 -13
- data/lib/steep/source.rb +1 -1
- data/lib/steep/type_construction.rb +1004 -727
- data/lib/steep/type_inference/constant_env.rb +3 -11
- data/lib/steep/type_inference/context.rb +8 -3
- data/lib/steep/type_inference/context_array.rb +111 -0
- data/lib/steep/type_inference/local_variable_type_env.rb +226 -0
- data/lib/steep/type_inference/logic.rb +130 -0
- data/lib/steep/type_inference/type_env.rb +5 -69
- data/lib/steep/typing.rb +91 -23
- data/lib/steep/version.rb +1 -1
- data/smoke/alias/Steepfile +1 -0
- data/smoke/alias/a.rb +1 -1
- data/smoke/and/Steepfile +1 -0
- data/smoke/array/Steepfile +1 -0
- data/smoke/array/b.rb +0 -2
- data/smoke/block/Steepfile +1 -0
- data/smoke/case/Steepfile +1 -0
- data/smoke/class/Steepfile +1 -0
- data/smoke/const/Steepfile +1 -0
- data/smoke/dstr/Steepfile +1 -0
- data/smoke/ensure/Steepfile +1 -0
- data/smoke/enumerator/Steepfile +1 -0
- data/smoke/extension/Steepfile +1 -0
- data/smoke/extension/c.rb +1 -0
- data/smoke/hash/Steepfile +1 -0
- data/smoke/hello/Steepfile +1 -0
- data/smoke/if/Steepfile +1 -0
- data/smoke/if/a.rb +1 -1
- data/smoke/implements/Steepfile +1 -0
- data/smoke/initialize/Steepfile +1 -0
- data/smoke/integer/Steepfile +1 -0
- data/smoke/interface/Steepfile +1 -0
- data/smoke/kwbegin/Steepfile +1 -0
- data/smoke/lambda/Steepfile +1 -0
- data/smoke/literal/Steepfile +1 -0
- data/smoke/map/Steepfile +1 -0
- data/smoke/method/Steepfile +1 -0
- data/smoke/module/Steepfile +1 -0
- data/smoke/regexp/Steepfile +1 -0
- data/smoke/regexp/b.rb +4 -4
- data/smoke/regression/Steepfile +1 -0
- data/smoke/rescue/Steepfile +1 -0
- data/smoke/rescue/a.rb +1 -1
- data/smoke/self/Steepfile +1 -0
- data/smoke/skip/Steepfile +1 -0
- data/smoke/stdout/Steepfile +1 -0
- data/smoke/super/Steepfile +1 -0
- data/smoke/type_case/Steepfile +1 -0
- data/smoke/yield/Steepfile +1 -0
- data/steep.gemspec +8 -8
- metadata +38 -138
- data/exe/rbs +0 -3
- data/exe/ruby-signature +0 -3
- data/vendor/ruby-signature/.github/workflows/ruby.yml +0 -27
- data/vendor/ruby-signature/.gitignore +0 -12
- data/vendor/ruby-signature/.rubocop.yml +0 -15
- data/vendor/ruby-signature/BSDL +0 -22
- data/vendor/ruby-signature/COPYING +0 -56
- data/vendor/ruby-signature/Gemfile +0 -6
- data/vendor/ruby-signature/README.md +0 -93
- data/vendor/ruby-signature/Rakefile +0 -66
- data/vendor/ruby-signature/bin/annotate-with-rdoc +0 -156
- data/vendor/ruby-signature/bin/console +0 -14
- data/vendor/ruby-signature/bin/query-rdoc +0 -103
- data/vendor/ruby-signature/bin/setup +0 -10
- data/vendor/ruby-signature/bin/sort +0 -88
- data/vendor/ruby-signature/bin/test_runner.rb +0 -17
- data/vendor/ruby-signature/docs/CONTRIBUTING.md +0 -97
- data/vendor/ruby-signature/docs/sigs.md +0 -148
- data/vendor/ruby-signature/docs/stdlib.md +0 -152
- data/vendor/ruby-signature/docs/syntax.md +0 -528
- data/vendor/ruby-signature/exe/rbs +0 -3
- data/vendor/ruby-signature/exe/ruby-signature +0 -7
- data/vendor/ruby-signature/lib/ruby/signature.rb +0 -64
- data/vendor/ruby-signature/lib/ruby/signature/ast/annotation.rb +0 -29
- data/vendor/ruby-signature/lib/ruby/signature/ast/comment.rb +0 -29
- data/vendor/ruby-signature/lib/ruby/signature/ast/declarations.rb +0 -391
- data/vendor/ruby-signature/lib/ruby/signature/ast/members.rb +0 -364
- data/vendor/ruby-signature/lib/ruby/signature/buffer.rb +0 -52
- data/vendor/ruby-signature/lib/ruby/signature/builtin_names.rb +0 -54
- data/vendor/ruby-signature/lib/ruby/signature/cli.rb +0 -534
- data/vendor/ruby-signature/lib/ruby/signature/constant.rb +0 -28
- data/vendor/ruby-signature/lib/ruby/signature/constant_table.rb +0 -152
- data/vendor/ruby-signature/lib/ruby/signature/definition.rb +0 -172
- data/vendor/ruby-signature/lib/ruby/signature/definition_builder.rb +0 -921
- data/vendor/ruby-signature/lib/ruby/signature/environment.rb +0 -283
- data/vendor/ruby-signature/lib/ruby/signature/environment_loader.rb +0 -138
- data/vendor/ruby-signature/lib/ruby/signature/environment_walker.rb +0 -126
- data/vendor/ruby-signature/lib/ruby/signature/errors.rb +0 -189
- data/vendor/ruby-signature/lib/ruby/signature/location.rb +0 -104
- data/vendor/ruby-signature/lib/ruby/signature/method_type.rb +0 -125
- data/vendor/ruby-signature/lib/ruby/signature/namespace.rb +0 -93
- data/vendor/ruby-signature/lib/ruby/signature/parser.y +0 -1343
- data/vendor/ruby-signature/lib/ruby/signature/prototype/rb.rb +0 -441
- data/vendor/ruby-signature/lib/ruby/signature/prototype/rbi.rb +0 -579
- data/vendor/ruby-signature/lib/ruby/signature/prototype/runtime.rb +0 -383
- data/vendor/ruby-signature/lib/ruby/signature/substitution.rb +0 -48
- data/vendor/ruby-signature/lib/ruby/signature/test.rb +0 -28
- data/vendor/ruby-signature/lib/ruby/signature/test/errors.rb +0 -63
- data/vendor/ruby-signature/lib/ruby/signature/test/hook.rb +0 -290
- data/vendor/ruby-signature/lib/ruby/signature/test/setup.rb +0 -58
- data/vendor/ruby-signature/lib/ruby/signature/test/spy.rb +0 -324
- data/vendor/ruby-signature/lib/ruby/signature/test/test_helper.rb +0 -185
- data/vendor/ruby-signature/lib/ruby/signature/test/type_check.rb +0 -256
- data/vendor/ruby-signature/lib/ruby/signature/type_name.rb +0 -72
- data/vendor/ruby-signature/lib/ruby/signature/types.rb +0 -932
- data/vendor/ruby-signature/lib/ruby/signature/variance_calculator.rb +0 -140
- data/vendor/ruby-signature/lib/ruby/signature/vendorer.rb +0 -49
- data/vendor/ruby-signature/lib/ruby/signature/version.rb +0 -5
- data/vendor/ruby-signature/lib/ruby/signature/writer.rb +0 -271
- data/vendor/ruby-signature/ruby-signature.gemspec +0 -45
- data/vendor/ruby-signature/stdlib/abbrev/abbrev.rbs +0 -3
- data/vendor/ruby-signature/stdlib/base64/base64.rbs +0 -15
- data/vendor/ruby-signature/stdlib/builtin/array.rbs +0 -1997
- data/vendor/ruby-signature/stdlib/builtin/basic_object.rbs +0 -280
- data/vendor/ruby-signature/stdlib/builtin/binding.rbs +0 -177
- data/vendor/ruby-signature/stdlib/builtin/builtin.rbs +0 -35
- data/vendor/ruby-signature/stdlib/builtin/class.rbs +0 -145
- data/vendor/ruby-signature/stdlib/builtin/comparable.rbs +0 -116
- data/vendor/ruby-signature/stdlib/builtin/complex.rbs +0 -400
- data/vendor/ruby-signature/stdlib/builtin/constants.rbs +0 -37
- data/vendor/ruby-signature/stdlib/builtin/data.rbs +0 -5
- data/vendor/ruby-signature/stdlib/builtin/deprecated.rbs +0 -2
- data/vendor/ruby-signature/stdlib/builtin/dir.rbs +0 -419
- data/vendor/ruby-signature/stdlib/builtin/encoding.rbs +0 -606
- data/vendor/ruby-signature/stdlib/builtin/enumerable.rbs +0 -404
- data/vendor/ruby-signature/stdlib/builtin/enumerator.rbs +0 -260
- data/vendor/ruby-signature/stdlib/builtin/errno.rbs +0 -781
- data/vendor/ruby-signature/stdlib/builtin/errors.rbs +0 -582
- data/vendor/ruby-signature/stdlib/builtin/exception.rbs +0 -193
- data/vendor/ruby-signature/stdlib/builtin/false_class.rbs +0 -40
- data/vendor/ruby-signature/stdlib/builtin/fiber.rbs +0 -68
- data/vendor/ruby-signature/stdlib/builtin/fiber_error.rbs +0 -12
- data/vendor/ruby-signature/stdlib/builtin/file.rbs +0 -476
- data/vendor/ruby-signature/stdlib/builtin/file_test.rbs +0 -59
- data/vendor/ruby-signature/stdlib/builtin/float.rbs +0 -696
- data/vendor/ruby-signature/stdlib/builtin/gc.rbs +0 -121
- data/vendor/ruby-signature/stdlib/builtin/hash.rbs +0 -1029
- data/vendor/ruby-signature/stdlib/builtin/integer.rbs +0 -710
- data/vendor/ruby-signature/stdlib/builtin/io.rbs +0 -683
- data/vendor/ruby-signature/stdlib/builtin/kernel.rbs +0 -574
- data/vendor/ruby-signature/stdlib/builtin/marshal.rbs +0 -135
- data/vendor/ruby-signature/stdlib/builtin/match_data.rbs +0 -141
- data/vendor/ruby-signature/stdlib/builtin/math.rbs +0 -66
- data/vendor/ruby-signature/stdlib/builtin/method.rbs +0 -182
- data/vendor/ruby-signature/stdlib/builtin/module.rbs +0 -248
- data/vendor/ruby-signature/stdlib/builtin/nil_class.rbs +0 -82
- data/vendor/ruby-signature/stdlib/builtin/numeric.rbs +0 -409
- data/vendor/ruby-signature/stdlib/builtin/object.rbs +0 -824
- data/vendor/ruby-signature/stdlib/builtin/proc.rbs +0 -426
- data/vendor/ruby-signature/stdlib/builtin/process.rbs +0 -354
- data/vendor/ruby-signature/stdlib/builtin/random.rbs +0 -93
- data/vendor/ruby-signature/stdlib/builtin/range.rbs +0 -226
- data/vendor/ruby-signature/stdlib/builtin/rational.rbs +0 -424
- data/vendor/ruby-signature/stdlib/builtin/rb_config.rbs +0 -10
- data/vendor/ruby-signature/stdlib/builtin/regexp.rbs +0 -131
- data/vendor/ruby-signature/stdlib/builtin/ruby_vm.rbs +0 -14
- data/vendor/ruby-signature/stdlib/builtin/signal.rbs +0 -55
- data/vendor/ruby-signature/stdlib/builtin/string.rbs +0 -770
- data/vendor/ruby-signature/stdlib/builtin/string_io.rbs +0 -13
- data/vendor/ruby-signature/stdlib/builtin/struct.rbs +0 -40
- data/vendor/ruby-signature/stdlib/builtin/symbol.rbs +0 -230
- data/vendor/ruby-signature/stdlib/builtin/thread.rbs +0 -1112
- data/vendor/ruby-signature/stdlib/builtin/thread_group.rbs +0 -23
- data/vendor/ruby-signature/stdlib/builtin/time.rbs +0 -739
- data/vendor/ruby-signature/stdlib/builtin/trace_point.rbs +0 -91
- data/vendor/ruby-signature/stdlib/builtin/true_class.rbs +0 -46
- data/vendor/ruby-signature/stdlib/builtin/unbound_method.rbs +0 -159
- data/vendor/ruby-signature/stdlib/builtin/warning.rbs +0 -17
- data/vendor/ruby-signature/stdlib/erb/erb.rbs +0 -18
- data/vendor/ruby-signature/stdlib/find/find.rbs +0 -44
- data/vendor/ruby-signature/stdlib/pathname/pathname.rbs +0 -21
- data/vendor/ruby-signature/stdlib/prime/integer-extension.rbs +0 -23
- data/vendor/ruby-signature/stdlib/prime/prime.rbs +0 -188
- data/vendor/ruby-signature/stdlib/securerandom/securerandom.rbs +0 -9
- data/vendor/ruby-signature/stdlib/set/set.rbs +0 -77
- data/vendor/ruby-signature/stdlib/tmpdir/tmpdir.rbs +0 -53
data/smoke/if/a.rb
CHANGED
data/smoke/implements/Steepfile
CHANGED
data/smoke/initialize/Steepfile
CHANGED
data/smoke/integer/Steepfile
CHANGED
data/smoke/interface/Steepfile
CHANGED
data/smoke/kwbegin/Steepfile
CHANGED
data/smoke/lambda/Steepfile
CHANGED
data/smoke/literal/Steepfile
CHANGED
data/smoke/map/Steepfile
CHANGED
data/smoke/method/Steepfile
CHANGED
data/smoke/module/Steepfile
CHANGED
data/smoke/regexp/Steepfile
CHANGED
data/smoke/regexp/b.rb
CHANGED
@@ -12,11 +12,11 @@
|
|
12
12
|
match_ref_3.foo
|
13
13
|
|
14
14
|
match_ref_4 = match[0, 1]
|
15
|
-
# !expects NoMethodError: type=::Array[::String], method=foo
|
15
|
+
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
|
16
16
|
match_ref_4.foo
|
17
17
|
|
18
18
|
match_ref_5 = match[0..1]
|
19
|
-
# !expects NoMethodError: type=::Array[::String], method=foo
|
19
|
+
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
|
20
20
|
match_ref_5.foo
|
21
21
|
|
22
22
|
begin_1 = match.begin(0)
|
@@ -32,7 +32,7 @@
|
|
32
32
|
begin_3.foo
|
33
33
|
|
34
34
|
captures_1 = match.captures
|
35
|
-
# !expects NoMethodError: type=::Array[::String], method=foo
|
35
|
+
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
|
36
36
|
captures_1.foo
|
37
37
|
|
38
38
|
end_1 = match.end(0)
|
@@ -92,7 +92,7 @@
|
|
92
92
|
string_1.foo
|
93
93
|
|
94
94
|
to_a_1 = match.to_a
|
95
|
-
# !expects NoMethodError: type=::Array[::String], method=foo
|
95
|
+
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
|
96
96
|
to_a_1.foo
|
97
97
|
|
98
98
|
values_at_1 = match.values_at
|
data/smoke/regression/Steepfile
CHANGED
data/smoke/rescue/Steepfile
CHANGED
data/smoke/rescue/a.rb
CHANGED
@@ -34,7 +34,7 @@ d = begin
|
|
34
34
|
|
35
35
|
# @type var e: Integer
|
36
36
|
|
37
|
-
# !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=(::Array[::Integer] | ::Integer | ::
|
37
|
+
# !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=(::Array[::Integer] | ::Integer | ::Symbol)
|
38
38
|
e = begin
|
39
39
|
'foo'
|
40
40
|
rescue RuntimeError
|
data/smoke/self/Steepfile
CHANGED
data/smoke/skip/Steepfile
CHANGED
data/smoke/stdout/Steepfile
CHANGED
data/smoke/super/Steepfile
CHANGED
data/smoke/type_case/Steepfile
CHANGED
data/smoke/yield/Steepfile
CHANGED
data/steep.gemspec
CHANGED
@@ -14,14 +14,13 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/soutaro/steep"
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/soutaro/steep"
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/soutaro/steep/blob/master/CHANGELOG.md"
|
20
|
+
|
17
21
|
spec.files = `git ls-files -z`.split("\x0").reject {|f|
|
18
22
|
f.match(%r{^(test|spec|features)/})
|
19
|
-
} + Dir.chdir("vendor/ruby-signature") {
|
20
|
-
`git ls-files -z`.split("\x0")
|
21
|
-
.reject {|f| f.match(%r{^(test|spec|features)/}) }
|
22
|
-
.map {|f| File.join("vendor/ruby-signature", f) }
|
23
23
|
}
|
24
|
-
spec.files << "vendor/ruby-signature/lib/ruby/signature/parser.rb"
|
25
24
|
|
26
25
|
spec.bindir = "exe"
|
27
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
@@ -33,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
33
32
|
spec.add_development_dependency "rake", "~> 13.0"
|
34
33
|
spec.add_development_dependency "minitest", "~> 5.0"
|
35
34
|
spec.add_development_dependency "racc", "~> 1.4"
|
36
|
-
spec.add_development_dependency "minitest-reporters", "~> 1.
|
35
|
+
spec.add_development_dependency "minitest-reporters", "~> 1.4.2"
|
37
36
|
spec.add_development_dependency "minitest-hooks", "~> 1.5.0"
|
38
37
|
|
39
38
|
spec.add_runtime_dependency "parser", "~> 2.7.0"
|
@@ -41,6 +40,7 @@ Gem::Specification.new do |spec|
|
|
41
40
|
spec.add_runtime_dependency "activesupport", ">= 5.1"
|
42
41
|
spec.add_runtime_dependency "rainbow", ">= 2.2.2", "< 4.0"
|
43
42
|
spec.add_runtime_dependency "listen", "~> 3.1"
|
44
|
-
spec.add_runtime_dependency "pry", "
|
45
|
-
spec.add_runtime_dependency "language_server-protocol", "~> 3.14.0.
|
43
|
+
spec.add_runtime_dependency "pry", ">= 0.12.2"
|
44
|
+
spec.add_runtime_dependency "language_server-protocol", "~> 3.14.0.2"
|
45
|
+
spec.add_runtime_dependency "rbs", "~> 0.3.1"
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: steep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.4.2
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.4.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: minitest-hooks
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,14 +174,14 @@ dependencies:
|
|
174
174
|
name: pry
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- - "
|
177
|
+
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: 0.12.2
|
180
180
|
type: :runtime
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
|
-
- - "
|
184
|
+
- - ">="
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: 0.12.2
|
187
187
|
- !ruby/object:Gem::Dependency
|
@@ -190,20 +190,32 @@ dependencies:
|
|
190
190
|
requirements:
|
191
191
|
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: 3.14.0.
|
193
|
+
version: 3.14.0.2
|
194
|
+
type: :runtime
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 3.14.0.2
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: rbs
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: 0.3.1
|
194
208
|
type: :runtime
|
195
209
|
prerelease: false
|
196
210
|
version_requirements: !ruby/object:Gem::Requirement
|
197
211
|
requirements:
|
198
212
|
- - "~>"
|
199
213
|
- !ruby/object:Gem::Version
|
200
|
-
version: 3.
|
214
|
+
version: 0.3.1
|
201
215
|
description: Gradual Typing for Ruby
|
202
216
|
email:
|
203
217
|
- matsumoto@soutaro.com
|
204
218
|
executables:
|
205
|
-
- rbs
|
206
|
-
- ruby-signature
|
207
219
|
- steep
|
208
220
|
extensions: []
|
209
221
|
extra_rdoc_files: []
|
@@ -220,8 +232,6 @@ files:
|
|
220
232
|
- bin/console
|
221
233
|
- bin/setup
|
222
234
|
- bin/smoke_runner.rb
|
223
|
-
- exe/rbs
|
224
|
-
- exe/ruby-signature
|
225
235
|
- exe/steep
|
226
236
|
- lib/steep.rb
|
227
237
|
- lib/steep/annotation_parser.rb
|
@@ -265,6 +275,7 @@ files:
|
|
265
275
|
- lib/steep/drivers/validate.rb
|
266
276
|
- lib/steep/drivers/vendor.rb
|
267
277
|
- lib/steep/drivers/watch.rb
|
278
|
+
- lib/steep/drivers/worker.rb
|
268
279
|
- lib/steep/errors.rb
|
269
280
|
- lib/steep/interface/interface.rb
|
270
281
|
- lib/steep/interface/method.rb
|
@@ -272,12 +283,20 @@ files:
|
|
272
283
|
- lib/steep/interface/substitution.rb
|
273
284
|
- lib/steep/names.rb
|
274
285
|
- lib/steep/project.rb
|
286
|
+
- lib/steep/project/completion_provider.rb
|
275
287
|
- lib/steep/project/dsl.rb
|
276
288
|
- lib/steep/project/file.rb
|
277
289
|
- lib/steep/project/file_loader.rb
|
278
290
|
- lib/steep/project/hover_content.rb
|
279
291
|
- lib/steep/project/options.rb
|
280
292
|
- lib/steep/project/target.rb
|
293
|
+
- lib/steep/server/base_worker.rb
|
294
|
+
- lib/steep/server/code_worker.rb
|
295
|
+
- lib/steep/server/interaction_worker.rb
|
296
|
+
- lib/steep/server/master.rb
|
297
|
+
- lib/steep/server/signature_worker.rb
|
298
|
+
- lib/steep/server/utils.rb
|
299
|
+
- lib/steep/server/worker_process.rb
|
281
300
|
- lib/steep/signature/errors.rb
|
282
301
|
- lib/steep/signature/validator.rb
|
283
302
|
- lib/steep/source.rb
|
@@ -293,6 +312,9 @@ files:
|
|
293
312
|
- lib/steep/type_inference/block_params.rb
|
294
313
|
- lib/steep/type_inference/constant_env.rb
|
295
314
|
- lib/steep/type_inference/context.rb
|
315
|
+
- lib/steep/type_inference/context_array.rb
|
316
|
+
- lib/steep/type_inference/local_variable_type_env.rb
|
317
|
+
- lib/steep/type_inference/logic.rb
|
296
318
|
- lib/steep/type_inference/send_args.rb
|
297
319
|
- lib/steep/type_inference/type_env.rb
|
298
320
|
- lib/steep/typing.rb
|
@@ -427,135 +449,13 @@ files:
|
|
427
449
|
- smoke/yield/Steepfile
|
428
450
|
- smoke/yield/a.rb
|
429
451
|
- steep.gemspec
|
430
|
-
- vendor/ruby-signature/.github/workflows/ruby.yml
|
431
|
-
- vendor/ruby-signature/.gitignore
|
432
|
-
- vendor/ruby-signature/.rubocop.yml
|
433
|
-
- vendor/ruby-signature/BSDL
|
434
|
-
- vendor/ruby-signature/COPYING
|
435
|
-
- vendor/ruby-signature/Gemfile
|
436
|
-
- vendor/ruby-signature/README.md
|
437
|
-
- vendor/ruby-signature/Rakefile
|
438
|
-
- vendor/ruby-signature/bin/annotate-with-rdoc
|
439
|
-
- vendor/ruby-signature/bin/console
|
440
|
-
- vendor/ruby-signature/bin/query-rdoc
|
441
|
-
- vendor/ruby-signature/bin/setup
|
442
|
-
- vendor/ruby-signature/bin/sort
|
443
|
-
- vendor/ruby-signature/bin/test_runner.rb
|
444
|
-
- vendor/ruby-signature/docs/CONTRIBUTING.md
|
445
|
-
- vendor/ruby-signature/docs/sigs.md
|
446
|
-
- vendor/ruby-signature/docs/stdlib.md
|
447
|
-
- vendor/ruby-signature/docs/syntax.md
|
448
|
-
- vendor/ruby-signature/exe/rbs
|
449
|
-
- vendor/ruby-signature/exe/ruby-signature
|
450
|
-
- vendor/ruby-signature/lib/ruby/signature.rb
|
451
|
-
- vendor/ruby-signature/lib/ruby/signature/ast/annotation.rb
|
452
|
-
- vendor/ruby-signature/lib/ruby/signature/ast/comment.rb
|
453
|
-
- vendor/ruby-signature/lib/ruby/signature/ast/declarations.rb
|
454
|
-
- vendor/ruby-signature/lib/ruby/signature/ast/members.rb
|
455
|
-
- vendor/ruby-signature/lib/ruby/signature/buffer.rb
|
456
|
-
- vendor/ruby-signature/lib/ruby/signature/builtin_names.rb
|
457
|
-
- vendor/ruby-signature/lib/ruby/signature/cli.rb
|
458
|
-
- vendor/ruby-signature/lib/ruby/signature/constant.rb
|
459
|
-
- vendor/ruby-signature/lib/ruby/signature/constant_table.rb
|
460
|
-
- vendor/ruby-signature/lib/ruby/signature/definition.rb
|
461
|
-
- vendor/ruby-signature/lib/ruby/signature/definition_builder.rb
|
462
|
-
- vendor/ruby-signature/lib/ruby/signature/environment.rb
|
463
|
-
- vendor/ruby-signature/lib/ruby/signature/environment_loader.rb
|
464
|
-
- vendor/ruby-signature/lib/ruby/signature/environment_walker.rb
|
465
|
-
- vendor/ruby-signature/lib/ruby/signature/errors.rb
|
466
|
-
- vendor/ruby-signature/lib/ruby/signature/location.rb
|
467
|
-
- vendor/ruby-signature/lib/ruby/signature/method_type.rb
|
468
|
-
- vendor/ruby-signature/lib/ruby/signature/namespace.rb
|
469
|
-
- vendor/ruby-signature/lib/ruby/signature/parser.rb
|
470
|
-
- vendor/ruby-signature/lib/ruby/signature/parser.y
|
471
|
-
- vendor/ruby-signature/lib/ruby/signature/prototype/rb.rb
|
472
|
-
- vendor/ruby-signature/lib/ruby/signature/prototype/rbi.rb
|
473
|
-
- vendor/ruby-signature/lib/ruby/signature/prototype/runtime.rb
|
474
|
-
- vendor/ruby-signature/lib/ruby/signature/substitution.rb
|
475
|
-
- vendor/ruby-signature/lib/ruby/signature/test.rb
|
476
|
-
- vendor/ruby-signature/lib/ruby/signature/test/errors.rb
|
477
|
-
- vendor/ruby-signature/lib/ruby/signature/test/hook.rb
|
478
|
-
- vendor/ruby-signature/lib/ruby/signature/test/setup.rb
|
479
|
-
- vendor/ruby-signature/lib/ruby/signature/test/spy.rb
|
480
|
-
- vendor/ruby-signature/lib/ruby/signature/test/test_helper.rb
|
481
|
-
- vendor/ruby-signature/lib/ruby/signature/test/type_check.rb
|
482
|
-
- vendor/ruby-signature/lib/ruby/signature/type_name.rb
|
483
|
-
- vendor/ruby-signature/lib/ruby/signature/types.rb
|
484
|
-
- vendor/ruby-signature/lib/ruby/signature/variance_calculator.rb
|
485
|
-
- vendor/ruby-signature/lib/ruby/signature/vendorer.rb
|
486
|
-
- vendor/ruby-signature/lib/ruby/signature/version.rb
|
487
|
-
- vendor/ruby-signature/lib/ruby/signature/writer.rb
|
488
|
-
- vendor/ruby-signature/ruby-signature.gemspec
|
489
|
-
- vendor/ruby-signature/stdlib/abbrev/abbrev.rbs
|
490
|
-
- vendor/ruby-signature/stdlib/base64/base64.rbs
|
491
|
-
- vendor/ruby-signature/stdlib/builtin/array.rbs
|
492
|
-
- vendor/ruby-signature/stdlib/builtin/basic_object.rbs
|
493
|
-
- vendor/ruby-signature/stdlib/builtin/binding.rbs
|
494
|
-
- vendor/ruby-signature/stdlib/builtin/builtin.rbs
|
495
|
-
- vendor/ruby-signature/stdlib/builtin/class.rbs
|
496
|
-
- vendor/ruby-signature/stdlib/builtin/comparable.rbs
|
497
|
-
- vendor/ruby-signature/stdlib/builtin/complex.rbs
|
498
|
-
- vendor/ruby-signature/stdlib/builtin/constants.rbs
|
499
|
-
- vendor/ruby-signature/stdlib/builtin/data.rbs
|
500
|
-
- vendor/ruby-signature/stdlib/builtin/deprecated.rbs
|
501
|
-
- vendor/ruby-signature/stdlib/builtin/dir.rbs
|
502
|
-
- vendor/ruby-signature/stdlib/builtin/encoding.rbs
|
503
|
-
- vendor/ruby-signature/stdlib/builtin/enumerable.rbs
|
504
|
-
- vendor/ruby-signature/stdlib/builtin/enumerator.rbs
|
505
|
-
- vendor/ruby-signature/stdlib/builtin/errno.rbs
|
506
|
-
- vendor/ruby-signature/stdlib/builtin/errors.rbs
|
507
|
-
- vendor/ruby-signature/stdlib/builtin/exception.rbs
|
508
|
-
- vendor/ruby-signature/stdlib/builtin/false_class.rbs
|
509
|
-
- vendor/ruby-signature/stdlib/builtin/fiber.rbs
|
510
|
-
- vendor/ruby-signature/stdlib/builtin/fiber_error.rbs
|
511
|
-
- vendor/ruby-signature/stdlib/builtin/file.rbs
|
512
|
-
- vendor/ruby-signature/stdlib/builtin/file_test.rbs
|
513
|
-
- vendor/ruby-signature/stdlib/builtin/float.rbs
|
514
|
-
- vendor/ruby-signature/stdlib/builtin/gc.rbs
|
515
|
-
- vendor/ruby-signature/stdlib/builtin/hash.rbs
|
516
|
-
- vendor/ruby-signature/stdlib/builtin/integer.rbs
|
517
|
-
- vendor/ruby-signature/stdlib/builtin/io.rbs
|
518
|
-
- vendor/ruby-signature/stdlib/builtin/kernel.rbs
|
519
|
-
- vendor/ruby-signature/stdlib/builtin/marshal.rbs
|
520
|
-
- vendor/ruby-signature/stdlib/builtin/match_data.rbs
|
521
|
-
- vendor/ruby-signature/stdlib/builtin/math.rbs
|
522
|
-
- vendor/ruby-signature/stdlib/builtin/method.rbs
|
523
|
-
- vendor/ruby-signature/stdlib/builtin/module.rbs
|
524
|
-
- vendor/ruby-signature/stdlib/builtin/nil_class.rbs
|
525
|
-
- vendor/ruby-signature/stdlib/builtin/numeric.rbs
|
526
|
-
- vendor/ruby-signature/stdlib/builtin/object.rbs
|
527
|
-
- vendor/ruby-signature/stdlib/builtin/proc.rbs
|
528
|
-
- vendor/ruby-signature/stdlib/builtin/process.rbs
|
529
|
-
- vendor/ruby-signature/stdlib/builtin/random.rbs
|
530
|
-
- vendor/ruby-signature/stdlib/builtin/range.rbs
|
531
|
-
- vendor/ruby-signature/stdlib/builtin/rational.rbs
|
532
|
-
- vendor/ruby-signature/stdlib/builtin/rb_config.rbs
|
533
|
-
- vendor/ruby-signature/stdlib/builtin/regexp.rbs
|
534
|
-
- vendor/ruby-signature/stdlib/builtin/ruby_vm.rbs
|
535
|
-
- vendor/ruby-signature/stdlib/builtin/signal.rbs
|
536
|
-
- vendor/ruby-signature/stdlib/builtin/string.rbs
|
537
|
-
- vendor/ruby-signature/stdlib/builtin/string_io.rbs
|
538
|
-
- vendor/ruby-signature/stdlib/builtin/struct.rbs
|
539
|
-
- vendor/ruby-signature/stdlib/builtin/symbol.rbs
|
540
|
-
- vendor/ruby-signature/stdlib/builtin/thread.rbs
|
541
|
-
- vendor/ruby-signature/stdlib/builtin/thread_group.rbs
|
542
|
-
- vendor/ruby-signature/stdlib/builtin/time.rbs
|
543
|
-
- vendor/ruby-signature/stdlib/builtin/trace_point.rbs
|
544
|
-
- vendor/ruby-signature/stdlib/builtin/true_class.rbs
|
545
|
-
- vendor/ruby-signature/stdlib/builtin/unbound_method.rbs
|
546
|
-
- vendor/ruby-signature/stdlib/builtin/warning.rbs
|
547
|
-
- vendor/ruby-signature/stdlib/erb/erb.rbs
|
548
|
-
- vendor/ruby-signature/stdlib/find/find.rbs
|
549
|
-
- vendor/ruby-signature/stdlib/pathname/pathname.rbs
|
550
|
-
- vendor/ruby-signature/stdlib/prime/integer-extension.rbs
|
551
|
-
- vendor/ruby-signature/stdlib/prime/prime.rbs
|
552
|
-
- vendor/ruby-signature/stdlib/securerandom/securerandom.rbs
|
553
|
-
- vendor/ruby-signature/stdlib/set/set.rbs
|
554
|
-
- vendor/ruby-signature/stdlib/tmpdir/tmpdir.rbs
|
555
452
|
homepage: https://github.com/soutaro/steep
|
556
453
|
licenses:
|
557
454
|
- MIT
|
558
|
-
metadata:
|
455
|
+
metadata:
|
456
|
+
homepage_uri: https://github.com/soutaro/steep
|
457
|
+
source_code_uri: https://github.com/soutaro/steep
|
458
|
+
changelog_uri: https://github.com/soutaro/steep/blob/master/CHANGELOG.md
|
559
459
|
post_install_message:
|
560
460
|
rdoc_options: []
|
561
461
|
require_paths:
|