rbs 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Rakefile +9 -4
- data/Steepfile +28 -0
- data/bin/steep +4 -0
- data/bin/test_runner.rb +10 -5
- data/lib/rbs/ast/comment.rb +7 -1
- data/lib/rbs/ast/declarations.rb +15 -9
- data/lib/rbs/buffer.rb +1 -1
- data/lib/rbs/definition.rb +22 -13
- data/lib/rbs/definition_builder.rb +79 -55
- data/lib/rbs/environment.rb +24 -10
- data/lib/rbs/location.rb +1 -5
- data/lib/rbs/method_type.rb +5 -5
- data/lib/rbs/namespace.rb +14 -3
- data/lib/rbs/parser.y +0 -8
- data/lib/rbs/prototype/rb.rb +3 -4
- data/lib/rbs/prototype/rbi.rb +1 -2
- data/lib/rbs/substitution.rb +4 -3
- data/lib/rbs/type_name.rb +18 -1
- data/lib/rbs/type_name_resolver.rb +10 -3
- data/lib/rbs/types.rb +27 -21
- data/lib/rbs/variance_calculator.rb +8 -5
- data/lib/rbs/version.rb +1 -1
- data/sig/annotation.rbs +26 -0
- data/sig/buffer.rbs +28 -0
- data/sig/builtin_names.rbs +41 -0
- data/sig/comment.rbs +26 -0
- data/sig/declarations.rbs +202 -0
- data/sig/definition.rbs +129 -0
- data/sig/definition_builder.rbs +95 -0
- data/sig/environment.rbs +94 -0
- data/sig/environment_loader.rbs +4 -0
- data/sig/location.rbs +52 -0
- data/sig/members.rbs +160 -0
- data/sig/method_types.rbs +40 -0
- data/sig/namespace.rbs +124 -0
- data/sig/polyfill.rbs +3 -0
- data/sig/rbs.rbs +3 -0
- data/sig/substitution.rbs +39 -0
- data/sig/type_name_resolver.rbs +24 -0
- data/sig/typename.rbs +70 -0
- data/sig/types.rbs +361 -0
- data/sig/util.rbs +13 -0
- data/sig/variance_calculator.rbs +35 -0
- data/stdlib/bigdecimal/big_decimal.rbs +887 -0
- data/stdlib/bigdecimal/math/big_math.rbs +142 -0
- data/stdlib/builtin/builtin.rbs +0 -3
- data/stdlib/builtin/math.rbs +26 -26
- data/stdlib/builtin/struct.rbs +9 -10
- data/stdlib/forwardable/forwardable.rbs +204 -0
- data/stdlib/set/set.rbs +1 -1
- data/stdlib/uri/file.rbs +167 -0
- data/stdlib/uri/generic.rbs +875 -0
- data/steep/Gemfile +3 -0
- data/steep/Gemfile.lock +55 -0
- metadata +36 -6
data/steep/Gemfile
ADDED
data/steep/Gemfile.lock
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../../steep
|
3
|
+
specs:
|
4
|
+
steep (0.27.0)
|
5
|
+
activesupport (>= 5.1)
|
6
|
+
ast_utils (~> 0.3.0)
|
7
|
+
language_server-protocol (~> 3.14.0.2)
|
8
|
+
listen (~> 3.1)
|
9
|
+
parser (~> 2.7.0)
|
10
|
+
rainbow (>= 2.2.2, < 4.0)
|
11
|
+
rbs (~> 0.11.0)
|
12
|
+
|
13
|
+
GEM
|
14
|
+
remote: https://rubygems.org/
|
15
|
+
specs:
|
16
|
+
activesupport (6.0.3.2)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
i18n (>= 0.7, < 2)
|
19
|
+
minitest (~> 5.1)
|
20
|
+
tzinfo (~> 1.1)
|
21
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
22
|
+
ast (2.4.1)
|
23
|
+
ast_utils (0.3.0)
|
24
|
+
parser (~> 2.4)
|
25
|
+
thor (>= 0.19)
|
26
|
+
concurrent-ruby (1.1.7)
|
27
|
+
ffi (1.13.1)
|
28
|
+
i18n (1.8.5)
|
29
|
+
concurrent-ruby (~> 1.0)
|
30
|
+
language_server-protocol (3.14.0.2)
|
31
|
+
listen (3.2.1)
|
32
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
33
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
34
|
+
minitest (5.14.2)
|
35
|
+
parser (2.7.1.4)
|
36
|
+
ast (~> 2.4.1)
|
37
|
+
rainbow (3.0.0)
|
38
|
+
rb-fsevent (0.10.4)
|
39
|
+
rb-inotify (0.10.1)
|
40
|
+
ffi (~> 1.0)
|
41
|
+
rbs (0.11.0)
|
42
|
+
thor (1.0.1)
|
43
|
+
thread_safe (0.3.6)
|
44
|
+
tzinfo (1.2.7)
|
45
|
+
thread_safe (~> 0.1)
|
46
|
+
zeitwerk (2.4.0)
|
47
|
+
|
48
|
+
PLATFORMS
|
49
|
+
ruby
|
50
|
+
|
51
|
+
DEPENDENCIES
|
52
|
+
steep!
|
53
|
+
|
54
|
+
BUNDLED WITH
|
55
|
+
2.1.3
|
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: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-15 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.
|
@@ -28,6 +28,7 @@ files:
|
|
28
28
|
- Gemfile
|
29
29
|
- README.md
|
30
30
|
- Rakefile
|
31
|
+
- Steepfile
|
31
32
|
- bin/annotate-with-rdoc
|
32
33
|
- bin/console
|
33
34
|
- bin/query-rdoc
|
@@ -35,6 +36,7 @@ files:
|
|
35
36
|
- bin/run_in_md.rb
|
36
37
|
- bin/setup
|
37
38
|
- bin/sort
|
39
|
+
- bin/steep
|
38
40
|
- bin/test_runner.rb
|
39
41
|
- docs/CONTRIBUTING.md
|
40
42
|
- docs/sigs.md
|
@@ -95,9 +97,32 @@ files:
|
|
95
97
|
- schema/members.json
|
96
98
|
- schema/methodType.json
|
97
99
|
- schema/types.json
|
100
|
+
- sig/annotation.rbs
|
101
|
+
- sig/buffer.rbs
|
102
|
+
- sig/builtin_names.rbs
|
103
|
+
- sig/comment.rbs
|
104
|
+
- sig/declarations.rbs
|
105
|
+
- sig/definition.rbs
|
106
|
+
- sig/definition_builder.rbs
|
107
|
+
- sig/environment.rbs
|
108
|
+
- sig/environment_loader.rbs
|
109
|
+
- sig/location.rbs
|
110
|
+
- sig/members.rbs
|
111
|
+
- sig/method_types.rbs
|
112
|
+
- sig/namespace.rbs
|
113
|
+
- sig/polyfill.rbs
|
114
|
+
- sig/rbs.rbs
|
115
|
+
- sig/substitution.rbs
|
116
|
+
- sig/type_name_resolver.rbs
|
117
|
+
- sig/typename.rbs
|
118
|
+
- sig/types.rbs
|
119
|
+
- sig/util.rbs
|
120
|
+
- sig/variance_calculator.rbs
|
98
121
|
- stdlib/abbrev/abbrev.rbs
|
99
122
|
- stdlib/base64/base64.rbs
|
100
123
|
- stdlib/benchmark/benchmark.rbs
|
124
|
+
- stdlib/bigdecimal/big_decimal.rbs
|
125
|
+
- stdlib/bigdecimal/math/big_math.rbs
|
101
126
|
- stdlib/builtin/array.rbs
|
102
127
|
- stdlib/builtin/basic_object.rbs
|
103
128
|
- stdlib/builtin/binding.rbs
|
@@ -161,6 +186,7 @@ files:
|
|
161
186
|
- stdlib/erb/erb.rbs
|
162
187
|
- stdlib/fiber/fiber.rbs
|
163
188
|
- stdlib/find/find.rbs
|
189
|
+
- stdlib/forwardable/forwardable.rbs
|
164
190
|
- stdlib/ipaddr/ipaddr.rbs
|
165
191
|
- stdlib/json/json.rbs
|
166
192
|
- stdlib/logger/formatter.rbs
|
@@ -176,7 +202,11 @@ files:
|
|
176
202
|
- stdlib/securerandom/securerandom.rbs
|
177
203
|
- stdlib/set/set.rbs
|
178
204
|
- stdlib/tmpdir/tmpdir.rbs
|
205
|
+
- stdlib/uri/file.rbs
|
206
|
+
- stdlib/uri/generic.rbs
|
179
207
|
- stdlib/zlib/zlib.rbs
|
208
|
+
- steep/Gemfile
|
209
|
+
- steep/Gemfile.lock
|
180
210
|
homepage: https://github.com/ruby/rbs
|
181
211
|
licenses:
|
182
212
|
- BSD-2-Clause
|
@@ -185,7 +215,7 @@ metadata:
|
|
185
215
|
homepage_uri: https://github.com/ruby/rbs
|
186
216
|
source_code_uri: https://github.com/ruby/rbs.git
|
187
217
|
changelog_uri: https://github.com/ruby/rbs/blob/master/CHANGELOG.md
|
188
|
-
post_install_message:
|
218
|
+
post_install_message:
|
189
219
|
rdoc_options: []
|
190
220
|
require_paths:
|
191
221
|
- lib
|
@@ -200,8 +230,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
230
|
- !ruby/object:Gem::Version
|
201
231
|
version: '0'
|
202
232
|
requirements: []
|
203
|
-
rubygems_version: 3.
|
204
|
-
signing_key:
|
233
|
+
rubygems_version: 3.0.8
|
234
|
+
signing_key:
|
205
235
|
specification_version: 4
|
206
236
|
summary: Type signature for Ruby.
|
207
237
|
test_files: []
|