steep 0.11.1 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +27 -0
  3. data/.gitmodules +3 -0
  4. data/CHANGELOG.md +5 -0
  5. data/README.md +48 -90
  6. data/Rakefile +10 -6
  7. data/Steepfile +1 -0
  8. data/bin/setup +1 -0
  9. data/bin/smoke_runner.rb +9 -14
  10. data/exe/rbs +3 -0
  11. data/exe/ruby-signature +3 -0
  12. data/exe/steep +1 -0
  13. data/lib/steep.rb +32 -26
  14. data/lib/steep/annotation_parser.rb +167 -0
  15. data/lib/steep/ast/annotation/collection.rb +7 -7
  16. data/lib/steep/ast/types.rb +60 -0
  17. data/lib/steep/ast/types/any.rb +1 -1
  18. data/lib/steep/ast/types/factory.rb +535 -0
  19. data/lib/steep/ast/types/name.rb +3 -3
  20. data/lib/steep/ast/types/var.rb +1 -1
  21. data/lib/steep/cli.rb +56 -240
  22. data/lib/steep/drivers/annotations.rb +36 -19
  23. data/lib/steep/drivers/check.rb +55 -91
  24. data/lib/steep/drivers/init.rb +54 -0
  25. data/lib/steep/drivers/langserver.rb +241 -150
  26. data/lib/steep/drivers/print_project.rb +56 -0
  27. data/lib/steep/drivers/signature_error_printer.rb +25 -0
  28. data/lib/steep/drivers/trace_printer.rb +25 -0
  29. data/lib/steep/drivers/utils/driver_helper.rb +26 -0
  30. data/lib/steep/drivers/validate.rb +18 -38
  31. data/lib/steep/drivers/vendor.rb +46 -0
  32. data/lib/steep/drivers/watch.rb +78 -140
  33. data/lib/steep/errors.rb +22 -13
  34. data/lib/steep/interface/interface.rb +91 -0
  35. data/lib/steep/interface/method.rb +0 -4
  36. data/lib/steep/interface/method_type.rb +362 -2
  37. data/lib/steep/interface/substitution.rb +22 -0
  38. data/lib/steep/project.rb +25 -233
  39. data/lib/steep/project/dsl.rb +132 -0
  40. data/lib/steep/project/file.rb +93 -76
  41. data/lib/steep/project/file_loader.rb +63 -0
  42. data/lib/steep/project/options.rb +7 -0
  43. data/lib/steep/project/target.rb +190 -0
  44. data/lib/steep/signature/errors.rb +25 -77
  45. data/lib/steep/signature/validator.rb +122 -0
  46. data/lib/steep/source.rb +12 -7
  47. data/lib/steep/subtyping/check.rb +357 -633
  48. data/lib/steep/subtyping/constraints.rb +2 -2
  49. data/lib/steep/subtyping/trace.rb +23 -0
  50. data/lib/steep/type_construction.rb +509 -455
  51. data/lib/steep/type_inference/constant_env.rb +16 -24
  52. data/lib/steep/type_inference/type_env.rb +26 -18
  53. data/lib/steep/version.rb +1 -1
  54. data/sample/Steepfile +6 -0
  55. data/sample/lib/conference.rb +12 -0
  56. data/sample/sig/conference.rbs +6 -0
  57. data/smoke/alias/Steepfile +4 -0
  58. data/smoke/alias/a.rb +2 -2
  59. data/smoke/alias/{a.rbi → a.rbs} +1 -1
  60. data/smoke/and/Steepfile +4 -0
  61. data/smoke/array/Steepfile +4 -0
  62. data/smoke/array/a.rb +2 -2
  63. data/smoke/array/b.rb +4 -4
  64. data/smoke/array/c.rb +2 -2
  65. data/smoke/block/Steepfile +5 -0
  66. data/smoke/block/{a.rbi → a.rbs} +1 -1
  67. data/smoke/block/{c.rbi → c.rbs} +0 -0
  68. data/smoke/block/d.rb +6 -6
  69. data/smoke/case/Steepfile +4 -0
  70. data/smoke/case/a.rb +4 -3
  71. data/smoke/class/Steepfile +4 -0
  72. data/smoke/class/a.rb +1 -4
  73. data/smoke/class/a.rbs +24 -0
  74. data/smoke/class/h.rb +6 -2
  75. data/smoke/class/{h.rbi → h.rbs} +1 -2
  76. data/smoke/class/i.rb +1 -2
  77. data/smoke/class/i.rbs +9 -0
  78. data/smoke/const/Steepfile +4 -0
  79. data/smoke/dstr/Steepfile +4 -0
  80. data/smoke/ensure/Steepfile +4 -0
  81. data/smoke/ensure/a.rb +1 -1
  82. data/smoke/enumerator/Steepfile +4 -0
  83. data/smoke/enumerator/a.rb +7 -7
  84. data/smoke/enumerator/b.rb +6 -6
  85. data/smoke/extension/Steepfile +4 -0
  86. data/smoke/extension/{a.rbi → a.rbs} +2 -2
  87. data/smoke/extension/{e.rbi → e.rbs} +2 -2
  88. data/smoke/hash/Steepfile +4 -0
  89. data/smoke/hash/{a.rbi → a.rbs} +0 -0
  90. data/smoke/hash/b.rb +2 -2
  91. data/smoke/hash/c.rb +1 -1
  92. data/smoke/hash/e.rbs +3 -0
  93. data/smoke/hash/f.rb +1 -1
  94. data/smoke/hello/Steepfile +4 -0
  95. data/smoke/hello/hello.rbs +7 -0
  96. data/smoke/if/Steepfile +4 -0
  97. data/smoke/implements/Steepfile +4 -0
  98. data/smoke/implements/a.rbs +6 -0
  99. data/smoke/initialize/Steepfile +4 -0
  100. data/smoke/initialize/a.rbs +3 -0
  101. data/smoke/integer/Steepfile +4 -0
  102. data/smoke/integer/a.rb +5 -3
  103. data/smoke/interface/Steepfile +4 -0
  104. data/smoke/interface/{a.rbi → a.rbs} +0 -0
  105. data/smoke/kwbegin/Steepfile +4 -0
  106. data/smoke/lambda/Steepfile +4 -0
  107. data/smoke/lambda/a.rb +9 -2
  108. data/smoke/literal/Steepfile +4 -0
  109. data/smoke/literal/{literal_methods.rbi → literal_methods.rbs} +0 -0
  110. data/smoke/map/Steepfile +4 -0
  111. data/smoke/map/a.rb +1 -1
  112. data/smoke/method/Steepfile +4 -0
  113. data/smoke/method/{a.rbi → a.rbs} +0 -0
  114. data/smoke/method/b.rb +1 -4
  115. data/smoke/method/d.rb +1 -0
  116. data/smoke/method/d.rbs +3 -0
  117. data/smoke/module/Steepfile +4 -0
  118. data/smoke/module/a.rb +1 -1
  119. data/smoke/module/a.rbs +16 -0
  120. data/smoke/module/c.rb +1 -1
  121. data/smoke/regexp/Steepfile +4 -0
  122. data/smoke/regexp/a.rb +2 -2
  123. data/smoke/regexp/b.rb +16 -16
  124. data/smoke/regression/Steepfile +5 -0
  125. data/smoke/regression/array.rb +2 -2
  126. data/smoke/regression/hash.rb +2 -2
  127. data/smoke/regression/poly_new.rb +2 -0
  128. data/smoke/regression/poly_new.rbs +4 -0
  129. data/smoke/regression/set_divide.rb +2 -2
  130. data/smoke/rescue/Steepfile +4 -0
  131. data/smoke/rescue/a.rb +1 -1
  132. data/smoke/self/Steepfile +4 -0
  133. data/smoke/self/a.rbs +4 -0
  134. data/smoke/skip/Steepfile +4 -0
  135. data/smoke/stdout/Steepfile +4 -0
  136. data/smoke/stdout/{a.rbi → a.rbs} +1 -1
  137. data/smoke/super/Steepfile +4 -0
  138. data/smoke/super/a.rbs +10 -0
  139. data/smoke/type_case/Steepfile +4 -0
  140. data/smoke/type_case/a.rb +1 -1
  141. data/smoke/yield/Steepfile +4 -0
  142. data/smoke/yield/a.rb +2 -2
  143. data/steep.gemspec +14 -7
  144. data/vendor/ruby-signature/.github/workflows/ruby.yml +27 -0
  145. data/vendor/ruby-signature/.gitignore +12 -0
  146. data/vendor/ruby-signature/.rubocop.yml +15 -0
  147. data/vendor/ruby-signature/BSDL +22 -0
  148. data/vendor/ruby-signature/COPYING +56 -0
  149. data/vendor/ruby-signature/Gemfile +6 -0
  150. data/vendor/ruby-signature/README.md +93 -0
  151. data/vendor/ruby-signature/Rakefile +66 -0
  152. data/vendor/ruby-signature/bin/annotate-with-rdoc +156 -0
  153. data/vendor/ruby-signature/bin/console +14 -0
  154. data/vendor/ruby-signature/bin/query-rdoc +103 -0
  155. data/vendor/ruby-signature/bin/setup +10 -0
  156. data/vendor/ruby-signature/bin/sort +88 -0
  157. data/vendor/ruby-signature/bin/test_runner.rb +17 -0
  158. data/vendor/ruby-signature/docs/CONTRIBUTING.md +97 -0
  159. data/vendor/ruby-signature/docs/sigs.md +148 -0
  160. data/vendor/ruby-signature/docs/stdlib.md +152 -0
  161. data/vendor/ruby-signature/docs/syntax.md +528 -0
  162. data/vendor/ruby-signature/exe/rbs +3 -0
  163. data/vendor/ruby-signature/exe/ruby-signature +7 -0
  164. data/vendor/ruby-signature/lib/ruby/signature.rb +64 -0
  165. data/vendor/ruby-signature/lib/ruby/signature/ast/annotation.rb +29 -0
  166. data/vendor/ruby-signature/lib/ruby/signature/ast/comment.rb +29 -0
  167. data/vendor/ruby-signature/lib/ruby/signature/ast/declarations.rb +391 -0
  168. data/vendor/ruby-signature/lib/ruby/signature/ast/members.rb +364 -0
  169. data/vendor/ruby-signature/lib/ruby/signature/buffer.rb +52 -0
  170. data/vendor/ruby-signature/lib/ruby/signature/builtin_names.rb +54 -0
  171. data/vendor/ruby-signature/lib/ruby/signature/cli.rb +534 -0
  172. data/vendor/ruby-signature/lib/ruby/signature/constant.rb +28 -0
  173. data/vendor/ruby-signature/lib/ruby/signature/constant_table.rb +152 -0
  174. data/vendor/ruby-signature/lib/ruby/signature/definition.rb +172 -0
  175. data/vendor/ruby-signature/lib/ruby/signature/definition_builder.rb +921 -0
  176. data/vendor/ruby-signature/lib/ruby/signature/environment.rb +283 -0
  177. data/vendor/ruby-signature/lib/ruby/signature/environment_loader.rb +138 -0
  178. data/vendor/ruby-signature/lib/ruby/signature/environment_walker.rb +126 -0
  179. data/vendor/ruby-signature/lib/ruby/signature/errors.rb +189 -0
  180. data/vendor/ruby-signature/lib/ruby/signature/location.rb +104 -0
  181. data/vendor/ruby-signature/lib/ruby/signature/method_type.rb +125 -0
  182. data/vendor/ruby-signature/lib/ruby/signature/namespace.rb +93 -0
  183. data/vendor/ruby-signature/lib/ruby/signature/parser.y +1343 -0
  184. data/vendor/ruby-signature/lib/ruby/signature/prototype/rb.rb +441 -0
  185. data/vendor/ruby-signature/lib/ruby/signature/prototype/rbi.rb +579 -0
  186. data/vendor/ruby-signature/lib/ruby/signature/prototype/runtime.rb +383 -0
  187. data/vendor/ruby-signature/lib/ruby/signature/substitution.rb +48 -0
  188. data/vendor/ruby-signature/lib/ruby/signature/test.rb +28 -0
  189. data/vendor/ruby-signature/lib/ruby/signature/test/errors.rb +63 -0
  190. data/vendor/ruby-signature/lib/ruby/signature/test/hook.rb +290 -0
  191. data/vendor/ruby-signature/lib/ruby/signature/test/setup.rb +58 -0
  192. data/vendor/ruby-signature/lib/ruby/signature/test/spy.rb +324 -0
  193. data/vendor/ruby-signature/lib/ruby/signature/test/test_helper.rb +185 -0
  194. data/vendor/ruby-signature/lib/ruby/signature/test/type_check.rb +256 -0
  195. data/vendor/ruby-signature/lib/ruby/signature/type_name.rb +72 -0
  196. data/vendor/ruby-signature/lib/ruby/signature/types.rb +932 -0
  197. data/vendor/ruby-signature/lib/ruby/signature/variance_calculator.rb +140 -0
  198. data/vendor/ruby-signature/lib/ruby/signature/vendorer.rb +49 -0
  199. data/vendor/ruby-signature/lib/ruby/signature/version.rb +5 -0
  200. data/vendor/ruby-signature/lib/ruby/signature/writer.rb +271 -0
  201. data/vendor/ruby-signature/ruby-signature.gemspec +45 -0
  202. data/vendor/ruby-signature/stdlib/abbrev/abbrev.rbs +3 -0
  203. data/vendor/ruby-signature/stdlib/base64/base64.rbs +15 -0
  204. data/vendor/ruby-signature/stdlib/builtin/array.rbs +1997 -0
  205. data/vendor/ruby-signature/stdlib/builtin/basic_object.rbs +280 -0
  206. data/vendor/ruby-signature/stdlib/builtin/binding.rbs +177 -0
  207. data/vendor/ruby-signature/stdlib/builtin/builtin.rbs +35 -0
  208. data/vendor/ruby-signature/stdlib/builtin/class.rbs +145 -0
  209. data/vendor/ruby-signature/stdlib/builtin/comparable.rbs +116 -0
  210. data/vendor/ruby-signature/stdlib/builtin/complex.rbs +400 -0
  211. data/vendor/ruby-signature/stdlib/builtin/constants.rbs +37 -0
  212. data/vendor/ruby-signature/stdlib/builtin/data.rbs +5 -0
  213. data/vendor/ruby-signature/stdlib/builtin/deprecated.rbs +2 -0
  214. data/vendor/ruby-signature/stdlib/builtin/dir.rbs +419 -0
  215. data/vendor/ruby-signature/stdlib/builtin/encoding.rbs +606 -0
  216. data/vendor/ruby-signature/stdlib/builtin/enumerable.rbs +404 -0
  217. data/vendor/ruby-signature/stdlib/builtin/enumerator.rbs +260 -0
  218. data/vendor/ruby-signature/stdlib/builtin/errno.rbs +781 -0
  219. data/vendor/ruby-signature/stdlib/builtin/errors.rbs +582 -0
  220. data/vendor/ruby-signature/stdlib/builtin/exception.rbs +193 -0
  221. data/vendor/ruby-signature/stdlib/builtin/false_class.rbs +40 -0
  222. data/vendor/ruby-signature/stdlib/builtin/fiber.rbs +68 -0
  223. data/vendor/ruby-signature/stdlib/builtin/fiber_error.rbs +12 -0
  224. data/vendor/ruby-signature/stdlib/builtin/file.rbs +476 -0
  225. data/vendor/ruby-signature/stdlib/builtin/file_test.rbs +59 -0
  226. data/vendor/ruby-signature/stdlib/builtin/float.rbs +696 -0
  227. data/vendor/ruby-signature/stdlib/builtin/gc.rbs +121 -0
  228. data/vendor/ruby-signature/stdlib/builtin/hash.rbs +1029 -0
  229. data/vendor/ruby-signature/stdlib/builtin/integer.rbs +710 -0
  230. data/vendor/ruby-signature/stdlib/builtin/io.rbs +683 -0
  231. data/vendor/ruby-signature/stdlib/builtin/kernel.rbs +574 -0
  232. data/vendor/ruby-signature/stdlib/builtin/marshal.rbs +135 -0
  233. data/vendor/ruby-signature/stdlib/builtin/match_data.rbs +141 -0
  234. data/vendor/ruby-signature/stdlib/builtin/math.rbs +66 -0
  235. data/vendor/ruby-signature/stdlib/builtin/method.rbs +182 -0
  236. data/vendor/ruby-signature/stdlib/builtin/module.rbs +248 -0
  237. data/vendor/ruby-signature/stdlib/builtin/nil_class.rbs +82 -0
  238. data/vendor/ruby-signature/stdlib/builtin/numeric.rbs +409 -0
  239. data/vendor/ruby-signature/stdlib/builtin/object.rbs +824 -0
  240. data/vendor/ruby-signature/stdlib/builtin/proc.rbs +426 -0
  241. data/vendor/ruby-signature/stdlib/builtin/process.rbs +354 -0
  242. data/vendor/ruby-signature/stdlib/builtin/random.rbs +93 -0
  243. data/vendor/ruby-signature/stdlib/builtin/range.rbs +226 -0
  244. data/vendor/ruby-signature/stdlib/builtin/rational.rbs +424 -0
  245. data/vendor/ruby-signature/stdlib/builtin/rb_config.rbs +10 -0
  246. data/vendor/ruby-signature/stdlib/builtin/regexp.rbs +131 -0
  247. data/vendor/ruby-signature/stdlib/builtin/ruby_vm.rbs +14 -0
  248. data/vendor/ruby-signature/stdlib/builtin/signal.rbs +55 -0
  249. data/vendor/ruby-signature/stdlib/builtin/string.rbs +770 -0
  250. data/vendor/ruby-signature/stdlib/builtin/string_io.rbs +13 -0
  251. data/vendor/ruby-signature/stdlib/builtin/struct.rbs +40 -0
  252. data/vendor/ruby-signature/stdlib/builtin/symbol.rbs +230 -0
  253. data/vendor/ruby-signature/stdlib/builtin/thread.rbs +1112 -0
  254. data/vendor/ruby-signature/stdlib/builtin/thread_group.rbs +23 -0
  255. data/vendor/ruby-signature/stdlib/builtin/time.rbs +739 -0
  256. data/vendor/ruby-signature/stdlib/builtin/trace_point.rbs +91 -0
  257. data/vendor/ruby-signature/stdlib/builtin/true_class.rbs +46 -0
  258. data/vendor/ruby-signature/stdlib/builtin/unbound_method.rbs +159 -0
  259. data/vendor/ruby-signature/stdlib/builtin/warning.rbs +17 -0
  260. data/vendor/ruby-signature/stdlib/erb/erb.rbs +18 -0
  261. data/vendor/ruby-signature/stdlib/find/find.rbs +44 -0
  262. data/vendor/ruby-signature/stdlib/pathname/pathname.rbs +21 -0
  263. data/vendor/ruby-signature/stdlib/prime/integer-extension.rbs +23 -0
  264. data/vendor/ruby-signature/stdlib/prime/prime.rbs +188 -0
  265. data/vendor/ruby-signature/stdlib/securerandom/securerandom.rbs +9 -0
  266. data/vendor/ruby-signature/stdlib/set/set.rbs +77 -0
  267. data/vendor/ruby-signature/stdlib/tmpdir/tmpdir.rbs +53 -0
  268. metadata +244 -54
  269. data/.travis.yml +0 -7
  270. data/lib/steep/ast/signature/alias.rb +0 -19
  271. data/lib/steep/ast/signature/class.rb +0 -33
  272. data/lib/steep/ast/signature/const.rb +0 -17
  273. data/lib/steep/ast/signature/env.rb +0 -138
  274. data/lib/steep/ast/signature/extension.rb +0 -21
  275. data/lib/steep/ast/signature/gvar.rb +0 -17
  276. data/lib/steep/ast/signature/interface.rb +0 -31
  277. data/lib/steep/ast/signature/members.rb +0 -115
  278. data/lib/steep/ast/signature/module.rb +0 -21
  279. data/lib/steep/drivers/print_interface.rb +0 -94
  280. data/lib/steep/drivers/scaffold.rb +0 -321
  281. data/lib/steep/drivers/utils/each_signature.rb +0 -31
  282. data/lib/steep/interface/abstract.rb +0 -68
  283. data/lib/steep/interface/builder.rb +0 -637
  284. data/lib/steep/interface/instantiated.rb +0 -163
  285. data/lib/steep/interface/ivar_chain.rb +0 -26
  286. data/lib/steep/parser.y +0 -1278
  287. data/lib/steep/project/listener.rb +0 -53
  288. data/smoke/class/a.rbi +0 -24
  289. data/smoke/class/d.rb +0 -9
  290. data/smoke/class/e.rb +0 -12
  291. data/smoke/class/i.rbi +0 -9
  292. data/smoke/hash/e.rbi +0 -3
  293. data/smoke/hello/hello.rbi +0 -7
  294. data/smoke/implements/a.rbi +0 -6
  295. data/smoke/initialize/a.rbi +0 -3
  296. data/smoke/module/a.rbi +0 -16
  297. data/smoke/self/a.rbi +0 -4
  298. data/smoke/super/a.rbi +0 -10
  299. data/stdlib/builtin.rbi +0 -787
@@ -0,0 +1,9 @@
1
+ module SecureRandom
2
+ def self.alphanumeric: (?Integer?) -> String
3
+ def self.base64: (?Integer?) -> String
4
+ def self.hex: (?Integer?) -> String
5
+ def self.random_bytes: (?Integer?) -> String
6
+ def self.random_number: (?Integer?) -> (Integer | Float)
7
+ def self.urlsafe_base64: (?Integer?, ?bool?) -> String
8
+ def self.uuid: () -> String
9
+ end
@@ -0,0 +1,77 @@
1
+ class Set[A]
2
+ def self.`[]`: [X] (*X) -> Set[X]
3
+
4
+ def initialize: (_Each[A, untyped]) -> untyped
5
+ | [X] (_Each[X, untyped]) { (X) -> A } -> untyped
6
+ | (?nil) -> untyped
7
+
8
+ def intersection: (_Each[A, untyped]) -> self
9
+ def &: (_Each[A, untyped]) -> self
10
+
11
+ def union: (_Each[A, untyped]) -> self
12
+ def `+`: (_Each[A, untyped]) -> self
13
+ def `|`: (_Each[A, untyped]) -> self
14
+
15
+ def difference: (_Each[A, untyped]) -> self
16
+ def `-`: (_Each[A, untyped]) -> self
17
+
18
+ def add: (A) -> self
19
+ def `<<`: (A) -> self
20
+ def add?: (A) -> self?
21
+
22
+ def member?: (untyped) -> bool
23
+ def include?: (untyped) -> bool
24
+
25
+ def `^`: (_Each[A, untyped]) -> self
26
+
27
+ def classify: [X] { (A) -> X } -> Hash[X, self]
28
+
29
+ def clear: -> self
30
+
31
+ def collect!: { (A) -> A } -> self
32
+ alias map! collect!
33
+
34
+ def delete: (untyped) -> self
35
+ def delete?: (untyped) -> self?
36
+
37
+ def delete_if: { (A) -> untyped } -> self
38
+ def reject!: { (A) -> untyped } -> self
39
+
40
+ def disjoint?: (self) -> bool
41
+
42
+ def divide: { (A, A) -> untyped } -> Set[self]
43
+ | { (A) -> untyped } -> Set[self]
44
+
45
+ def each: { (A) -> void } -> self
46
+
47
+ def empty?: -> bool
48
+
49
+ def flatten: -> Set[untyped]
50
+
51
+ def intersect?: -> bool
52
+
53
+ def keep_if: { (A) -> untyped } -> self
54
+
55
+ def size: -> Integer
56
+ alias length size
57
+
58
+ def merge: (_Each[A, untyped]) -> self
59
+
60
+ def subset?: (self) -> bool
61
+ def proper_subst?: (self) -> bool
62
+
63
+ def superset?: (self) -> bool
64
+ def proper_superset?: (self) -> bool
65
+
66
+ def replace: (_Each[A, untyped]) -> self
67
+
68
+ def reset: -> self
69
+
70
+ def select!: { (A) -> untyped } -> self?
71
+
72
+ def subtract: (_Each[A, untyped]) -> self
73
+
74
+ def to_a: -> Array[A]
75
+
76
+ include Enumerable[A, self]
77
+ end
@@ -0,0 +1,53 @@
1
+ extension Dir (tmpdir)
2
+ # Returns the operating system's temporary file path.
3
+ #
4
+ def self.tmpdir: () -> String
5
+
6
+ # Dir.mktmpdir creates a temporary directory.
7
+ #
8
+ # The directory is created with 0700 permission. Application should not change
9
+ # the permission to make the temporary directory accessible from other users.
10
+ #
11
+ # The prefix and suffix of the name of the directory is specified by the
12
+ # optional first argument, *prefix_suffix*.
13
+ # * If it is not specified or nil, "d" is used as the prefix and no suffix is
14
+ # used.
15
+ # * If it is a string, it is used as the prefix and no suffix is used.
16
+ # * If it is an array, first element is used as the prefix and second element
17
+ # is used as a suffix.
18
+ #
19
+ #
20
+ # Dir.mktmpdir {|dir| dir is ".../d..." }
21
+ # Dir.mktmpdir("foo") {|dir| dir is ".../foo..." }
22
+ # Dir.mktmpdir(["foo", "bar"]) {|dir| dir is ".../foo...bar" }
23
+ #
24
+ # The directory is created under Dir.tmpdir or the optional second argument
25
+ # *tmpdir* if non-nil value is given.
26
+ #
27
+ # Dir.mktmpdir {|dir| dir is "#{Dir.tmpdir}/d..." }
28
+ # Dir.mktmpdir(nil, "/var/tmp") {|dir| dir is "/var/tmp/d..." }
29
+ #
30
+ # If a block is given, it is yielded with the path of the directory. The
31
+ # directory and its contents are removed using FileUtils.remove_entry before
32
+ # Dir.mktmpdir returns. The value of the block is returned.
33
+ #
34
+ # Dir.mktmpdir {|dir|
35
+ # # use the directory...
36
+ # open("#{dir}/foo", "w") { ... }
37
+ # }
38
+ #
39
+ # If a block is not given, The path of the directory is returned. In this case,
40
+ # Dir.mktmpdir doesn't remove the directory.
41
+ #
42
+ # dir = Dir.mktmpdir
43
+ # begin
44
+ # # use the directory...
45
+ # open("#{dir}/foo", "w") { ... }
46
+ # ensure
47
+ # # remove the directory.
48
+ # FileUtils.remove_entry dir
49
+ # end
50
+ #
51
+ def self.mktmpdir: (?(String | [ String, String ] | nil), ?String?, ?max_try: Integer?) -> String
52
+ | [X] (?(String | [ String, String ] | nil), ?String?, ?max_try: Integer?) { (String) -> X } -> X
53
+ 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.11.1
4
+ version: 0.12.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: 2019-07-15 00:00:00.000000000 Z
11
+ date: 2020-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,48 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-reporters
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.3.6
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.3.6
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-hooks
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.5.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.5.0
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: parser
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '2.4'
103
+ version: 2.7.0
76
104
  type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '2.4'
110
+ version: 2.7.0
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: ast_utils
85
113
  requirement: !ruby/object:Gem::Requirement
@@ -162,34 +190,41 @@ dependencies:
162
190
  requirements:
163
191
  - - "~>"
164
192
  - !ruby/object:Gem::Version
165
- version: 3.14.0
193
+ version: 3.14.0.1
166
194
  type: :runtime
167
195
  prerelease: false
168
196
  version_requirements: !ruby/object:Gem::Requirement
169
197
  requirements:
170
198
  - - "~>"
171
199
  - !ruby/object:Gem::Version
172
- version: 3.14.0
200
+ version: 3.14.0.1
173
201
  description: Gradual Typing for Ruby
174
202
  email:
175
203
  - matsumoto@soutaro.com
176
204
  executables:
205
+ - rbs
206
+ - ruby-signature
177
207
  - steep
178
208
  extensions: []
179
209
  extra_rdoc_files: []
180
210
  files:
211
+ - ".github/workflows/ruby.yml"
181
212
  - ".gitignore"
182
- - ".travis.yml"
213
+ - ".gitmodules"
183
214
  - CHANGELOG.md
184
215
  - Gemfile
185
216
  - LICENSE
186
217
  - README.md
187
218
  - Rakefile
219
+ - Steepfile
188
220
  - bin/console
189
221
  - bin/setup
190
222
  - bin/smoke_runner.rb
223
+ - exe/rbs
224
+ - exe/ruby-signature
191
225
  - exe/steep
192
226
  - lib/steep.rb
227
+ - lib/steep/annotation_parser.rb
193
228
  - lib/steep/ast/annotation.rb
194
229
  - lib/steep/ast/annotation/collection.rb
195
230
  - lib/steep/ast/buffer.rb
@@ -197,20 +232,13 @@ files:
197
232
  - lib/steep/ast/location.rb
198
233
  - lib/steep/ast/method_type.rb
199
234
  - lib/steep/ast/namespace.rb
200
- - lib/steep/ast/signature/alias.rb
201
- - lib/steep/ast/signature/class.rb
202
- - lib/steep/ast/signature/const.rb
203
- - lib/steep/ast/signature/env.rb
204
- - lib/steep/ast/signature/extension.rb
205
- - lib/steep/ast/signature/gvar.rb
206
- - lib/steep/ast/signature/interface.rb
207
- - lib/steep/ast/signature/members.rb
208
- - lib/steep/ast/signature/module.rb
209
235
  - lib/steep/ast/type_params.rb
236
+ - lib/steep/ast/types.rb
210
237
  - lib/steep/ast/types/any.rb
211
238
  - lib/steep/ast/types/boolean.rb
212
239
  - lib/steep/ast/types/bot.rb
213
240
  - lib/steep/ast/types/class.rb
241
+ - lib/steep/ast/types/factory.rb
214
242
  - lib/steep/ast/types/helper.rb
215
243
  - lib/steep/ast/types/instance.rb
216
244
  - lib/steep/ast/types/intersection.rb
@@ -228,28 +256,29 @@ files:
228
256
  - lib/steep/cli.rb
229
257
  - lib/steep/drivers/annotations.rb
230
258
  - lib/steep/drivers/check.rb
259
+ - lib/steep/drivers/init.rb
231
260
  - lib/steep/drivers/langserver.rb
232
- - lib/steep/drivers/print_interface.rb
233
- - lib/steep/drivers/scaffold.rb
234
- - lib/steep/drivers/utils/each_signature.rb
261
+ - lib/steep/drivers/print_project.rb
262
+ - lib/steep/drivers/signature_error_printer.rb
263
+ - lib/steep/drivers/trace_printer.rb
264
+ - lib/steep/drivers/utils/driver_helper.rb
235
265
  - lib/steep/drivers/validate.rb
266
+ - lib/steep/drivers/vendor.rb
236
267
  - lib/steep/drivers/watch.rb
237
268
  - lib/steep/errors.rb
238
- - lib/steep/interface/abstract.rb
239
- - lib/steep/interface/builder.rb
240
- - lib/steep/interface/instantiated.rb
241
- - lib/steep/interface/ivar_chain.rb
269
+ - lib/steep/interface/interface.rb
242
270
  - lib/steep/interface/method.rb
243
271
  - lib/steep/interface/method_type.rb
244
272
  - lib/steep/interface/substitution.rb
245
273
  - lib/steep/names.rb
246
- - lib/steep/parser.rb
247
- - lib/steep/parser.y
248
274
  - lib/steep/project.rb
275
+ - lib/steep/project/dsl.rb
249
276
  - lib/steep/project/file.rb
250
- - lib/steep/project/listener.rb
277
+ - lib/steep/project/file_loader.rb
251
278
  - lib/steep/project/options.rb
279
+ - lib/steep/project/target.rb
252
280
  - lib/steep/signature/errors.rb
281
+ - lib/steep/signature/validator.rb
253
282
  - lib/steep/source.rb
254
283
  - lib/steep/subtyping/check.rb
255
284
  - lib/steep/subtyping/constraints.rb
@@ -267,98 +296,260 @@ files:
267
296
  - lib/steep/typing.rb
268
297
  - lib/steep/version.rb
269
298
  - manual/annotations.md
299
+ - sample/Steepfile
300
+ - sample/lib/conference.rb
301
+ - sample/sig/conference.rbs
270
302
  - sig/project.rbi
303
+ - smoke/alias/Steepfile
271
304
  - smoke/alias/a.rb
272
- - smoke/alias/a.rbi
305
+ - smoke/alias/a.rbs
273
306
  - smoke/alias/b.rb
274
307
  - smoke/alias/c.rb
308
+ - smoke/and/Steepfile
275
309
  - smoke/and/a.rb
310
+ - smoke/array/Steepfile
276
311
  - smoke/array/a.rb
277
312
  - smoke/array/b.rb
278
313
  - smoke/array/c.rb
314
+ - smoke/block/Steepfile
279
315
  - smoke/block/a.rb
280
- - smoke/block/a.rbi
316
+ - smoke/block/a.rbs
281
317
  - smoke/block/b.rb
282
318
  - smoke/block/c.rb
283
- - smoke/block/c.rbi
319
+ - smoke/block/c.rbs
284
320
  - smoke/block/d.rb
321
+ - smoke/case/Steepfile
285
322
  - smoke/case/a.rb
323
+ - smoke/class/Steepfile
286
324
  - smoke/class/a.rb
287
- - smoke/class/a.rbi
325
+ - smoke/class/a.rbs
288
326
  - smoke/class/b.rb
289
327
  - smoke/class/c.rb
290
- - smoke/class/d.rb
291
- - smoke/class/e.rb
292
328
  - smoke/class/f.rb
293
329
  - smoke/class/g.rb
294
330
  - smoke/class/h.rb
295
- - smoke/class/h.rbi
331
+ - smoke/class/h.rbs
296
332
  - smoke/class/i.rb
297
- - smoke/class/i.rbi
333
+ - smoke/class/i.rbs
334
+ - smoke/const/Steepfile
298
335
  - smoke/const/a.rb
336
+ - smoke/dstr/Steepfile
299
337
  - smoke/dstr/a.rb
338
+ - smoke/ensure/Steepfile
300
339
  - smoke/ensure/a.rb
340
+ - smoke/enumerator/Steepfile
301
341
  - smoke/enumerator/a.rb
302
342
  - smoke/enumerator/b.rb
343
+ - smoke/extension/Steepfile
303
344
  - smoke/extension/a.rb
304
- - smoke/extension/a.rbi
345
+ - smoke/extension/a.rbs
305
346
  - smoke/extension/b.rb
306
347
  - smoke/extension/c.rb
307
348
  - smoke/extension/d.rb
308
349
  - smoke/extension/e.rb
309
- - smoke/extension/e.rbi
350
+ - smoke/extension/e.rbs
351
+ - smoke/hash/Steepfile
310
352
  - smoke/hash/a.rb
311
- - smoke/hash/a.rbi
353
+ - smoke/hash/a.rbs
312
354
  - smoke/hash/b.rb
313
355
  - smoke/hash/c.rb
314
356
  - smoke/hash/d.rb
315
357
  - smoke/hash/e.rb
316
- - smoke/hash/e.rbi
358
+ - smoke/hash/e.rbs
317
359
  - smoke/hash/f.rb
360
+ - smoke/hello/Steepfile
318
361
  - smoke/hello/hello.rb
319
- - smoke/hello/hello.rbi
362
+ - smoke/hello/hello.rbs
363
+ - smoke/if/Steepfile
320
364
  - smoke/if/a.rb
365
+ - smoke/implements/Steepfile
321
366
  - smoke/implements/a.rb
322
- - smoke/implements/a.rbi
367
+ - smoke/implements/a.rbs
368
+ - smoke/initialize/Steepfile
323
369
  - smoke/initialize/a.rb
324
- - smoke/initialize/a.rbi
370
+ - smoke/initialize/a.rbs
371
+ - smoke/integer/Steepfile
325
372
  - smoke/integer/a.rb
373
+ - smoke/interface/Steepfile
326
374
  - smoke/interface/a.rb
327
- - smoke/interface/a.rbi
375
+ - smoke/interface/a.rbs
376
+ - smoke/kwbegin/Steepfile
328
377
  - smoke/kwbegin/a.rb
378
+ - smoke/lambda/Steepfile
329
379
  - smoke/lambda/a.rb
380
+ - smoke/literal/Steepfile
330
381
  - smoke/literal/a.rb
331
382
  - smoke/literal/b.rb
332
- - smoke/literal/literal_methods.rbi
383
+ - smoke/literal/literal_methods.rbs
384
+ - smoke/map/Steepfile
333
385
  - smoke/map/a.rb
386
+ - smoke/method/Steepfile
334
387
  - smoke/method/a.rb
335
- - smoke/method/a.rbi
388
+ - smoke/method/a.rbs
336
389
  - smoke/method/b.rb
337
390
  - smoke/method/c.rb
391
+ - smoke/method/d.rb
392
+ - smoke/method/d.rbs
393
+ - smoke/module/Steepfile
338
394
  - smoke/module/a.rb
339
- - smoke/module/a.rbi
395
+ - smoke/module/a.rbs
340
396
  - smoke/module/b.rb
341
397
  - smoke/module/c.rb
342
398
  - smoke/module/d.rb
343
399
  - smoke/module/e.rb
344
400
  - smoke/module/f.rb
401
+ - smoke/regexp/Steepfile
345
402
  - smoke/regexp/a.rb
346
403
  - smoke/regexp/b.rb
404
+ - smoke/regression/Steepfile
347
405
  - smoke/regression/array.rb
348
406
  - smoke/regression/hash.rb
407
+ - smoke/regression/poly_new.rb
408
+ - smoke/regression/poly_new.rbs
349
409
  - smoke/regression/set_divide.rb
410
+ - smoke/rescue/Steepfile
350
411
  - smoke/rescue/a.rb
412
+ - smoke/self/Steepfile
351
413
  - smoke/self/a.rb
352
- - smoke/self/a.rbi
414
+ - smoke/self/a.rbs
415
+ - smoke/skip/Steepfile
353
416
  - smoke/skip/skip.rb
417
+ - smoke/stdout/Steepfile
354
418
  - smoke/stdout/a.rb
355
- - smoke/stdout/a.rbi
419
+ - smoke/stdout/a.rbs
420
+ - smoke/super/Steepfile
356
421
  - smoke/super/a.rb
357
- - smoke/super/a.rbi
422
+ - smoke/super/a.rbs
423
+ - smoke/type_case/Steepfile
358
424
  - smoke/type_case/a.rb
425
+ - smoke/yield/Steepfile
359
426
  - smoke/yield/a.rb
360
- - stdlib/builtin.rbi
361
427
  - steep.gemspec
428
+ - vendor/ruby-signature/.github/workflows/ruby.yml
429
+ - vendor/ruby-signature/.gitignore
430
+ - vendor/ruby-signature/.rubocop.yml
431
+ - vendor/ruby-signature/BSDL
432
+ - vendor/ruby-signature/COPYING
433
+ - vendor/ruby-signature/Gemfile
434
+ - vendor/ruby-signature/README.md
435
+ - vendor/ruby-signature/Rakefile
436
+ - vendor/ruby-signature/bin/annotate-with-rdoc
437
+ - vendor/ruby-signature/bin/console
438
+ - vendor/ruby-signature/bin/query-rdoc
439
+ - vendor/ruby-signature/bin/setup
440
+ - vendor/ruby-signature/bin/sort
441
+ - vendor/ruby-signature/bin/test_runner.rb
442
+ - vendor/ruby-signature/docs/CONTRIBUTING.md
443
+ - vendor/ruby-signature/docs/sigs.md
444
+ - vendor/ruby-signature/docs/stdlib.md
445
+ - vendor/ruby-signature/docs/syntax.md
446
+ - vendor/ruby-signature/exe/rbs
447
+ - vendor/ruby-signature/exe/ruby-signature
448
+ - vendor/ruby-signature/lib/ruby/signature.rb
449
+ - vendor/ruby-signature/lib/ruby/signature/ast/annotation.rb
450
+ - vendor/ruby-signature/lib/ruby/signature/ast/comment.rb
451
+ - vendor/ruby-signature/lib/ruby/signature/ast/declarations.rb
452
+ - vendor/ruby-signature/lib/ruby/signature/ast/members.rb
453
+ - vendor/ruby-signature/lib/ruby/signature/buffer.rb
454
+ - vendor/ruby-signature/lib/ruby/signature/builtin_names.rb
455
+ - vendor/ruby-signature/lib/ruby/signature/cli.rb
456
+ - vendor/ruby-signature/lib/ruby/signature/constant.rb
457
+ - vendor/ruby-signature/lib/ruby/signature/constant_table.rb
458
+ - vendor/ruby-signature/lib/ruby/signature/definition.rb
459
+ - vendor/ruby-signature/lib/ruby/signature/definition_builder.rb
460
+ - vendor/ruby-signature/lib/ruby/signature/environment.rb
461
+ - vendor/ruby-signature/lib/ruby/signature/environment_loader.rb
462
+ - vendor/ruby-signature/lib/ruby/signature/environment_walker.rb
463
+ - vendor/ruby-signature/lib/ruby/signature/errors.rb
464
+ - vendor/ruby-signature/lib/ruby/signature/location.rb
465
+ - vendor/ruby-signature/lib/ruby/signature/method_type.rb
466
+ - vendor/ruby-signature/lib/ruby/signature/namespace.rb
467
+ - vendor/ruby-signature/lib/ruby/signature/parser.rb
468
+ - vendor/ruby-signature/lib/ruby/signature/parser.y
469
+ - vendor/ruby-signature/lib/ruby/signature/prototype/rb.rb
470
+ - vendor/ruby-signature/lib/ruby/signature/prototype/rbi.rb
471
+ - vendor/ruby-signature/lib/ruby/signature/prototype/runtime.rb
472
+ - vendor/ruby-signature/lib/ruby/signature/substitution.rb
473
+ - vendor/ruby-signature/lib/ruby/signature/test.rb
474
+ - vendor/ruby-signature/lib/ruby/signature/test/errors.rb
475
+ - vendor/ruby-signature/lib/ruby/signature/test/hook.rb
476
+ - vendor/ruby-signature/lib/ruby/signature/test/setup.rb
477
+ - vendor/ruby-signature/lib/ruby/signature/test/spy.rb
478
+ - vendor/ruby-signature/lib/ruby/signature/test/test_helper.rb
479
+ - vendor/ruby-signature/lib/ruby/signature/test/type_check.rb
480
+ - vendor/ruby-signature/lib/ruby/signature/type_name.rb
481
+ - vendor/ruby-signature/lib/ruby/signature/types.rb
482
+ - vendor/ruby-signature/lib/ruby/signature/variance_calculator.rb
483
+ - vendor/ruby-signature/lib/ruby/signature/vendorer.rb
484
+ - vendor/ruby-signature/lib/ruby/signature/version.rb
485
+ - vendor/ruby-signature/lib/ruby/signature/writer.rb
486
+ - vendor/ruby-signature/ruby-signature.gemspec
487
+ - vendor/ruby-signature/stdlib/abbrev/abbrev.rbs
488
+ - vendor/ruby-signature/stdlib/base64/base64.rbs
489
+ - vendor/ruby-signature/stdlib/builtin/array.rbs
490
+ - vendor/ruby-signature/stdlib/builtin/basic_object.rbs
491
+ - vendor/ruby-signature/stdlib/builtin/binding.rbs
492
+ - vendor/ruby-signature/stdlib/builtin/builtin.rbs
493
+ - vendor/ruby-signature/stdlib/builtin/class.rbs
494
+ - vendor/ruby-signature/stdlib/builtin/comparable.rbs
495
+ - vendor/ruby-signature/stdlib/builtin/complex.rbs
496
+ - vendor/ruby-signature/stdlib/builtin/constants.rbs
497
+ - vendor/ruby-signature/stdlib/builtin/data.rbs
498
+ - vendor/ruby-signature/stdlib/builtin/deprecated.rbs
499
+ - vendor/ruby-signature/stdlib/builtin/dir.rbs
500
+ - vendor/ruby-signature/stdlib/builtin/encoding.rbs
501
+ - vendor/ruby-signature/stdlib/builtin/enumerable.rbs
502
+ - vendor/ruby-signature/stdlib/builtin/enumerator.rbs
503
+ - vendor/ruby-signature/stdlib/builtin/errno.rbs
504
+ - vendor/ruby-signature/stdlib/builtin/errors.rbs
505
+ - vendor/ruby-signature/stdlib/builtin/exception.rbs
506
+ - vendor/ruby-signature/stdlib/builtin/false_class.rbs
507
+ - vendor/ruby-signature/stdlib/builtin/fiber.rbs
508
+ - vendor/ruby-signature/stdlib/builtin/fiber_error.rbs
509
+ - vendor/ruby-signature/stdlib/builtin/file.rbs
510
+ - vendor/ruby-signature/stdlib/builtin/file_test.rbs
511
+ - vendor/ruby-signature/stdlib/builtin/float.rbs
512
+ - vendor/ruby-signature/stdlib/builtin/gc.rbs
513
+ - vendor/ruby-signature/stdlib/builtin/hash.rbs
514
+ - vendor/ruby-signature/stdlib/builtin/integer.rbs
515
+ - vendor/ruby-signature/stdlib/builtin/io.rbs
516
+ - vendor/ruby-signature/stdlib/builtin/kernel.rbs
517
+ - vendor/ruby-signature/stdlib/builtin/marshal.rbs
518
+ - vendor/ruby-signature/stdlib/builtin/match_data.rbs
519
+ - vendor/ruby-signature/stdlib/builtin/math.rbs
520
+ - vendor/ruby-signature/stdlib/builtin/method.rbs
521
+ - vendor/ruby-signature/stdlib/builtin/module.rbs
522
+ - vendor/ruby-signature/stdlib/builtin/nil_class.rbs
523
+ - vendor/ruby-signature/stdlib/builtin/numeric.rbs
524
+ - vendor/ruby-signature/stdlib/builtin/object.rbs
525
+ - vendor/ruby-signature/stdlib/builtin/proc.rbs
526
+ - vendor/ruby-signature/stdlib/builtin/process.rbs
527
+ - vendor/ruby-signature/stdlib/builtin/random.rbs
528
+ - vendor/ruby-signature/stdlib/builtin/range.rbs
529
+ - vendor/ruby-signature/stdlib/builtin/rational.rbs
530
+ - vendor/ruby-signature/stdlib/builtin/rb_config.rbs
531
+ - vendor/ruby-signature/stdlib/builtin/regexp.rbs
532
+ - vendor/ruby-signature/stdlib/builtin/ruby_vm.rbs
533
+ - vendor/ruby-signature/stdlib/builtin/signal.rbs
534
+ - vendor/ruby-signature/stdlib/builtin/string.rbs
535
+ - vendor/ruby-signature/stdlib/builtin/string_io.rbs
536
+ - vendor/ruby-signature/stdlib/builtin/struct.rbs
537
+ - vendor/ruby-signature/stdlib/builtin/symbol.rbs
538
+ - vendor/ruby-signature/stdlib/builtin/thread.rbs
539
+ - vendor/ruby-signature/stdlib/builtin/thread_group.rbs
540
+ - vendor/ruby-signature/stdlib/builtin/time.rbs
541
+ - vendor/ruby-signature/stdlib/builtin/trace_point.rbs
542
+ - vendor/ruby-signature/stdlib/builtin/true_class.rbs
543
+ - vendor/ruby-signature/stdlib/builtin/unbound_method.rbs
544
+ - vendor/ruby-signature/stdlib/builtin/warning.rbs
545
+ - vendor/ruby-signature/stdlib/erb/erb.rbs
546
+ - vendor/ruby-signature/stdlib/find/find.rbs
547
+ - vendor/ruby-signature/stdlib/pathname/pathname.rbs
548
+ - vendor/ruby-signature/stdlib/prime/integer-extension.rbs
549
+ - vendor/ruby-signature/stdlib/prime/prime.rbs
550
+ - vendor/ruby-signature/stdlib/securerandom/securerandom.rbs
551
+ - vendor/ruby-signature/stdlib/set/set.rbs
552
+ - vendor/ruby-signature/stdlib/tmpdir/tmpdir.rbs
362
553
  homepage: https://github.com/soutaro/steep
363
554
  licenses:
364
555
  - MIT
@@ -371,15 +562,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
371
562
  requirements:
372
563
  - - ">="
373
564
  - !ruby/object:Gem::Version
374
- version: 2.5.0
565
+ version: 2.6.0
375
566
  required_rubygems_version: !ruby/object:Gem::Requirement
376
567
  requirements:
377
568
  - - ">="
378
569
  - !ruby/object:Gem::Version
379
570
  version: '0'
380
571
  requirements: []
381
- rubyforge_project:
382
- rubygems_version: 2.7.6
572
+ rubygems_version: 3.0.3
383
573
  signing_key:
384
574
  specification_version: 4
385
575
  summary: Gradual Typing for Ruby