@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,1285 +0,0 @@
1
- # <!-- rdoc-file=lib/cgi.rb -->
2
- # ## Overview
3
- #
4
- # The Common Gateway Interface (CGI) is a simple protocol for passing an HTTP
5
- # request from a web server to a standalone program, and returning the output to
6
- # the web browser. Basically, a CGI program is called with the parameters of
7
- # the request passed in either in the environment (GET) or via $stdin (POST),
8
- # and everything it prints to $stdout is returned to the client.
9
- #
10
- # This file holds the CGI class. This class provides functionality for
11
- # retrieving HTTP request parameters, managing cookies, and generating HTML
12
- # output.
13
- #
14
- # The file CGI::Session provides session management functionality; see that
15
- # class for more details.
16
- #
17
- # See http://www.w3.org/CGI/ for more information on the CGI protocol.
18
- #
19
- # ## Introduction
20
- #
21
- # CGI is a large class, providing several categories of methods, many of which
22
- # are mixed in from other modules. Some of the documentation is in this class,
23
- # some in the modules CGI::QueryExtension and CGI::HtmlExtension. See
24
- # CGI::Cookie for specific information on handling cookies, and cgi/session.rb
25
- # (CGI::Session) for information on sessions.
26
- #
27
- # For queries, CGI provides methods to get at environmental variables,
28
- # parameters, cookies, and multipart request data. For responses, CGI provides
29
- # methods for writing output and generating HTML.
30
- #
31
- # Read on for more details. Examples are provided at the bottom.
32
- #
33
- # ## Queries
34
- #
35
- # The CGI class dynamically mixes in parameter and cookie-parsing functionality,
36
- # environmental variable access, and support for parsing multipart requests
37
- # (including uploaded files) from the CGI::QueryExtension module.
38
- #
39
- # ### Environmental Variables
40
- #
41
- # The standard CGI environmental variables are available as read-only attributes
42
- # of a CGI object. The following is a list of these variables:
43
- #
44
- # AUTH_TYPE HTTP_HOST REMOTE_IDENT
45
- # CONTENT_LENGTH HTTP_NEGOTIATE REMOTE_USER
46
- # CONTENT_TYPE HTTP_PRAGMA REQUEST_METHOD
47
- # GATEWAY_INTERFACE HTTP_REFERER SCRIPT_NAME
48
- # HTTP_ACCEPT HTTP_USER_AGENT SERVER_NAME
49
- # HTTP_ACCEPT_CHARSET PATH_INFO SERVER_PORT
50
- # HTTP_ACCEPT_ENCODING PATH_TRANSLATED SERVER_PROTOCOL
51
- # HTTP_ACCEPT_LANGUAGE QUERY_STRING SERVER_SOFTWARE
52
- # HTTP_CACHE_CONTROL REMOTE_ADDR
53
- # HTTP_FROM REMOTE_HOST
54
- #
55
- # For each of these variables, there is a corresponding attribute with the same
56
- # name, except all lower case and without a preceding HTTP_. `content_length`
57
- # and `server_port` are integers; the rest are strings.
58
- #
59
- # ### Parameters
60
- #
61
- # The method #params() returns a hash of all parameters in the request as
62
- # name/value-list pairs, where the value-list is an Array of one or more values.
63
- # The CGI object itself also behaves as a hash of parameter names to values,
64
- # but only returns a single value (as a String) for each parameter name.
65
- #
66
- # For instance, suppose the request contains the parameter "favourite_colours"
67
- # with the multiple values "blue" and "green". The following behavior would
68
- # occur:
69
- #
70
- # cgi.params["favourite_colours"] # => ["blue", "green"]
71
- # cgi["favourite_colours"] # => "blue"
72
- #
73
- # If a parameter does not exist, the former method will return an empty array,
74
- # the latter an empty string. The simplest way to test for existence of a
75
- # parameter is by the #has_key? method.
76
- #
77
- # ### Cookies
78
- #
79
- # HTTP Cookies are automatically parsed from the request. They are available
80
- # from the #cookies() accessor, which returns a hash from cookie name to
81
- # CGI::Cookie object.
82
- #
83
- # ### Multipart requests
84
- #
85
- # If a request's method is POST and its content type is multipart/form-data,
86
- # then it may contain uploaded files. These are stored by the QueryExtension
87
- # module in the parameters of the request. The parameter name is the name
88
- # attribute of the file input field, as usual. However, the value is not a
89
- # string, but an IO object, either an IOString for small files, or a Tempfile
90
- # for larger ones. This object also has the additional singleton methods:
91
- #
92
- # #local_path()
93
- # : the path of the uploaded file on the local filesystem
94
- #
95
- # #original_filename()
96
- # : the name of the file on the client computer
97
- #
98
- # #content_type()
99
- # : the content type of the file
100
- #
101
- #
102
- # ## Responses
103
- #
104
- # The CGI class provides methods for sending header and content output to the
105
- # HTTP client, and mixes in methods for programmatic HTML generation from
106
- # CGI::HtmlExtension and CGI::TagMaker modules. The precise version of HTML to
107
- # use for HTML generation is specified at object creation time.
108
- #
109
- # ### Writing output
110
- #
111
- # The simplest way to send output to the HTTP client is using the #out() method.
112
- # This takes the HTTP headers as a hash parameter, and the body content via a
113
- # block. The headers can be generated as a string using the #http_header()
114
- # method. The output stream can be written directly to using the #print()
115
- # method.
116
- #
117
- # ### Generating HTML
118
- #
119
- # Each HTML element has a corresponding method for generating that element as a
120
- # String. The name of this method is the same as that of the element, all
121
- # lowercase. The attributes of the element are passed in as a hash, and the
122
- # body as a no-argument block that evaluates to a String. The HTML generation
123
- # module knows which elements are always empty, and silently drops any passed-in
124
- # body. It also knows which elements require matching closing tags and which
125
- # don't. However, it does not know what attributes are legal for which
126
- # elements.
127
- #
128
- # There are also some additional HTML generation methods mixed in from the
129
- # CGI::HtmlExtension module. These include individual methods for the different
130
- # types of form inputs, and methods for elements that commonly take particular
131
- # attributes where the attributes can be directly specified as arguments, rather
132
- # than via a hash.
133
- #
134
- # ### Utility HTML escape and other methods like a function.
135
- #
136
- # There are some utility tool defined in cgi/util.rb . And when include, you can
137
- # use utility methods like a function.
138
- #
139
- # ## Examples of use
140
- #
141
- # ### Get form values
142
- #
143
- # require "cgi"
144
- # cgi = CGI.new
145
- # value = cgi['field_name'] # <== value string for 'field_name'
146
- # # if not 'field_name' included, then return "".
147
- # fields = cgi.keys # <== array of field names
148
- #
149
- # # returns true if form has 'field_name'
150
- # cgi.has_key?('field_name')
151
- # cgi.has_key?('field_name')
152
- # cgi.include?('field_name')
153
- #
154
- # CAUTION! `cgi['field_name']` returned an Array with the old cgi.rb(included in
155
- # Ruby 1.6)
156
- #
157
- # ### Get form values as hash
158
- #
159
- # require "cgi"
160
- # cgi = CGI.new
161
- # params = cgi.params
162
- #
163
- # cgi.params is a hash.
164
- #
165
- # cgi.params['new_field_name'] = ["value"] # add new param
166
- # cgi.params['field_name'] = ["new_value"] # change value
167
- # cgi.params.delete('field_name') # delete param
168
- # cgi.params.clear # delete all params
169
- #
170
- # ### Save form values to file
171
- #
172
- # require "pstore"
173
- # db = PStore.new("query.db")
174
- # db.transaction do
175
- # db["params"] = cgi.params
176
- # end
177
- #
178
- # ### Restore form values from file
179
- #
180
- # require "pstore"
181
- # db = PStore.new("query.db")
182
- # db.transaction do
183
- # cgi.params = db["params"]
184
- # end
185
- #
186
- # ### Get multipart form values
187
- #
188
- # require "cgi"
189
- # cgi = CGI.new
190
- # value = cgi['field_name'] # <== value string for 'field_name'
191
- # value.read # <== body of value
192
- # value.local_path # <== path to local file of value
193
- # value.original_filename # <== original filename of value
194
- # value.content_type # <== content_type of value
195
- #
196
- # and value has StringIO or Tempfile class methods.
197
- #
198
- # ### Get cookie values
199
- #
200
- # require "cgi"
201
- # cgi = CGI.new
202
- # values = cgi.cookies['name'] # <== array of 'name'
203
- # # if not 'name' included, then return [].
204
- # names = cgi.cookies.keys # <== array of cookie names
205
- #
206
- # and cgi.cookies is a hash.
207
- #
208
- # ### Get cookie objects
209
- #
210
- # require "cgi"
211
- # cgi = CGI.new
212
- # for name, cookie in cgi.cookies
213
- # cookie.expires = Time.now + 30
214
- # end
215
- # cgi.out("cookie" => cgi.cookies) {"string"}
216
- #
217
- # cgi.cookies # { "name1" => cookie1, "name2" => cookie2, ... }
218
- #
219
- # require "cgi"
220
- # cgi = CGI.new
221
- # cgi.cookies['name'].expires = Time.now + 30
222
- # cgi.out("cookie" => cgi.cookies['name']) {"string"}
223
- #
224
- # ### Print http header and html string to $DEFAULT_OUTPUT ($>)
225
- #
226
- # require "cgi"
227
- # cgi = CGI.new("html4") # add HTML generation methods
228
- # cgi.out do
229
- # cgi.html do
230
- # cgi.head do
231
- # cgi.title { "TITLE" }
232
- # end +
233
- # cgi.body do
234
- # cgi.form("ACTION" => "uri") do
235
- # cgi.p do
236
- # cgi.textarea("get_text") +
237
- # cgi.br +
238
- # cgi.submit
239
- # end
240
- # end +
241
- # cgi.pre do
242
- # CGI.escapeHTML(
243
- # "params: #{cgi.params.inspect}\n" +
244
- # "cookies: #{cgi.cookies.inspect}\n" +
245
- # ENV.collect do |key, value|
246
- # "#{key} --> #{value}\n"
247
- # end.join("")
248
- # )
249
- # end
250
- # end
251
- # end
252
- # end
253
- #
254
- # # add HTML generation methods
255
- # CGI.new("html3") # html3.2
256
- # CGI.new("html4") # html4.01 (Strict)
257
- # CGI.new("html4Tr") # html4.01 Transitional
258
- # CGI.new("html4Fr") # html4.01 Frameset
259
- # CGI.new("html5") # html5
260
- #
261
- # ### Some utility methods
262
- #
263
- # require 'cgi/util'
264
- # CGI.escapeHTML('Usage: foo "bar" <baz>')
265
- #
266
- # ### Some utility methods like a function
267
- #
268
- # require 'cgi/util'
269
- # include CGI::Util
270
- # escapeHTML('Usage: foo "bar" <baz>')
271
- # h('Usage: foo "bar" <baz>') # alias
272
- #
273
- class CGI
274
- include CGI::Util
275
-
276
- extend CGI::Util
277
-
278
- # <!--
279
- # rdoc-file=lib/cgi/core.rb
280
- # - CGI.new(tag_maker) { block }
281
- # - CGI.new(options_hash = {}) { block }
282
- # -->
283
- # Create a new CGI instance.
284
- #
285
- # `tag_maker`
286
- # : This is the same as using the `options_hash` form with the value `{
287
- # :tag_maker => tag_maker }` Note that it is recommended to use the
288
- # `options_hash` form, since it also allows you specify the charset you will
289
- # accept.
290
- #
291
- # `options_hash`
292
- # : A Hash that recognizes three options:
293
- #
294
- # `:accept_charset`
295
- # : specifies encoding of received query string. If omitted,
296
- # `@@accept_charset` is used. If the encoding is not valid, a
297
- # CGI::InvalidEncoding will be raised.
298
- #
299
- # Example. Suppose `@@accept_charset` is "UTF-8"
300
- #
301
- # when not specified:
302
- #
303
- # cgi=CGI.new # @accept_charset # => "UTF-8"
304
- #
305
- # when specified as "EUC-JP":
306
- #
307
- # cgi=CGI.new(:accept_charset => "EUC-JP") # => "EUC-JP"
308
- #
309
- #
310
- # `:tag_maker`
311
- # : String that specifies which version of the HTML generation methods to
312
- # use. If not specified, no HTML generation methods will be loaded.
313
- #
314
- # The following values are supported:
315
- #
316
- # "html3"
317
- # : HTML 3.x
318
- #
319
- # "html4"
320
- # : HTML 4.0
321
- #
322
- # "html4Tr"
323
- # : HTML 4.0 Transitional
324
- #
325
- # "html4Fr"
326
- # : HTML 4.0 with Framesets
327
- #
328
- # "html5"
329
- # : HTML 5
330
- #
331
- #
332
- #
333
- # `:max_multipart_length`
334
- # : Specifies maximum length of multipart data. Can be an Integer scalar
335
- # or a lambda, that will be evaluated when the request is parsed. This
336
- # allows more complex logic to be set when determining whether to accept
337
- # multipart data (e.g. consult a registered users upload allowance)
338
- #
339
- # Default is 128 * 1024 * 1024 bytes
340
- #
341
- # cgi=CGI.new(:max_multipart_length => 268435456) # simple scalar
342
- #
343
- # cgi=CGI.new(:max_multipart_length => -> {check_filesystem}) # lambda
344
- #
345
- #
346
- #
347
- # `block`
348
- # : If provided, the block is called when an invalid encoding is encountered.
349
- # For example:
350
- #
351
- # encoding_errors={}
352
- # cgi=CGI.new(:accept_charset=>"EUC-JP") do |name,value|
353
- # encoding_errors[name] = value
354
- # end
355
- #
356
- #
357
- # Finally, if the CGI object is not created in a standard CGI call environment
358
- # (that is, it can't locate REQUEST_METHOD in its environment), then it will run
359
- # in "offline" mode. In this mode, it reads its parameters from the command
360
- # line or (failing that) from standard input. Otherwise, cookies and other
361
- # parameters are parsed automatically from the standard CGI locations, which
362
- # varies according to the REQUEST_METHOD.
363
- #
364
- def initialize: (?String tag_maker) ?{ (String name, String value) -> void } -> void
365
- | (Hash[Symbol, untyped] options_hash) ?{ (String name, String value) -> void } -> void
366
-
367
- # <!--
368
- # rdoc-file=lib/cgi/core.rb
369
- # - accept_charset()
370
- # -->
371
- # Return the accept character set for all new CGI instances.
372
- #
373
- def self.accept_charset: () -> encoding
374
-
375
- # <!--
376
- # rdoc-file=lib/cgi/core.rb
377
- # - accept_charset=(accept_charset)
378
- # -->
379
- # Set the accept character set for all new CGI instances.
380
- #
381
- def self.accept_charset=: (encoding accept_charset) -> encoding
382
-
383
- # <!--
384
- # rdoc-file=lib/cgi/core.rb
385
- # - parse(query)
386
- # -->
387
- # Parse an HTTP query string into a hash of key=>value pairs.
388
- #
389
- # params = CGI.parse("query_string")
390
- # # {"name1" => ["value1", "value2", ...],
391
- # # "name2" => ["value1", "value2", ...], ... }
392
- #
393
- def self.parse: (String query) -> Hash[String, Array[String]]
394
-
395
- # <!-- rdoc-file=lib/cgi/core.rb -->
396
- # Return the accept character set for this CGI instance.
397
- #
398
- attr_reader accept_charset: encoding
399
-
400
- # <!-- rdoc-file=lib/cgi/core.rb -->
401
- # This method is an alias for #http_header, when HTML5 tag maker is inactive.
402
- #
403
- # NOTE: use #http_header to create HTTP header blocks, this alias is only
404
- # provided for backwards compatibility.
405
- #
406
- # Using #header with the HTML5 tag maker will create a <header> element.
407
- #
408
- alias header http_header
409
-
410
- # <!--
411
- # rdoc-file=lib/cgi/core.rb
412
- # - http_header(content_type_string="text/html")
413
- # - http_header(headers_hash)
414
- # -->
415
- # Create an HTTP header block as a string.
416
- #
417
- # Includes the empty line that ends the header block.
418
- #
419
- # `content_type_string`
420
- # : If this form is used, this string is the `Content-Type`
421
- #
422
- # `headers_hash`
423
- # : A Hash of header values. The following header keys are recognized:
424
- #
425
- # type
426
- # : The Content-Type header. Defaults to "text/html"
427
- #
428
- # charset
429
- # : The charset of the body, appended to the Content-Type header.
430
- #
431
- # nph
432
- # : A boolean value. If true, prepend protocol string and status code,
433
- # and date; and sets default values for "server" and "connection" if not
434
- # explicitly set.
435
- #
436
- # status
437
- # : The HTTP status code as a String, returned as the Status header. The
438
- # values are:
439
- #
440
- # OK
441
- # : 200 OK
442
- #
443
- # PARTIAL_CONTENT
444
- # : 206 Partial Content
445
- #
446
- # MULTIPLE_CHOICES
447
- # : 300 Multiple Choices
448
- #
449
- # MOVED
450
- # : 301 Moved Permanently
451
- #
452
- # REDIRECT
453
- # : 302 Found
454
- #
455
- # NOT_MODIFIED
456
- # : 304 Not Modified
457
- #
458
- # BAD_REQUEST
459
- # : 400 Bad Request
460
- #
461
- # AUTH_REQUIRED
462
- # : 401 Authorization Required
463
- #
464
- # FORBIDDEN
465
- # : 403 Forbidden
466
- #
467
- # NOT_FOUND
468
- # : 404 Not Found
469
- #
470
- # METHOD_NOT_ALLOWED
471
- # : 405 Method Not Allowed
472
- #
473
- # NOT_ACCEPTABLE
474
- # : 406 Not Acceptable
475
- #
476
- # LENGTH_REQUIRED
477
- # : 411 Length Required
478
- #
479
- # PRECONDITION_FAILED
480
- # : 412 Precondition Failed
481
- #
482
- # SERVER_ERROR
483
- # : 500 Internal Server Error
484
- #
485
- # NOT_IMPLEMENTED
486
- # : 501 Method Not Implemented
487
- #
488
- # BAD_GATEWAY
489
- # : 502 Bad Gateway
490
- #
491
- # VARIANT_ALSO_VARIES
492
- # : 506 Variant Also Negotiates
493
- #
494
- #
495
- #
496
- # server
497
- # : The server software, returned as the Server header.
498
- #
499
- # connection
500
- # : The connection type, returned as the Connection header (for instance,
501
- # "close".
502
- #
503
- # length
504
- # : The length of the content that will be sent, returned as the
505
- # Content-Length header.
506
- #
507
- # language
508
- # : The language of the content, returned as the Content-Language header.
509
- #
510
- # expires
511
- # : The time on which the current content expires, as a `Time` object,
512
- # returned as the Expires header.
513
- #
514
- # cookie
515
- # : A cookie or cookies, returned as one or more Set-Cookie headers. The
516
- # value can be the literal string of the cookie; a CGI::Cookie object;
517
- # an Array of literal cookie strings or Cookie objects; or a hash all of
518
- # whose values are literal cookie strings or Cookie objects.
519
- #
520
- # These cookies are in addition to the cookies held in the
521
- # @output_cookies field.
522
- #
523
- #
524
- # Other headers can also be set; they are appended as key: value.
525
- #
526
- #
527
- # Examples:
528
- #
529
- # http_header
530
- # # Content-Type: text/html
531
- #
532
- # http_header("text/plain")
533
- # # Content-Type: text/plain
534
- #
535
- # http_header("nph" => true,
536
- # "status" => "OK", # == "200 OK"
537
- # # "status" => "200 GOOD",
538
- # "server" => ENV['SERVER_SOFTWARE'],
539
- # "connection" => "close",
540
- # "type" => "text/html",
541
- # "charset" => "iso-2022-jp",
542
- # # Content-Type: text/html; charset=iso-2022-jp
543
- # "length" => 103,
544
- # "language" => "ja",
545
- # "expires" => Time.now + 30,
546
- # "cookie" => [cookie1, cookie2],
547
- # "my_header1" => "my_value",
548
- # "my_header2" => "my_value")
549
- #
550
- # This method does not perform charset conversion.
551
- #
552
- def http_header: (?String options) -> String
553
- | (?Hash[interned, untyped] header_hash) -> String
554
-
555
- def nph?: () -> untyped
556
-
557
- # <!--
558
- # rdoc-file=lib/cgi/core.rb
559
- # - cgi.out(content_type_string='text/html')
560
- # - cgi.out(headers_hash)
561
- # -->
562
- # Print an HTTP header and body to $DEFAULT_OUTPUT ($>)
563
- #
564
- # `content_type_string`
565
- # : If a string is passed, it is assumed to be the content type.
566
- #
567
- # `headers_hash`
568
- # : This is a Hash of headers, similar to that used by #http_header.
569
- #
570
- # `block`
571
- # : A block is required and should evaluate to the body of the response.
572
- #
573
- #
574
- # `Content-Length` is automatically calculated from the size of the String
575
- # returned by the content block.
576
- #
577
- # If `ENV['REQUEST_METHOD'] == "HEAD"`, then only the header is output (the
578
- # content block is still required, but it is ignored).
579
- #
580
- # If the charset is "iso-2022-jp" or "euc-jp" or "shift_jis" then the content is
581
- # converted to this charset, and the language is set to "ja".
582
- #
583
- # Example:
584
- #
585
- # cgi = CGI.new
586
- # cgi.out{ "string" }
587
- # # Content-Type: text/html
588
- # # Content-Length: 6
589
- # #
590
- # # string
591
- #
592
- # cgi.out("text/plain") { "string" }
593
- # # Content-Type: text/plain
594
- # # Content-Length: 6
595
- # #
596
- # # string
597
- #
598
- # cgi.out("nph" => true,
599
- # "status" => "OK", # == "200 OK"
600
- # "server" => ENV['SERVER_SOFTWARE'],
601
- # "connection" => "close",
602
- # "type" => "text/html",
603
- # "charset" => "iso-2022-jp",
604
- # # Content-Type: text/html; charset=iso-2022-jp
605
- # "language" => "ja",
606
- # "expires" => Time.now + (3600 * 24 * 30),
607
- # "cookie" => [cookie1, cookie2],
608
- # "my_header1" => "my_value",
609
- # "my_header2" => "my_value") { "string" }
610
- # # HTTP/1.1 200 OK
611
- # # Date: Sun, 15 May 2011 17:35:54 GMT
612
- # # Server: Apache 2.2.0
613
- # # Connection: close
614
- # # Content-Type: text/html; charset=iso-2022-jp
615
- # # Content-Length: 6
616
- # # Content-Language: ja
617
- # # Expires: Tue, 14 Jun 2011 17:35:54 GMT
618
- # # Set-Cookie: foo
619
- # # Set-Cookie: bar
620
- # # my_header1: my_value
621
- # # my_header2: my_value
622
- # #
623
- # # string
624
- #
625
- def out: (?String content_type_string) { () -> String } -> void
626
- | (Hash[interned, untyped] headers_hash) { () -> String } -> void
627
-
628
- # <!--
629
- # rdoc-file=lib/cgi/core.rb
630
- # - print(*options)
631
- # -->
632
- # Print an argument or list of arguments to the default output stream
633
- #
634
- # cgi = CGI.new
635
- # cgi.print # default: cgi.print == $DEFAULT_OUTPUT.print
636
- #
637
- def print: (*String options) -> void
638
-
639
- private
640
-
641
- # <!--
642
- # rdoc-file=lib/cgi/core.rb
643
- # - stdinput()
644
- # -->
645
- # Synonym for $stdin.
646
- #
647
- def stdinput: () -> ::IO
648
-
649
- # <!--
650
- # rdoc-file=lib/cgi/core.rb
651
- # - stdoutput()
652
- # -->
653
- # Synonym for $stdout.
654
- #
655
- def stdoutput: () -> ::IO
656
-
657
- # <!-- rdoc-file=lib/cgi/core.rb -->
658
- # String for carriage return
659
- #
660
- CR: String
661
-
662
- # <!-- rdoc-file=lib/cgi/core.rb -->
663
- # Standard internet newline sequence
664
- #
665
- EOL: String
666
-
667
- # <!-- rdoc-file=lib/cgi/core.rb -->
668
- # HTTP status codes.
669
- #
670
- HTTP_STATUS: Hash[String, String]
671
-
672
- # <!-- rdoc-file=lib/cgi/core.rb -->
673
- # String for linefeed
674
- #
675
- LF: String
676
-
677
- # <!-- rdoc-file=lib/cgi/core.rb -->
678
- # Maximum number of request parameters when multipart
679
- #
680
- MAX_MULTIPART_COUNT: Integer
681
-
682
- # <!-- rdoc-file=lib/cgi/core.rb -->
683
- # Whether processing will be required in binary vs text
684
- #
685
- NEEDS_BINMODE: bool
686
-
687
- # <!-- rdoc-file=lib/cgi/core.rb -->
688
- # Path separators in different environments.
689
- #
690
- PATH_SEPARATOR: Hash[String, String]
691
-
692
- REVISION: String
693
-
694
- VERSION: String
695
-
696
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
697
- # Class representing an HTTP cookie.
698
- #
699
- # In addition to its specific fields and methods, a Cookie instance is a
700
- # delegator to the array of its values.
701
- #
702
- # See RFC 2965.
703
- #
704
- # ## Examples of use
705
- # cookie1 = CGI::Cookie.new("name", "value1", "value2", ...)
706
- # cookie1 = CGI::Cookie.new("name" => "name", "value" => "value")
707
- # cookie1 = CGI::Cookie.new('name' => 'name',
708
- # 'value' => ['value1', 'value2', ...],
709
- # 'path' => 'path', # optional
710
- # 'domain' => 'domain', # optional
711
- # 'expires' => Time.now, # optional
712
- # 'secure' => true, # optional
713
- # 'httponly' => true # optional
714
- # )
715
- #
716
- # cgi.out("cookie" => [cookie1, cookie2]) { "string" }
717
- #
718
- # name = cookie1.name
719
- # values = cookie1.value
720
- # path = cookie1.path
721
- # domain = cookie1.domain
722
- # expires = cookie1.expires
723
- # secure = cookie1.secure
724
- # httponly = cookie1.httponly
725
- #
726
- # cookie1.name = 'name'
727
- # cookie1.value = ['value1', 'value2', ...]
728
- # cookie1.path = 'path'
729
- # cookie1.domain = 'domain'
730
- # cookie1.expires = Time.now + 30
731
- # cookie1.secure = true
732
- # cookie1.httponly = true
733
- #
734
- class Cookie < Array[String]
735
- # <!--
736
- # rdoc-file=lib/cgi/cookie.rb
737
- # - parse(raw_cookie)
738
- # -->
739
- # Parse a raw cookie string into a hash of cookie-name=>Cookie pairs.
740
- #
741
- # cookies = CGI::Cookie.parse("raw_cookie_string")
742
- # # { "name1" => cookie1, "name2" => cookie2, ... }
743
- #
744
- def self.parse: (String raw_cookie) -> Hash[String, instance]
745
-
746
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
747
- # Domain for which this cookie applies, as a `String`
748
- #
749
- def domain: () -> String?
750
-
751
- # <!--
752
- # rdoc-file=lib/cgi/cookie.rb
753
- # - domain=(str)
754
- # -->
755
- # Set domain for which this cookie applies
756
- #
757
- def domain=: (String domain) -> String
758
-
759
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
760
- # Time at which this cookie expires, as a `Time`
761
- #
762
- def expires: () -> Time?
763
-
764
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
765
- # Time at which this cookie expires, as a `Time`
766
- #
767
- def expires=: (Time time) -> Time
768
-
769
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
770
- # True if this cookie is httponly; false otherwise
771
- #
772
- def httponly: () -> bool
773
-
774
- # <!--
775
- # rdoc-file=lib/cgi/cookie.rb
776
- # - httponly=(val)
777
- # -->
778
- # Set whether the Cookie is a httponly cookie or not.
779
- #
780
- # `val` must be a boolean.
781
- #
782
- def httponly=: (boolish val) -> bool
783
-
784
- # <!--
785
- # rdoc-file=lib/cgi/cookie.rb
786
- # - inspect()
787
- # -->
788
- # A summary of cookie string.
789
- #
790
- def inspect: () -> String
791
-
792
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
793
- # Name of this cookie, as a `String`
794
- #
795
- def name: () -> String
796
-
797
- # <!--
798
- # rdoc-file=lib/cgi/cookie.rb
799
- # - name=(str)
800
- # -->
801
- # Set name of this cookie
802
- #
803
- def name=: (String name) -> String
804
-
805
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
806
- # Path for which this cookie applies, as a `String`
807
- #
808
- def path: () -> String?
809
-
810
- # <!--
811
- # rdoc-file=lib/cgi/cookie.rb
812
- # - path=(str)
813
- # -->
814
- # Set path for which this cookie applies
815
- #
816
- def path=: (String path) -> String
817
-
818
- # <!-- rdoc-file=lib/cgi/cookie.rb -->
819
- # True if this cookie is secure; false otherwise
820
- #
821
- def secure: () -> bool
822
-
823
- # <!--
824
- # rdoc-file=lib/cgi/cookie.rb
825
- # - secure=(val)
826
- # -->
827
- # Set whether the Cookie is a secure cookie or not.
828
- #
829
- # `val` must be a boolean.
830
- #
831
- def secure=: [A] (boolish val) -> A
832
-
833
- # <!--
834
- # rdoc-file=lib/cgi/cookie.rb
835
- # - to_s()
836
- # -->
837
- # Convert the Cookie to its string representation.
838
- #
839
- def to_s: () -> String
840
-
841
- # <!--
842
- # rdoc-file=lib/cgi/cookie.rb
843
- # - value()
844
- # -->
845
- # Returns the value or list of values for this cookie.
846
- #
847
- def value: () -> Array[String]
848
-
849
- # <!--
850
- # rdoc-file=lib/cgi/cookie.rb
851
- # - value=(val)
852
- # -->
853
- # Replaces the value of this cookie with a new value or list of values.
854
- #
855
- def value=: (String val) -> String
856
- | (Array[String] val) -> Array[String]
857
-
858
- private
859
-
860
- # <!--
861
- # rdoc-file=lib/cgi/cookie.rb
862
- # - Cookie.new(name_string,*value)
863
- # - Cookie.new(options_hash)
864
- # -->
865
- # Create a new CGI::Cookie object.
866
- #
867
- # `name_string`
868
- # : The name of the cookie; in this form, there is no #domain or #expiration.
869
- # The #path is gleaned from the `SCRIPT_NAME` environment variable, and
870
- # #secure is false.
871
- #
872
- # `*value`
873
- # : value or list of values of the cookie
874
- #
875
- # `options_hash`
876
- # : A Hash of options to initialize this Cookie. Possible options are:
877
- #
878
- # name
879
- # : the name of the cookie. Required.
880
- #
881
- # value
882
- # : the cookie's value or list of values.
883
- #
884
- # path
885
- # : the path for which this cookie applies. Defaults to the value of the
886
- # `SCRIPT_NAME` environment variable.
887
- #
888
- # domain
889
- # : the domain for which this cookie applies.
890
- #
891
- # expires
892
- # : the time at which this cookie expires, as a `Time` object.
893
- #
894
- # secure
895
- # : whether this cookie is a secure cookie or not (default to false).
896
- # Secure cookies are only transmitted to HTTPS servers.
897
- #
898
- # httponly
899
- # : whether this cookie is a HttpOnly cookie or not (default to
900
- #
901
- # false). HttpOnly cookies are not available to javascript.
902
- #
903
- # These keywords correspond to attributes of the cookie object.
904
- #
905
- def initialize: (String name_string, *String value) -> void
906
- | (Hash[String, untyped] options_hash) -> void
907
- end
908
-
909
- module Escape
910
- # <!--
911
- # rdoc-file=ext/cgi/escape/escape.c
912
- # - CGI.escape(string) -> string
913
- # -->
914
- # Returns URL-escaped string (`application/x-www-form-urlencoded`).
915
- #
916
- def escape: (string str) -> String
917
-
918
- # <!--
919
- # rdoc-file=ext/cgi/escape/escape.c
920
- # - CGI.escapeHTML(string) -> string
921
- # -->
922
- # Returns HTML-escaped string.
923
- #
924
- def escapeHTML: (string str) -> String
925
-
926
- # <!--
927
- # rdoc-file=ext/cgi/escape/escape.c
928
- # - CGI.escapeURIComponent(string) -> string
929
- # -->
930
- # Returns URL-escaped string following RFC 3986.
931
- #
932
- def escapeURIComponent: (string) -> String
933
-
934
- # <!--
935
- # rdoc-file=ext/cgi/escape/escape.c
936
- # - CGI.unescape(string, encoding=@@accept_charset) -> string
937
- # -->
938
- # Returns URL-unescaped string (`application/x-www-form-urlencoded`).
939
- #
940
- def unescape: (string str, ?encoding encoding) -> String
941
-
942
- # <!--
943
- # rdoc-file=ext/cgi/escape/escape.c
944
- # - CGI.unescapeHTML(string) -> string
945
- # -->
946
- # Returns HTML-unescaped string.
947
- #
948
- def unescapeHTML: (string str) -> String
949
-
950
- # <!--
951
- # rdoc-file=ext/cgi/escape/escape.c
952
- # - CGI.unescapeURIComponent(string, encoding=@@accept_charset) -> string
953
- # -->
954
- # Returns URL-unescaped string following RFC 3986.
955
- #
956
- def unescapeURIComponent: (string) -> String
957
- end
958
-
959
- # <!-- rdoc-file=lib/cgi/core.rb -->
960
- # Exception raised when there is an invalid encoding detected
961
- #
962
- class InvalidEncoding < Exception
963
- end
964
-
965
- # <!-- rdoc-file=lib/cgi/core.rb -->
966
- # Mixin module that provides the following:
967
- #
968
- # 1. Access to the CGI environment variables as methods. See documentation to
969
- # the CGI class for a list of these variables. The methods are exposed by
970
- # removing the leading `HTTP_` (if it exists) and downcasing the name. For
971
- # example, `auth_type` will return the environment variable `AUTH_TYPE`, and
972
- # `accept` will return the value for `HTTP_ACCEPT`.
973
- #
974
- # 2. Access to cookies, including the cookies attribute.
975
- #
976
- # 3. Access to parameters, including the params attribute, and overloading #[]
977
- # to perform parameter value lookup by key.
978
- #
979
- # 4. The initialize_query method, for initializing the above mechanisms,
980
- # handling multipart forms, and allowing the class to be used in "offline"
981
- # mode.
982
- #
983
- module QueryExtension
984
- # <!--
985
- # rdoc-file=lib/cgi/core.rb
986
- # - [](key)
987
- # -->
988
- # Get the value for the parameter with a given key.
989
- #
990
- # If the parameter has multiple values, only the first will be retrieved; use
991
- # #params to get the array of values.
992
- #
993
- def []: (String key) -> String?
994
-
995
- def accept: () -> String?
996
-
997
- def accept_charset: () -> String?
998
-
999
- def accept_encoding: () -> String?
1000
-
1001
- def accept_language: () -> String?
1002
-
1003
- def auth_type: () -> String?
1004
-
1005
- def cache_control: () -> String?
1006
-
1007
- def content_length: () -> String?
1008
-
1009
- def content_type: () -> String?
1010
-
1011
- # <!-- rdoc-file=lib/cgi/core.rb -->
1012
- # Get the cookies as a hash of cookie-name=>Cookie pairs.
1013
- #
1014
- def cookies: () -> Hash[String, Cookie]
1015
-
1016
- # <!-- rdoc-file=lib/cgi/core.rb -->
1017
- # Get the cookies as a hash of cookie-name=>Cookie pairs.
1018
- #
1019
- def cookies=: (Hash[String, Cookie] cookies) -> Hash[String, Cookie]
1020
-
1021
- def create_body: (boolish is_large) -> (Tempfile | StringIO)
1022
-
1023
- # <!-- rdoc-file=lib/cgi/core.rb -->
1024
- # Get the uploaded files as a hash of name=>values pairs
1025
- #
1026
- def files: () -> Hash[String, Tempfile | StringIO]
1027
-
1028
- def from: () -> String?
1029
-
1030
- def gateway_interface: () -> String?
1031
-
1032
- # <!--
1033
- # rdoc-file=lib/cgi/core.rb
1034
- # - has_key?(*args)
1035
- # -->
1036
- # Returns true if a given query string parameter exists.
1037
- #
1038
- def has_key?: (String key) -> bool
1039
-
1040
- def host: () -> String?
1041
-
1042
- # <!--
1043
- # rdoc-file=lib/cgi/core.rb
1044
- # - include?(*args)
1045
- # -->
1046
- #
1047
- alias include? has_key?
1048
-
1049
- # <!--
1050
- # rdoc-file=lib/cgi/core.rb
1051
- # - key?(*args)
1052
- # -->
1053
- #
1054
- alias key? has_key?
1055
-
1056
- # <!--
1057
- # rdoc-file=lib/cgi/core.rb
1058
- # - keys(*args)
1059
- # -->
1060
- # Return all query parameter names as an array of String.
1061
- #
1062
- def keys: () -> Array[String]
1063
-
1064
- # <!--
1065
- # rdoc-file=lib/cgi/core.rb
1066
- # - multipart?()
1067
- # -->
1068
- # Returns whether the form contained multipart/form-data
1069
- #
1070
- def multipart?: () -> bool
1071
-
1072
- def negotiate: () -> String?
1073
-
1074
- # <!-- rdoc-file=lib/cgi/core.rb -->
1075
- # Get the parameters as a hash of name=>values pairs, where values is an Array.
1076
- #
1077
- def params: () -> Hash[String, Array[String] | Tempfile | StringIO]
1078
-
1079
- # <!--
1080
- # rdoc-file=lib/cgi/core.rb
1081
- # - params=(hash)
1082
- # -->
1083
- # Set all the parameters.
1084
- #
1085
- def params=: (Hash[String, Array[String] | Tempfile | StringIO] hash) -> Hash[String, Array[String] | Tempfile | StringIO]
1086
-
1087
- def path_info: () -> String?
1088
-
1089
- def path_translated: () -> String?
1090
-
1091
- def pragma: () -> String?
1092
-
1093
- def query_string: () -> String?
1094
-
1095
- # <!--
1096
- # rdoc-file=lib/cgi/core.rb
1097
- # - raw_cookie()
1098
- # -->
1099
- # Get the raw cookies as a string.
1100
- #
1101
- def raw_cookie: () -> String?
1102
-
1103
- # <!--
1104
- # rdoc-file=lib/cgi/core.rb
1105
- # - raw_cookie2()
1106
- # -->
1107
- # Get the raw RFC2965 cookies as a string.
1108
- #
1109
- def raw_cookie2: () -> String?
1110
-
1111
- def referer: () -> String?
1112
-
1113
- def remote_addr: () -> String?
1114
-
1115
- def remote_host: () -> String?
1116
-
1117
- def remote_ident: () -> String?
1118
-
1119
- def remote_user: () -> String?
1120
-
1121
- def request_method: () -> String?
1122
-
1123
- def script_name: () -> String?
1124
-
1125
- def server_name: () -> String?
1126
-
1127
- def server_port: () -> String?
1128
-
1129
- def server_protocol: () -> String?
1130
-
1131
- def server_software: () -> String?
1132
-
1133
- def unescape_filename?: () -> bool
1134
-
1135
- def user_agent: () -> String?
1136
-
1137
- private
1138
-
1139
- # <!--
1140
- # rdoc-file=lib/cgi/core.rb
1141
- # - initialize_query()
1142
- # -->
1143
- # A wrapper class to use a StringIO object as the body and switch to a TempFile
1144
- # when the passed threshold is passed. Initialize the data from the query.
1145
- #
1146
- # Handles multipart forms (in particular, forms that involve file uploads).
1147
- # Reads query parameters in the @params field, and cookies into @cookies.
1148
- #
1149
- def initialize_query: () -> void
1150
-
1151
- # <!--
1152
- # rdoc-file=lib/cgi/core.rb
1153
- # - read_from_cmdline()
1154
- # -->
1155
- # offline mode. read name=value pairs on standard input.
1156
- #
1157
- def read_from_cmdline: () -> String
1158
-
1159
- # <!--
1160
- # rdoc-file=lib/cgi/core.rb
1161
- # - read_multipart(boundary, content_length)
1162
- # -->
1163
- # Parses multipart form elements according to
1164
- # http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2
1165
- #
1166
- # Returns a hash of multipart form parameters with bodies of type StringIO or
1167
- # Tempfile depending on whether the multipart form element exceeds 10 KB
1168
- #
1169
- # params[name => body]
1170
- #
1171
- def read_multipart: (String boundary, Integer content_length) -> (Tempfile | StringIO)
1172
- end
1173
-
1174
- module Util
1175
- include CGI::Escape
1176
-
1177
- # <!--
1178
- # rdoc-file=lib/cgi/util.rb
1179
- # - escapeElement(string, *elements)
1180
- # -->
1181
- # Escape only the tags of certain HTML elements in `string`.
1182
- #
1183
- # Takes an element or elements or array of elements. Each element is specified
1184
- # by the name of the element, without angle brackets. This matches both the
1185
- # start and the end tag of that element. The attribute list of the open tag will
1186
- # also be escaped (for instance, the double-quotes surrounding attribute
1187
- # values).
1188
- #
1189
- # print CGI.escapeElement('<BR><A HREF="url"></A>', "A", "IMG")
1190
- # # "<BR>&lt;A HREF=&quot;url&quot;&gt;&lt;/A&gt"
1191
- #
1192
- # print CGI.escapeElement('<BR><A HREF="url"></A>', ["A", "IMG"])
1193
- # # "<BR>&lt;A HREF=&quot;url&quot;&gt;&lt;/A&gt"
1194
- #
1195
- def escapeElement: (string string, *String | Array[String] elements) -> String
1196
-
1197
- # <!-- rdoc-file=lib/cgi/util.rb -->
1198
- # Synonym for CGI.escapeElement(str)
1199
- #
1200
- alias escape_element escapeElement
1201
-
1202
- # <!-- rdoc-file=lib/cgi/util.rb -->
1203
- # Synonym for CGI.escapeHTML(str)
1204
- #
1205
- alias escape_html escapeHTML
1206
-
1207
- # <!--
1208
- # rdoc-file=lib/cgi/util.rb
1209
- # - h(string)
1210
- # -->
1211
- #
1212
- alias h escapeHTML
1213
-
1214
- # <!--
1215
- # rdoc-file=lib/cgi/util.rb
1216
- # - pretty(string, shift = " ")
1217
- # -->
1218
- # Prettify (indent) an HTML string.
1219
- #
1220
- # `string` is the HTML string to indent. `shift` is the indentation unit to
1221
- # use; it defaults to two spaces.
1222
- #
1223
- # print CGI.pretty("<HTML><BODY></BODY></HTML>")
1224
- # # <HTML>
1225
- # # <BODY>
1226
- # # </BODY>
1227
- # # </HTML>
1228
- #
1229
- # print CGI.pretty("<HTML><BODY></BODY></HTML>", "\t")
1230
- # # <HTML>
1231
- # # <BODY>
1232
- # # </BODY>
1233
- # # </HTML>
1234
- #
1235
- def pretty: (string string, ?String shift) -> String
1236
-
1237
- # <!--
1238
- # rdoc-file=lib/cgi/util.rb
1239
- # - rfc1123_date(time)
1240
- # -->
1241
- # Format a `Time` object as a String using the format specified by RFC 1123.
1242
- #
1243
- # CGI.rfc1123_date(Time.now)
1244
- # # Sat, 01 Jan 2000 00:00:00 GMT
1245
- #
1246
- def rfc1123_date: (Time time) -> String
1247
-
1248
- # <!--
1249
- # rdoc-file=lib/cgi/util.rb
1250
- # - unescapeElement(string, *elements)
1251
- # -->
1252
- # Undo escaping such as that done by CGI.escapeElement()
1253
- #
1254
- # print CGI.unescapeElement(
1255
- # CGI.escapeHTML('<BR><A HREF="url"></A>'), "A", "IMG")
1256
- # # "&lt;BR&gt;<A HREF="url"></A>"
1257
- #
1258
- # print CGI.unescapeElement(
1259
- # CGI.escapeHTML('<BR><A HREF="url"></A>'), ["A", "IMG"])
1260
- # # "&lt;BR&gt;<A HREF="url"></A>"
1261
- #
1262
- def unescapeElement: (string string, *String | Array[String] elements) -> String
1263
-
1264
- # <!-- rdoc-file=lib/cgi/util.rb -->
1265
- # Synonym for CGI.unescapeElement(str)
1266
- #
1267
- alias unescape_element unescapeElement
1268
-
1269
- # <!-- rdoc-file=lib/cgi/util.rb -->
1270
- # Synonym for CGI.unescapeHTML(str)
1271
- #
1272
- alias unescape_html unescapeHTML
1273
-
1274
- # Abbreviated day-of-week names specified by RFC 822
1275
- RFC822_DAYS: Array[String]
1276
-
1277
- # Abbreviated month names specified by RFC 822
1278
- RFC822_MONTHS: Array[String]
1279
-
1280
- # <!-- rdoc-file=lib/cgi/util.rb -->
1281
- # The set of special characters and their escaped values
1282
- #
1283
- TABLE_FOR_ESCAPE_HTML__: Hash[String, String]
1284
- end
1285
- end