rbs 0.13.1 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +9 -5
  3. data/.gitignore +0 -1
  4. data/CHANGELOG.md +38 -2
  5. data/Gemfile +4 -0
  6. data/README.md +9 -3
  7. data/Rakefile +19 -1
  8. data/Steepfile +1 -1
  9. data/bin/annotate-with-rdoc +1 -1
  10. data/bin/setup +0 -2
  11. data/bin/test_runner.rb +15 -1
  12. data/{stdlib/builtin → core}/array.rbs +124 -120
  13. data/{stdlib/builtin → core}/basic_object.rbs +54 -54
  14. data/{stdlib/builtin → core}/binding.rbs +42 -42
  15. data/core/builtin.rbs +70 -0
  16. data/{stdlib/builtin → core}/class.rbs +33 -33
  17. data/{stdlib/builtin → core}/comparable.rbs +0 -0
  18. data/{stdlib/builtin → core}/complex.rbs +90 -90
  19. data/{stdlib/builtin → core}/constants.rbs +0 -0
  20. data/{stdlib/builtin → core}/data.rbs +0 -0
  21. data/{stdlib/builtin → core}/deprecated.rbs +0 -0
  22. data/{stdlib/builtin → core}/dir.rbs +1 -1
  23. data/{stdlib/builtin → core}/encoding.rbs +33 -33
  24. data/{stdlib/builtin → core}/enumerable.rbs +99 -92
  25. data/{stdlib/builtin → core}/enumerator.rbs +40 -40
  26. data/{stdlib/builtin → core}/errno.rbs +0 -0
  27. data/{stdlib/builtin → core}/errors.rbs +2 -2
  28. data/{stdlib/builtin → core}/exception.rbs +50 -50
  29. data/{stdlib/builtin → core}/false_class.rbs +6 -6
  30. data/{stdlib/builtin → core}/fiber.rbs +14 -14
  31. data/{stdlib/builtin → core}/fiber_error.rbs +1 -1
  32. data/{stdlib/builtin → core}/file.rbs +0 -0
  33. data/{stdlib/builtin → core}/file_test.rbs +0 -0
  34. data/{stdlib/builtin → core}/float.rbs +161 -161
  35. data/{stdlib/builtin → core}/gc.rbs +3 -3
  36. data/{stdlib/builtin → core}/hash.rbs +15 -15
  37. data/{stdlib/builtin → core}/integer.rbs +0 -0
  38. data/{stdlib/builtin → core}/io.rbs +89 -89
  39. data/{stdlib/builtin → core}/kernel.rbs +70 -154
  40. data/{stdlib/builtin → core}/marshal.rbs +0 -0
  41. data/{stdlib/builtin → core}/match_data.rbs +1 -1
  42. data/{stdlib/builtin → core}/math.rbs +0 -0
  43. data/{stdlib/builtin → core}/method.rbs +19 -19
  44. data/{stdlib/builtin → core}/module.rbs +13 -13
  45. data/{stdlib/builtin → core}/nil_class.rbs +20 -20
  46. data/{stdlib/builtin → core}/numeric.rbs +101 -101
  47. data/{stdlib/builtin → core}/object.rbs +173 -173
  48. data/core/object_space.rbs +98 -0
  49. data/{stdlib/builtin → core}/proc.rbs +91 -91
  50. data/{stdlib/builtin → core}/process.rbs +0 -0
  51. data/{stdlib/builtin → core}/random.rbs +1 -1
  52. data/{stdlib/builtin → core}/range.rbs +4 -6
  53. data/{stdlib/builtin → core}/rational.rbs +83 -83
  54. data/{stdlib/builtin → core}/rb_config.rbs +0 -0
  55. data/{stdlib/builtin → core}/regexp.rbs +0 -0
  56. data/{stdlib/builtin → core}/ruby_vm.rbs +0 -0
  57. data/{stdlib/builtin → core}/signal.rbs +7 -7
  58. data/{stdlib/builtin → core}/string.rbs +10 -10
  59. data/{stdlib/builtin → core}/string_io.rbs +8 -8
  60. data/{stdlib/builtin → core}/struct.rbs +2 -2
  61. data/{stdlib/builtin → core}/symbol.rbs +1 -1
  62. data/{stdlib/builtin → core}/thread.rbs +189 -189
  63. data/{stdlib/builtin → core}/thread_group.rbs +2 -2
  64. data/{stdlib/builtin → core}/time.rbs +0 -0
  65. data/{stdlib/builtin → core}/trace_point.rbs +0 -0
  66. data/{stdlib/builtin → core}/true_class.rbs +10 -10
  67. data/{stdlib/builtin → core}/unbound_method.rbs +0 -0
  68. data/{stdlib/builtin → core}/warning.rbs +1 -1
  69. data/docs/CONTRIBUTING.md +1 -0
  70. data/docs/repo.md +125 -0
  71. data/docs/syntax.md +50 -6
  72. data/goodcheck.yml +22 -5
  73. data/lib/rbs.rb +1 -0
  74. data/lib/rbs/ast/comment.rb +1 -1
  75. data/lib/rbs/cli.rb +105 -103
  76. data/lib/rbs/definition.rb +9 -4
  77. data/lib/rbs/definition_builder.rb +54 -22
  78. data/lib/rbs/environment.rb +1 -1
  79. data/lib/rbs/environment_loader.rb +79 -105
  80. data/lib/rbs/environment_walker.rb +58 -29
  81. data/lib/rbs/namespace.rb +1 -1
  82. data/lib/rbs/parser.rb +3153 -0
  83. data/lib/rbs/parser.y +25 -11
  84. data/lib/rbs/prototype/rb.rb +186 -25
  85. data/lib/rbs/prototype/runtime.rb +18 -7
  86. data/lib/rbs/repository.rb +121 -0
  87. data/lib/rbs/test/hook.rb +27 -15
  88. data/lib/rbs/test/setup.rb +5 -3
  89. data/lib/rbs/test/setup_helper.rb +4 -4
  90. data/lib/rbs/test/tester.rb +4 -1
  91. data/lib/rbs/test/type_check.rb +18 -7
  92. data/lib/rbs/type_name.rb +3 -2
  93. data/lib/rbs/variance_calculator.rb +1 -1
  94. data/lib/rbs/vendorer.rb +38 -16
  95. data/lib/rbs/version.rb +1 -1
  96. data/lib/rbs/writer.rb +1 -1
  97. data/sig/cli.rbs +58 -0
  98. data/sig/constant.rbs +2 -2
  99. data/sig/constant_table.rbs +11 -11
  100. data/sig/declarations.rbs +2 -2
  101. data/sig/definition.rbs +10 -5
  102. data/sig/definition_builder.rbs +4 -1
  103. data/sig/environment_loader.rbs +92 -46
  104. data/sig/members.rbs +2 -2
  105. data/sig/method_types.rbs +1 -1
  106. data/sig/namespace.rbs +4 -4
  107. data/sig/parser.rbs +25 -0
  108. data/sig/polyfill.rbs +42 -0
  109. data/sig/rbs.rbs +8 -0
  110. data/sig/repository.rbs +79 -0
  111. data/sig/substitution.rbs +3 -3
  112. data/sig/typename.rbs +1 -1
  113. data/sig/types.rbs +1 -1
  114. data/sig/vendorer.rbs +44 -0
  115. data/sig/writer.rbs +15 -15
  116. data/stdlib/abbrev/{abbrev.rbs → 0/abbrev.rbs} +0 -0
  117. data/stdlib/base64/{base64.rbs → 0/base64.rbs} +1 -1
  118. data/stdlib/benchmark/{benchmark.rbs → 0/benchmark.rbs} +2 -2
  119. data/stdlib/{bigdecimal/math → bigdecimal-math/0}/big_math.rbs +0 -0
  120. data/stdlib/bigdecimal/{big_decimal.rbs → 0/big_decimal.rbs} +0 -0
  121. data/stdlib/coverage/{coverage.rbs → 0/coverage.rbs} +2 -2
  122. data/stdlib/csv/{csv.rbs → 0/csv.rbs} +4 -4
  123. data/stdlib/date/{date.rbs → 0/date.rbs} +4 -4
  124. data/stdlib/date/{date_time.rbs → 0/date_time.rbs} +1 -1
  125. data/stdlib/dbm/0/dbm.rbs +277 -0
  126. data/stdlib/erb/{erb.rbs → 0/erb.rbs} +0 -0
  127. data/stdlib/fiber/{fiber.rbs → 0/fiber.rbs} +0 -0
  128. data/stdlib/find/{find.rbs → 0/find.rbs} +12 -12
  129. data/stdlib/forwardable/{forwardable.rbs → 0/forwardable.rbs} +0 -0
  130. data/stdlib/ipaddr/{ipaddr.rbs → 0/ipaddr.rbs} +0 -0
  131. data/stdlib/json/{json.rbs → 0/json.rbs} +0 -0
  132. data/stdlib/logger/{formatter.rbs → 0/formatter.rbs} +0 -0
  133. data/stdlib/logger/{log_device.rbs → 0/log_device.rbs} +1 -1
  134. data/stdlib/logger/{logger.rbs → 0/logger.rbs} +1 -1
  135. data/stdlib/logger/{period.rbs → 0/period.rbs} +0 -0
  136. data/stdlib/logger/{severity.rbs → 0/severity.rbs} +0 -0
  137. data/stdlib/mutex_m/{mutex_m.rbs → 0/mutex_m.rbs} +0 -0
  138. data/stdlib/pathname/{pathname.rbs → 0/pathname.rbs} +40 -40
  139. data/stdlib/prime/{integer-extension.rbs → 0/integer-extension.rbs} +0 -0
  140. data/stdlib/prime/{prime.rbs → 0/prime.rbs} +1 -1
  141. data/stdlib/pstore/0/pstore.rbs +287 -0
  142. data/stdlib/pty/{pty.rbs → 0/pty.rbs} +1 -1
  143. data/stdlib/securerandom/{securerandom.rbs → 0/securerandom.rbs} +0 -0
  144. data/stdlib/set/{set.rbs → 0/set.rbs} +10 -10
  145. data/stdlib/singleton/0/singleton.rbs +111 -0
  146. data/stdlib/tmpdir/{tmpdir.rbs → 0/tmpdir.rbs} +12 -12
  147. data/stdlib/tsort/0/cyclic.rbs +4 -0
  148. data/stdlib/tsort/0/interfaces.rbs +19 -0
  149. data/stdlib/tsort/0/tsort.rbs +363 -0
  150. data/stdlib/uri/{file.rbs → 0/file.rbs} +0 -0
  151. data/stdlib/uri/{generic.rbs → 0/generic.rbs} +1 -1
  152. data/stdlib/uri/{http.rbs → 0/http.rbs} +0 -0
  153. data/stdlib/uri/{https.rbs → 0/https.rbs} +0 -0
  154. data/stdlib/uri/{ldap.rbs → 0/ldap.rbs} +0 -0
  155. data/stdlib/uri/{ldaps.rbs → 0/ldaps.rbs} +0 -0
  156. data/stdlib/yaml/0/dbm.rbs +221 -0
  157. data/stdlib/yaml/0/store.rbs +53 -0
  158. data/stdlib/zlib/{zlib.rbs → 0/zlib.rbs} +0 -0
  159. data/steep/Gemfile.lock +9 -9
  160. metadata +109 -94
  161. data/stdlib/builtin/builtin.rbs +0 -42
File without changes
@@ -193,7 +193,7 @@ module URI
193
193
  #
194
194
  # Creates a new URI::Generic instance from ``generic'' components without check.
195
195
  #
196
- def initialize: (String scheme, String userinfo, String host, Integer port, String? registry, String path, String? opaque, String query, String fragment, ?untyped parser, ?bool arg_check) -> URI::Generic
196
+ def initialize: (String scheme, String userinfo, String host, Integer port, String? registry, String path, String? opaque, String query, String fragment, ?untyped parser, ?boolish arg_check) -> URI::Generic
197
197
 
198
198
  #
199
199
  # Returns the scheme component of the URI.
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,221 @@
1
+ # YAML Ain't Markup Language
2
+ #
3
+ # This module provides a Ruby interface for data serialization in YAML format.
4
+ #
5
+ # The YAML module is an alias of Psych, the YAML engine for Ruby.
6
+ #
7
+ # ## Usage
8
+ #
9
+ # Working with YAML can be very simple, for example:
10
+ #
11
+ # require 'yaml'
12
+ # # Parse a YAML string
13
+ # YAML.load("--- foo") #=> "foo"
14
+ #
15
+ # # Emit some YAML
16
+ # YAML.dump("foo") # => "--- foo\n...\n"
17
+ # { :a => 'b'}.to_yaml # => "---\n:a: b\n"
18
+ #
19
+ # As the implementation is provided by the Psych library, detailed documentation
20
+ # can be found in that library's docs (also part of standard library).
21
+ #
22
+ # ## Security
23
+ #
24
+ # Do not use YAML to load untrusted data. Doing so is unsafe and could allow
25
+ # malicious input to execute arbitrary code inside your application. Please see
26
+ # doc/security.rdoc for more information.
27
+ #
28
+ # ## History
29
+ #
30
+ # Syck was the original for YAML implementation in Ruby's standard library
31
+ # developed by why the lucky stiff.
32
+ #
33
+ # You can still use Syck, if you prefer, for parsing and emitting YAML, but you
34
+ # must install the 'syck' gem now in order to use it.
35
+ #
36
+ # In older Ruby versions, ie. <= 1.9, Syck is still provided, however it was
37
+ # completely removed with the release of Ruby 2.0.0.
38
+ #
39
+ # ## More info
40
+ #
41
+ # For more advanced details on the implementation see Psych, and also check out
42
+ # http://yaml.org for spec details and other helpful information.
43
+ #
44
+ # Psych is maintained by Aaron Patterson on github:
45
+ # https://github.com/ruby/psych
46
+ #
47
+ # Syck can also be found on github: https://github.com/ruby/syck
48
+ #
49
+ module YAML
50
+ # YAML + DBM = YDBM
51
+ #
52
+ # YAML::DBM provides the same interface as ::DBM.
53
+ #
54
+ # However, while DBM only allows strings for both keys and values,
55
+ # this library allows one to use most Ruby objects for values
56
+ # by first converting them to YAML. Keys must be strings.
57
+ #
58
+ # Conversion to and from YAML is performed automatically.
59
+ #
60
+ # See the documentation for ::DBM and ::YAML for more information.
61
+ class DBM < ::DBM
62
+ VERSION: ::String
63
+
64
+ # :call-seq:
65
+ # ydbm[key] -> value
66
+ #
67
+ # Return value associated with +key+ from database.
68
+ #
69
+ # Returns +nil+ if there is no such +key+.
70
+ #
71
+ # See #fetch for more information.
72
+ def []: (String key) -> untyped
73
+
74
+ # :call-seq:
75
+ # ydbm[key] = value
76
+ #
77
+ # Set +key+ to +value+ in database.
78
+ #
79
+ # +value+ will be converted to YAML before storage.
80
+ #
81
+ # See #store for more information.
82
+ def []=: (String key, untyped val) -> untyped
83
+
84
+ # :call-seq:
85
+ # ydbm.fetch( key, ifnone = nil )
86
+ # ydbm.fetch( key ) { |key| ... }
87
+ #
88
+ # Return value associated with +key+.
89
+ #
90
+ # If there is no value for +key+ and no block is given, returns +ifnone+.
91
+ #
92
+ # Otherwise, calls block passing in the given +key+.
93
+ #
94
+ # See ::DBM#fetch for more information.
95
+ def fetch: (String keystr, ?untyped? ifnone) { (untyped) -> untyped } -> untyped
96
+
97
+ # Deprecated, used YAML::DBM#key instead.
98
+ # ----
99
+ # Note:
100
+ # YAML::DBM#index makes warning from internal of ::DBM#index.
101
+ # It says 'DBM#index is deprecated; use DBM#key', but DBM#key
102
+ # behaves not same as DBM#index.
103
+ #
104
+ def index: (String keystr) -> untyped
105
+
106
+ # :call-seq:
107
+ # ydbm.key(value) -> string
108
+ #
109
+ # Returns the key for the specified value.
110
+ def key: (String keystr) -> String
111
+
112
+ # :call-seq:
113
+ # ydbm.values_at(*keys)
114
+ #
115
+ # Returns an array containing the values associated with the given keys.
116
+ def values_at: (*untyped keys) -> Array[untyped]
117
+
118
+ # :call-seq:
119
+ # ydbm.delete(key)
120
+ #
121
+ # Deletes value from database associated with +key+.
122
+ #
123
+ # Returns value or +nil+.
124
+ def delete: (String key) -> untyped
125
+
126
+ def delete_if: () { (untyped, untyped) -> untyped } -> untyped
127
+
128
+ # :call-seq:
129
+ # ydbm.reject { |key, value| ... }
130
+ #
131
+ # Converts the contents of the database to an in-memory Hash, then calls
132
+ # Hash#reject with the specified code block, returning a new Hash.
133
+ def reject: () { (untyped, untyped) -> untyped } -> Hash[untyped, untyped]
134
+
135
+ def each_pair: () { (untyped, untyped) -> untyped } -> untyped
136
+
137
+ def each_value: () { (untyped) -> untyped } -> untyped
138
+
139
+ # :call-seq:
140
+ # ydbm.values
141
+ #
142
+ # Returns an array of values from the database.
143
+ def values: () -> untyped
144
+
145
+ # :call-seq:
146
+ # ydbm.has_value?(value)
147
+ #
148
+ # Returns true if specified +value+ is found in the database.
149
+ def has_value?: (untyped val) -> (::TrueClass | ::FalseClass)
150
+
151
+ # :call-seq:
152
+ # ydbm.invert -> hash
153
+ #
154
+ # Returns a Hash (not a DBM database) created by using each value in the
155
+ # database as a key, with the corresponding key as its value.
156
+ #
157
+ # Note that all values in the hash will be Strings, but the keys will be
158
+ # actual objects.
159
+ def invert: () -> Hash[untyped, untyped]
160
+
161
+ # :call-seq:
162
+ # ydbm.replace(hash) -> ydbm
163
+ #
164
+ # Replaces the contents of the database with the contents of the specified
165
+ # object. Takes any object which implements the each_pair method, including
166
+ # Hash and DBM objects.
167
+ def replace: (Hash[untyped, untyped] | DBM hsh) -> YAML::DBM
168
+
169
+ # :call-seq:
170
+ # ydbm.shift -> [key, value]
171
+ #
172
+ # Removes a [key, value] pair from the database, and returns it.
173
+ # If the database is empty, returns +nil+.
174
+ #
175
+ # The order in which values are removed/returned is not guaranteed.
176
+ def shift: () -> (Array[untyped] | untyped)
177
+
178
+ # :call-seq:
179
+ # ydbm.select { |key, value| ... }
180
+ # ydbm.select(*keys)
181
+ #
182
+ # If a block is provided, returns a new array containing [key, value] pairs
183
+ # for which the block returns true.
184
+ #
185
+ # Otherwise, same as #values_at
186
+ def select: (*untyped keys) { (untyped, untyped) -> untyped } -> Array[untyped]
187
+
188
+ # :call-seq:
189
+ # ydbm.store(key, value) -> value
190
+ #
191
+ # Stores +value+ in database with +key+ as the index. +value+ is converted
192
+ # to YAML before being stored.
193
+ #
194
+ # Returns +value+
195
+ def store: (String key, untyped val) -> untyped
196
+
197
+ # :call-seq:
198
+ # ydbm.update(hash) -> ydbm
199
+ #
200
+ # Updates the database with multiple values from the specified object.
201
+ # Takes any object which implements the each_pair method, including
202
+ # Hash and DBM objects.
203
+ #
204
+ # Returns +self+.
205
+ def update: (Hash[untyped, untyped]) -> YAML::DBM
206
+
207
+ # :call-seq:
208
+ # ydbm.to_a -> array
209
+ #
210
+ # Converts the contents of the database to an array of [key, value] arrays,
211
+ # and returns it.
212
+ def to_a: () -> Array [untyped]
213
+
214
+ # :call-seq:
215
+ # ydbm.to_hash -> hash
216
+ #
217
+ # Converts the contents of the database to an in-memory Hash object, and
218
+ # returns it.
219
+ def to_hash: () -> Hash[untyped, untyped]
220
+ end
221
+ end
@@ -0,0 +1,53 @@
1
+ # YAML::Store provides the same functionality as PStore, except it uses YAML to
2
+ # dump objects instead of Marshal.
3
+ #
4
+ # ## Example
5
+ #
6
+ # require 'yaml/store'
7
+ #
8
+ # Person = Struct.new :first_name, :last_name
9
+ #
10
+ # people = [Person.new("Bob", "Smith"), Person.new("Mary", "Johnson")]
11
+ #
12
+ # store = YAML::Store.new "test.store"
13
+ #
14
+ # store.transaction do
15
+ # store["people"] = people
16
+ # store["greeting"] = { "hello" => "world" }
17
+ # end
18
+ #
19
+ # After running the above code, the contents of "test.store" will be:
20
+ #
21
+ # ---
22
+ # people:
23
+ # - !ruby/struct:Person
24
+ # first_name: Bob
25
+ # last_name: Smith
26
+ # - !ruby/struct:Person
27
+ # first_name: Mary
28
+ # last_name: Johnson
29
+ # greeting:
30
+ # hello: world
31
+ #
32
+ class YAML::Store < ::PStore
33
+ # Creates a new YAML::Store object, which will store data in `file_name`. If the
34
+ # file does not already exist, it will be created.
35
+ #
36
+ # YAML::Store objects are always reentrant. But if *thread_safe* is set to true,
37
+ # then it will become thread-safe at the cost of a minor performance hit.
38
+ #
39
+ # Options passed in through `yaml_opts` will be used when converting the store
40
+ # to YAML via Hash#to_yaml().
41
+ #
42
+ def initialize: (*untyped o) -> YAML::Store
43
+
44
+ def dump: (untyped table) -> String
45
+
46
+ def empty_marshal_checksum: () -> String
47
+
48
+ def empty_marshal_data: () -> String
49
+
50
+ def load: (String) -> untyped
51
+
52
+ def marshal_dump_supports_canonical_option?: () -> ::FalseClass
53
+ end
File without changes
@@ -1,7 +1,7 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- activesupport (6.0.3.3)
4
+ activesupport (6.0.3.4)
5
5
  concurrent-ruby (~> 1.0, >= 1.0.2)
6
6
  i18n (>= 0.7, < 2)
7
7
  minitest (~> 5.1)
@@ -15,31 +15,31 @@ GEM
15
15
  ffi (1.13.1)
16
16
  i18n (1.8.5)
17
17
  concurrent-ruby (~> 1.0)
18
- language_server-protocol (3.14.0.2)
18
+ language_server-protocol (3.15.0.1)
19
19
  listen (3.2.1)
20
20
  rb-fsevent (~> 0.10, >= 0.10.3)
21
21
  rb-inotify (~> 0.9, >= 0.9.10)
22
22
  minitest (5.14.2)
23
- parser (2.7.1.5)
23
+ parser (2.7.2.0)
24
24
  ast (~> 2.4.1)
25
25
  rainbow (3.0.0)
26
26
  rb-fsevent (0.10.4)
27
27
  rb-inotify (0.10.1)
28
28
  ffi (~> 1.0)
29
- rbs (0.12.2)
30
- steep (0.28.0)
29
+ rbs (0.14.0)
30
+ steep (0.34.0)
31
31
  activesupport (>= 5.1)
32
32
  ast_utils (~> 0.3.0)
33
- language_server-protocol (~> 3.14.0.2)
34
- listen (~> 3.1)
33
+ language_server-protocol (~> 3.15.0.1)
34
+ listen (~> 3.0)
35
35
  parser (~> 2.7.0)
36
36
  rainbow (>= 2.2.2, < 4.0)
37
- rbs (~> 0.12.0)
37
+ rbs (~> 0.14.0)
38
38
  thor (1.0.1)
39
39
  thread_safe (0.3.6)
40
40
  tzinfo (1.2.7)
41
41
  thread_safe (~> 0.1)
42
- zeitwerk (2.4.0)
42
+ zeitwerk (2.4.1)
43
43
 
44
44
  PLATFORMS
45
45
  ruby
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.13.1
4
+ version: 0.18.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: 2020-10-09 00:00:00.000000000 Z
11
+ date: 2020-12-01 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.
@@ -38,7 +38,65 @@ files:
38
38
  - bin/sort
39
39
  - bin/steep
40
40
  - bin/test_runner.rb
41
+ - core/array.rbs
42
+ - core/basic_object.rbs
43
+ - core/binding.rbs
44
+ - core/builtin.rbs
45
+ - core/class.rbs
46
+ - core/comparable.rbs
47
+ - core/complex.rbs
48
+ - core/constants.rbs
49
+ - core/data.rbs
50
+ - core/deprecated.rbs
51
+ - core/dir.rbs
52
+ - core/encoding.rbs
53
+ - core/enumerable.rbs
54
+ - core/enumerator.rbs
55
+ - core/errno.rbs
56
+ - core/errors.rbs
57
+ - core/exception.rbs
58
+ - core/false_class.rbs
59
+ - core/fiber.rbs
60
+ - core/fiber_error.rbs
61
+ - core/file.rbs
62
+ - core/file_test.rbs
63
+ - core/float.rbs
64
+ - core/gc.rbs
65
+ - core/hash.rbs
66
+ - core/integer.rbs
67
+ - core/io.rbs
68
+ - core/kernel.rbs
69
+ - core/marshal.rbs
70
+ - core/match_data.rbs
71
+ - core/math.rbs
72
+ - core/method.rbs
73
+ - core/module.rbs
74
+ - core/nil_class.rbs
75
+ - core/numeric.rbs
76
+ - core/object.rbs
77
+ - core/object_space.rbs
78
+ - core/proc.rbs
79
+ - core/process.rbs
80
+ - core/random.rbs
81
+ - core/range.rbs
82
+ - core/rational.rbs
83
+ - core/rb_config.rbs
84
+ - core/regexp.rbs
85
+ - core/ruby_vm.rbs
86
+ - core/signal.rbs
87
+ - core/string.rbs
88
+ - core/string_io.rbs
89
+ - core/struct.rbs
90
+ - core/symbol.rbs
91
+ - core/thread.rbs
92
+ - core/thread_group.rbs
93
+ - core/time.rbs
94
+ - core/trace_point.rbs
95
+ - core/true_class.rbs
96
+ - core/unbound_method.rbs
97
+ - core/warning.rbs
41
98
  - docs/CONTRIBUTING.md
99
+ - docs/repo.md
42
100
  - docs/sigs.md
43
101
  - docs/stdlib.md
44
102
  - docs/syntax.md
@@ -69,6 +127,7 @@ files:
69
127
  - lib/rbs/prototype/rb.rb
70
128
  - lib/rbs/prototype/rbi.rb
71
129
  - lib/rbs/prototype/runtime.rb
130
+ - lib/rbs/repository.rb
72
131
  - lib/rbs/substitution.rb
73
132
  - lib/rbs/test.rb
74
133
  - lib/rbs/test/errors.rb
@@ -100,6 +159,7 @@ files:
100
159
  - sig/annotation.rbs
101
160
  - sig/buffer.rbs
102
161
  - sig/builtin_names.rbs
162
+ - sig/cli.rbs
103
163
  - sig/comment.rbs
104
164
  - sig/constant.rbs
105
165
  - sig/constant_table.rbs
@@ -112,107 +172,62 @@ files:
112
172
  - sig/members.rbs
113
173
  - sig/method_types.rbs
114
174
  - sig/namespace.rbs
175
+ - sig/parser.rbs
115
176
  - sig/polyfill.rbs
116
177
  - sig/rbs.rbs
178
+ - sig/repository.rbs
117
179
  - sig/substitution.rbs
118
180
  - sig/type_name_resolver.rbs
119
181
  - sig/typename.rbs
120
182
  - sig/types.rbs
121
183
  - sig/util.rbs
122
184
  - sig/variance_calculator.rbs
185
+ - sig/vendorer.rbs
123
186
  - sig/version.rbs
124
187
  - sig/writer.rbs
125
- - stdlib/abbrev/abbrev.rbs
126
- - stdlib/base64/base64.rbs
127
- - stdlib/benchmark/benchmark.rbs
128
- - stdlib/bigdecimal/big_decimal.rbs
129
- - stdlib/bigdecimal/math/big_math.rbs
130
- - stdlib/builtin/array.rbs
131
- - stdlib/builtin/basic_object.rbs
132
- - stdlib/builtin/binding.rbs
133
- - stdlib/builtin/builtin.rbs
134
- - stdlib/builtin/class.rbs
135
- - stdlib/builtin/comparable.rbs
136
- - stdlib/builtin/complex.rbs
137
- - stdlib/builtin/constants.rbs
138
- - stdlib/builtin/data.rbs
139
- - stdlib/builtin/deprecated.rbs
140
- - stdlib/builtin/dir.rbs
141
- - stdlib/builtin/encoding.rbs
142
- - stdlib/builtin/enumerable.rbs
143
- - stdlib/builtin/enumerator.rbs
144
- - stdlib/builtin/errno.rbs
145
- - stdlib/builtin/errors.rbs
146
- - stdlib/builtin/exception.rbs
147
- - stdlib/builtin/false_class.rbs
148
- - stdlib/builtin/fiber.rbs
149
- - stdlib/builtin/fiber_error.rbs
150
- - stdlib/builtin/file.rbs
151
- - stdlib/builtin/file_test.rbs
152
- - stdlib/builtin/float.rbs
153
- - stdlib/builtin/gc.rbs
154
- - stdlib/builtin/hash.rbs
155
- - stdlib/builtin/integer.rbs
156
- - stdlib/builtin/io.rbs
157
- - stdlib/builtin/kernel.rbs
158
- - stdlib/builtin/marshal.rbs
159
- - stdlib/builtin/match_data.rbs
160
- - stdlib/builtin/math.rbs
161
- - stdlib/builtin/method.rbs
162
- - stdlib/builtin/module.rbs
163
- - stdlib/builtin/nil_class.rbs
164
- - stdlib/builtin/numeric.rbs
165
- - stdlib/builtin/object.rbs
166
- - stdlib/builtin/proc.rbs
167
- - stdlib/builtin/process.rbs
168
- - stdlib/builtin/random.rbs
169
- - stdlib/builtin/range.rbs
170
- - stdlib/builtin/rational.rbs
171
- - stdlib/builtin/rb_config.rbs
172
- - stdlib/builtin/regexp.rbs
173
- - stdlib/builtin/ruby_vm.rbs
174
- - stdlib/builtin/signal.rbs
175
- - stdlib/builtin/string.rbs
176
- - stdlib/builtin/string_io.rbs
177
- - stdlib/builtin/struct.rbs
178
- - stdlib/builtin/symbol.rbs
179
- - stdlib/builtin/thread.rbs
180
- - stdlib/builtin/thread_group.rbs
181
- - stdlib/builtin/time.rbs
182
- - stdlib/builtin/trace_point.rbs
183
- - stdlib/builtin/true_class.rbs
184
- - stdlib/builtin/unbound_method.rbs
185
- - stdlib/builtin/warning.rbs
186
- - stdlib/coverage/coverage.rbs
187
- - stdlib/csv/csv.rbs
188
- - stdlib/date/date.rbs
189
- - stdlib/date/date_time.rbs
190
- - stdlib/erb/erb.rbs
191
- - stdlib/fiber/fiber.rbs
192
- - stdlib/find/find.rbs
193
- - stdlib/forwardable/forwardable.rbs
194
- - stdlib/ipaddr/ipaddr.rbs
195
- - stdlib/json/json.rbs
196
- - stdlib/logger/formatter.rbs
197
- - stdlib/logger/log_device.rbs
198
- - stdlib/logger/logger.rbs
199
- - stdlib/logger/period.rbs
200
- - stdlib/logger/severity.rbs
201
- - stdlib/mutex_m/mutex_m.rbs
202
- - stdlib/pathname/pathname.rbs
203
- - stdlib/prime/integer-extension.rbs
204
- - stdlib/prime/prime.rbs
205
- - stdlib/pty/pty.rbs
206
- - stdlib/securerandom/securerandom.rbs
207
- - stdlib/set/set.rbs
208
- - stdlib/tmpdir/tmpdir.rbs
209
- - stdlib/uri/file.rbs
210
- - stdlib/uri/generic.rbs
211
- - stdlib/uri/http.rbs
212
- - stdlib/uri/https.rbs
213
- - stdlib/uri/ldap.rbs
214
- - stdlib/uri/ldaps.rbs
215
- - stdlib/zlib/zlib.rbs
188
+ - stdlib/abbrev/0/abbrev.rbs
189
+ - stdlib/base64/0/base64.rbs
190
+ - stdlib/benchmark/0/benchmark.rbs
191
+ - stdlib/bigdecimal-math/0/big_math.rbs
192
+ - stdlib/bigdecimal/0/big_decimal.rbs
193
+ - stdlib/coverage/0/coverage.rbs
194
+ - stdlib/csv/0/csv.rbs
195
+ - stdlib/date/0/date.rbs
196
+ - stdlib/date/0/date_time.rbs
197
+ - stdlib/dbm/0/dbm.rbs
198
+ - stdlib/erb/0/erb.rbs
199
+ - stdlib/fiber/0/fiber.rbs
200
+ - stdlib/find/0/find.rbs
201
+ - stdlib/forwardable/0/forwardable.rbs
202
+ - stdlib/ipaddr/0/ipaddr.rbs
203
+ - stdlib/json/0/json.rbs
204
+ - stdlib/logger/0/formatter.rbs
205
+ - stdlib/logger/0/log_device.rbs
206
+ - stdlib/logger/0/logger.rbs
207
+ - stdlib/logger/0/period.rbs
208
+ - stdlib/logger/0/severity.rbs
209
+ - stdlib/mutex_m/0/mutex_m.rbs
210
+ - stdlib/pathname/0/pathname.rbs
211
+ - stdlib/prime/0/integer-extension.rbs
212
+ - stdlib/prime/0/prime.rbs
213
+ - stdlib/pstore/0/pstore.rbs
214
+ - stdlib/pty/0/pty.rbs
215
+ - stdlib/securerandom/0/securerandom.rbs
216
+ - stdlib/set/0/set.rbs
217
+ - stdlib/singleton/0/singleton.rbs
218
+ - stdlib/tmpdir/0/tmpdir.rbs
219
+ - stdlib/tsort/0/cyclic.rbs
220
+ - stdlib/tsort/0/interfaces.rbs
221
+ - stdlib/tsort/0/tsort.rbs
222
+ - stdlib/uri/0/file.rbs
223
+ - stdlib/uri/0/generic.rbs
224
+ - stdlib/uri/0/http.rbs
225
+ - stdlib/uri/0/https.rbs
226
+ - stdlib/uri/0/ldap.rbs
227
+ - stdlib/uri/0/ldaps.rbs
228
+ - stdlib/yaml/0/dbm.rbs
229
+ - stdlib/yaml/0/store.rbs
230
+ - stdlib/zlib/0/zlib.rbs
216
231
  - steep/Gemfile
217
232
  - steep/Gemfile.lock
218
233
  homepage: https://github.com/ruby/rbs
@@ -238,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
253
  - !ruby/object:Gem::Version
239
254
  version: '0'
240
255
  requirements: []
241
- rubygems_version: 3.1.2
256
+ rubygems_version: 3.2.0.rc.2
242
257
  signing_key:
243
258
  specification_version: 4
244
259
  summary: Type signature for Ruby.