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

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 (235) hide show
  1. package/PRESTAGE.md +53 -16
  2. package/README.md +164 -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/bigdecimal-3.1.8.gem +0 -0
  17. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  18. package/lib/ruby/gems/3.4.0/cache/debug-1.11.0.gem +0 -0
  19. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  20. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  21. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  22. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  23. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  24. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  25. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  26. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  27. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  28. package/lib/ruby/gems/3.4.0/cache/nkf-0.2.0.gem +0 -0
  29. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  30. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  31. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  32. package/lib/ruby/gems/3.4.0/cache/racc-1.8.1.gem +0 -0
  33. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  34. package/lib/ruby/gems/3.4.0/cache/rbs-3.8.0.gem +0 -0
  35. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  36. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  37. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  38. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  39. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  40. package/lib/ruby/gems/3.4.0/cache/syslog-0.2.0.gem +0 -0
  41. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  42. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  43. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/bigdecimal-3.1.8/gem.build_complete +0 -0
  44. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/debug-1.11.0/gem.build_complete +0 -0
  45. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/nkf-0.2.0/gem.build_complete +0 -0
  46. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/racc-1.8.1/gem.build_complete +0 -0
  47. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/rbs-3.8.0/gem.build_complete +0 -0
  48. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/syslog-0.2.0/gem.build_complete +0 -0
  49. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  50. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  51. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bigdecimal.c +7794 -0
  52. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bigdecimal.h +313 -0
  53. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bits.h +141 -0
  54. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/extconf.rb +62 -0
  55. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/feature.h +68 -0
  56. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing/dtoa.c +3462 -0
  57. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing.c +27 -0
  58. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing.h +196 -0
  59. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/static_assert.h +54 -0
  60. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  61. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  62. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/debug.c +228 -0
  63. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/extconf.rb +27 -0
  64. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/iseq_collector.c +93 -0
  65. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  66. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  67. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  68. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  69. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -0
  70. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +0 -0
  71. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Command.java +58 -0
  72. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/CommandParser.java +70 -0
  73. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/NKFLibrary.java +13 -0
  74. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Option.java +80 -0
  75. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Options.java +109 -0
  76. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/RubyNKF.java +601 -0
  77. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/extconf.rb +3 -0
  78. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/config.h +51 -0
  79. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/nkf.c +7205 -0
  80. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/nkf.h +189 -0
  81. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/utf8tbl.c +14638 -0
  82. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/utf8tbl.h +72 -0
  83. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf.c +506 -0
  84. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  85. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  86. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +840 -0
  87. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +8 -0
  88. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/extconf.rb +14 -0
  89. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.c +2728 -0
  90. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.h +179 -0
  91. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.re +147 -0
  92. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexstate.c +175 -0
  93. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/location.c +303 -0
  94. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/location.h +84 -0
  95. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/main.c +12 -0
  96. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parser.c +2961 -0
  97. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parser.h +18 -0
  98. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parserstate.c +366 -0
  99. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parserstate.h +161 -0
  100. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/rbs_extension.h +31 -0
  101. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/unescape.c +32 -0
  102. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  103. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  104. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  105. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  106. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  107. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  108. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  109. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -0
  110. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -0
  111. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/extconf.rb +26 -0
  112. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/syslog.c +592 -0
  113. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/syslog.txt +124 -0
  114. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  115. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  116. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +20 -45
  117. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  118. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +26 -27
  119. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  120. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  121. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  122. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  123. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  124. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  125. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  126. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  127. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  128. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  129. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  130. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  131. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  132. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  133. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  134. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  135. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  136. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  137. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  138. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  139. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  140. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  141. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  142. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  143. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  144. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  145. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  146. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  147. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  148. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  149. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  150. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  151. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  152. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  153. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  154. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  155. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  156. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  157. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  158. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  159. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  160. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  161. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  162. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  163. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  164. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  165. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  166. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  167. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  168. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  169. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  170. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  171. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  172. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  173. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  174. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  175. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  176. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  177. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  178. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  179. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  180. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  181. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  182. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  183. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  184. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  185. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +22 -39
  186. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  187. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  188. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  189. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +5 -3
  190. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  191. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +25 -43
  192. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  193. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  194. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  195. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  196. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  197. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +21 -22
  198. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  199. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  200. package/package.json +64 -25
  201. package/lib/ruby/3.4.0/expect.rb +0 -71
  202. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  203. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  204. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  205. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  206. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  207. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  208. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  209. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  210. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  211. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  212. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  213. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  214. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  215. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  216. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  217. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  218. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  219. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  220. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  221. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  222. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  223. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  224. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  225. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  226. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  227. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  228. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  229. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  230. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  231. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  232. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  233. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  234. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  235. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
@@ -0,0 +1,164 @@
1
+ #!/usr/bin/env ruby
2
+ # Tiny eRuby --- ERB2
3
+ # Copyright (c) 1999-2000,2002 Masatoshi SEKI
4
+ # You can redistribute it and/or modify it under the same terms as Ruby.
5
+
6
+ require 'erb'
7
+
8
+ class ERB
9
+ module Main
10
+ def ARGV.switch
11
+ return nil if self.empty?
12
+ arg = self.shift
13
+ return nil if arg == '--'
14
+ case arg
15
+ when /\A-(.)(.*)/
16
+ if $1 == '-'
17
+ arg, @maybe_arg = arg.split(/=/, 2)
18
+ return arg
19
+ end
20
+ raise 'unknown switch "-"' if $2[0] == ?- and $1 != 'T'
21
+ if $2.size > 0
22
+ self.unshift "-#{$2}"
23
+ @maybe_arg = $2
24
+ else
25
+ @maybe_arg = nil
26
+ end
27
+ "-#{$1}"
28
+ when /\A(\w+)=/
29
+ arg
30
+ else
31
+ self.unshift arg
32
+ nil
33
+ end
34
+ end
35
+
36
+ def ARGV.req_arg
37
+ (@maybe_arg || self.shift || raise('missing argument')).tap {
38
+ @maybe_arg = nil
39
+ }
40
+ end
41
+
42
+ def trim_mode_opt(trim_mode, disable_percent)
43
+ return trim_mode if disable_percent
44
+ case trim_mode
45
+ when 0
46
+ return '%'
47
+ when 1
48
+ return '%>'
49
+ when 2
50
+ return '%<>'
51
+ when '-'
52
+ return '%-'
53
+ end
54
+ end
55
+ module_function :trim_mode_opt
56
+
57
+ def run(factory=ERB)
58
+ trim_mode = 0
59
+ disable_percent = false
60
+ variables = {}
61
+ begin
62
+ while switch = ARGV.switch
63
+ case switch
64
+ when '-x' # ruby source
65
+ output = true
66
+ when '-n' # line number
67
+ number = true
68
+ when '-v' # verbose
69
+ $VERBOSE = true
70
+ when '--version' # version
71
+ STDERR.puts factory.version
72
+ exit
73
+ when '-d', '--debug' # debug
74
+ $DEBUG = true
75
+ when '-r' # require
76
+ require ARGV.req_arg
77
+ when '-T' # trim mode
78
+ arg = ARGV.req_arg
79
+ if arg == '-'
80
+ trim_mode = arg
81
+ next
82
+ end
83
+ raise "invalid trim mode #{arg.dump}" unless arg =~ /\A[0-2]\z/
84
+ trim_mode = arg.to_i
85
+ when '-E', '--encoding'
86
+ arg = ARGV.req_arg
87
+ set_encoding(*arg.split(/:/, 2))
88
+ when '-U'
89
+ set_encoding(Encoding::UTF_8, Encoding::UTF_8)
90
+ when '-P'
91
+ disable_percent = true
92
+ when '--help'
93
+ raise "print this help"
94
+ when /\A-/
95
+ raise "unknown switch #{switch.dump}"
96
+ else
97
+ var, val = *switch.split('=', 2)
98
+ (variables ||= {})[var] = val
99
+ end
100
+ end
101
+ rescue # usage
102
+ STDERR.puts $!.to_s
103
+ STDERR.puts File.basename($0) +
104
+ " [switches] [var=value...] [inputfile]"
105
+ STDERR.puts <<EOU
106
+ -x print ruby script
107
+ -n print ruby script with line number
108
+ -v enable verbose mode
109
+ -d set $DEBUG to true
110
+ -r library load a library
111
+ -E ex[:in] set default external/internal encodings
112
+ -U set default encoding to UTF-8
113
+ -T trim_mode specify trim_mode (0..2, -)
114
+ -P disable ruby code evaluation for lines beginning with %
115
+ var=value set variable
116
+ EOU
117
+ exit 1
118
+ end
119
+
120
+ $<.set_encoding(Encoding::UTF_8, nil)
121
+ src = $<.read
122
+ filename = $FILENAME
123
+ exit 2 unless src
124
+ trim = trim_mode_opt(trim_mode, disable_percent)
125
+ erb = factory.new(src, trim_mode: trim)
126
+ erb.filename = filename
127
+ if output
128
+ if number
129
+ erb.src.each_line.with_index do |line, l|
130
+ puts "%3d %s"%[l+1, line]
131
+ end
132
+ else
133
+ puts erb.src
134
+ end
135
+ else
136
+ bind = TOPLEVEL_BINDING
137
+ if variables
138
+ enc = erb.encoding
139
+ for var, val in variables do
140
+ val = val.encode(enc) if val
141
+ bind.local_variable_set(var, val)
142
+ end
143
+ end
144
+ erb.run(bind)
145
+ end
146
+ end
147
+ module_function :run
148
+
149
+ def set_encoding(extern, intern = nil)
150
+ verbose, $VERBOSE = $VERBOSE, nil
151
+ Encoding.default_external = extern unless extern.nil? || extern == ""
152
+ Encoding.default_internal = intern unless intern.nil? || intern == ""
153
+ [$stdin, $stdout, $stderr].each do |io|
154
+ io.set_encoding(extern, intern)
155
+ end
156
+ ensure
157
+ $VERBOSE = verbose
158
+ end
159
+ module_function :set_encoding
160
+ class << self; private :set_encoding; end
161
+ end
162
+ end
163
+
164
+ ERB::Main.run
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # irb.rb - interactive ruby
4
+ # by Keiju ISHITSUKA(keiju@ruby-lang.org)
5
+ #
6
+
7
+ require "irb"
8
+
9
+ IRB.start(__FILE__)
File without changes
File without changes
@@ -0,0 +1,58 @@
1
+ /***** BEGIN LICENSE BLOCK *****
2
+ * Version: EPL 2.0/LGPL 2.1
3
+ *
4
+ * The contents of this file are subject to the Eclipse Public
5
+ * License Version 2.0 (the "License"); you may not use this file
6
+ * except in compliance with the License. You may obtain a copy of
7
+ * the License at http://www.eclipse.org/legal/epl-v20.html
8
+ *
9
+ * Software distributed under the License is distributed on an "AS
10
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
+ * implied. See the License for the specific language governing
12
+ * rights and limitations under the License.
13
+ *
14
+ * Copyright (C) 2011 Koichiro Ohba <koichiro@meadowy.org>
15
+ *
16
+ * Alternatively, the contents of this file may be used under the terms of
17
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
18
+ * in which case the provisions of the LGPL are applicable instead
19
+ * of those above. If you wish to allow use of your version of this file only
20
+ * under the terms of either the LGPL, and not to allow others to
21
+ * use your version of this file under the terms of the EPL, indicate your
22
+ * decision by deleting the provisions above and replace them with the notice
23
+ * and other provisions required by the LGPL. If you do not delete
24
+ * the provisions above, a recipient may use your version of this file under
25
+ * the terms of any one of the EPL, the LGPL.
26
+ ***** END LICENSE BLOCK *****/
27
+
28
+ package org.jruby.ext.nkf;
29
+
30
+ import java.util.List;
31
+ import java.util.ArrayList;
32
+
33
+ public class Command {
34
+ private final List<Option> options = new ArrayList<Option>();
35
+ public boolean hasOption(String opt) {
36
+ for (Option option : options) {
37
+ if (opt.equals(option.getOpt())) return true;
38
+ if (opt.equals(option.getLongOpt())) return true;
39
+ }
40
+ return false;
41
+ }
42
+ public void addOption(Option opt) {
43
+ options.add(opt);
44
+ }
45
+ public Option getOption(String opt) {
46
+ for (Option option : options) {
47
+ if (opt.equals(option.getOpt())) return option;
48
+ if (opt.equals(option.getLongOpt())) return option;
49
+ }
50
+ return null;
51
+ }
52
+ public String getOptionValue(String opt) {
53
+ return getOption(opt).getValue();
54
+ }
55
+ public String toString() {
56
+ return options.toString();
57
+ }
58
+ }
@@ -0,0 +1,70 @@
1
+ /***** BEGIN LICENSE BLOCK *****
2
+ * Version: EPL 2.0/LGPL 2.1
3
+ *
4
+ * The contents of this file are subject to the Eclipse Public
5
+ * License Version 2.0 (the "License"); you may not use this file
6
+ * except in compliance with the License. You may obtain a copy of
7
+ * the License at http://www.eclipse.org/legal/epl-v20.html
8
+ *
9
+ * Software distributed under the License is distributed on an "AS
10
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
+ * implied. See the License for the specific language governing
12
+ * rights and limitations under the License.
13
+ *
14
+ * Copyright (C) 2011 Koichiro Ohba <koichiro@meadowy.org>
15
+ *
16
+ * Alternatively, the contents of this file may be used under the terms of
17
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
18
+ * in which case the provisions of the LGPL are applicable instead
19
+ * of those above. If you wish to allow use of your version of this file only
20
+ * under the terms of either the LGPL, and not to allow others to
21
+ * use your version of this file under the terms of the EPL, indicate your
22
+ * decision by deleting the provisions above and replace them with the notice
23
+ * and other provisions required by the LGPL. If you do not delete
24
+ * the provisions above, a recipient may use your version of this file under
25
+ * the terms of any one of the EPL, the LGPL.
26
+ ***** END LICENSE BLOCK *****/
27
+
28
+ package org.jruby.ext.nkf;
29
+
30
+ public class CommandParser {
31
+ public Command parse(Options opt, String args) {
32
+ Command cc = new Command();
33
+ String[] tokens = args.split("\\s");
34
+ for (int i = 0; i < tokens.length; i++) {
35
+ // long option
36
+ if (tokens[i].startsWith("--")) {
37
+ String s = stripDash(tokens[i]);
38
+ if (opt.hasLongOption(s)) {
39
+ cc.addOption(opt.matchLongOption(s));
40
+ }
41
+ } else {
42
+ // short option
43
+ String s = stripDash(tokens[i]);
44
+ int max = s.length();
45
+ for (int j = 0; j < max; j++) {
46
+ if (opt.hasShortOption(s)) {
47
+ Option cmd = opt.matchShortOption(s);
48
+ if (cmd.getValue() != null) {
49
+ int op_len = cmd.getValue().length();
50
+ s = s.substring(op_len);
51
+ j = j + op_len;
52
+ }
53
+ cc.addOption(cmd);
54
+ }
55
+ s = s.substring(1);
56
+ }
57
+ }
58
+ }
59
+ return cc;
60
+ }
61
+ private String stripDash(String s) {
62
+ if (s.startsWith("--")) {
63
+ return s.substring(2, s.length());
64
+ } else if (s.startsWith("-")) {
65
+ return s.substring(1, s.length());
66
+ } else {
67
+ return s;
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,13 @@
1
+ package org.jruby.ext.nkf;
2
+
3
+ import org.jruby.Ruby;
4
+ import org.jruby.runtime.load.Library;
5
+
6
+ import java.io.IOException;
7
+
8
+ public class NKFLibrary implements Library {
9
+ @Override
10
+ public void load(Ruby ruby, boolean b) throws IOException {
11
+ RubyNKF.load(ruby);
12
+ }
13
+ }
@@ -0,0 +1,80 @@
1
+ /***** BEGIN LICENSE BLOCK *****
2
+ * Version: EPL 2.0/LGPL 2.1
3
+ *
4
+ * The contents of this file are subject to the Eclipse Public
5
+ * License Version 2.0 (the "License"); you may not use this file
6
+ * except in compliance with the License. You may obtain a copy of
7
+ * the License at http://www.eclipse.org/legal/epl-v20.html
8
+ *
9
+ * Software distributed under the License is distributed on an "AS
10
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
+ * implied. See the License for the specific language governing
12
+ * rights and limitations under the License.
13
+ *
14
+ * Copyright (C) 2011 Koichiro Ohba <koichiro@meadowy.org>
15
+ *
16
+ * Alternatively, the contents of this file may be used under the terms of
17
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
18
+ * in which case the provisions of the LGPL are applicable instead
19
+ * of those above. If you wish to allow use of your version of this file only
20
+ * under the terms of either the LGPL, and not to allow others to
21
+ * use your version of this file under the terms of the EPL, indicate your
22
+ * decision by deleting the provisions above and replace them with the notice
23
+ * and other provisions required by the LGPL. If you do not delete
24
+ * the provisions above, a recipient may use your version of this file under
25
+ * the terms of any one of the EPL, the LGPL.
26
+ ***** END LICENSE BLOCK *****/
27
+
28
+ package org.jruby.ext.nkf;
29
+
30
+ import java.util.regex.Pattern;
31
+
32
+ public class Option {
33
+ private final String opt;
34
+ private final String longOpt;
35
+ private boolean hasArg = false;
36
+ private String value = null;
37
+ private Pattern pattern;
38
+
39
+ public Option(String opt, String longOpt, String pattern) {
40
+ this.opt = opt;
41
+ this.longOpt = longOpt;
42
+ if (pattern != null) {
43
+ this.hasArg = true;
44
+ this.pattern = Pattern.compile(pattern);
45
+ }
46
+ }
47
+ String getOpt() { return opt; }
48
+ String getLongOpt() { return longOpt; }
49
+ boolean hasShortOpt() {
50
+ return opt != null;
51
+ }
52
+ boolean hasLongOpt() {
53
+ return longOpt != null;
54
+ }
55
+ boolean hasArg() {
56
+ return hasArg;
57
+ }
58
+ public String getValue() {
59
+ return value;
60
+ }
61
+ void setValue(String v) {
62
+ value = v;
63
+ }
64
+ String getKey() {
65
+ if (opt == null)
66
+ return longOpt;
67
+ else
68
+ return opt;
69
+ }
70
+ Pattern pattern() {
71
+ return pattern;
72
+ }
73
+ public String toString() {
74
+ return "[opt: " + opt
75
+ + " longOpt: " + longOpt
76
+ + " hasArg: " + hasArg
77
+ + " pattern: " + pattern
78
+ + " value: " + value + "]";
79
+ }
80
+ }
@@ -0,0 +1,109 @@
1
+ /***** BEGIN LICENSE BLOCK *****
2
+ * Version: EPL 2.0/LGPL 2.1
3
+ *
4
+ * The contents of this file are subject to the Eclipse Public
5
+ * License Version 2.0 (the "License"); you may not use this file
6
+ * except in compliance with the License. You may obtain a copy of
7
+ * the License at http://www.eclipse.org/legal/epl-v20.html
8
+ *
9
+ * Software distributed under the License is distributed on an "AS
10
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
+ * implied. See the License for the specific language governing
12
+ * rights and limitations under the License.
13
+ *
14
+ * Copyright (C) 2011 Koichiro Ohba <koichiro@meadowy.org>
15
+ *
16
+ * Alternatively, the contents of this file may be used under the terms of
17
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
18
+ * in which case the provisions of the LGPL are applicable instead
19
+ * of those above. If you wish to allow use of your version of this file only
20
+ * under the terms of either the LGPL, and not to allow others to
21
+ * use your version of this file under the terms of the EPL, indicate your
22
+ * decision by deleting the provisions above and replace them with the notice
23
+ * and other provisions required by the LGPL. If you do not delete
24
+ * the provisions above, a recipient may use your version of this file under
25
+ * the terms of any one of the EPL, the LGPL.
26
+ ***** END LICENSE BLOCK *****/
27
+
28
+ package org.jruby.ext.nkf;
29
+
30
+ import java.util.Map;
31
+ import java.util.LinkedHashMap;
32
+ import java.util.regex.Matcher;
33
+
34
+ public class Options {
35
+ private final Map<String, Option> shortOpts = new LinkedHashMap<String, Option>();
36
+ private final Map<String, Option> longOpts = new LinkedHashMap<String, Option>();
37
+
38
+ public Options addOption(String opt) {
39
+ return addOption(opt, null);
40
+ }
41
+ public Options addOption(String opt, String longOpt) {
42
+ return addOption(opt, longOpt, null);
43
+ }
44
+ public Options addOption(String opt, String longOpt, String pattern) {
45
+ return addOption(new Option(opt, longOpt, pattern));
46
+ }
47
+ public Options addOption(Option opt) {
48
+ if (opt.hasLongOpt()) {
49
+ longOpts.put(opt.getLongOpt(), opt);
50
+ }
51
+ if (opt.hasShortOpt()) {
52
+ shortOpts.put(opt.getOpt(), opt);
53
+ }
54
+ return this;
55
+ }
56
+ boolean hasShortOption(String opt) {
57
+ for (Map.Entry<String , Option> e : shortOpts.entrySet()) {
58
+ if (opt.startsWith(e.getKey())) {
59
+ return true;
60
+ }
61
+ }
62
+ return false;
63
+ }
64
+ public Option matchShortOption(String opt) {
65
+ // independent of opt length
66
+ for (Map.Entry<String , Option> e : shortOpts.entrySet()) {
67
+ //System.out.println(opt + " = " + e.getKey());
68
+ if (opt.startsWith(e.getKey())) {
69
+ //System.out.println("match[" + e.getKey() + "]");
70
+ Option cmd = e.getValue();
71
+ if (cmd.hasArg()) {
72
+ Matcher m = cmd.pattern().matcher(opt);
73
+ if (m.find()) {
74
+ //System.out.println("regix[" + m.group() + "]");
75
+ cmd.setValue(m.group());
76
+ }
77
+ }
78
+ return cmd;
79
+ }
80
+ }
81
+ return null;
82
+ }
83
+ boolean hasLongOption(String opt) {
84
+ for (Map.Entry<String , Option> e : longOpts.entrySet()) {
85
+ if (opt.startsWith(e.getKey())) {
86
+ return true;
87
+ }
88
+ }
89
+ return false;
90
+ }
91
+ Option matchLongOption(String opt) {
92
+ for (Map.Entry<String , Option> e : longOpts.entrySet()) {
93
+ //System.out.println(opt + " = " + e.getKey());
94
+ if (opt.startsWith(e.getKey())) {
95
+ //System.out.println("match[" + e.getKey() + "]");
96
+ Option cmd = e.getValue();
97
+ if (cmd.hasArg()) {
98
+ Matcher m = cmd.pattern().matcher(opt);
99
+ if (m.find()) {
100
+ //System.out.println("regix[" + m.group() + "]");
101
+ cmd.setValue(m.group(1));
102
+ }
103
+ }
104
+ return cmd;
105
+ }
106
+ }
107
+ return null;
108
+ }
109
+ }