@ai-ecoverse/wasix-ruby 3.4.11-2 → 3.4.11-20

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.
Files changed (725) hide show
  1. package/PRESTAGE.md +53 -16
  2. package/README.md +156 -0
  3. package/THIRD-PARTY-NOTICES.md +727 -0
  4. package/bin/bundle +1 -1
  5. package/bin/bundler +1 -1
  6. package/bin/erb +1 -1
  7. package/bin/gem +1 -1
  8. package/bin/irb +1 -1
  9. package/bin/rake +1 -1
  10. package/bin/{ruby.wasm → ruby} +0 -0
  11. package/lib/ruby/3.4.0/io/console/size.rb +23 -0
  12. package/lib/ruby/3.4.0/socket.rb +1790 -0
  13. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +38 -34
  14. package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
  15. package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
  16. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  17. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  18. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  19. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  20. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  21. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  22. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  23. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  24. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  25. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  26. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  27. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  28. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  29. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  30. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  31. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  32. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  33. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  34. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  35. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  36. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  37. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  38. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  39. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  40. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  41. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  42. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  43. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  44. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  45. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  46. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  47. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  48. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  49. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  50. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  51. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  52. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  53. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  54. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  55. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  56. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  57. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  58. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  59. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  60. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  61. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  62. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  63. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  64. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  65. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  66. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  67. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  68. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  69. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  70. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  71. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  72. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  73. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  74. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  75. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  76. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  77. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  78. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  79. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  80. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  81. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  82. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  83. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  84. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  85. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  86. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  87. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  88. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  89. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  90. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  91. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  92. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  93. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  94. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  95. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  96. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  97. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  98. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  99. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  100. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  101. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  102. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  103. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  104. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  105. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  106. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  107. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  108. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  109. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  110. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  111. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  112. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  113. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  114. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  115. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  116. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  117. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  118. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  119. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  120. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  121. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  122. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  123. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  124. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  125. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  126. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  127. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  128. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  129. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  130. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  131. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  132. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  133. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  134. package/package.json +60 -21
  135. package/lib/ruby/3.4.0/expect.rb +0 -71
  136. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  137. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  138. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
  139. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  140. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  141. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
  142. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
  143. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
  144. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
  145. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
  146. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
  147. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
  148. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
  149. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
  150. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  151. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
  152. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
  153. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
  154. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
  155. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
  156. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
  157. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  158. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  159. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
  160. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
  161. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
  162. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
  163. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
  164. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
  165. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
  166. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
  167. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
  168. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
  169. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
  170. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
  171. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
  172. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
  173. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
  174. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
  175. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
  176. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
  177. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
  178. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
  179. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
  180. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
  181. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
  182. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
  183. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
  184. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  185. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  186. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  187. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  188. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  189. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  190. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  191. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  192. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  193. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
  194. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
  195. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
  196. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
  197. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
  198. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +0 -8
  199. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
  200. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
  201. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  202. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  203. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  204. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  205. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  206. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  207. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
  208. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
  209. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
  210. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  211. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
  212. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
  213. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
  214. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
  215. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
  216. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
  217. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
  218. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
  219. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
  220. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
  221. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
  222. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
  223. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
  224. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
  225. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
  226. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
  227. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
  228. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
  229. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
  230. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
  231. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
  232. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
  233. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
  234. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
  235. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
  236. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
  237. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
  238. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  239. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  240. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  241. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  242. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
  243. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
  244. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
  245. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
  246. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
  247. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
  248. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
  249. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
  250. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
  251. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
  252. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
  253. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
  254. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
  255. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
  256. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
  257. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
  258. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
  259. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
  260. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
  261. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
  262. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
  263. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
  264. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
  265. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
  266. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
  267. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
  268. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
  269. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
  270. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
  271. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
  272. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
  273. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
  274. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
  275. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
  276. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
  277. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
  278. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
  279. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
  280. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
  281. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
  282. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
  283. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
  284. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
  285. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
  286. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
  287. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
  288. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
  289. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
  290. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
  291. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
  292. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
  293. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
  294. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
  295. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
  296. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
  297. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
  298. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
  299. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
  300. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
  301. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
  302. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
  303. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
  304. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
  305. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
  306. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
  307. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
  308. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
  309. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
  310. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
  311. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
  312. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
  313. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
  314. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
  315. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
  316. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
  317. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
  318. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
  319. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
  320. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
  321. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
  322. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
  323. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
  324. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
  325. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
  326. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
  327. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
  328. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
  329. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
  330. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
  331. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
  332. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
  333. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
  334. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
  335. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
  336. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
  337. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
  338. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
  339. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
  340. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
  341. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
  342. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
  343. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
  344. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
  345. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
  346. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
  347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
  348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
  349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
  350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
  351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
  352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
  353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
  354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
  355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
  356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
  357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
  358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
  359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
  360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
  361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
  362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
  363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
  364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
  365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
  366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
  367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
  368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
  369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
  370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
  371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
  372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
  373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
  374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
  375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
  376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
  377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
  378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
  379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
  380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
  381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
  382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
  383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
  384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
  385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
  386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
  387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
  388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
  389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
  390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
  391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
  392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
  393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
  394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
  395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
  396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
  397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
  398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
  399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
  400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
  401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
  402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
  403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
  404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
  405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
  406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
  407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
  408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
  409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
  410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
  411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
  412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
  413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
  414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
  415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
  416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
  417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
  418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
  419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
  420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
  421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
  422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
  423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
  424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
  425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
  426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
  427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
  428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
  429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
  430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
  431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
  432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
  433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
  434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
  435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
  436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
  437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
  438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
  441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
  442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
  443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
  444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
  445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
  446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
  447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
  448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
  449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
  450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
  451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
  452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
  453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
  454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
  455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
  456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
  457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
  458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
  459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
  460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
  461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
  462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
  463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
  464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
  465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
  466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
  467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
  468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
  469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
  470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
  471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
  472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
  473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
  474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
  475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
  476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
  477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
  478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
  479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
  480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
  481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
  482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
  483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
  484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
  485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
  486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
  487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
  488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
  489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
  490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
  491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
  492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
  493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
  494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
  495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
  496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
  497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
  498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
  499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
  500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
  501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
  502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
  503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
  504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
  505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
  506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
  507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
  508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
  509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
  510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
  511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
  512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
  513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
  514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
  515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
  516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
  517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
  518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
  519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
  520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
  521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
  522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
  523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
  524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
  525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
  526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
  527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
  528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
  529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
  530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
  531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
  532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
  533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
  534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
  535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
  536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
  537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
  538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
  539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
  540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
  541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
  542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
  543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
  544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
  545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
  546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
  547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
  548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
  549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
  550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
  551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
  552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
  553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
  554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
  555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
  556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
  557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
  558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
  559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
  560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
  561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
  562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
  563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
  564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
  565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
  566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
  567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
  568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
  569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
  570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
  571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
  572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
  573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
  574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
  575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
  576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
  577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
  578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
  579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
  580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
  581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
  582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
  583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
  584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
  585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
  586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
  587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
  588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
  589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
  590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
  591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
  592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
  593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
  594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
  595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
  596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
  597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
  598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
  599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
  600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
  601. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
  602. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
  603. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
  604. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
  605. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
  606. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
  607. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
  608. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
  609. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
  610. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
  611. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
  612. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
  613. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
  614. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
  615. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
  616. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
  617. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
  618. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
  619. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
  620. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
  621. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
  622. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
  623. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
  624. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
  625. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
  626. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
  627. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
  628. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
  629. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
  630. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
  631. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
  632. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
  633. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
  634. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
  635. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
  636. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
  637. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
  638. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
  639. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
  640. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
  641. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
  642. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
  643. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
  644. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
  645. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
  646. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
  647. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
  648. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
  649. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
  650. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
  651. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
  652. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
  653. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
  654. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
  655. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
  656. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
  657. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
  658. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
  659. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
  660. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
  661. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
  662. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
  663. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
  664. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
  665. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
  666. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
  667. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
  668. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
  669. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
  670. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
  671. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
  672. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
  673. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
  674. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
  675. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
  676. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
  677. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
  678. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
  679. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
  680. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
  681. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
  682. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
  683. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
  684. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
  685. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
  686. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
  687. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
  688. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
  689. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
  690. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
  691. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
  692. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
  693. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
  694. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
  695. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
  696. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
  697. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
  698. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
  699. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
  700. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
  701. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
  702. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
  703. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
  704. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
  705. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
  706. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  707. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  708. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  709. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
  710. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
  711. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
  712. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
  713. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
  714. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
  715. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
  716. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
  717. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  718. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  719. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
  720. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
  721. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
  722. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
  723. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
  724. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
  725. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
@@ -1,996 +0,0 @@
1
- [![Ruby](https://github.com/ruby/debug/actions/workflows/ruby.yml/badge.svg?branch=master)](https://github.com/ruby/debug/actions/workflows/ruby.yml?query=branch%3Amaster) [![Protocol](https://github.com/ruby/debug/actions/workflows/protocol.yml/badge.svg)](https://github.com/ruby/debug/actions/workflows/protocol.yml)
2
-
3
- # debug.rb
4
-
5
- This library provides debugging functionality to Ruby (MRI) 2.7 and later.
6
-
7
- This debug.rb is the replacement of traditional lib/debug.rb standard library, which is implemented by `set_trace_func`.
8
- New debug.rb has several advantages:
9
-
10
- * Fast: No performance penalty on non-stepping mode and non-breakpoints.
11
- * [Remote debugging](#remote-debugging): Support remote debugging natively.
12
- * UNIX domain socket (UDS)
13
- * TCP/IP
14
- * Integration with rich debugger frontends
15
-
16
- | Frontend | [Console](https://github.com/ruby/debug#invoke-as-a-remote-debuggee) | [VSCode](https://github.com/ruby/debug#vscode-integration) | [Chrome DevTool](#chrome-devtool-integration) |
17
- | ----------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | --------------------------------------------- |
18
- | Connection | UDS, TCP/IP | UDS, TCP/IP | TCP/IP |
19
- | Requirement | None | [vscode-rdbg](https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg) | Chrome |
20
-
21
- * Extensible: application can introduce debugging support in several ways:
22
- * By `rdbg` command
23
- * By loading libraries with `-r` command line option
24
- * By calling Ruby's method explicitly
25
- * Misc
26
- * Support threads (almost done) and Ractors (TODO).
27
- * Support suspending and entering the debug console with `Ctrl-C` at most of timing.
28
- * Show parameters on backtrace command.
29
- * Support recording and replay debugging.
30
-
31
- # Installation
32
-
33
- ```console
34
- $ gem install debug
35
- ```
36
-
37
- Alternatively, specify `-Ipath/to/debug/lib` in `RUBYOPT`, or as a Ruby command-line option
38
- This is especially useful for debugging this gem during development.
39
-
40
- If using Bundler, add the following to your Gemfile:
41
-
42
- ```ruby
43
- gem "debug", ">= 1.0.0"
44
- ```
45
-
46
- (The version constraint is important; `debug < 1.0.0` is an older, abandoned gem that is completely different from this product.)
47
-
48
- # HOW TO USE
49
-
50
- To use the debugger, you will do roughly the following steps:
51
-
52
- 1. Set breakpoints.
53
- 2. Run a program with the debugger.
54
- 3. At the breakpoint, enter the debugger console.
55
- 4. Use debug commands.
56
- * [Evaluate Ruby expressions](#evaluate) (e.g. `p lvar` to see the local variable `lvar`).
57
- * [Query the program status](#information) (e.g. `info` to see information about the current frame).
58
- * [Control program flow](#control-flow) (e.g. move to another line with `step`, to the next line with `next`).
59
- * [Set another breakpoint](#breakpoint) (e.g. `catch Exception` to set a breakpoint that'll be triggered when `Exception` is raised).
60
- * [Activate tracing in your program](#trace) (e.g. `trace call` to trace method calls).
61
- * [Change the configuration](#configuration-1) (e.g. `config set no_color true` to disable coloring).
62
- * Continue the program (`c` or `continue`) and goto 3.
63
-
64
- ## Invoke with the debugger
65
-
66
- There are several ways to invoke the debugger, depending on your needs, preferences, and the environment.
67
-
68
- ### Modify source code with [`binding.break`](#bindingbreak-method) (similar to `binding.pry` or `binding.irb`)
69
-
70
- If you can modify the source code, you can use the debugger by adding `require 'debug'` at the top of your program and putting [`binding.break`](#bindingbreak-method) method into lines where you want to stop as breakpoints.
71
- This is similar to how `binding.pry` and `binding.irb` work.
72
-
73
- `binding.break` has two aliases which do the same thing:
74
-
75
- - `binding.b`
76
- - `debugger`
77
-
78
- After that, run the program as usual and you will enter the debug console at breakpoints you inserted.
79
-
80
- The following is an example of the [`binding.break`](#bindingbreak-method) method.
81
-
82
- ```console
83
- $ cat target.rb # Sample program
84
- require 'debug'
85
-
86
- a = 1
87
- b = 2
88
- binding.break # Program will stop here
89
- c = 3
90
- d = 4
91
- binding.break # Program will stop here
92
- p [a, b, c, d]
93
-
94
- $ ruby target.rb # Run the program normally.
95
- DEBUGGER: Session start (pid: 7604)
96
- [1, 10] in target.rb
97
- 1| require 'debug'
98
- 2|
99
- 3| a = 1
100
- 4| b = 2
101
- => 5| binding.break # Now you can see it stops at this line
102
- 6| c = 3
103
- 7| d = 4
104
- 8| binding.break
105
- 9| p [a, b, c, d]
106
- 10|
107
- =>#0 <main> at target.rb:5
108
-
109
- (rdbg) info locals # You can show local variables
110
- =>#0 <main> at target.rb:5
111
- %self => main
112
- a => 1
113
- b => 2
114
- c => nil
115
- d => nil
116
-
117
- (rdbg) continue # Continue the execution
118
- [3, 11] in target.rb
119
- 3| a = 1
120
- 4| b = 2
121
- 5| binding.break
122
- 6| c = 3
123
- 7| d = 4
124
- => 8| binding.break # Again the program stops here
125
- 9| p [a, b, c, d]
126
- 10|
127
- 11| __END__
128
- =>#0 <main> at target.rb:8
129
-
130
- (rdbg) info locals # And you can see the updated local variables
131
- =>#0 <main> at target.rb:8
132
- %self => main
133
- a => 1
134
- b => 2
135
- c => 3
136
- d => 4
137
-
138
- (rdbg) continue
139
- [1, 2, 3, 4]
140
- ```
141
-
142
- ### Invoke the program from the debugger as a traditional debuggers
143
-
144
- If you don't want to modify the source code, you can use the `rdbg` command (or `bundle exec rdbg`) to run the program with the debugger.
145
- This is similar to how you'd launch a program with `ruby program.rb`.
146
- Then you can set breakpoints with the debug command `break` (`b` for short).
147
-
148
- ```console
149
- $ cat target.rb # Sample program
150
- a = 1
151
- b = 2
152
- c = 3
153
- d = 4
154
- p [a, b, c, d]
155
-
156
- $ rdbg target.rb # run like `ruby target.rb`
157
- DEBUGGER: Session start (pid: 7656)
158
- [1, 7] in target.rb
159
- => 1| a = 1
160
- 2| b = 2
161
- 3| c = 3
162
- 4| d = 4
163
- 5| p [a, b, c, d]
164
- 6|
165
- 7| __END__
166
- =>#0 <main> at target.rb:1
167
-
168
- (rdbg)
169
- ```
170
-
171
- The `rdbg` command suspends the program at the beginning of the given script (`target.rb` in this case) and you can use debug commands to control execution from there.
172
- `(rdbg)` is the console prompt.
173
- Let's set breakpoints on line 3 and line 5 with `break` command (`b` for short).
174
-
175
- ```console
176
- (rdbg) break 3 # set breakpoint at line 3
177
- #0 BP - Line /mnt/c/ko1/src/rb/ruby-debug/target.rb:3 (line)
178
-
179
- (rdbg) b 5 # set breakpoint at line 5
180
- #1 BP - Line /mnt/c/ko1/src/rb/ruby-debug/target.rb:5 (line)
181
-
182
- (rdbg) break # show all registered breakpoints
183
- #0 BP - Line /mnt/c/ko1/src/rb/ruby-debug/target.rb:3 (line)
184
- #1 BP - Line /mnt/c/ko1/src/rb/ruby-debug/target.rb:5 (line)
185
- ```
186
-
187
- You can see that two breakpoints are registered.
188
- Let's continue the program by using the `continue` command.
189
-
190
- ```console
191
- (rdbg) continue
192
- [1, 7] in target.rb
193
- 1| a = 1
194
- 2| b = 2
195
- => 3| c = 3
196
- 4| d = 4
197
- 5| p [a, b, c, d]
198
- 6|
199
- 7| __END__
200
- =>#0 <main> at target.rb:3
201
-
202
- Stop by #0 BP - Line /mnt/c/ko1/src/rb/ruby-debug/target.rb:3 (line)
203
-
204
- (rdbg)
205
- ```
206
-
207
- You can see that we stopped at line 3.
208
- Let's see the local variables with the `info` command, and continue execution with the `continue`.
209
- The program will then suspend at line 5 and you can use the `info` command again.
210
-
211
- ```console
212
- (rdbg) info
213
- =>#0 <main> at target.rb:3
214
- %self => main
215
- a => 1
216
- b => 2
217
- c => nil
218
- d => nil
219
-
220
- (rdbg) continue
221
- [1, 7] in target.rb
222
- 1| a = 1
223
- 2| b = 2
224
- 3| c = 3
225
- 4| d = 4
226
- => 5| p [a, b, c, d]
227
- 6|
228
- 7| __END__
229
- =>#0 <main> at target.rb:5
230
-
231
- Stop by #1 BP - Line /mnt/c/ko1/src/rb/ruby-debug/target.rb:5 (line)
232
-
233
- (rdbg) info
234
- =>#0 <main> at target.rb:5
235
- %self => main
236
- a => 1
237
- b => 2
238
- c => 3
239
- d => 4
240
-
241
- (rdbg) continue
242
- [1, 2, 3, 4]
243
- ```
244
-
245
- NOTE: When using `rdbg` you can suspend your application with `C-c` (SIGINT) and enter the debug console.
246
- It will help if you want to know what the program is doing.
247
-
248
- ### Use `rdbg` with commands written in Ruby
249
-
250
- If you want to run an executable written in Ruby like `rake`, `rails`, `bundle`, `rspec`, and so on, you can use `rdbg -c` option.
251
-
252
- * Without the `-c` option, `rdbg <name>` means that `<name>` is a Ruby script and it is invoked like `ruby <name>` with the debugger.
253
- * With the `-c` option, `rdbg -c <name>` means that `<name>` is an executable in `PATH` and simply invokes it with the debugger.
254
-
255
- Examples:
256
-
257
- * `rdbg -c -- rails server`
258
- * `rdbg -c -- bundle exec ruby foo.rb`
259
- * `rdbg -c -- bundle exec rake test`
260
- * `rdbg -c -- ruby target.rb` is the same as `rdbg target.rb`
261
-
262
- NOTE: `--` is needed to separate the command line options for `rdbg` from the executable being invoked, and its options.
263
- For example, `rdbg -c rake -T` would be parsed as `rdbg -c -T -- rake`, which is incorrect.
264
- It should be `rdbg -c -- rake -T`.
265
-
266
- NOTE: If you want to use Bundler (`bundle` executable), you need to add `gem 'debug'` to your `Gemfile`.
267
-
268
- ### Using VSCode
269
-
270
- Like other languages, you can use this debugger on the VSCode.
271
-
272
- 1. Install [VSCode rdbg Ruby Debugger - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg)
273
- 2. Open `.rb` file (e.g. `target.rb`)
274
- 3. Register breakpoints with "Toggle breakpoint" in the Run menu (or type F9 key)
275
- 4. Choose "Start debugging" in "Run" menu (or type F5 key)
276
- 5. You will see a dialog "Debug command line" and you can choose your favorite command line you want to run.
277
- 6. Chosen command line is invoked with `rdbg -c`, and VSCode shows the details at breakpoints.
278
-
279
- Please refer to [Debugging in Visual Studio Code](https://code.visualstudio.com/docs/editor/debugging) for operations on VSCode.
280
-
281
- You can configure the extension in `.vscode/launch.json`.
282
- Please see the extension page for more details.
283
-
284
- ## Remote debugging
285
-
286
- You can use this debugger as a remote debugger.
287
- For example, it will help in the following situations:
288
-
289
- * Your application does not run on TTY, and it is hard to use `binding.pry` or `binding.irb`.
290
- * Your application is running on a Docker container, and there is no TTY.
291
- * Your application is running as a daemon.
292
- * Your application uses pipe for `STDIN` or `STDOUT`.
293
- * Your application is running as a daemon and you want to query the running status (checking a backtrace and so on).
294
-
295
- You can run your application as a remote debuggee, and the remote debugger console can attach to the debuggee anytime.
296
-
297
- ### Invoke as a remote debuggee
298
-
299
- There are multiple ways to run your program as a debuggee:
300
-
301
- | Stop at program start | [`rdbg` option](https://github.com/ruby/debug#rdbg---open-or-rdbg--o-for-short) | [require](https://github.com/ruby/debug#require-debugopen-in-a-program) | [debugger API](https://github.com/ruby/debug#start-by-method) |
302
- | --------------------- | ------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------- |
303
- | Yes | `rdbg --open` | `require "debug/open"` | `DEBUGGER__.open` |
304
- | No | `rdbg --open --nonstop` | `require "debug/open_nonstop"` | `DEBUGGER__.open(nonstop: true)` |
305
-
306
- #### `rdbg --open` (or `rdbg -O` for short)
307
-
308
- Launch a script with `rdbg --open target.rb` to run `target.rb` as a debuggee program.
309
- It also opens the network port and suspends at the beginning of `target.rb`.
310
-
311
- ```console
312
- $ rdbg --open target.rb
313
- DEBUGGER: Session start (pid: 7773)
314
- DEBUGGER: Debugger can attach via UNIX domain socket (/home/ko1/.ruby-debug-sock/ruby-debug-ko1-7773)
315
- DEBUGGER: wait for debugger connection...
316
- ```
317
-
318
- By default, `rdbg --open` uses UNIX domain socket and generates the path name automatically (`/home/ko1/.ruby-debug-sock/ruby-debug-ko1-7773` in this case).
319
-
320
- You can connect to the debuggee with `rdbg --attach` command (`rdbg -A` for short).
321
-
322
- ```console
323
- $ rdbg -A
324
- [1, 7] in target.rb
325
- => 1| a = 1
326
- 2| b = 2
327
- 3| c = 3
328
- 4| d = 4
329
- 5| p [a, b, c, d]
330
- 6|
331
- 7| __END__
332
- =>#0 <main> at target.rb:1
333
-
334
- (rdbg:remote)
335
- ```
336
-
337
- If there are no other files in the default directory, `rdbg --attach` will automatically connect to the UNIX domain socket listed.
338
- If there are multiple files, you need to specify which to use.
339
-
340
- When `rdbg --attach` connects to the debuggee, you can use any debug commands (set breakpoints, continue the program, and so on) like the local debug console.
341
- When a debuggee program exits, the remote console will also terminate.
342
-
343
- NOTE: If you use the `quit` command, only the remote console exits and the debuggee program continues to run (and you can connect it again).
344
- If you want to exit the debuggee program, use `kill` command.
345
-
346
- If you want to use TCP/IP for remote debugging, you need to specify the port and host with `--port` like `rdbg --open --port 12345` and it binds to `localhost:12345`.
347
- You can add an optional `--port_range` to try multiple ports in a reliable way.
348
- For example, `rdbg --open --port 12345 --port_range 10` will try to bind to 12345, 12346, 12347,… until it finds an available port.
349
-
350
- To connect to the debuggee, you need to specify the port.
351
-
352
- ```console
353
- $ rdbg --attach 12345
354
- ```
355
-
356
- If you want to choose the host to bind, you can use `--host` option.
357
- Messages communicated between the debugger and the debuggee are *NOT* encrypted so please use remote debugging carefully.
358
-
359
- #### `require 'debug/open'` in a program
360
-
361
- If you can modify the program, you can open the debugging port by adding `require 'debug/open'` in the program.
362
-
363
- If you don't want to stop the program at the beginning, you can also use `require 'debug/open_nonstop'`.
364
- Using `debug/open_nonstop` is useful if you want to open a backdoor to the application.
365
- However, it is also dangerous because it can become another vulnerability.
366
- Please use it carefully.
367
-
368
- By default, UNIX domain socket is used for the debugging port.
369
- To use TCP/IP, you can set the `RUBY_DEBUG_PORT` environment variable.
370
-
371
- ```console
372
- $ RUBY_DEBUG_PORT=12345 ruby target.rb
373
- ```
374
-
375
- ### Integration with external debugger frontend
376
-
377
- You can attach with external debugger frontend with VSCode and Chrome.
378
-
379
- ```
380
- $ rdbg --open=[frontend] target.rb
381
- ```
382
-
383
- This will open a debug port and the `[frontend]` can attach to the port.
384
-
385
- #### VSCode integration
386
-
387
- ([vscode-rdbg v0.0.9](https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg) or later is required)
388
-
389
- If you don't run a debuggee Ruby process on VSCode, you can attach it to VSCode later with the following steps.
390
-
391
- `rdbg --open=vscode` opens the debug port and tries to invoke the VSCode (`code` executable).
392
-
393
- ```console
394
- $ rdbg --open=vscode target.rb
395
- DEBUGGER: Debugger can attach via UNIX domain socket (/tmp/ruby-debug-sock-1000/ruby-debug-ko1-27706)
396
- DEBUGGER: wait for debugger connection...
397
- Launching: code /tmp/ruby-debug-vscode-20211014-27706-gd7e85/ /tmp/ruby-debug-vscode-20211014-27706-gd7e85/README.rb
398
- DEBUGGER: Connected.
399
- ```
400
-
401
- It tries to invoke the new VSCode window and VSCode will attach to the debuggee Ruby program automatically.
402
-
403
- You can also use `open vscode` in a REPL.
404
-
405
- ```console
406
- $ rdbg target.rb
407
- [1, 8] in target.rb
408
- 1|
409
- => 2| p a = 1
410
- 3| p b = 2
411
- 4| p c = 3
412
- 5| p d = 4
413
- 6| p e = 5
414
- 7|
415
- 8| __END__
416
- =>#0 <main> at target.rb:2
417
- (rdbg) open vscode # command
418
- DEBUGGER: wait for debugger connection...
419
- DEBUGGER: Debugger can attach via UNIX domain socket (/tmp/ruby-debug-sock-1000/ruby-debug-ko1-28337)
420
- Launching: code /tmp/ruby-debug-vscode-20211014-28337-kg9dm/ /tmp/ruby-debug-vscode-20211014-28337-kg9dm/README.rb
421
- DEBUGGER: Connected.
422
- ```
423
-
424
- If the machine which runs the Ruby process doesn't have a `code` executable on `$PATH`, the following message will be shown:
425
-
426
- ```console
427
- (rdbg) open vscode
428
- DEBUGGER: wait for debugger connection...
429
- DEBUGGER: Debugger can attach via UNIX domain socket (/tmp/ruby-debug-sock-1000/ruby-debug-ko1-455)
430
- Launching: code /tmp/ruby-debug-vscode-20211014-455-gtjpwi/ /tmp/ruby-debug-vscode-20211014-455-gtjpwi/README.rb
431
- DEBUGGER: Can not invoke the command.
432
- Use the command-line on your terminal (with modification if you need).
433
-
434
- code /tmp/ruby-debug-vscode-20211014-455-gtjpwi/ /tmp/ruby-debug-vscode-20211014-455-gtjpwi/README.rb
435
-
436
- If your application is running on a SSH remote host, please try:
437
-
438
- code --remote ssh-remote+[SSH hostname] /tmp/ruby-debug-vscode-20211014-455-gtjpwi/ /tmp/ruby-debug-vscode-20211014-455-gtjpwi/README.rb
439
-
440
- ```
441
-
442
- Note that you can attach with `rdbg --attach` and continue REPL debugging.
443
-
444
- #### Chrome DevTool integration
445
-
446
- Using `rdbg --open=chrome` will show the following message:
447
-
448
- ```console
449
- $ rdbg target.rb --open=chrome
450
- DEBUGGER: Debugger can attach via TCP/IP (127.0.0.1:43633)
451
- DEBUGGER: With Chrome browser, type the following URL in the address-bar:
452
-
453
- devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=127.0.0.1:57231/b32a55cd-2eb5-4c5c-87d8-b3dfc59d80ef
454
-
455
- DEBUGGER: wait for debugger connection...
456
- ```
457
-
458
- Type the following in the address bar on Chrome browser, and you can continue the debugging with chrome browser:
459
-
460
- ```txt
461
- devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=127.0.0.1:57231/b32a55cd-2eb5-4c5c-87d8-b3dfc59d80ef`
462
- ```
463
-
464
- Similar to VSCode, you can use `open chrome` to open the debugger in Chrome.
465
-
466
- For more information about how to use Chrome debugging, [see the devtools docs](https://developer.chrome.com/docs/devtools/).
467
-
468
- ## Configuration
469
-
470
- You can configure the debugger's behavior with debug commands and environment variables.
471
- When the debug session is started, some [initialization scripts](#initial-scripts) (e.g., `~/.rdbgrc`) are loaded, allowing you to configure the debugger's behavior to your needs and preferences.
472
-
473
- ### Configuration list
474
-
475
- You can configure the debugger's behavior with environment variables and `config` command.
476
- Each configuration has an environment variable and a name which can be specified by `config` command.
477
-
478
- ```
479
- # configuration example
480
- config set log_level INFO
481
- config set no_color true
482
- ```
483
-
484
-
485
-
486
- * UI
487
- * `RUBY_DEBUG_LOG_LEVEL` (`log_level`): Log level same as Logger (default: WARN)
488
- * `RUBY_DEBUG_SHOW_SRC_LINES` (`show_src_lines`): Show n lines source code on breakpoint (default: 10)
489
- * `RUBY_DEBUG_SHOW_SRC_LINES_FRAME` (`show_src_lines_frame`): Show n lines source code on frame operations (default: 1)
490
- * `RUBY_DEBUG_SHOW_EVALEDSRC` (`show_evaledsrc`): Show actually evaluated source (default: false)
491
- * `RUBY_DEBUG_SHOW_FRAMES` (`show_frames`): Show n frames on breakpoint (default: 2)
492
- * `RUBY_DEBUG_USE_SHORT_PATH` (`use_short_path`): Show shorten PATH (like $(Gem)/foo.rb) (default: false)
493
- * `RUBY_DEBUG_NO_COLOR` (`no_color`): Do not use colorize (default: false)
494
- * `RUBY_DEBUG_NO_SIGINT_HOOK` (`no_sigint_hook`): Do not suspend on SIGINT (default: false)
495
- * `RUBY_DEBUG_NO_RELINE` (`no_reline`): Do not use Reline library (default: false)
496
- * `RUBY_DEBUG_NO_HINT` (`no_hint`): Do not show the hint on the REPL (default: false)
497
- * `RUBY_DEBUG_NO_LINENO` (`no_lineno`): Do not show line numbers (default: false)
498
- * `RUBY_DEBUG_NO_REPEAT` (`no_repeat`): Do not repeat last line when empty line (default: false)
499
- * `RUBY_DEBUG_IRB_CONSOLE` (`irb_console`): Use IRB as the console (default: false)
500
-
501
- * CONTROL
502
- * `RUBY_DEBUG_SKIP_PATH` (`skip_path`): Skip showing/entering frames for given paths
503
- * `RUBY_DEBUG_SKIP_NOSRC` (`skip_nosrc`): Skip on no source code lines (default: false)
504
- * `RUBY_DEBUG_KEEP_ALLOC_SITE` (`keep_alloc_site`): Keep allocation site and p, pp shows it (default: false)
505
- * `RUBY_DEBUG_POSTMORTEM` (`postmortem`): Enable postmortem debug (default: false)
506
- * `RUBY_DEBUG_FORK_MODE` (`fork_mode`): Control which process activates a debugger after fork (both/parent/child) (default: both)
507
- * `RUBY_DEBUG_SIGDUMP_SIG` (`sigdump_sig`): Sigdump signal (default: false)
508
-
509
- * BOOT
510
- * `RUBY_DEBUG_NONSTOP` (`nonstop`): Nonstop mode (default: false)
511
- * `RUBY_DEBUG_STOP_AT_LOAD` (`stop_at_load`): Stop at just loading location (default: false)
512
- * `RUBY_DEBUG_INIT_SCRIPT` (`init_script`): debug command script path loaded at first stop
513
- * `RUBY_DEBUG_COMMANDS` (`commands`): debug commands invoked at first stop. Commands should be separated by `;;`
514
- * `RUBY_DEBUG_NO_RC` (`no_rc`): ignore loading ~/.rdbgrc(.rb) (default: false)
515
- * `RUBY_DEBUG_HISTORY_FILE` (`history_file`): history file (default: ${XDG_STATE_HOME-~/.local/state}/rdbg/history)
516
- * `RUBY_DEBUG_SAVE_HISTORY` (`save_history`): maximum save history lines (default: 10000)
517
-
518
- * REMOTE
519
- * `RUBY_DEBUG_OPEN` (`open`): Open remote port (same as `rdbg --open` option)
520
- * `RUBY_DEBUG_PORT` (`port`): TCP/IP remote debugging: port
521
- * `RUBY_DEBUG_PORT_RANGE` (`port_range`): TCP/IP remote debugging: length of port range
522
- * `RUBY_DEBUG_HOST` (`host`): TCP/IP remote debugging: host (default: 127.0.0.1)
523
- * `RUBY_DEBUG_SOCK_PATH` (`sock_path`): UNIX Domain Socket remote debugging: socket path
524
- * `RUBY_DEBUG_SOCK_DIR` (`sock_dir`): UNIX Domain Socket remote debugging: socket directory
525
- * `RUBY_DEBUG_LOCAL_FS_MAP` (`local_fs_map`): Specify local fs map
526
- * `RUBY_DEBUG_SKIP_BP` (`skip_bp`): Skip breakpoints if no clients are attached (default: false)
527
- * `RUBY_DEBUG_COOKIE` (`cookie`): Cookie for negotiation
528
- * `RUBY_DEBUG_SESSION_NAME` (`session_name`): Session name for differentiating multiple sessions
529
- * `RUBY_DEBUG_CHROME_PATH` (`chrome_path`): Platform dependent path of Chrome (For more information, See [here](https://github.com/ruby/debug/pull/334/files#diff-5fc3d0a901379a95bc111b86cf0090b03f857edfd0b99a0c1537e26735698453R55-R64))
530
-
531
- * OBSOLETE
532
- * `RUBY_DEBUG_PARENT_ON_FORK` (`parent_on_fork`): Keep debugging parent process on fork (default: false)
533
-
534
- There are other environment variables:
535
-
536
- * `NO_COLOR`: If the value is set, set `RUBY_DEBUG_NO_COLOR` ([NO_COLOR: disabling ANSI color output in various Unix commands](https://no-color.org/)).
537
- * `RUBY_DEBUG_ENABLE`: If the value is `0`, do not enable debug.gem feature.
538
- * `RUBY_DEBUG_ADDED_RUBYOPT`: Remove this value from `RUBYOPT` at first. This feature helps loading debug.gem with `RUBYOPT='-r debug/...'`, and you don't want to derive it to child processes. In this case, you can set `RUBY_DEBUG_ADDED_RUBYOPT='-r debug/...'` (same value), and this string will be deleted from `RUBYOPT` at first.
539
- * `RUBY_DEBUG_EDITOR` or `EDITOR`: An editor used by `edit` debug command.
540
- * `RUBY_DEBUG_BB`: Define `Kernel#bb` method which is alias of `Kernel#debugger`.
541
-
542
- ### Initial scripts
543
-
544
- If there is a `~/.rdbgrc` file it is loaded as an initialization script (which contains debug commands) when the debug session is started.
545
-
546
- * `RUBY_DEBUG_INIT_SCRIPT` environment variable can specify the initial script file.
547
- * You can specify the initial script with `rdbg -x initial_script` (like gdb's `-x` option).
548
-
549
- Initial scripts are useful to write your favorite configurations.
550
- For example, you can set breakpoints with `break file:123` in `~/.rdbgrc`.
551
-
552
- If there is a `~/.rdbgrc.rb` file it is also loaded as a Ruby script when the debug session is started.
553
-
554
- ## Debug command on the debug console
555
-
556
- On the debug console, you can use the following debug commands.
557
-
558
- There are additional features:
559
-
560
- * `<expr>` without debug command is almost the same as `pp <expr>`.
561
- * If the input line `<expr>` does *NOT* start with any debug command, the line `<expr>` will be evaluated as a Ruby expression, and the result will be printed with `pp` method.
562
- So that the input `foo.bar` is the same as `pp foo.bar`.
563
- * If `<expr>` is recognized as a debug command, of course, it is not evaluated as a Ruby expression but is executed as debug command.
564
- For example, you can not evaluate such single-letter local variables `i`, `b`, `n`, `c` because they are single-letter debug commands. Use `p i` instead.
565
- * For consistency, the author (Koichi Sasada) recommends using the `p`, `pp`, or `eval` command to evaluate the Ruby expression every time.
566
- * `Enter` without any input repeats the last command (useful when repeating `step`s) for some commands.
567
- * `Ctrl-D` is equal to `quit` command.
568
- * [debug command compare sheet - Google Sheets](https://docs.google.com/spreadsheets/d/1TlmmUDsvwK4sSIyoMv-io52BUUz__R5wpu-ComXlsw0/edit?usp=sharing)
569
-
570
- You can use the following debug commands.
571
- Each command should be written in 1 line.
572
- The `[…]` notation means this part can be eliminated. For example, `s[tep]` means `s` or `step` is a valid command. `ste` is not valid.
573
- The `<…>` notation means the argument.
574
-
575
- ### Control flow
576
-
577
- * `s[tep]`
578
- * Step in. Resume the program until next breakable point.
579
- * `s[tep] <n>`
580
- * Step in, resume the program at `<n>`th breakable point.
581
- * `n[ext]`
582
- * Step over. Resume the program until next line.
583
- * `n[ext] <n>`
584
- * Step over, same as `step <n>`.
585
- * `fin[ish]`
586
- * Finish this frame. Resume the program until the current frame is finished.
587
- * `fin[ish] <n>`
588
- * Finish `<n>`th frames.
589
- * `u[ntil]`
590
- * Similar to `next` command, but only stop later lines or the end of the current frame.
591
- * Similar to gdb's `advance` command.
592
- * `u[ntil] <[file:]line>`
593
- * Run til the program reaches given location or the end of the current frame.
594
- * `u[ntil] <name>`
595
- * Run til the program invokes a method `<name>`. `<name>` can be a regexp with `/name/`.
596
- * `c` or `cont` or `continue`
597
- * Resume the program.
598
- * `q[uit]` or `Ctrl-D`
599
- * Finish debugger (with the debuggee process on non-remote debugging).
600
- * `q[uit]!`
601
- * Same as q[uit] but without the confirmation prompt.
602
- * `kill`
603
- * Stop the debuggee process with `Kernel#exit!`.
604
- * `kill!`
605
- * Same as kill but without the confirmation prompt.
606
- * `sigint`
607
- * Execute SIGINT handler registered by the debuggee.
608
- * Note that this command should be used just after stop by `SIGINT`.
609
-
610
- ### Breakpoint
611
-
612
- * `b[reak]`
613
- * Show all breakpoints.
614
- * `b[reak] <line>`
615
- * Set breakpoint on `<line>` at the current frame's file.
616
- * `b[reak] <file>:<line>` or `<file> <line>`
617
- * Set breakpoint on `<file>:<line>`.
618
- * `b[reak] <class>#<name>`
619
- * Set breakpoint on the method `<class>#<name>`.
620
- * `b[reak] <expr>.<name>`
621
- * Set breakpoint on the method `<expr>.<name>`.
622
- * `b[reak] ... if: <expr>`
623
- * break if `<expr>` is true at specified location.
624
- * `b[reak] ... pre: <command>`
625
- * break and run `<command>` before stopping.
626
- * `b[reak] ... do: <command>`
627
- * break and run `<command>`, and continue.
628
- * `b[reak] ... path: <path>`
629
- * break if the path matches to `<path>`. `<path>` can be a regexp with `/regexp/`.
630
- * `b[reak] if: <expr>`
631
- * break if: `<expr>` is true at any lines.
632
- * Note that this feature is super slow.
633
- * `catch <Error>`
634
- * Set breakpoint on raising `<Error>`.
635
- * `catch ... if: <expr>`
636
- * stops only if `<expr>` is true as well.
637
- * `catch ... pre: <command>`
638
- * runs `<command>` before stopping.
639
- * `catch ... do: <command>`
640
- * stops and run `<command>`, and continue.
641
- * `catch ... path: <path>`
642
- * stops if the exception is raised from a `<path>`. `<path>` can be a regexp with `/regexp/`.
643
- * `watch @ivar`
644
- * Stop the execution when the result of current scope's `@ivar` is changed.
645
- * Note that this feature is super slow.
646
- * `watch ... if: <expr>`
647
- * stops only if `<expr>` is true as well.
648
- * `watch ... pre: <command>`
649
- * runs `<command>` before stopping.
650
- * `watch ... do: <command>`
651
- * stops and run `<command>`, and continue.
652
- * `watch ... path: <path>`
653
- * stops if the path matches `<path>`. `<path>` can be a regexp with `/regexp/`.
654
- * `del[ete]`
655
- * delete all breakpoints.
656
- * `del[ete] <bpnum>`
657
- * delete specified breakpoint.
658
-
659
- ### Information
660
-
661
- * `bt` or `backtrace`
662
- * Show backtrace (frame) information.
663
- * `bt <num>` or `backtrace <num>`
664
- * Only shows first `<num>` frames.
665
- * `bt /regexp/` or `backtrace /regexp/`
666
- * Only shows frames with method name or location info that matches `/regexp/`.
667
- * `bt <num> /regexp/` or `backtrace <num> /regexp/`
668
- * Only shows first `<num>` frames with method name or location info that matches `/regexp/`.
669
- * `l[ist]`
670
- * Show current frame's source code.
671
- * Next `list` command shows the successor lines.
672
- * `l[ist] -`
673
- * Show predecessor lines as opposed to the `list` command.
674
- * `l[ist] <start>` or `l[ist] <start>-<end>`
675
- * Show current frame's source code from the line <start> to <end> if given.
676
- * `whereami`
677
- * Show the current frame with source code.
678
- * `edit`
679
- * Open the current file on the editor (use `EDITOR` environment variable).
680
- * Note that edited file will not be reloaded.
681
- * `edit <file>`
682
- * Open <file> on the editor.
683
- * `i[nfo]`
684
- * Show information about current frame (local/instance variables and defined constants).
685
- * `i[nfo]` <subcommand>
686
- * `info` has the following sub-commands.
687
- * Sub-commands can be specified with few letters which is unambiguous, like `l` for 'locals'.
688
- * `i[nfo] l or locals or local_variables`
689
- * Show information about the current frame (local variables)
690
- * It includes `self` as `%self` and a return value as `_return`.
691
- * `i[nfo] i or ivars or instance_variables`
692
- * Show information about instance variables about `self`.
693
- * `info ivars <expr>` shows the instance variables of the result of `<expr>`.
694
- * `i[nfo] c or consts or constants`
695
- * Show information about accessible constants except toplevel constants.
696
- * `info consts <expr>` shows the constants of a class/module of the result of `<expr>`
697
- * `i[nfo] g or globals or global_variables`
698
- * Show information about global variables
699
- * `i[nfo] th or threads`
700
- * Show all threads (same as `th[read]`).
701
- * `i[nfo] b or breakpoints or w or watchpoints`
702
- * Show all breakpoints and watchpoints.
703
- * `i[nfo] ... /regexp/`
704
- * Filter the output with `/regexp/`.
705
- * `o[utline]` or `ls`
706
- * Show you available methods, constants, local variables, and instance variables in the current scope.
707
- * `o[utline] <expr>` or `ls <expr>`
708
- * Show you available methods and instance variables of the given object.
709
- * If the object is a class/module, it also lists its constants.
710
- * `display`
711
- * Show display setting.
712
- * `display <expr>`
713
- * Show the result of `<expr>` at every suspended timing.
714
- * `undisplay`
715
- * Remove all display settings.
716
- * `undisplay <displaynum>`
717
- * Remove a specified display setting.
718
-
719
- ### Frame control
720
-
721
- * `f[rame]`
722
- * Show the current frame.
723
- * `f[rame] <framenum>`
724
- * Specify a current frame. Evaluation are run on specified frame.
725
- * `up`
726
- * Specify the upper frame.
727
- * `down`
728
- * Specify the lower frame.
729
-
730
- ### Evaluate
731
-
732
- * `p <expr>`
733
- * Evaluate like `p <expr>` on the current frame.
734
- * `pp <expr>`
735
- * Evaluate like `pp <expr>` on the current frame.
736
- * `eval <expr>`
737
- * Evaluate `<expr>` on the current frame.
738
- * `irb`
739
- * Activate and switch to `irb:rdbg` console
740
-
741
- ### Trace
742
-
743
- * `trace`
744
- * Show available tracers list.
745
- * `trace line`
746
- * Add a line tracer. It indicates line events.
747
- * `trace call`
748
- * Add a call tracer. It indicate call/return events.
749
- * `trace exception`
750
- * Add an exception tracer. It indicates raising exceptions.
751
- * `trace object <expr>`
752
- * Add an object tracer. It indicates that an object by `<expr>` is passed as a parameter or a receiver on method call.
753
- * `trace ... /regexp/`
754
- * Indicates only matched events to `/regexp/`.
755
- * `trace ... into: <file>`
756
- * Save trace information into: `<file>`.
757
- * `trace off <num>`
758
- * Disable tracer specified by `<num>` (use `trace` command to check the numbers).
759
- * `trace off [line|call|pass]`
760
- * Disable all tracers. If `<type>` is provided, disable specified type tracers.
761
- * `record`
762
- * Show recording status.
763
- * `record [on|off]`
764
- * Start/Stop recording.
765
- * `step back`
766
- * Start replay. Step back with the last execution log.
767
- * `s[tep]` does stepping forward with the last log.
768
- * `step reset`
769
- * Stop replay .
770
-
771
- ### Thread control
772
-
773
- * `th[read]`
774
- * Show all threads.
775
- * `th[read] <thnum>`
776
- * Switch thread specified by `<thnum>`.
777
-
778
- ### Configuration
779
-
780
- * `config`
781
- * Show all configuration with description.
782
- * `config <name>`
783
- * Show current configuration of <name>.
784
- * `config set <name> <val>` or `config <name> = <val>`
785
- * Set <name> to <val>.
786
- * `config append <name> <val>` or `config <name> << <val>`
787
- * Append `<val>` to `<name>` if it is an array.
788
- * `config unset <name>`
789
- * Set <name> to default.
790
- * `source <file>`
791
- * Evaluate lines in `<file>` as debug commands.
792
- * `open`
793
- * open debuggee port on UNIX domain socket and wait for attaching.
794
- * Note that `open` command is EXPERIMENTAL.
795
- * `open [<host>:]<port>`
796
- * open debuggee port on TCP/IP with given `[<host>:]<port>` and wait for attaching.
797
- * `open vscode`
798
- * open debuggee port for VSCode and launch VSCode if available.
799
- * `open chrome`
800
- * open debuggee port for Chrome and wait for attaching.
801
-
802
- ### Help
803
-
804
- * `h[elp]`
805
- * Show help for all commands.
806
- * `h[elp] <command>`
807
- * Show help for the given command.
808
-
809
-
810
- ### Using IRB as the Debug Console
811
-
812
- Starting from version `v1.9`, you can now use IRB as the debug console. This integration brings additional features such as:
813
-
814
- * Autocompletion
815
- * Support for multi-line input
816
- * Access to commands not available in `debug`, like `show_source` or `show_doc`
817
- * [Configurable command aliases](https://docs.ruby-lang.org/en/master/IRB.html#module-IRB-label-Command+Aliases)
818
-
819
- To switch to the IRB console, simply use the `irb` command in the debug console.
820
-
821
- Once activated, you'll notice the prompt changes to:
822
-
823
- ```console
824
- irb:rdbg(main):001>
825
- ```
826
-
827
- If you want to make IRB the default console for all sessions, configure the `irb_console` setting by either:
828
-
829
- * Setting the `RUBY_DEBUG_IRB_CONSOLE=true` environment variable
830
- * Or adding `config set irb_console 1` to your `~/.rdbgrc`
831
-
832
- To disable the IRB console in the current session, execute `config set irb_console 0` in the console.
833
-
834
- ## Debugger API
835
-
836
- ### Start debugging
837
-
838
- #### Start by requiring a library
839
-
840
- You can start debugging without `rdbg` command by requiring the following libraries:
841
-
842
- * `require 'debug'`: Same as `rdbg --nonstop --no-sigint-hook`.
843
- * `require 'debug/start'`: Same as `rdbg`.
844
- * `require 'debug/open'`: Same as `rdbg --open`.
845
- * `require 'debug/open_nonstop'`: Same as `rdbg --open --nonstop`.
846
-
847
- You need to require one of them at the very beginning of the application.
848
- Using `ruby -r` (for example `ruby -r debug/start target.rb`) is another way to invoke with debugger.
849
-
850
- NOTE: Until Ruby 3.0, there is old `lib/debug.rb` in the standard library.
851
- `lib/debug.rb` was not maintained well in recent years, and the purpose of this library is to rewrite old `lib/debug.rb` with recent techniques.
852
-
853
- So, if this gem is not installed, or if the `Gemfile` doesn't include this gem and `bundle exec` is used, you will see the following output:
854
-
855
- ```console
856
- $ ruby -r debug -e0
857
- .../2.7.3/lib/ruby/2.7.0/x86_64-linux/continuation.so: warning: callcc is obsolete; use Fiber instead
858
- Debug.rb
859
- Emacs support available.
860
-
861
- .../2.7.3/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:162: if RUBYGEMS_ACTIVATION_MONITOR.respond_to?(:mon_owned?)
862
- (rdb:1)
863
- ```
864
-
865
- #### Start by method
866
-
867
- After loading `debug/session`, you can start a debug session with the following methods.
868
- They are convenient if you want to specify debug configurations in your program.
869
-
870
- * `DEBUGGER__.start(**kw)`: start debug session with local console.
871
- * `DEBUGGER__.open(**kw)`: open debug port with configuration (without configurations open with UNIX domain socket).
872
- * `DEBUGGER__.open_unix(**kw)`: open debug port with UNIX domain socket.
873
- * `DEBUGGER__.open_tcp(**kw)`: open debug port with TCP/IP.
874
-
875
- For example:
876
-
877
- ```ruby
878
- require 'debug/session'
879
- DEBUGGER__.start(no_color: true, # disable colorize
880
- log_level: 'INFO') # Change log_level to INFO
881
-
882
- ... # your application code
883
- ```
884
-
885
- ### `binding.break` method
886
-
887
- `binding.break` (or `binding.b`) sets a breakpoint at that line.
888
- It also has several keywords.
889
-
890
- If `do: 'command'` is specified, the debugger suspends the program, runs the `command` as a debug command, and continues the program.
891
- It is useful if you only want to call a debug command and don't want to stop there.
892
- For example:
893
-
894
- ```ruby
895
- def initialize
896
- @a = 1
897
- binding.b do: 'info \n watch @a'
898
- end
899
- ```
900
-
901
- In this case, execute the `info` command, then register a watch breakpoint for `@a` and continue to run.
902
- You can also use `;;` instead of `\n` to separate your commands.
903
-
904
- If `pre: 'command'` is specified, the debugger suspends the program and runs the `command` as a debug command, and keeps suspended.
905
- It is useful if you have operations before suspend.
906
- For example:
907
-
908
- ```ruby
909
- def foo
910
- binding.b pre: 'p bar()'
911
- ...
912
- end
913
- ```
914
-
915
- In this case, you can see the result of `bar()` every time you stop there.
916
-
917
- ## rdbg command help
918
-
919
- ```console
920
- exe/rdbg [options] -- [debuggee options]
921
-
922
- Debug console mode:
923
- -n, --nonstop Do not stop at the beginning of the script.
924
- -e DEBUG_COMMAND Execute debug command at the beginning of the script.
925
- -x, --init-script=FILE Execute debug command in the FILE.
926
- --no-rc Ignore ~/.rdbgrc
927
- --no-color Disable colorize
928
- --no-sigint-hook Disable to trap SIGINT
929
- -c, --command Enable command mode.
930
- The first argument should be a command name in $PATH.
931
- Example: 'rdbg -c bundle exec rake test'
932
-
933
- -O, --open=[FRONTEND] Start remote debugging with opening the network port.
934
- If TCP/IP options are not given, a UNIX domain socket will be used.
935
- If FRONTEND is given, prepare for the FRONTEND.
936
- Now rdbg, vscode and chrome is supported.
937
- --sock-path=SOCK_PATH UNIX Domain socket path
938
- --port=PORT Listening TCP/IP port
939
- --port-range=PORT_RANGE Number of ports to try to connect to
940
- --host=HOST Listening TCP/IP host
941
- --cookie=COOKIE Set a cookie for connection
942
- --session-name=NAME Session name
943
-
944
- Debug console mode runs Ruby program with the debug console.
945
-
946
- 'rdbg target.rb foo bar' starts like 'ruby target.rb foo bar'.
947
- 'rdbg -- -r foo -e bar' starts like 'ruby -r foo -e bar'.
948
- 'rdbg -c rake test' starts like 'rake test'.
949
- 'rdbg -c -- rake test -t' starts like 'rake test -t'.
950
- 'rdbg -c bundle exec rake test' starts like 'bundle exec rake test'.
951
- 'rdbg -O target.rb foo bar' starts and accepts attaching with UNIX domain socket.
952
- 'rdbg -O --port 1234 target.rb foo bar' starts accepts attaching with TCP/IP localhost:1234.
953
- 'rdbg -O --port 1234 -- -r foo -e bar' starts accepts attaching with TCP/IP localhost:1234.
954
- 'rdbg target.rb -O chrome --port 1234' starts and accepts connecting from Chrome Devtools with localhost:1234.
955
-
956
- Attach mode:
957
- -A, --attach Attach to debuggee process.
958
-
959
- Attach mode attaches the remote debug console to the debuggee process.
960
-
961
- 'rdbg -A' tries to connect via UNIX domain socket.
962
- If there are multiple processes are waiting for the
963
- debugger connection, list possible debuggee names.
964
- 'rdbg -A path' tries to connect via UNIX domain socket with given path name.
965
- 'rdbg -A port' tries to connect to localhost:port via TCP/IP.
966
- 'rdbg -A host port' tries to connect to host:port via TCP/IP.
967
-
968
- Other options:
969
- -v Show version number
970
- --version Show version number and exit
971
- -h, --help Print help
972
- --util=NAME Utility mode (used by tools)
973
- --stop-at-load Stop immediately when the debugging feature is loaded.
974
-
975
- NOTE
976
- All messages communicated between a debugger and a debuggee are *NOT* encrypted.
977
- Please use the remote debugging feature carefully.
978
-
979
- ```
980
-
981
- # Additional Resources
982
-
983
- - [From byebug to ruby/debug](https://st0012.dev/from-byebug-to-ruby-debug) by Stan Lo - A migration guide for `byebug` users.
984
- - [ruby/debug cheatsheet](https://st0012.dev/ruby-debug-cheatsheet) by Stan Lo
985
-
986
- # Contributing
987
-
988
- Bug reports and pull requests are welcome on GitHub at [https://github.com/ruby/debug]().
989
- This debugger is not mature so your feedback will help us.
990
-
991
- Please also check the [contributing guideline](/CONTRIBUTING.md).
992
-
993
- # Acknowledgement
994
-
995
- * Some tests are based on [deivid-rodriguez/byebug: Debugging in Ruby 2](https://github.com/deivid-rodriguez/byebug)
996
- * Several codes in `server_cdp.rb` are based on [geoffreylitt/ladybug: Visual Debugger](https://github.com/geoffreylitt/ladybug)