rbs 1.4.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +10 -0
- data/CHANGELOG.md +52 -0
- data/Gemfile +2 -0
- data/Steepfile +9 -1
- data/core/builtin.rbs +1 -1
- data/core/file.rbs +3 -1
- data/core/global_variables.rbs +3 -3
- data/core/io/wait.rbs +37 -0
- data/core/io.rbs +6 -4
- data/core/ractor.rbs +779 -0
- data/core/string_io.rbs +3 -5
- data/docs/collection.md +116 -0
- data/lib/rbs/builtin_names.rb +1 -0
- data/lib/rbs/cli.rb +93 -2
- data/lib/rbs/collection/cleaner.rb +29 -0
- data/lib/rbs/collection/config/lockfile_generator.rb +95 -0
- data/lib/rbs/collection/config.rb +85 -0
- data/lib/rbs/collection/installer.rb +27 -0
- data/lib/rbs/collection/sources/git.rb +147 -0
- data/lib/rbs/collection/sources/rubygems.rb +40 -0
- data/lib/rbs/collection/sources/stdlib.rb +38 -0
- data/lib/rbs/collection/sources.rb +22 -0
- data/lib/rbs/collection.rb +13 -0
- data/lib/rbs/environment_loader.rb +12 -0
- data/lib/rbs/errors.rb +2 -0
- data/lib/rbs/repository.rb +13 -7
- data/lib/rbs/validator.rb +4 -1
- data/lib/rbs/version.rb +1 -1
- data/lib/rbs.rb +1 -0
- data/sig/builtin_names.rbs +1 -0
- data/sig/cli.rbs +5 -0
- data/sig/collection/cleaner.rbs +13 -0
- data/sig/collection/collections.rbs +112 -0
- data/sig/collection/config.rbs +69 -0
- data/sig/collection/installer.rbs +15 -0
- data/sig/collection.rbs +4 -0
- data/sig/environment_loader.rbs +3 -0
- data/sig/polyfill.rbs +12 -3
- data/sig/repository.rbs +4 -0
- data/stdlib/digest/0/digest.rbs +418 -0
- data/stdlib/objspace/0/objspace.rbs +406 -0
- data/stdlib/openssl/0/openssl.rbs +1 -1
- data/stdlib/tempfile/0/tempfile.rbs +270 -0
- data/steep/Gemfile.lock +10 -10
- metadata +24 -3
data/steep/Gemfile.lock
CHANGED
@@ -1,36 +1,36 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (6.1.
|
4
|
+
activesupport (6.1.4.1)
|
5
5
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
6
|
i18n (>= 1.6, < 2)
|
7
7
|
minitest (>= 5.1)
|
8
8
|
tzinfo (~> 2.0)
|
9
9
|
zeitwerk (~> 2.3)
|
10
10
|
ast (2.4.2)
|
11
|
-
concurrent-ruby (1.1.
|
12
|
-
ffi (1.15.
|
11
|
+
concurrent-ruby (1.1.9)
|
12
|
+
ffi (1.15.3)
|
13
13
|
i18n (1.8.10)
|
14
14
|
concurrent-ruby (~> 1.0)
|
15
|
-
language_server-protocol (3.16.0.
|
16
|
-
listen (3.
|
15
|
+
language_server-protocol (3.16.0.3)
|
16
|
+
listen (3.7.0)
|
17
17
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
18
18
|
rb-inotify (~> 0.9, >= 0.9.10)
|
19
19
|
minitest (5.14.4)
|
20
20
|
parallel (1.20.1)
|
21
|
-
parser (3.0.
|
21
|
+
parser (3.0.2.0)
|
22
22
|
ast (~> 2.4.1)
|
23
23
|
rainbow (3.0.0)
|
24
24
|
rb-fsevent (0.11.0)
|
25
25
|
rb-inotify (0.10.1)
|
26
26
|
ffi (~> 1.0)
|
27
|
-
rbs (1.
|
28
|
-
steep (0.
|
27
|
+
rbs (1.5.1)
|
28
|
+
steep (0.46.0)
|
29
29
|
activesupport (>= 5.1)
|
30
30
|
language_server-protocol (>= 3.15, < 4.0)
|
31
31
|
listen (~> 3.0)
|
32
32
|
parallel (>= 1.0.0)
|
33
|
-
parser (>=
|
33
|
+
parser (>= 3.0)
|
34
34
|
rainbow (>= 2.2.2, < 4.0)
|
35
35
|
rbs (>= 1.2.0)
|
36
36
|
terminal-table (>= 2, < 4)
|
@@ -48,4 +48,4 @@ DEPENDENCIES
|
|
48
48
|
steep
|
49
49
|
|
50
50
|
BUNDLED WITH
|
51
|
-
2.2.
|
51
|
+
2.2.22
|
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.
|
4
|
+
version: 1.6.1
|
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-09-05 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.
|
@@ -19,6 +19,7 @@ executables:
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- ".github/dependabot.yml"
|
22
23
|
- ".github/workflows/ruby.yml"
|
23
24
|
- ".gitignore"
|
24
25
|
- ".rubocop.yml"
|
@@ -56,6 +57,7 @@ files:
|
|
56
57
|
- core/hash.rbs
|
57
58
|
- core/integer.rbs
|
58
59
|
- core/io.rbs
|
60
|
+
- core/io/wait.rbs
|
59
61
|
- core/kernel.rbs
|
60
62
|
- core/marshal.rbs
|
61
63
|
- core/match_data.rbs
|
@@ -68,6 +70,7 @@ files:
|
|
68
70
|
- core/object_space.rbs
|
69
71
|
- core/proc.rbs
|
70
72
|
- core/process.rbs
|
73
|
+
- core/ractor.rbs
|
71
74
|
- core/random.rbs
|
72
75
|
- core/range.rbs
|
73
76
|
- core/rational.rbs
|
@@ -87,6 +90,7 @@ files:
|
|
87
90
|
- core/unbound_method.rbs
|
88
91
|
- core/warning.rbs
|
89
92
|
- docs/CONTRIBUTING.md
|
93
|
+
- docs/collection.md
|
90
94
|
- docs/rbs_by_example.md
|
91
95
|
- docs/repo.md
|
92
96
|
- docs/sigs.md
|
@@ -104,6 +108,15 @@ files:
|
|
104
108
|
- lib/rbs/builtin_names.rb
|
105
109
|
- lib/rbs/char_scanner.rb
|
106
110
|
- lib/rbs/cli.rb
|
111
|
+
- lib/rbs/collection.rb
|
112
|
+
- lib/rbs/collection/cleaner.rb
|
113
|
+
- lib/rbs/collection/config.rb
|
114
|
+
- lib/rbs/collection/config/lockfile_generator.rb
|
115
|
+
- lib/rbs/collection/installer.rb
|
116
|
+
- lib/rbs/collection/sources.rb
|
117
|
+
- lib/rbs/collection/sources/git.rb
|
118
|
+
- lib/rbs/collection/sources/rubygems.rb
|
119
|
+
- lib/rbs/collection/sources/stdlib.rb
|
107
120
|
- lib/rbs/constant.rb
|
108
121
|
- lib/rbs/constant_table.rb
|
109
122
|
- lib/rbs/definition.rb
|
@@ -161,6 +174,11 @@ files:
|
|
161
174
|
- sig/builtin_names.rbs
|
162
175
|
- sig/char_scanner.rbs
|
163
176
|
- sig/cli.rbs
|
177
|
+
- sig/collection.rbs
|
178
|
+
- sig/collection/cleaner.rbs
|
179
|
+
- sig/collection/collections.rbs
|
180
|
+
- sig/collection/config.rbs
|
181
|
+
- sig/collection/installer.rbs
|
164
182
|
- sig/comment.rbs
|
165
183
|
- sig/constant.rbs
|
166
184
|
- sig/constant_table.rbs
|
@@ -203,6 +221,7 @@ files:
|
|
203
221
|
- stdlib/date/0/date.rbs
|
204
222
|
- stdlib/date/0/date_time.rbs
|
205
223
|
- stdlib/dbm/0/dbm.rbs
|
224
|
+
- stdlib/digest/0/digest.rbs
|
206
225
|
- stdlib/erb/0/erb.rbs
|
207
226
|
- stdlib/fiber/0/fiber.rbs
|
208
227
|
- stdlib/fileutils/0/fileutils.rbs
|
@@ -218,6 +237,7 @@ files:
|
|
218
237
|
- stdlib/monitor/0/monitor.rbs
|
219
238
|
- stdlib/mutex_m/0/mutex_m.rbs
|
220
239
|
- stdlib/net-http/0/net-http.rbs
|
240
|
+
- stdlib/objspace/0/objspace.rbs
|
221
241
|
- stdlib/openssl/0/openssl.rbs
|
222
242
|
- stdlib/optparse/0/optparse.rbs
|
223
243
|
- stdlib/pathname/0/pathname.rbs
|
@@ -255,6 +275,7 @@ files:
|
|
255
275
|
- stdlib/socket/0/unix_server.rbs
|
256
276
|
- stdlib/socket/0/unix_socket.rbs
|
257
277
|
- stdlib/strscan/0/string_scanner.rbs
|
278
|
+
- stdlib/tempfile/0/tempfile.rbs
|
258
279
|
- stdlib/time/0/time.rbs
|
259
280
|
- stdlib/timeout/0/timeout.rbs
|
260
281
|
- stdlib/tmpdir/0/tmpdir.rbs
|
@@ -298,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
319
|
- !ruby/object:Gem::Version
|
299
320
|
version: '0'
|
300
321
|
requirements: []
|
301
|
-
rubygems_version: 3.2.
|
322
|
+
rubygems_version: 3.2.15
|
302
323
|
signing_key:
|
303
324
|
specification_version: 4
|
304
325
|
summary: Type signature for Ruby.
|