rbs 1.0.6 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/CHANGELOG.md +37 -0
- data/Rakefile +3 -2
- data/Steepfile +2 -0
- data/bin/rbs-prof +1 -1
- data/core/array.rbs +8 -4
- data/core/thread.rbs +14 -1
- data/lib/rbs.rb +3 -0
- data/lib/rbs/ancestor_graph.rb +90 -0
- data/lib/rbs/char_scanner.rb +20 -0
- data/lib/rbs/definition_builder.rb +38 -20
- data/lib/rbs/definition_builder/method_builder.rb +14 -0
- data/lib/rbs/environment.rb +42 -5
- data/lib/rbs/environment_walker.rb +4 -4
- data/lib/rbs/errors.rb +32 -17
- data/lib/rbs/parser.rb +437 -416
- data/lib/rbs/parser.y +29 -16
- data/lib/rbs/test/type_check.rb +7 -3
- data/lib/rbs/version.rb +1 -1
- data/sig/ancestor_graph.rbs +40 -0
- data/sig/char_scanner.rbs +9 -0
- data/sig/definition_builder.rbs +5 -1
- data/sig/environment.rbs +22 -2
- data/sig/environment_walker.rbs +39 -0
- data/sig/errors.rbs +42 -17
- data/sig/method_builder.rbs +2 -0
- data/sig/parser.rbs +11 -4
- data/sig/polyfill.rbs +0 -14
- data/stdlib/cgi/0/core.rbs +595 -0
- data/stdlib/rubygems/0/basic_specification.rbs +3 -0
- data/stdlib/rubygems/0/config_file.rbs +3 -0
- data/stdlib/rubygems/0/dependency_installer.rbs +5 -0
- data/stdlib/rubygems/0/installer.rbs +3 -0
- data/stdlib/rubygems/0/path_support.rbs +3 -0
- data/stdlib/rubygems/0/platform.rbs +3 -0
- data/stdlib/rubygems/0/request_set.rbs +7 -0
- data/stdlib/rubygems/0/requirement.rbs +3 -0
- data/stdlib/rubygems/0/rubygems.rbs +710 -0
- data/stdlib/rubygems/0/source_list.rbs +2 -0
- data/stdlib/rubygems/0/specification.rbs +3 -0
- data/stdlib/rubygems/0/stream_ui.rbs +3 -0
- data/stdlib/rubygems/0/uninstaller.rbs +3 -0
- data/stdlib/rubygems/0/version.rbs +228 -0
- data/stdlib/strscan/0/string_scanner.rbs +582 -0
- metadata +23 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: RBS is the language for type signatures for Ruby and standard library
|
14
14
|
definitions.
|
@@ -102,12 +102,14 @@ files:
|
|
102
102
|
- exe/rbs
|
103
103
|
- goodcheck.yml
|
104
104
|
- lib/rbs.rb
|
105
|
+
- lib/rbs/ancestor_graph.rb
|
105
106
|
- lib/rbs/ast/annotation.rb
|
106
107
|
- lib/rbs/ast/comment.rb
|
107
108
|
- lib/rbs/ast/declarations.rb
|
108
109
|
- lib/rbs/ast/members.rb
|
109
110
|
- lib/rbs/buffer.rb
|
110
111
|
- lib/rbs/builtin_names.rb
|
112
|
+
- lib/rbs/char_scanner.rb
|
111
113
|
- lib/rbs/cli.rb
|
112
114
|
- lib/rbs/constant.rb
|
113
115
|
- lib/rbs/constant_table.rb
|
@@ -158,9 +160,11 @@ files:
|
|
158
160
|
- schema/methodType.json
|
159
161
|
- schema/types.json
|
160
162
|
- sig/ancestor_builder.rbs
|
163
|
+
- sig/ancestor_graph.rbs
|
161
164
|
- sig/annotation.rbs
|
162
165
|
- sig/buffer.rbs
|
163
166
|
- sig/builtin_names.rbs
|
167
|
+
- sig/char_scanner.rbs
|
164
168
|
- sig/cli.rbs
|
165
169
|
- sig/comment.rbs
|
166
170
|
- sig/constant.rbs
|
@@ -170,6 +174,7 @@ files:
|
|
170
174
|
- sig/definition_builder.rbs
|
171
175
|
- sig/environment.rbs
|
172
176
|
- sig/environment_loader.rbs
|
177
|
+
- sig/environment_walker.rbs
|
173
178
|
- sig/errors.rbs
|
174
179
|
- sig/location.rbs
|
175
180
|
- sig/members.rbs
|
@@ -195,6 +200,7 @@ files:
|
|
195
200
|
- stdlib/benchmark/0/benchmark.rbs
|
196
201
|
- stdlib/bigdecimal-math/0/big_math.rbs
|
197
202
|
- stdlib/bigdecimal/0/big_decimal.rbs
|
203
|
+
- stdlib/cgi/0/core.rbs
|
198
204
|
- stdlib/coverage/0/coverage.rbs
|
199
205
|
- stdlib/csv/0/csv.rbs
|
200
206
|
- stdlib/date/0/date.rbs
|
@@ -220,9 +226,24 @@ files:
|
|
220
226
|
- stdlib/prime/0/prime.rbs
|
221
227
|
- stdlib/pstore/0/pstore.rbs
|
222
228
|
- stdlib/pty/0/pty.rbs
|
229
|
+
- stdlib/rubygems/0/basic_specification.rbs
|
230
|
+
- stdlib/rubygems/0/config_file.rbs
|
231
|
+
- stdlib/rubygems/0/dependency_installer.rbs
|
232
|
+
- stdlib/rubygems/0/installer.rbs
|
233
|
+
- stdlib/rubygems/0/path_support.rbs
|
234
|
+
- stdlib/rubygems/0/platform.rbs
|
235
|
+
- stdlib/rubygems/0/request_set.rbs
|
236
|
+
- stdlib/rubygems/0/requirement.rbs
|
237
|
+
- stdlib/rubygems/0/rubygems.rbs
|
238
|
+
- stdlib/rubygems/0/source_list.rbs
|
239
|
+
- stdlib/rubygems/0/specification.rbs
|
240
|
+
- stdlib/rubygems/0/stream_ui.rbs
|
241
|
+
- stdlib/rubygems/0/uninstaller.rbs
|
242
|
+
- stdlib/rubygems/0/version.rbs
|
223
243
|
- stdlib/securerandom/0/securerandom.rbs
|
224
244
|
- stdlib/set/0/set.rbs
|
225
245
|
- stdlib/singleton/0/singleton.rbs
|
246
|
+
- stdlib/strscan/0/string_scanner.rbs
|
226
247
|
- stdlib/time/0/time.rbs
|
227
248
|
- stdlib/timeout/0/timeout.rbs
|
228
249
|
- stdlib/tmpdir/0/tmpdir.rbs
|