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

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 (1832) hide show
  1. package/PRESTAGE.md +38 -6
  2. package/bin/ruby +1 -0
  3. package/bin/ruby.wasm +0 -0
  4. package/lib/ruby/3.4.0/socket.rb +1790 -0
  5. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +5 -5
  6. package/lib/ruby/3.4.11/English.gemspec +22 -0
  7. package/lib/ruby/3.4.11/English.rb +164 -0
  8. package/lib/ruby/3.4.11/benchmark.gemspec +32 -0
  9. package/lib/ruby/3.4.11/benchmark.rb +594 -0
  10. package/lib/ruby/3.4.11/bundled_gems.rb +248 -0
  11. package/lib/ruby/3.4.11/bundler/.document +1 -0
  12. package/lib/ruby/3.4.11/bundler/build_metadata.rb +43 -0
  13. package/lib/ruby/3.4.11/bundler/bundler.gemspec +45 -0
  14. package/lib/ruby/3.4.11/bundler/capistrano.rb +22 -0
  15. package/lib/ruby/3.4.11/bundler/checksum.rb +264 -0
  16. package/lib/ruby/3.4.11/bundler/ci_detector.rb +75 -0
  17. package/lib/ruby/3.4.11/bundler/cli/add.rb +49 -0
  18. package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +57 -0
  19. package/lib/ruby/3.4.11/bundler/cli/cache.rb +43 -0
  20. package/lib/ruby/3.4.11/bundler/cli/check.rb +40 -0
  21. package/lib/ruby/3.4.11/bundler/cli/clean.rb +25 -0
  22. package/lib/ruby/3.4.11/bundler/cli/common.rb +138 -0
  23. package/lib/ruby/3.4.11/bundler/cli/config.rb +204 -0
  24. package/lib/ruby/3.4.11/bundler/cli/console.rb +42 -0
  25. package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +167 -0
  26. package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +249 -0
  27. package/lib/ruby/3.4.11/bundler/cli/doctor.rb +33 -0
  28. package/lib/ruby/3.4.11/bundler/cli/exec.rb +89 -0
  29. package/lib/ruby/3.4.11/bundler/cli/fund.rb +36 -0
  30. package/lib/ruby/3.4.11/bundler/cli/gem.rb +467 -0
  31. package/lib/ruby/3.4.11/bundler/cli/info.rb +83 -0
  32. package/lib/ruby/3.4.11/bundler/cli/init.rb +51 -0
  33. package/lib/ruby/3.4.11/bundler/cli/inject.rb +60 -0
  34. package/lib/ruby/3.4.11/bundler/cli/install.rb +199 -0
  35. package/lib/ruby/3.4.11/bundler/cli/issue.rb +41 -0
  36. package/lib/ruby/3.4.11/bundler/cli/list.rb +66 -0
  37. package/lib/ruby/3.4.11/bundler/cli/lock.rb +94 -0
  38. package/lib/ruby/3.4.11/bundler/cli/open.rb +29 -0
  39. package/lib/ruby/3.4.11/bundler/cli/outdated.rb +297 -0
  40. package/lib/ruby/3.4.11/bundler/cli/platform.rb +48 -0
  41. package/lib/ruby/3.4.11/bundler/cli/plugin.rb +35 -0
  42. package/lib/ruby/3.4.11/bundler/cli/pristine.rb +60 -0
  43. package/lib/ruby/3.4.11/bundler/cli/remove.rb +17 -0
  44. package/lib/ruby/3.4.11/bundler/cli/show.rb +75 -0
  45. package/lib/ruby/3.4.11/bundler/cli/update.rb +123 -0
  46. package/lib/ruby/3.4.11/bundler/cli/viz.rb +31 -0
  47. package/lib/ruby/3.4.11/bundler/cli.rb +790 -0
  48. package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +96 -0
  49. package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +148 -0
  50. package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +84 -0
  51. package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +105 -0
  52. package/lib/ruby/3.4.11/bundler/compact_index_client.rb +97 -0
  53. package/lib/ruby/3.4.11/bundler/constants.rb +14 -0
  54. package/lib/ruby/3.4.11/bundler/current_ruby.rb +82 -0
  55. package/lib/ruby/3.4.11/bundler/definition.rb +1187 -0
  56. package/lib/ruby/3.4.11/bundler/dependency.rb +151 -0
  57. package/lib/ruby/3.4.11/bundler/deployment.rb +69 -0
  58. package/lib/ruby/3.4.11/bundler/deprecate.rb +44 -0
  59. package/lib/ruby/3.4.11/bundler/digest.rb +71 -0
  60. package/lib/ruby/3.4.11/bundler/dsl.rb +638 -0
  61. package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +174 -0
  62. package/lib/ruby/3.4.11/bundler/env.rb +148 -0
  63. package/lib/ruby/3.4.11/bundler/environment_preserver.rb +68 -0
  64. package/lib/ruby/3.4.11/bundler/errors.rb +281 -0
  65. package/lib/ruby/3.4.11/bundler/feature_flag.rb +50 -0
  66. package/lib/ruby/3.4.11/bundler/fetcher/base.rb +52 -0
  67. package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +120 -0
  68. package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +78 -0
  69. package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +91 -0
  70. package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +16 -0
  71. package/lib/ruby/3.4.11/bundler/fetcher/index.rb +25 -0
  72. package/lib/ruby/3.4.11/bundler/fetcher.rb +331 -0
  73. package/lib/ruby/3.4.11/bundler/force_platform.rb +16 -0
  74. package/lib/ruby/3.4.11/bundler/friendly_errors.rb +126 -0
  75. package/lib/ruby/3.4.11/bundler/gem_helper.rb +237 -0
  76. package/lib/ruby/3.4.11/bundler/gem_helpers.rb +144 -0
  77. package/lib/ruby/3.4.11/bundler/gem_tasks.rb +7 -0
  78. package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +147 -0
  79. package/lib/ruby/3.4.11/bundler/graph.rb +152 -0
  80. package/lib/ruby/3.4.11/bundler/index.rb +205 -0
  81. package/lib/ruby/3.4.11/bundler/injector.rb +285 -0
  82. package/lib/ruby/3.4.11/bundler/inline.rb +98 -0
  83. package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +85 -0
  84. package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +203 -0
  85. package/lib/ruby/3.4.11/bundler/installer/standalone.rb +113 -0
  86. package/lib/ruby/3.4.11/bundler/installer.rb +243 -0
  87. package/lib/ruby/3.4.11/bundler/lazy_specification.rb +243 -0
  88. package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +104 -0
  89. package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +300 -0
  90. package/lib/ruby/3.4.11/bundler/man/.document +1 -0
  91. package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +76 -0
  92. package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +87 -0
  93. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +33 -0
  94. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +44 -0
  95. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +68 -0
  96. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +108 -0
  97. package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +24 -0
  98. package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +31 -0
  99. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +17 -0
  100. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +18 -0
  101. package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +317 -0
  102. package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +408 -0
  103. package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +33 -0
  104. package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +39 -0
  105. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +30 -0
  106. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +33 -0
  107. package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +9 -0
  108. package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +10 -0
  109. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +107 -0
  110. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +154 -0
  111. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +22 -0
  112. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +25 -0
  113. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +87 -0
  114. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +149 -0
  115. package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +9 -0
  116. package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +12 -0
  117. package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +17 -0
  118. package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +21 -0
  119. package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +20 -0
  120. package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +32 -0
  121. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +31 -0
  122. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +32 -0
  123. package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +218 -0
  124. package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +387 -0
  125. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +45 -0
  126. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +37 -0
  127. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +9 -0
  128. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +10 -0
  129. package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +35 -0
  130. package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +36 -0
  131. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +75 -0
  132. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +115 -0
  133. package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +32 -0
  134. package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +28 -0
  135. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +103 -0
  136. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +110 -0
  137. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +49 -0
  138. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +49 -0
  139. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +58 -0
  140. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +63 -0
  141. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +23 -0
  142. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +34 -0
  143. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +21 -0
  144. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +23 -0
  145. package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +19 -0
  146. package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +25 -0
  147. package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +281 -0
  148. package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +359 -0
  149. package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +22 -0
  150. package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +24 -0
  151. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +30 -0
  152. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +36 -0
  153. package/lib/ruby/3.4.11/bundler/man/bundle.1 +102 -0
  154. package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +116 -0
  155. package/lib/ruby/3.4.11/bundler/man/gemfile.5 +472 -0
  156. package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +558 -0
  157. package/lib/ruby/3.4.11/bundler/man/index.txt +33 -0
  158. package/lib/ruby/3.4.11/bundler/match_metadata.rb +30 -0
  159. package/lib/ruby/3.4.11/bundler/match_platform.rb +23 -0
  160. package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +29 -0
  161. package/lib/ruby/3.4.11/bundler/materialization.rb +59 -0
  162. package/lib/ruby/3.4.11/bundler/mirror.rb +221 -0
  163. package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +322 -0
  164. package/lib/ruby/3.4.11/bundler/plugin/api.rb +81 -0
  165. package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +53 -0
  166. package/lib/ruby/3.4.11/bundler/plugin/events.rb +85 -0
  167. package/lib/ruby/3.4.11/bundler/plugin/index.rb +197 -0
  168. package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +34 -0
  169. package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +26 -0
  170. package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +19 -0
  171. package/lib/ruby/3.4.11/bundler/plugin/installer.rb +132 -0
  172. package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +31 -0
  173. package/lib/ruby/3.4.11/bundler/plugin.rb +378 -0
  174. package/lib/ruby/3.4.11/bundler/process_lock.rb +20 -0
  175. package/lib/ruby/3.4.11/bundler/remote_specification.rb +126 -0
  176. package/lib/ruby/3.4.11/bundler/resolver/base.rb +118 -0
  177. package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +85 -0
  178. package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +15 -0
  179. package/lib/ruby/3.4.11/bundler/resolver/package.rb +94 -0
  180. package/lib/ruby/3.4.11/bundler/resolver/root.rb +25 -0
  181. package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +74 -0
  182. package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +40 -0
  183. package/lib/ruby/3.4.11/bundler/resolver.rb +526 -0
  184. package/lib/ruby/3.4.11/bundler/retry.rb +66 -0
  185. package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +62 -0
  186. package/lib/ruby/3.4.11/bundler/ruby_version.rb +137 -0
  187. package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +485 -0
  188. package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +172 -0
  189. package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +455 -0
  190. package/lib/ruby/3.4.11/bundler/runtime.rb +320 -0
  191. package/lib/ruby/3.4.11/bundler/safe_marshal.rb +31 -0
  192. package/lib/ruby/3.4.11/bundler/self_manager.rb +206 -0
  193. package/lib/ruby/3.4.11/bundler/settings/validator.rb +102 -0
  194. package/lib/ruby/3.4.11/bundler/settings.rb +599 -0
  195. package/lib/ruby/3.4.11/bundler/setup.rb +39 -0
  196. package/lib/ruby/3.4.11/bundler/shared_helpers.rb +398 -0
  197. package/lib/ruby/3.4.11/bundler/similarity_detector.rb +63 -0
  198. package/lib/ruby/3.4.11/bundler/source/gemspec.rb +15 -0
  199. package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +472 -0
  200. package/lib/ruby/3.4.11/bundler/source/git.rb +452 -0
  201. package/lib/ruby/3.4.11/bundler/source/metadata.rb +63 -0
  202. package/lib/ruby/3.4.11/bundler/source/path/installer.rb +53 -0
  203. package/lib/ruby/3.4.11/bundler/source/path.rb +250 -0
  204. package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +76 -0
  205. package/lib/ruby/3.4.11/bundler/source/rubygems.rb +522 -0
  206. package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +68 -0
  207. package/lib/ruby/3.4.11/bundler/source.rb +118 -0
  208. package/lib/ruby/3.4.11/bundler/source_list.rb +273 -0
  209. package/lib/ruby/3.4.11/bundler/source_map.rb +71 -0
  210. package/lib/ruby/3.4.11/bundler/spec_set.rb +395 -0
  211. package/lib/ruby/3.4.11/bundler/stub_specification.rb +146 -0
  212. package/lib/ruby/3.4.11/bundler/templates/.document +1 -0
  213. package/lib/ruby/3.4.11/bundler/templates/Executable +27 -0
  214. package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +109 -0
  215. package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +14 -0
  216. package/lib/ruby/3.4.11/bundler/templates/Gemfile +5 -0
  217. package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
  218. package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +132 -0
  219. package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +7 -0
  220. package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +24 -0
  221. package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +21 -0
  222. package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +49 -0
  223. package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +67 -0
  224. package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +11 -0
  225. package/lib/ruby/{gems/3.4.0/gems/nkf-0.2.0/bin/setup → 3.4.11/bundler/templates/newgem/bin/setup.tt} +0 -0
  226. package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +25 -0
  227. package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +3 -0
  228. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
  229. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
  230. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
  231. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
  232. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
  233. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
  234. package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
  235. package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +23 -0
  236. package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
  237. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
  238. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
  239. package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +52 -0
  240. package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +3 -0
  241. package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +8 -0
  242. package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  243. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
  244. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
  245. package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +3 -0
  246. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
  247. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
  248. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  249. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  250. package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +19 -0
  251. package/lib/ruby/3.4.11/bundler/ui/shell.rb +187 -0
  252. package/lib/ruby/3.4.11/bundler/ui/silent.rb +96 -0
  253. package/lib/ruby/3.4.11/bundler/ui.rb +9 -0
  254. package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +43 -0
  255. package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +23 -0
  256. package/lib/ruby/3.4.11/bundler/vendor/.document +1 -0
  257. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +1 -0
  258. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +224 -0
  259. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  260. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
  261. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +186 -0
  262. package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +1 -0
  263. package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +2696 -0
  264. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +1 -0
  265. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
  266. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
  267. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  268. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1111 -0
  269. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +1 -0
  270. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  271. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
  272. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  273. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
  274. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
  275. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  276. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  277. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
  278. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
  279. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
  280. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  281. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  282. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
  283. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
  284. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
  285. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
  286. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
  287. package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +1 -0
  288. package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
  289. package/lib/ruby/3.4.11/bundler/vendor/thor/.document +1 -0
  290. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
  291. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
  292. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
  293. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
  294. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +371 -0
  295. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
  296. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +340 -0
  297. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +825 -0
  298. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +151 -0
  299. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
  300. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +106 -0
  301. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +292 -0
  302. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
  303. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
  304. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
  305. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
  306. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  307. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
  308. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
  309. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
  310. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
  311. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +4 -0
  312. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
  313. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +335 -0
  314. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +388 -0
  315. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
  316. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
  317. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
  318. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
  319. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
  320. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
  321. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +81 -0
  322. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +285 -0
  323. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +3 -0
  324. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +674 -0
  325. package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +1 -0
  326. package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +455 -0
  327. package/lib/ruby/3.4.11/bundler/vendor/uri/.document +1 -0
  328. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +880 -0
  329. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +100 -0
  330. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  331. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
  332. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +125 -0
  333. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +23 -0
  334. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  335. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
  336. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
  337. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  338. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  339. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +6 -0
  340. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +83 -0
  341. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +23 -0
  342. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +104 -0
  343. package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +4 -0
  344. package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +23 -0
  345. package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +11 -0
  346. package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +4 -0
  347. package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +12 -0
  348. package/lib/ruby/3.4.11/bundler/vendored_thor.rb +8 -0
  349. package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +12 -0
  350. package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +4 -0
  351. package/lib/ruby/3.4.11/bundler/vendored_uri.rb +21 -0
  352. package/lib/ruby/3.4.11/bundler/version.rb +13 -0
  353. package/lib/ruby/3.4.11/bundler/vlad.rb +17 -0
  354. package/lib/ruby/3.4.11/bundler/worker.rb +117 -0
  355. package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +98 -0
  356. package/lib/ruby/3.4.11/bundler.rb +701 -0
  357. package/lib/ruby/3.4.11/cgi/cgi.gemspec +43 -0
  358. package/lib/ruby/3.4.11/cgi/cookie.rb +210 -0
  359. package/lib/ruby/3.4.11/cgi/core.rb +900 -0
  360. package/lib/ruby/3.4.11/cgi/html.rb +1035 -0
  361. package/lib/ruby/3.4.11/cgi/session/pstore.rb +91 -0
  362. package/lib/ruby/3.4.11/cgi/session.rb +562 -0
  363. package/lib/ruby/3.4.11/cgi/util.rb +258 -0
  364. package/lib/ruby/3.4.11/cgi.rb +297 -0
  365. package/lib/ruby/3.4.11/delegate.gemspec +29 -0
  366. package/lib/ruby/3.4.11/delegate.rb +444 -0
  367. package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +57 -0
  368. package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +25 -0
  369. package/lib/ruby/3.4.11/did_you_mean/experimental.rb +2 -0
  370. package/lib/ruby/3.4.11/did_you_mean/formatter.rb +44 -0
  371. package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +4 -0
  372. package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +10 -0
  373. package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +84 -0
  374. package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +57 -0
  375. package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +46 -0
  376. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +28 -0
  377. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +79 -0
  378. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +49 -0
  379. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +85 -0
  380. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +20 -0
  381. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +6 -0
  382. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +28 -0
  383. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +39 -0
  384. package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +109 -0
  385. package/lib/ruby/3.4.11/did_you_mean/verbose.rb +2 -0
  386. package/lib/ruby/3.4.11/did_you_mean/version.rb +3 -0
  387. package/lib/ruby/3.4.11/did_you_mean.rb +131 -0
  388. package/lib/ruby/3.4.11/erb/compiler.rb +472 -0
  389. package/lib/ruby/3.4.11/erb/def_method.rb +47 -0
  390. package/lib/ruby/3.4.11/erb/util.rb +63 -0
  391. package/lib/ruby/3.4.11/erb/version.rb +5 -0
  392. package/lib/ruby/3.4.11/erb.gemspec +38 -0
  393. package/lib/ruby/3.4.11/erb.rb +509 -0
  394. package/lib/ruby/3.4.11/error_highlight/base.rb +830 -0
  395. package/lib/ruby/3.4.11/error_highlight/core_ext.rb +47 -0
  396. package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +27 -0
  397. package/lib/ruby/3.4.11/error_highlight/formatter.rb +74 -0
  398. package/lib/ruby/3.4.11/error_highlight/version.rb +3 -0
  399. package/lib/ruby/3.4.11/error_highlight.rb +2 -0
  400. package/lib/ruby/3.4.11/fileutils.gemspec +31 -0
  401. package/lib/ruby/3.4.11/fileutils.rb +2696 -0
  402. package/lib/ruby/3.4.11/find.gemspec +29 -0
  403. package/lib/ruby/3.4.11/find.rb +90 -0
  404. package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +26 -0
  405. package/lib/ruby/3.4.11/forwardable/impl.rb +17 -0
  406. package/lib/ruby/3.4.11/forwardable.rb +321 -0
  407. package/lib/ruby/3.4.11/ipaddr.gemspec +36 -0
  408. package/lib/ruby/3.4.11/ipaddr.rb +841 -0
  409. package/lib/ruby/3.4.11/irb/cmd/nop.rb +4 -0
  410. package/lib/ruby/3.4.11/irb/color.rb +262 -0
  411. package/lib/ruby/3.4.11/irb/color_printer.rb +55 -0
  412. package/lib/ruby/3.4.11/irb/command/backtrace.rb +17 -0
  413. package/lib/ruby/3.4.11/irb/command/base.rb +60 -0
  414. package/lib/ruby/3.4.11/irb/command/break.rb +17 -0
  415. package/lib/ruby/3.4.11/irb/command/catch.rb +17 -0
  416. package/lib/ruby/3.4.11/irb/command/cd.rb +51 -0
  417. package/lib/ruby/3.4.11/irb/command/chws.rb +40 -0
  418. package/lib/ruby/3.4.11/irb/command/context.rb +16 -0
  419. package/lib/ruby/3.4.11/irb/command/continue.rb +17 -0
  420. package/lib/ruby/3.4.11/irb/command/debug.rb +73 -0
  421. package/lib/ruby/3.4.11/irb/command/delete.rb +17 -0
  422. package/lib/ruby/3.4.11/irb/command/disable_irb.rb +19 -0
  423. package/lib/ruby/3.4.11/irb/command/edit.rb +63 -0
  424. package/lib/ruby/3.4.11/irb/command/exit.rb +18 -0
  425. package/lib/ruby/3.4.11/irb/command/finish.rb +17 -0
  426. package/lib/ruby/3.4.11/irb/command/force_exit.rb +18 -0
  427. package/lib/ruby/3.4.11/irb/command/help.rb +83 -0
  428. package/lib/ruby/3.4.11/irb/command/history.rb +45 -0
  429. package/lib/ruby/3.4.11/irb/command/info.rb +17 -0
  430. package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +27 -0
  431. package/lib/ruby/3.4.11/irb/command/irb_info.rb +33 -0
  432. package/lib/ruby/3.4.11/irb/command/load.rb +91 -0
  433. package/lib/ruby/3.4.11/irb/command/ls.rb +167 -0
  434. package/lib/ruby/3.4.11/irb/command/measure.rb +49 -0
  435. package/lib/ruby/3.4.11/irb/command/next.rb +17 -0
  436. package/lib/ruby/3.4.11/irb/command/pushws.rb +65 -0
  437. package/lib/ruby/3.4.11/irb/command/show_doc.rb +51 -0
  438. package/lib/ruby/3.4.11/irb/command/show_source.rb +74 -0
  439. package/lib/ruby/3.4.11/irb/command/step.rb +17 -0
  440. package/lib/ruby/3.4.11/irb/command/subirb.rb +123 -0
  441. package/lib/ruby/3.4.11/irb/command/whereami.rb +23 -0
  442. package/lib/ruby/3.4.11/irb/command.rb +23 -0
  443. package/lib/ruby/3.4.11/irb/completion.rb +504 -0
  444. package/lib/ruby/3.4.11/irb/context.rb +716 -0
  445. package/lib/ruby/3.4.11/irb/debug/ui.rb +101 -0
  446. package/lib/ruby/3.4.11/irb/debug.rb +127 -0
  447. package/lib/ruby/3.4.11/irb/default_commands.rb +276 -0
  448. package/lib/ruby/3.4.11/irb/easter-egg.rb +152 -0
  449. package/lib/ruby/3.4.11/irb/ext/change-ws.rb +37 -0
  450. package/lib/ruby/3.4.11/irb/ext/eval_history.rb +149 -0
  451. package/lib/ruby/3.4.11/irb/ext/loader.rb +127 -0
  452. package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +258 -0
  453. package/lib/ruby/3.4.11/irb/ext/tracer.rb +39 -0
  454. package/lib/ruby/3.4.11/irb/ext/use-loader.rb +67 -0
  455. package/lib/ruby/3.4.11/irb/ext/workspaces.rb +36 -0
  456. package/lib/ruby/3.4.11/irb/frame.rb +80 -0
  457. package/lib/ruby/3.4.11/irb/help.rb +28 -0
  458. package/lib/ruby/3.4.11/irb/helper_method/base.rb +16 -0
  459. package/lib/ruby/3.4.11/irb/helper_method/conf.rb +11 -0
  460. package/lib/ruby/3.4.11/irb/helper_method.rb +29 -0
  461. package/lib/ruby/3.4.11/irb/history.rb +112 -0
  462. package/lib/ruby/3.4.11/irb/init.rb +538 -0
  463. package/lib/ruby/3.4.11/irb/input-method.rb +515 -0
  464. package/lib/ruby/3.4.11/irb/inspector.rb +131 -0
  465. package/lib/ruby/3.4.11/irb/irb.gemspec +46 -0
  466. package/lib/ruby/3.4.11/irb/lc/error.rb +52 -0
  467. package/lib/ruby/3.4.11/irb/lc/help-message +55 -0
  468. package/lib/ruby/3.4.11/irb/lc/ja/error.rb +53 -0
  469. package/lib/ruby/3.4.11/irb/lc/ja/help-message +58 -0
  470. package/lib/ruby/3.4.11/irb/locale.rb +153 -0
  471. package/lib/ruby/3.4.11/irb/nesting_parser.rb +239 -0
  472. package/lib/ruby/3.4.11/irb/notifier.rb +230 -0
  473. package/lib/ruby/3.4.11/irb/output-method.rb +80 -0
  474. package/lib/ruby/3.4.11/irb/pager.rb +100 -0
  475. package/lib/ruby/3.4.11/irb/ruby-lex.rb +476 -0
  476. package/lib/ruby/3.4.11/irb/ruby_logo.aa +118 -0
  477. package/lib/ruby/3.4.11/irb/source_finder.rb +138 -0
  478. package/lib/ruby/3.4.11/irb/statement.rb +80 -0
  479. package/lib/ruby/3.4.11/irb/version.rb +11 -0
  480. package/lib/ruby/3.4.11/irb/workspace.rb +171 -0
  481. package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +9 -0
  482. package/lib/ruby/3.4.11/irb/xmp.rb +164 -0
  483. package/lib/ruby/3.4.11/irb.rb +1593 -0
  484. package/lib/ruby/3.4.11/logger/errors.rb +9 -0
  485. package/lib/ruby/3.4.11/logger/formatter.rb +36 -0
  486. package/lib/ruby/3.4.11/logger/log_device.rb +236 -0
  487. package/lib/ruby/3.4.11/logger/logger.gemspec +22 -0
  488. package/lib/ruby/3.4.11/logger/period.rb +47 -0
  489. package/lib/ruby/3.4.11/logger/severity.rb +38 -0
  490. package/lib/ruby/3.4.11/logger/version.rb +5 -0
  491. package/lib/ruby/3.4.11/logger.rb +761 -0
  492. package/lib/ruby/3.4.11/mkmf.rb +3045 -0
  493. package/lib/ruby/3.4.11/net/http/exceptions.rb +34 -0
  494. package/lib/ruby/3.4.11/net/http/generic_request.rb +414 -0
  495. package/lib/ruby/3.4.11/net/http/header.rb +981 -0
  496. package/lib/ruby/3.4.11/net/http/net-http.gemspec +39 -0
  497. package/lib/ruby/3.4.11/net/http/proxy_delta.rb +17 -0
  498. package/lib/ruby/3.4.11/net/http/request.rb +88 -0
  499. package/lib/ruby/3.4.11/net/http/requests.rb +430 -0
  500. package/lib/ruby/3.4.11/net/http/response.rb +738 -0
  501. package/lib/ruby/3.4.11/net/http/responses.rb +1174 -0
  502. package/lib/ruby/3.4.11/net/http/status.rb +84 -0
  503. package/lib/ruby/3.4.11/net/http.rb +2574 -0
  504. package/lib/ruby/3.4.11/net/https.rb +23 -0
  505. package/lib/ruby/3.4.11/net/net-protocol.gemspec +34 -0
  506. package/lib/ruby/3.4.11/net/protocol.rb +544 -0
  507. package/lib/ruby/3.4.11/open-uri.gemspec +32 -0
  508. package/lib/ruby/3.4.11/open-uri.rb +895 -0
  509. package/lib/ruby/3.4.11/open3/open3.gemspec +33 -0
  510. package/lib/ruby/3.4.11/open3/version.rb +3 -0
  511. package/lib/ruby/3.4.11/open3.rb +1410 -0
  512. package/lib/ruby/3.4.11/optionparser.rb +2 -0
  513. package/lib/ruby/3.4.11/optparse/ac.rb +70 -0
  514. package/lib/ruby/3.4.11/optparse/date.rb +18 -0
  515. package/lib/ruby/3.4.11/optparse/kwargs.rb +27 -0
  516. package/lib/ruby/3.4.11/optparse/optparse.gemspec +31 -0
  517. package/lib/ruby/3.4.11/optparse/shellwords.rb +7 -0
  518. package/lib/ruby/3.4.11/optparse/time.rb +11 -0
  519. package/lib/ruby/3.4.11/optparse/uri.rb +7 -0
  520. package/lib/ruby/3.4.11/optparse/version.rb +80 -0
  521. package/lib/ruby/3.4.11/optparse.rb +2429 -0
  522. package/lib/ruby/3.4.11/ostruct.gemspec +24 -0
  523. package/lib/ruby/3.4.11/ostruct.rb +489 -0
  524. package/lib/ruby/3.4.11/pp.gemspec +35 -0
  525. package/lib/ruby/3.4.11/pp.rb +699 -0
  526. package/lib/ruby/3.4.11/prettyprint.gemspec +29 -0
  527. package/lib/ruby/3.4.11/prettyprint.rb +558 -0
  528. package/lib/ruby/3.4.11/prism/compiler.rb +801 -0
  529. package/lib/ruby/3.4.11/prism/desugar_compiler.rb +392 -0
  530. package/lib/ruby/3.4.11/prism/dispatcher.rb +2210 -0
  531. package/lib/ruby/3.4.11/prism/dsl.rb +1003 -0
  532. package/lib/ruby/3.4.11/prism/ffi.rb +570 -0
  533. package/lib/ruby/3.4.11/prism/inspect_visitor.rb +2392 -0
  534. package/lib/ruby/3.4.11/prism/lex_compat.rb +928 -0
  535. package/lib/ruby/3.4.11/prism/mutation_compiler.rb +772 -0
  536. package/lib/ruby/3.4.11/prism/node.rb +18816 -0
  537. package/lib/ruby/3.4.11/prism/node_ext.rb +511 -0
  538. package/lib/ruby/3.4.11/prism/pack.rb +230 -0
  539. package/lib/ruby/3.4.11/prism/parse_result/comments.rb +188 -0
  540. package/lib/ruby/3.4.11/prism/parse_result/errors.rb +66 -0
  541. package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +155 -0
  542. package/lib/ruby/3.4.11/prism/parse_result.rb +911 -0
  543. package/lib/ruby/3.4.11/prism/pattern.rb +269 -0
  544. package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +15 -0
  545. package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +13 -0
  546. package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +14 -0
  547. package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +14 -0
  548. package/lib/ruby/3.4.11/prism/polyfill/warn.rb +36 -0
  549. package/lib/ruby/3.4.11/prism/prism.gemspec +174 -0
  550. package/lib/ruby/3.4.11/prism/reflection.rb +416 -0
  551. package/lib/ruby/3.4.11/prism/relocation.rb +505 -0
  552. package/lib/ruby/3.4.11/prism/serialize.rb +2400 -0
  553. package/lib/ruby/3.4.11/prism/string_query.rb +31 -0
  554. package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +62 -0
  555. package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +2234 -0
  556. package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +820 -0
  557. package/lib/ruby/3.4.11/prism/translation/parser.rb +374 -0
  558. package/lib/ruby/3.4.11/prism/translation/parser33.rb +13 -0
  559. package/lib/ruby/3.4.11/prism/translation/parser34.rb +13 -0
  560. package/lib/ruby/3.4.11/prism/translation/parser35.rb +13 -0
  561. package/lib/ruby/3.4.11/prism/translation/parser_current.rb +24 -0
  562. package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +126 -0
  563. package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +5 -0
  564. package/lib/ruby/3.4.11/prism/translation/ripper.rb +3474 -0
  565. package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +1929 -0
  566. package/lib/ruby/3.4.11/prism/translation.rb +16 -0
  567. package/lib/ruby/3.4.11/prism/visitor.rb +813 -0
  568. package/lib/ruby/3.4.11/prism.rb +91 -0
  569. package/lib/ruby/3.4.11/pstore.gemspec +32 -0
  570. package/lib/ruby/3.4.11/pstore.rb +736 -0
  571. package/lib/ruby/3.4.11/random/formatter.rb +372 -0
  572. package/lib/ruby/3.4.11/rdoc/.document +2 -0
  573. package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +104 -0
  574. package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +10 -0
  575. package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +374 -0
  576. package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +172 -0
  577. package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +888 -0
  578. package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +186 -0
  579. package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +175 -0
  580. package/lib/ruby/3.4.11/rdoc/code_object/context.rb +1222 -0
  581. package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +9 -0
  582. package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +6 -0
  583. package/lib/ruby/3.4.11/rdoc/code_object/include.rb +9 -0
  584. package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +6 -0
  585. package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +410 -0
  586. package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +120 -0
  587. package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +92 -0
  588. package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +73 -0
  589. package/lib/ruby/3.4.11/rdoc/code_object/require.rb +51 -0
  590. package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +30 -0
  591. package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +273 -0
  592. package/lib/ruby/3.4.11/rdoc/code_object.rb +395 -0
  593. package/lib/ruby/3.4.11/rdoc/code_objects.rb +5 -0
  594. package/lib/ruby/3.4.11/rdoc/comment.rb +236 -0
  595. package/lib/ruby/3.4.11/rdoc/cross_reference.rb +228 -0
  596. package/lib/ruby/3.4.11/rdoc/encoding.rb +120 -0
  597. package/lib/ruby/3.4.11/rdoc/erb_partial.rb +18 -0
  598. package/lib/ruby/3.4.11/rdoc/erbio.rb +37 -0
  599. package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +812 -0
  600. package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +284 -0
  601. package/lib/ruby/3.4.11/rdoc/generator/markup.rb +171 -0
  602. package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +68 -0
  603. package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +84 -0
  604. package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +141 -0
  605. package/lib/ruby/3.4.11/rdoc/generator/pot.rb +94 -0
  606. package/lib/ruby/3.4.11/rdoc/generator/ri.rb +30 -0
  607. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
  608. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  609. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +48 -0
  610. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +5 -0
  611. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
  612. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
  613. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
  614. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +21 -0
  615. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
  616. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +32 -0
  617. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +6 -0
  618. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
  619. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
  620. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +39 -0
  621. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +3 -0
  622. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +221 -0
  623. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +167 -0
  624. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +683 -0
  625. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
  626. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
  627. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
  628. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
  629. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  630. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  631. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/add.png +0 -0
  632. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
  633. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick.png +0 -0
  634. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  635. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bug.png +0 -0
  636. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  637. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  638. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  639. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/date.png +0 -0
  640. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/delete.png +0 -0
  641. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/find.png +0 -0
  642. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  643. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  644. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/package.png +0 -0
  645. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  646. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  647. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  648. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  649. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  650. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  651. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  652. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  653. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  654. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  655. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  656. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/index.rhtml +23 -0
  657. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +120 -0
  658. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +110 -0
  659. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +18 -0
  660. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +20 -0
  661. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +65 -0
  662. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +70 -0
  663. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +1 -0
  664. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +105 -0
  665. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +229 -0
  666. package/lib/ruby/3.4.11/rdoc/generator.rb +51 -0
  667. package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +102 -0
  668. package/lib/ruby/3.4.11/rdoc/i18n/text.rb +126 -0
  669. package/lib/ruby/3.4.11/rdoc/i18n.rb +10 -0
  670. package/lib/ruby/3.4.11/rdoc/known_classes.rb +74 -0
  671. package/lib/ruby/3.4.11/rdoc/markdown/.document +1 -0
  672. package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +2131 -0
  673. package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +454 -0
  674. package/lib/ruby/3.4.11/rdoc/markdown.rb +16806 -0
  675. package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +22 -0
  676. package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +35 -0
  677. package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +405 -0
  678. package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +70 -0
  679. package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +27 -0
  680. package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +14 -0
  681. package/lib/ruby/3.4.11/rdoc/markup/document.rb +164 -0
  682. package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +272 -0
  683. package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +31 -0
  684. package/lib/ruby/3.4.11/rdoc/markup/heading.rb +84 -0
  685. package/lib/ruby/3.4.11/rdoc/markup/include.rb +42 -0
  686. package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +47 -0
  687. package/lib/ruby/3.4.11/rdoc/markup/list.rb +101 -0
  688. package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +99 -0
  689. package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +28 -0
  690. package/lib/ruby/3.4.11/rdoc/markup/parser.rb +585 -0
  691. package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +318 -0
  692. package/lib/ruby/3.4.11/rdoc/markup/raw.rb +69 -0
  693. package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +40 -0
  694. package/lib/ruby/3.4.11/rdoc/markup/rule.rb +20 -0
  695. package/lib/ruby/3.4.11/rdoc/markup/table.rb +56 -0
  696. package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +93 -0
  697. package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +102 -0
  698. package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +462 -0
  699. package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +226 -0
  700. package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +287 -0
  701. package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +46 -0
  702. package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +74 -0
  703. package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +191 -0
  704. package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +353 -0
  705. package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +88 -0
  706. package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +69 -0
  707. package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +120 -0
  708. package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +83 -0
  709. package/lib/ruby/3.4.11/rdoc/markup.rb +240 -0
  710. package/lib/ruby/3.4.11/rdoc/options.rb +1416 -0
  711. package/lib/ruby/3.4.11/rdoc/parser/c.rb +1257 -0
  712. package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +350 -0
  713. package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +22 -0
  714. package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +1092 -0
  715. package/lib/ruby/3.4.11/rdoc/parser/rd.rb +22 -0
  716. package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +302 -0
  717. package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +2378 -0
  718. package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +165 -0
  719. package/lib/ruby/3.4.11/rdoc/parser/simple.rb +61 -0
  720. package/lib/ruby/3.4.11/rdoc/parser/text.rb +11 -0
  721. package/lib/ruby/3.4.11/rdoc/parser.rb +297 -0
  722. package/lib/ruby/3.4.11/rdoc/rd/.document +1 -0
  723. package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +1706 -0
  724. package/lib/ruby/3.4.11/rdoc/rd/inline.rb +71 -0
  725. package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +1854 -0
  726. package/lib/ruby/3.4.11/rdoc/rd.rb +99 -0
  727. package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +68 -0
  728. package/lib/ruby/3.4.11/rdoc/rdoc.rb +551 -0
  729. package/lib/ruby/3.4.11/rdoc/ri/driver.rb +1566 -0
  730. package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +6 -0
  731. package/lib/ruby/3.4.11/rdoc/ri/paths.rb +171 -0
  732. package/lib/ruby/3.4.11/rdoc/ri/store.rb +6 -0
  733. package/lib/ruby/3.4.11/rdoc/ri/task.rb +71 -0
  734. package/lib/ruby/3.4.11/rdoc/ri.rb +20 -0
  735. package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +327 -0
  736. package/lib/ruby/3.4.11/rdoc/servlet.rb +452 -0
  737. package/lib/ruby/3.4.11/rdoc/stats/normal.rb +58 -0
  738. package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +59 -0
  739. package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +44 -0
  740. package/lib/ruby/3.4.11/rdoc/stats.rb +461 -0
  741. package/lib/ruby/3.4.11/rdoc/store.rb +997 -0
  742. package/lib/ruby/3.4.11/rdoc/task.rb +354 -0
  743. package/lib/ruby/3.4.11/rdoc/text.rb +322 -0
  744. package/lib/ruby/3.4.11/rdoc/token_stream.rb +118 -0
  745. package/lib/ruby/3.4.11/rdoc/tom_doc.rb +257 -0
  746. package/lib/ruby/3.4.11/rdoc/version.rb +10 -0
  747. package/lib/ruby/3.4.11/rdoc.rb +211 -0
  748. package/lib/ruby/3.4.11/readline.gemspec +33 -0
  749. package/lib/ruby/3.4.11/readline.rb +7 -0
  750. package/lib/ruby/3.4.11/reline/config.rb +373 -0
  751. package/lib/ruby/3.4.11/reline/face.rb +199 -0
  752. package/lib/ruby/3.4.11/reline/history.rb +76 -0
  753. package/lib/ruby/3.4.11/reline/io/ansi.rb +325 -0
  754. package/lib/ruby/3.4.11/reline/io/dumb.rb +120 -0
  755. package/lib/ruby/3.4.11/reline/io/windows.rb +530 -0
  756. package/lib/ruby/3.4.11/reline/io.rb +55 -0
  757. package/lib/ruby/3.4.11/reline/key_actor/base.rb +37 -0
  758. package/lib/ruby/3.4.11/reline/key_actor/composite.rb +17 -0
  759. package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +517 -0
  760. package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +518 -0
  761. package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +517 -0
  762. package/lib/ruby/3.4.11/reline/key_actor.rb +8 -0
  763. package/lib/ruby/3.4.11/reline/key_stroke.rb +119 -0
  764. package/lib/ruby/3.4.11/reline/kill_ring.rb +125 -0
  765. package/lib/ruby/3.4.11/reline/line_editor.rb +2382 -0
  766. package/lib/ruby/3.4.11/reline/reline.gemspec +30 -0
  767. package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +1267 -0
  768. package/lib/ruby/3.4.11/reline/unicode.rb +415 -0
  769. package/lib/ruby/3.4.11/reline/version.rb +3 -0
  770. package/lib/ruby/3.4.11/reline.rb +519 -0
  771. package/lib/ruby/3.4.11/resolv.gemspec +30 -0
  772. package/lib/ruby/3.4.11/resolv.rb +3587 -0
  773. package/lib/ruby/3.4.11/ruby2_keywords.gemspec +23 -0
  774. package/lib/ruby/3.4.11/ruby_vm/rjit/.document +1 -0
  775. package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +1160 -0
  776. package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +11 -0
  777. package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +24 -0
  778. package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +394 -0
  779. package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +99 -0
  780. package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +91 -0
  781. package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +518 -0
  782. package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +377 -0
  783. package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +7 -0
  784. package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +164 -0
  785. package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +36 -0
  786. package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +6046 -0
  787. package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +1326 -0
  788. package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +155 -0
  789. package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +65 -0
  790. package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +191 -0
  791. package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +221 -0
  792. package/lib/ruby/3.4.11/rubygems/available_set.rb +165 -0
  793. package/lib/ruby/3.4.11/rubygems/basic_specification.rb +383 -0
  794. package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +77 -0
  795. package/lib/ruby/3.4.11/rubygems/ci_detector.rb +75 -0
  796. package/lib/ruby/3.4.11/rubygems/command.rb +664 -0
  797. package/lib/ruby/3.4.11/rubygems/command_manager.rb +255 -0
  798. package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +127 -0
  799. package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +325 -0
  800. package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +97 -0
  801. package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +178 -0
  802. package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +196 -0
  803. package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +206 -0
  804. package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +181 -0
  805. package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +256 -0
  806. package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +109 -0
  807. package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +51 -0
  808. package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +375 -0
  809. package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +38 -0
  810. package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +269 -0
  811. package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +42 -0
  812. package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +109 -0
  813. package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +26 -0
  814. package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +83 -0
  815. package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +33 -0
  816. package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +124 -0
  817. package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +217 -0
  818. package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +135 -0
  819. package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +43 -0
  820. package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +90 -0
  821. package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +262 -0
  822. package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +41 -0
  823. package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +26 -0
  824. package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +663 -0
  825. package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +34 -0
  826. package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +32 -0
  827. package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +227 -0
  828. package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +156 -0
  829. package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +40 -0
  830. package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +204 -0
  831. package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +168 -0
  832. package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +326 -0
  833. package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +88 -0
  834. package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +99 -0
  835. package/lib/ruby/3.4.11/rubygems/compatibility.rb +41 -0
  836. package/lib/ruby/3.4.11/rubygems/config_file.rb +618 -0
  837. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +68 -0
  838. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +149 -0
  839. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +45 -0
  840. package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +54 -0
  841. package/lib/ruby/3.4.11/rubygems/defaults.rb +308 -0
  842. package/lib/ruby/3.4.11/rubygems/dependency.rb +348 -0
  843. package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +335 -0
  844. package/lib/ruby/3.4.11/rubygems/dependency_list.rb +243 -0
  845. package/lib/ruby/3.4.11/rubygems/deprecate.rb +169 -0
  846. package/lib/ruby/3.4.11/rubygems/doctor.rb +132 -0
  847. package/lib/ruby/3.4.11/rubygems/errors.rb +177 -0
  848. package/lib/ruby/3.4.11/rubygems/exceptions.rb +293 -0
  849. package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +9 -0
  850. package/lib/ruby/3.4.11/rubygems/ext/builder.rb +260 -0
  851. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
  852. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +346 -0
  853. package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +21 -0
  854. package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +26 -0
  855. package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +77 -0
  856. package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +37 -0
  857. package/lib/ruby/3.4.11/rubygems/ext.rb +20 -0
  858. package/lib/ruby/3.4.11/rubygems/gem_runner.rb +89 -0
  859. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +163 -0
  860. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +105 -0
  861. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +80 -0
  862. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +397 -0
  863. package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +19 -0
  864. package/lib/ruby/3.4.11/rubygems/install_default_message.rb +13 -0
  865. package/lib/ruby/3.4.11/rubygems/install_message.rb +13 -0
  866. package/lib/ruby/3.4.11/rubygems/install_update_options.rb +204 -0
  867. package/lib/ruby/3.4.11/rubygems/installer.rb +1031 -0
  868. package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +27 -0
  869. package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +146 -0
  870. package/lib/ruby/3.4.11/rubygems/name_tuple.rb +119 -0
  871. package/lib/ruby/3.4.11/rubygems/openssl.rb +7 -0
  872. package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +63 -0
  873. package/lib/ruby/3.4.11/rubygems/package/file_source.rb +32 -0
  874. package/lib/ruby/3.4.11/rubygems/package/io_source.rb +48 -0
  875. package/lib/ruby/3.4.11/rubygems/package/old.rb +169 -0
  876. package/lib/ruby/3.4.11/rubygems/package/source.rb +4 -0
  877. package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +277 -0
  878. package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +244 -0
  879. package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +101 -0
  880. package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +332 -0
  881. package/lib/ruby/3.4.11/rubygems/package.rb +742 -0
  882. package/lib/ruby/3.4.11/rubygems/package_task.rb +123 -0
  883. package/lib/ruby/3.4.11/rubygems/path_support.rb +85 -0
  884. package/lib/ruby/3.4.11/rubygems/platform.rb +269 -0
  885. package/lib/ruby/3.4.11/rubygems/psych_tree.rb +37 -0
  886. package/lib/ruby/3.4.11/rubygems/query_utils.rb +349 -0
  887. package/lib/ruby/3.4.11/rubygems/rdoc.rb +26 -0
  888. package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +341 -0
  889. package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +95 -0
  890. package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +47 -0
  891. package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +10 -0
  892. package/lib/ruby/3.4.11/rubygems/request.rb +298 -0
  893. package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +841 -0
  894. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +344 -0
  895. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +122 -0
  896. package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +235 -0
  897. package/lib/ruby/3.4.11/rubygems/request_set.rb +468 -0
  898. package/lib/ruby/3.4.11/rubygems/requirement.rb +298 -0
  899. package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +159 -0
  900. package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +21 -0
  901. package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +139 -0
  902. package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +105 -0
  903. package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +49 -0
  904. package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +65 -0
  905. package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +146 -0
  906. package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +12 -0
  907. package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +119 -0
  908. package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +120 -0
  909. package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +57 -0
  910. package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +79 -0
  911. package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +101 -0
  912. package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +57 -0
  913. package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +271 -0
  914. package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +40 -0
  915. package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +81 -0
  916. package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +86 -0
  917. package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +82 -0
  918. package/lib/ruby/3.4.11/rubygems/resolver/set.rb +55 -0
  919. package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +47 -0
  920. package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +76 -0
  921. package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +126 -0
  922. package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +46 -0
  923. package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +86 -0
  924. package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +23 -0
  925. package/lib/ruby/3.4.11/rubygems/resolver.rb +341 -0
  926. package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +177 -0
  927. package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +146 -0
  928. package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +325 -0
  929. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
  930. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +428 -0
  931. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +74 -0
  932. package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +74 -0
  933. package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +45 -0
  934. package/lib/ruby/3.4.11/rubygems/security/policies.rb +114 -0
  935. package/lib/ruby/3.4.11/rubygems/security/policy.rb +288 -0
  936. package/lib/ruby/3.4.11/rubygems/security/signer.rb +212 -0
  937. package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +117 -0
  938. package/lib/ruby/3.4.11/rubygems/security.rb +615 -0
  939. package/lib/ruby/3.4.11/rubygems/security_option.rb +43 -0
  940. package/lib/ruby/3.4.11/rubygems/source/git.rb +244 -0
  941. package/lib/ruby/3.4.11/rubygems/source/installed.rb +39 -0
  942. package/lib/ruby/3.4.11/rubygems/source/local.rb +131 -0
  943. package/lib/ruby/3.4.11/rubygems/source/lock.rb +49 -0
  944. package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +73 -0
  945. package/lib/ruby/3.4.11/rubygems/source/vendor.rb +24 -0
  946. package/lib/ruby/3.4.11/rubygems/source.rb +247 -0
  947. package/lib/ruby/3.4.11/rubygems/source_list.rb +146 -0
  948. package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +290 -0
  949. package/lib/ruby/3.4.11/rubygems/specification.rb +2666 -0
  950. package/lib/ruby/3.4.11/rubygems/specification_policy.rb +558 -0
  951. package/lib/ruby/3.4.11/rubygems/specification_record.rb +212 -0
  952. package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +1 -0
  953. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +21 -0
  954. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
  955. package/lib/ruby/3.4.11/rubygems/stub_specification.rb +235 -0
  956. package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +50 -0
  957. package/lib/ruby/3.4.11/rubygems/text.rb +85 -0
  958. package/lib/ruby/3.4.11/rubygems/uninstaller.rb +429 -0
  959. package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +21 -0
  960. package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +56 -0
  961. package/lib/ruby/3.4.11/rubygems/uri.rb +126 -0
  962. package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +47 -0
  963. package/lib/ruby/3.4.11/rubygems/user_interaction.rb +650 -0
  964. package/lib/ruby/3.4.11/rubygems/util/licenses.rb +834 -0
  965. package/lib/ruby/3.4.11/rubygems/util/list.rb +40 -0
  966. package/lib/ruby/3.4.11/rubygems/util.rb +118 -0
  967. package/lib/ruby/3.4.11/rubygems/validator.rb +144 -0
  968. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +1 -0
  969. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
  970. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +88 -0
  971. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
  972. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
  973. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
  974. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
  975. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
  976. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
  977. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
  978. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
  979. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +164 -0
  980. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +255 -0
  981. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +149 -0
  982. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
  983. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +112 -0
  984. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
  985. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +839 -0
  986. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
  987. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +58 -0
  988. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +11 -0
  989. package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +1 -0
  990. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +34 -0
  991. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +414 -0
  992. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +981 -0
  993. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +17 -0
  994. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +88 -0
  995. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +430 -0
  996. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +738 -0
  997. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +1174 -0
  998. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +84 -0
  999. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +2580 -0
  1000. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +23 -0
  1001. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +1 -0
  1002. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +544 -0
  1003. package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +1 -0
  1004. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +2 -0
  1005. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +70 -0
  1006. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +18 -0
  1007. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +27 -0
  1008. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +7 -0
  1009. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +11 -0
  1010. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
  1011. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +80 -0
  1012. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +2426 -0
  1013. package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +1 -0
  1014. package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +3455 -0
  1015. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +1 -0
  1016. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +102 -0
  1017. package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +1 -0
  1018. package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +198 -0
  1019. package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +1 -0
  1020. package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +455 -0
  1021. package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +1 -0
  1022. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +880 -0
  1023. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +100 -0
  1024. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
  1025. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +1592 -0
  1026. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +125 -0
  1027. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +23 -0
  1028. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
  1029. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
  1030. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
  1031. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  1032. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  1033. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +6 -0
  1034. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
  1035. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
  1036. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +104 -0
  1037. package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +3 -0
  1038. package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +5 -0
  1039. package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +3 -0
  1040. package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +3 -0
  1041. package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +5 -0
  1042. package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +3 -0
  1043. package/lib/ruby/3.4.11/rubygems/version.rb +441 -0
  1044. package/lib/ruby/3.4.11/rubygems/version_option.rb +80 -0
  1045. package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +98 -0
  1046. package/lib/ruby/3.4.11/rubygems.rb +1417 -0
  1047. package/lib/ruby/3.4.11/securerandom.gemspec +34 -0
  1048. package/lib/ruby/3.4.11/securerandom.rb +102 -0
  1049. package/lib/ruby/3.4.11/set/set.gemspec +30 -0
  1050. package/lib/ruby/3.4.11/set/sorted_set.rb +6 -0
  1051. package/lib/ruby/3.4.11/set.rb +855 -0
  1052. package/lib/ruby/3.4.11/shellwords.gemspec +31 -0
  1053. package/lib/ruby/3.4.11/shellwords.rb +254 -0
  1054. package/lib/ruby/3.4.11/singleton.gemspec +30 -0
  1055. package/lib/ruby/3.4.11/singleton.rb +239 -0
  1056. package/lib/ruby/3.4.11/syntax_suggest/api.rb +233 -0
  1057. package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +232 -0
  1058. package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +165 -0
  1059. package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +85 -0
  1060. package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +71 -0
  1061. package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +245 -0
  1062. package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +306 -0
  1063. package/lib/ruby/3.4.11/syntax_suggest/cli.rb +130 -0
  1064. package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +100 -0
  1065. package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +178 -0
  1066. package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +243 -0
  1067. package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +139 -0
  1068. package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +96 -0
  1069. package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +70 -0
  1070. package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +83 -0
  1071. package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +117 -0
  1072. package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +168 -0
  1073. package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +74 -0
  1074. package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +70 -0
  1075. package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +30 -0
  1076. package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +60 -0
  1077. package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +59 -0
  1078. package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +63 -0
  1079. package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +105 -0
  1080. package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +39 -0
  1081. package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +134 -0
  1082. package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +32 -0
  1083. package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +36 -0
  1084. package/lib/ruby/3.4.11/syntax_suggest/version.rb +5 -0
  1085. package/lib/ruby/3.4.11/syntax_suggest.rb +3 -0
  1086. package/lib/ruby/3.4.11/tempfile.gemspec +33 -0
  1087. package/lib/ruby/3.4.11/tempfile.rb +640 -0
  1088. package/lib/ruby/3.4.11/time.gemspec +35 -0
  1089. package/lib/ruby/3.4.11/time.rb +731 -0
  1090. package/lib/ruby/3.4.11/timeout.gemspec +33 -0
  1091. package/lib/ruby/3.4.11/timeout.rb +200 -0
  1092. package/lib/ruby/3.4.11/tmpdir.gemspec +30 -0
  1093. package/lib/ruby/3.4.11/tmpdir.rb +189 -0
  1094. package/lib/ruby/3.4.11/tsort.gemspec +29 -0
  1095. package/lib/ruby/3.4.11/tsort.rb +455 -0
  1096. package/lib/ruby/3.4.11/un.gemspec +31 -0
  1097. package/lib/ruby/3.4.11/un.rb +441 -0
  1098. package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +181 -0
  1099. package/lib/ruby/3.4.11/unicode_normalize/tables.rb +9259 -0
  1100. package/lib/ruby/3.4.11/uri/common.rb +880 -0
  1101. package/lib/ruby/3.4.11/uri/file.rb +100 -0
  1102. package/lib/ruby/3.4.11/uri/ftp.rb +267 -0
  1103. package/lib/ruby/3.4.11/uri/generic.rb +1592 -0
  1104. package/lib/ruby/3.4.11/uri/http.rb +125 -0
  1105. package/lib/ruby/3.4.11/uri/https.rb +23 -0
  1106. package/lib/ruby/3.4.11/uri/ldap.rb +261 -0
  1107. package/lib/ruby/3.4.11/uri/ldaps.rb +22 -0
  1108. package/lib/ruby/3.4.11/uri/mailto.rb +293 -0
  1109. package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +546 -0
  1110. package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +206 -0
  1111. package/lib/ruby/3.4.11/uri/uri.gemspec +42 -0
  1112. package/lib/ruby/3.4.11/uri/version.rb +6 -0
  1113. package/lib/ruby/3.4.11/uri/ws.rb +83 -0
  1114. package/lib/ruby/3.4.11/uri/wss.rb +23 -0
  1115. package/lib/ruby/3.4.11/uri.rb +104 -0
  1116. package/lib/ruby/3.4.11/weakref.gemspec +34 -0
  1117. package/lib/ruby/3.4.11/weakref.rb +58 -0
  1118. package/lib/ruby/3.4.11/yaml/dbm.rb +295 -0
  1119. package/lib/ruby/3.4.11/yaml/store.rb +98 -0
  1120. package/lib/ruby/3.4.11/yaml/yaml.gemspec +30 -0
  1121. package/lib/ruby/3.4.11/yaml.rb +70 -0
  1122. package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
  1123. package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
  1124. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  1125. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  1126. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  1127. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  1128. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  1129. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  1130. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  1131. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  1132. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  1133. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  1134. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  1135. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  1136. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  1137. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  1138. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  1139. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  1140. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  1141. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  1142. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  1143. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  1144. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  1145. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  1146. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  1147. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  1148. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  1149. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  1150. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  1151. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  1152. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  1153. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  1154. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  1155. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  1156. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  1157. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  1158. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  1159. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  1160. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  1161. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  1162. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  1163. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  1164. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  1165. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  1166. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  1167. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  1168. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  1169. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  1170. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  1171. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  1172. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  1173. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  1174. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  1175. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  1176. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  1177. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  1178. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  1179. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  1180. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  1181. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  1182. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  1183. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  1184. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  1185. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  1186. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  1187. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  1188. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  1189. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  1190. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  1191. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  1192. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  1193. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  1194. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  1195. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  1196. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  1197. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  1198. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  1199. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  1200. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  1201. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  1202. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  1203. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  1204. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  1205. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  1206. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  1207. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  1208. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  1209. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  1210. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  1211. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  1212. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  1213. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  1214. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  1215. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  1216. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  1217. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  1218. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  1219. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  1220. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  1221. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  1222. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  1223. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  1224. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  1225. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  1226. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  1227. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  1228. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  1229. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  1230. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  1231. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  1232. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  1233. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  1234. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  1235. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  1236. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  1237. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  1238. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  1239. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  1240. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  1241. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  1242. package/package.json +17 -13
  1243. package/lib/ruby/3.4.0/expect.rb +0 -71
  1244. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  1245. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  1246. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
  1247. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  1248. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  1249. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
  1250. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
  1251. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
  1252. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
  1253. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
  1254. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
  1255. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
  1256. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
  1257. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
  1258. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  1259. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
  1260. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
  1261. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
  1262. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
  1263. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
  1264. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
  1265. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  1266. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  1267. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
  1268. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
  1269. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
  1270. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
  1271. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
  1272. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
  1273. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
  1274. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
  1275. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
  1276. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
  1277. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
  1278. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
  1279. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
  1280. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
  1281. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
  1282. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
  1283. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
  1284. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
  1285. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
  1286. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
  1287. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
  1288. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
  1289. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
  1290. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
  1291. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
  1292. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  1293. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  1294. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  1295. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  1296. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  1297. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  1298. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  1299. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  1300. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  1301. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
  1302. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
  1303. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
  1304. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
  1305. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
  1306. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
  1307. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
  1308. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  1309. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  1310. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  1311. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  1312. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  1313. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  1314. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
  1315. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
  1316. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
  1317. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  1318. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
  1319. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
  1320. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
  1321. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
  1322. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
  1323. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
  1324. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
  1325. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
  1326. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
  1327. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
  1328. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
  1329. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
  1330. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
  1331. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
  1332. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
  1333. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
  1334. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
  1335. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
  1336. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
  1337. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
  1338. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
  1339. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
  1340. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
  1341. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
  1342. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
  1343. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
  1344. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
  1345. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  1346. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  1347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  1348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  1349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
  1350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
  1351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
  1352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
  1353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
  1354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
  1355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
  1356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
  1357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
  1358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
  1359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
  1360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
  1361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
  1362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
  1363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
  1364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
  1365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
  1366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
  1367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
  1368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
  1369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
  1370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
  1371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
  1372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
  1373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
  1374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
  1375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
  1376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
  1377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
  1378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
  1379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
  1380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
  1381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
  1382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
  1383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
  1384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
  1385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
  1386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
  1387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
  1388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
  1389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
  1390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
  1391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
  1392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
  1393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
  1394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
  1395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
  1396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
  1397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
  1398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
  1399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
  1400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
  1401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
  1402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
  1403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
  1404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
  1405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
  1406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
  1407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
  1408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
  1409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
  1410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
  1411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
  1412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
  1413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
  1414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
  1415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
  1416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
  1417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
  1418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
  1419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
  1420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
  1421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
  1422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
  1423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
  1424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
  1425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
  1426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
  1427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
  1428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
  1429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
  1430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
  1431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
  1432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
  1433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
  1434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
  1435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
  1436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
  1437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
  1438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
  1439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
  1440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
  1441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
  1442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
  1443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
  1444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
  1445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
  1446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
  1447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
  1448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
  1449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
  1450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
  1451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
  1452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
  1453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
  1454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
  1455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
  1456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
  1457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
  1458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
  1459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
  1460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
  1461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
  1462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
  1463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
  1464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
  1465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
  1466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
  1467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
  1468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
  1469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
  1470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
  1471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
  1472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
  1473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
  1474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
  1475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
  1476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
  1477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
  1478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
  1479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
  1480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
  1481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
  1482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
  1483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
  1484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
  1485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
  1486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
  1487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
  1488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
  1489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
  1490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
  1491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
  1492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
  1493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
  1494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
  1495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
  1496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
  1497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
  1498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
  1499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
  1500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
  1501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
  1502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
  1503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
  1504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
  1505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
  1506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
  1507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
  1508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
  1509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
  1510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
  1511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
  1512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
  1513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
  1514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
  1515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
  1516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
  1517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
  1518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
  1519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
  1520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
  1521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
  1522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
  1523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
  1524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
  1525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
  1526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
  1527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
  1528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
  1529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
  1530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
  1531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
  1532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
  1533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
  1534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
  1535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
  1536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
  1537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
  1538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
  1539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
  1540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
  1541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
  1542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
  1543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
  1544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
  1545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  1546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  1547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
  1548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
  1549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
  1550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
  1551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
  1552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
  1553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
  1554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
  1555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
  1556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
  1557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
  1558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
  1559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
  1560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
  1561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
  1562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
  1563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
  1564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
  1565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
  1566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
  1567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
  1568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
  1569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
  1570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
  1571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
  1572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
  1573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
  1574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
  1575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
  1576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
  1577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
  1578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
  1579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
  1580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
  1581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
  1582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
  1583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
  1584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
  1585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
  1586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
  1587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
  1588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
  1589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
  1590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
  1591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
  1592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
  1593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
  1594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
  1595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
  1596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
  1597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
  1598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
  1599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
  1600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
  1601. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
  1602. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
  1603. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
  1604. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
  1605. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
  1606. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
  1607. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
  1608. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
  1609. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
  1610. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
  1611. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
  1612. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
  1613. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
  1614. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
  1615. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
  1616. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
  1617. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
  1618. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
  1619. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
  1620. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
  1621. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
  1622. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
  1623. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
  1624. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
  1625. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
  1626. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
  1627. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
  1628. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
  1629. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
  1630. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
  1631. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
  1632. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
  1633. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
  1634. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
  1635. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
  1636. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
  1637. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
  1638. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
  1639. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
  1640. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
  1641. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
  1642. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
  1643. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
  1644. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
  1645. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
  1646. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
  1647. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
  1648. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
  1649. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
  1650. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
  1651. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
  1652. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
  1653. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
  1654. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
  1655. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
  1656. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
  1657. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
  1658. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
  1659. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
  1660. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
  1661. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
  1662. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
  1663. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
  1664. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
  1665. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
  1666. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
  1667. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
  1668. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
  1669. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
  1670. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
  1671. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
  1672. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
  1673. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
  1674. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
  1675. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
  1676. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
  1677. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
  1678. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
  1679. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
  1680. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
  1681. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
  1682. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
  1683. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
  1684. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
  1685. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
  1686. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
  1687. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
  1688. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
  1689. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
  1690. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
  1691. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
  1692. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
  1693. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
  1694. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
  1695. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
  1696. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
  1697. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
  1698. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
  1699. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
  1700. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
  1701. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
  1702. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
  1703. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
  1704. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
  1705. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
  1706. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
  1707. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
  1708. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
  1709. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
  1710. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
  1711. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
  1712. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
  1713. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
  1714. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
  1715. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
  1716. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
  1717. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
  1718. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
  1719. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
  1720. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
  1721. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
  1722. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
  1723. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
  1724. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
  1725. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
  1726. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
  1727. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
  1728. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
  1729. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
  1730. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
  1731. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
  1732. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
  1733. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
  1734. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
  1735. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
  1736. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
  1737. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
  1738. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
  1739. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
  1740. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
  1741. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
  1742. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
  1743. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
  1744. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
  1745. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
  1746. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
  1747. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
  1748. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
  1749. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
  1750. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
  1751. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
  1752. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
  1753. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
  1754. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
  1755. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
  1756. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
  1757. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
  1758. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
  1759. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
  1760. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
  1761. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
  1762. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
  1763. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
  1764. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
  1765. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
  1766. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
  1767. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
  1768. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
  1769. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
  1770. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
  1771. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
  1772. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
  1773. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
  1774. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
  1775. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
  1776. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
  1777. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
  1778. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
  1779. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
  1780. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
  1781. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
  1782. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
  1783. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
  1784. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
  1785. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
  1786. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
  1787. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
  1788. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
  1789. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
  1790. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
  1791. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
  1792. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
  1793. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
  1794. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
  1795. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
  1796. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
  1797. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
  1798. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
  1799. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
  1800. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
  1801. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
  1802. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
  1803. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
  1804. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
  1805. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
  1806. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
  1807. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
  1808. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
  1809. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
  1810. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
  1811. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
  1812. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
  1813. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  1814. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  1815. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  1816. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
  1817. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
  1818. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
  1819. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
  1820. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
  1821. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
  1822. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
  1823. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
  1824. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  1825. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  1826. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
  1827. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
  1828. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
  1829. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
  1830. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
  1831. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
  1832. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
@@ -0,0 +1,1790 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'socket.so'
4
+
5
+ unless IO.method_defined?(:wait_writable, false)
6
+ # It's only required on older Rubies < v3.2:
7
+ require 'io/wait'
8
+ end
9
+
10
+ class Addrinfo
11
+ # creates an Addrinfo object from the arguments.
12
+ #
13
+ # The arguments are interpreted as similar to self.
14
+ #
15
+ # Addrinfo.tcp("0.0.0.0", 4649).family_addrinfo("www.ruby-lang.org", 80)
16
+ # #=> #<Addrinfo: 221.186.184.68:80 TCP (www.ruby-lang.org:80)>
17
+ #
18
+ # Addrinfo.unix("/tmp/sock").family_addrinfo("/tmp/sock2")
19
+ # #=> #<Addrinfo: /tmp/sock2 SOCK_STREAM>
20
+ #
21
+ def family_addrinfo(*args)
22
+ if args.empty?
23
+ raise ArgumentError, "no address specified"
24
+ elsif Addrinfo === args.first
25
+ raise ArgumentError, "too many arguments" if args.length != 1
26
+ addrinfo = args.first
27
+ if (self.pfamily != addrinfo.pfamily) ||
28
+ (self.socktype != addrinfo.socktype)
29
+ raise ArgumentError, "Addrinfo type mismatch"
30
+ end
31
+ addrinfo
32
+ elsif self.ip?
33
+ raise ArgumentError, "IP address needs host and port but #{args.length} arguments given" if args.length != 2
34
+ host, port = args
35
+ Addrinfo.getaddrinfo(host, port, self.pfamily, self.socktype, self.protocol)[0]
36
+ elsif self.unix?
37
+ raise ArgumentError, "UNIX socket needs single path argument but #{args.length} arguments given" if args.length != 1
38
+ path, = args
39
+ Addrinfo.unix(path)
40
+ else
41
+ raise ArgumentError, "unexpected family"
42
+ end
43
+ end
44
+
45
+ # creates a new Socket connected to the address of +local_addrinfo+.
46
+ #
47
+ # If _local_addrinfo_ is nil, the address of the socket is not bound.
48
+ #
49
+ # The _timeout_ specify the seconds for timeout.
50
+ # Errno::ETIMEDOUT is raised when timeout occur.
51
+ #
52
+ # If a block is given the created socket is yielded for each address.
53
+ #
54
+ def connect_internal(local_addrinfo, timeout=nil) # :yields: socket
55
+ sock = Socket.new(self.pfamily, self.socktype, self.protocol)
56
+ begin
57
+ sock.ipv6only! if self.ipv6?
58
+ sock.bind local_addrinfo if local_addrinfo
59
+ if timeout
60
+ case sock.connect_nonblock(self, exception: false)
61
+ when 0 # success or EISCONN, other errors raise
62
+ break
63
+ when :wait_writable
64
+ sock.wait_writable(timeout) or
65
+ raise Errno::ETIMEDOUT, "user specified timeout for #{self.ip_address}:#{self.ip_port}"
66
+ # Check SO_ERROR instead of relying on the connect_nonblock retry;
67
+ # some kernels (e.g. Darwin 27) answer the retry connect(2) with
68
+ # EISCONN even when the connection has failed. [Bug #22223]
69
+ err = sock.getsockopt(Socket::SOL_SOCKET, Socket::SO_ERROR).int
70
+ unless err.zero?
71
+ raise SystemCallError.new("connect(2) for #{self.ip_address}:#{self.ip_port}", err)
72
+ end
73
+ end while true
74
+ else
75
+ sock.connect(self)
76
+ end
77
+ rescue Exception
78
+ sock.close
79
+ raise
80
+ end
81
+ if block_given?
82
+ begin
83
+ yield sock
84
+ ensure
85
+ sock.close
86
+ end
87
+ else
88
+ sock
89
+ end
90
+ end
91
+ protected :connect_internal
92
+
93
+ # :call-seq:
94
+ # addrinfo.connect_from([local_addr_args], [opts]) {|socket| ... }
95
+ # addrinfo.connect_from([local_addr_args], [opts])
96
+ #
97
+ # creates a socket connected to the address of self.
98
+ #
99
+ # If one or more arguments given as _local_addr_args_,
100
+ # it is used as the local address of the socket.
101
+ # _local_addr_args_ is given for family_addrinfo to obtain actual address.
102
+ #
103
+ # If _local_addr_args_ is not given, the local address of the socket is not bound.
104
+ #
105
+ # The optional last argument _opts_ is options represented by a hash.
106
+ # _opts_ may have following options:
107
+ #
108
+ # [:timeout] specify the timeout in seconds.
109
+ #
110
+ # If a block is given, it is called with the socket and the value of the block is returned.
111
+ # The socket is returned otherwise.
112
+ #
113
+ # Addrinfo.tcp("www.ruby-lang.org", 80).connect_from("0.0.0.0", 4649) {|s|
114
+ # s.print "GET / HTTP/1.0\r\nHost: www.ruby-lang.org\r\n\r\n"
115
+ # puts s.read
116
+ # }
117
+ #
118
+ # # Addrinfo object can be taken for the argument.
119
+ # Addrinfo.tcp("www.ruby-lang.org", 80).connect_from(Addrinfo.tcp("0.0.0.0", 4649)) {|s|
120
+ # s.print "GET / HTTP/1.0\r\nHost: www.ruby-lang.org\r\n\r\n"
121
+ # puts s.read
122
+ # }
123
+ #
124
+ def connect_from(*args, timeout: nil, &block)
125
+ connect_internal(family_addrinfo(*args), timeout, &block)
126
+ end
127
+
128
+ # :call-seq:
129
+ # addrinfo.connect([opts]) {|socket| ... }
130
+ # addrinfo.connect([opts])
131
+ #
132
+ # creates a socket connected to the address of self.
133
+ #
134
+ # The optional argument _opts_ is options represented by a hash.
135
+ # _opts_ may have following options:
136
+ #
137
+ # [:timeout] specify the timeout in seconds.
138
+ #
139
+ # If a block is given, it is called with the socket and the value of the block is returned.
140
+ # The socket is returned otherwise.
141
+ #
142
+ # Addrinfo.tcp("www.ruby-lang.org", 80).connect {|s|
143
+ # s.print "GET / HTTP/1.0\r\nHost: www.ruby-lang.org\r\n\r\n"
144
+ # puts s.read
145
+ # }
146
+ #
147
+ def connect(timeout: nil, &block)
148
+ connect_internal(nil, timeout, &block)
149
+ end
150
+
151
+ # :call-seq:
152
+ # addrinfo.connect_to([remote_addr_args], [opts]) {|socket| ... }
153
+ # addrinfo.connect_to([remote_addr_args], [opts])
154
+ #
155
+ # creates a socket connected to _remote_addr_args_ and bound to self.
156
+ #
157
+ # The optional last argument _opts_ is options represented by a hash.
158
+ # _opts_ may have following options:
159
+ #
160
+ # [:timeout] specify the timeout in seconds.
161
+ #
162
+ # If a block is given, it is called with the socket and the value of the block is returned.
163
+ # The socket is returned otherwise.
164
+ #
165
+ # Addrinfo.tcp("0.0.0.0", 4649).connect_to("www.ruby-lang.org", 80) {|s|
166
+ # s.print "GET / HTTP/1.0\r\nHost: www.ruby-lang.org\r\n\r\n"
167
+ # puts s.read
168
+ # }
169
+ #
170
+ def connect_to(*args, timeout: nil, &block)
171
+ remote_addrinfo = family_addrinfo(*args)
172
+ remote_addrinfo.connect_internal(self, timeout, &block)
173
+ end
174
+
175
+ # creates a socket bound to self.
176
+ #
177
+ # If a block is given, it is called with the socket and the value of the block is returned.
178
+ # The socket is returned otherwise.
179
+ #
180
+ # Addrinfo.udp("0.0.0.0", 9981).bind {|s|
181
+ # s.local_address.connect {|s| s.send "hello", 0 }
182
+ # p s.recv(10) #=> "hello"
183
+ # }
184
+ #
185
+ def bind
186
+ sock = Socket.new(self.pfamily, self.socktype, self.protocol)
187
+ begin
188
+ sock.ipv6only! if self.ipv6?
189
+ sock.setsockopt(:SOCKET, :REUSEADDR, 1)
190
+ sock.bind(self)
191
+ rescue Exception
192
+ sock.close
193
+ raise
194
+ end
195
+ if block_given?
196
+ begin
197
+ yield sock
198
+ ensure
199
+ sock.close
200
+ end
201
+ else
202
+ sock
203
+ end
204
+ end
205
+
206
+ # creates a listening socket bound to self.
207
+ def listen(backlog=Socket::SOMAXCONN)
208
+ sock = Socket.new(self.pfamily, self.socktype, self.protocol)
209
+ begin
210
+ sock.ipv6only! if self.ipv6?
211
+ sock.setsockopt(:SOCKET, :REUSEADDR, 1) unless self.pfamily == Socket::PF_UNIX
212
+ sock.bind(self)
213
+ sock.listen(backlog)
214
+ rescue Exception
215
+ sock.close
216
+ raise
217
+ end
218
+ if block_given?
219
+ begin
220
+ yield sock
221
+ ensure
222
+ sock.close
223
+ end
224
+ else
225
+ sock
226
+ end
227
+ end
228
+
229
+ # iterates over the list of Addrinfo objects obtained by Addrinfo.getaddrinfo.
230
+ #
231
+ # Addrinfo.foreach(nil, 80) {|x| p x }
232
+ # #=> #<Addrinfo: 127.0.0.1:80 TCP (:80)>
233
+ # # #<Addrinfo: 127.0.0.1:80 UDP (:80)>
234
+ # # #<Addrinfo: [::1]:80 TCP (:80)>
235
+ # # #<Addrinfo: [::1]:80 UDP (:80)>
236
+ #
237
+ def self.foreach(nodename, service, family=nil, socktype=nil, protocol=nil, flags=nil, timeout: nil, &block)
238
+ Addrinfo.getaddrinfo(nodename, service, family, socktype, protocol, flags, timeout: timeout).each(&block)
239
+ end
240
+ end
241
+
242
+ class BasicSocket < IO
243
+ # Returns an address of the socket suitable for connect in the local machine.
244
+ #
245
+ # This method returns _self_.local_address, except following condition.
246
+ #
247
+ # - IPv4 unspecified address (0.0.0.0) is replaced by IPv4 loopback address (127.0.0.1).
248
+ # - IPv6 unspecified address (::) is replaced by IPv6 loopback address (::1).
249
+ #
250
+ # If the local address is not suitable for connect, SocketError is raised.
251
+ # IPv4 and IPv6 address which port is 0 is not suitable for connect.
252
+ # Unix domain socket which has no path is not suitable for connect.
253
+ #
254
+ # Addrinfo.tcp("0.0.0.0", 0).listen {|serv|
255
+ # p serv.connect_address #=> #<Addrinfo: 127.0.0.1:53660 TCP>
256
+ # serv.connect_address.connect {|c|
257
+ # s, _ = serv.accept
258
+ # p [c, s] #=> [#<Socket:fd 4>, #<Socket:fd 6>]
259
+ # }
260
+ # }
261
+ #
262
+ def connect_address
263
+ addr = local_address
264
+ afamily = addr.afamily
265
+ if afamily == Socket::AF_INET
266
+ raise SocketError, "unbound IPv4 socket" if addr.ip_port == 0
267
+ if addr.ip_address == "0.0.0.0"
268
+ addr = Addrinfo.new(["AF_INET", addr.ip_port, nil, "127.0.0.1"], addr.pfamily, addr.socktype, addr.protocol)
269
+ end
270
+ elsif defined?(Socket::AF_INET6) && afamily == Socket::AF_INET6
271
+ raise SocketError, "unbound IPv6 socket" if addr.ip_port == 0
272
+ if addr.ip_address == "::"
273
+ addr = Addrinfo.new(["AF_INET6", addr.ip_port, nil, "::1"], addr.pfamily, addr.socktype, addr.protocol)
274
+ elsif addr.ip_address == "0.0.0.0" # MacOS X 10.4 returns "a.b.c.d" for IPv4-mapped IPv6 address.
275
+ addr = Addrinfo.new(["AF_INET6", addr.ip_port, nil, "::1"], addr.pfamily, addr.socktype, addr.protocol)
276
+ elsif addr.ip_address == "::ffff:0.0.0.0" # MacOS X 10.6 returns "::ffff:a.b.c.d" for IPv4-mapped IPv6 address.
277
+ addr = Addrinfo.new(["AF_INET6", addr.ip_port, nil, "::1"], addr.pfamily, addr.socktype, addr.protocol)
278
+ end
279
+ elsif defined?(Socket::AF_UNIX) && afamily == Socket::AF_UNIX
280
+ raise SocketError, "unbound Unix socket" if addr.unix_path == ""
281
+ end
282
+ addr
283
+ end
284
+
285
+ # call-seq:
286
+ # basicsocket.sendmsg(mesg, flags=0, dest_sockaddr=nil, *controls) => numbytes_sent
287
+ #
288
+ # sendmsg sends a message using sendmsg(2) system call in blocking manner.
289
+ #
290
+ # _mesg_ is a string to send.
291
+ #
292
+ # _flags_ is bitwise OR of MSG_* constants such as Socket::MSG_OOB.
293
+ #
294
+ # _dest_sockaddr_ is a destination socket address for connection-less socket.
295
+ # It should be a sockaddr such as a result of Socket.sockaddr_in.
296
+ # An Addrinfo object can be used too.
297
+ #
298
+ # _controls_ is a list of ancillary data.
299
+ # The element of _controls_ should be Socket::AncillaryData or
300
+ # 3-elements array.
301
+ # The 3-element array should contains cmsg_level, cmsg_type and data.
302
+ #
303
+ # The return value, _numbytes_sent_ is an integer which is the number of bytes sent.
304
+ #
305
+ # sendmsg can be used to implement send_io as follows:
306
+ #
307
+ # # use Socket::AncillaryData.
308
+ # ancdata = Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, io.fileno)
309
+ # sock.sendmsg("a", 0, nil, ancdata)
310
+ #
311
+ # # use 3-element array.
312
+ # ancdata = [:SOCKET, :RIGHTS, [io.fileno].pack("i!")]
313
+ # sock.sendmsg("\0", 0, nil, ancdata)
314
+ def sendmsg(mesg, flags = 0, dest_sockaddr = nil, *controls)
315
+ __sendmsg(mesg, flags, dest_sockaddr, controls)
316
+ end
317
+
318
+ # call-seq:
319
+ # basicsocket.sendmsg_nonblock(mesg, flags=0, dest_sockaddr=nil, *controls, opts={}) => numbytes_sent
320
+ #
321
+ # sendmsg_nonblock sends a message using sendmsg(2) system call in non-blocking manner.
322
+ #
323
+ # It is similar to BasicSocket#sendmsg
324
+ # but the non-blocking flag is set before the system call
325
+ # and it doesn't retry the system call.
326
+ #
327
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
328
+ # that sendmsg_nonblock should not raise an IO::WaitWritable exception, but
329
+ # return the symbol +:wait_writable+ instead.
330
+ def sendmsg_nonblock(mesg, flags = 0, dest_sockaddr = nil, *controls,
331
+ exception: true)
332
+ __sendmsg_nonblock(mesg, flags, dest_sockaddr, controls, exception)
333
+ end
334
+
335
+ # call-seq:
336
+ # basicsocket.recv_nonblock(maxlen [, flags [, buf [, options ]]]) => mesg
337
+ #
338
+ # Receives up to _maxlen_ bytes from +socket+ using recvfrom(2) after
339
+ # O_NONBLOCK is set for the underlying file descriptor.
340
+ # _flags_ is zero or more of the +MSG_+ options.
341
+ # The result, _mesg_, is the data received.
342
+ #
343
+ # When recvfrom(2) returns 0, Socket#recv_nonblock returns nil.
344
+ # In most cases it means the connection was closed, but for UDP connections
345
+ # it may mean an empty packet was received, as the underlying API makes
346
+ # it impossible to distinguish these two cases.
347
+ #
348
+ # === Parameters
349
+ # * +maxlen+ - the number of bytes to receive from the socket
350
+ # * +flags+ - zero or more of the +MSG_+ options
351
+ # * +buf+ - destination String buffer
352
+ # * +options+ - keyword hash, supporting `exception: false`
353
+ #
354
+ # === Example
355
+ # serv = TCPServer.new("127.0.0.1", 0)
356
+ # af, port, host, addr = serv.addr
357
+ # c = TCPSocket.new(addr, port)
358
+ # s = serv.accept
359
+ # c.send "aaa", 0
360
+ # begin # emulate blocking recv.
361
+ # p s.recv_nonblock(10) #=> "aaa"
362
+ # rescue IO::WaitReadable
363
+ # IO.select([s])
364
+ # retry
365
+ # end
366
+ #
367
+ # Refer to Socket#recvfrom for the exceptions that may be thrown if the call
368
+ # to _recv_nonblock_ fails.
369
+ #
370
+ # BasicSocket#recv_nonblock may raise any error corresponding to recvfrom(2) failure,
371
+ # including Errno::EWOULDBLOCK.
372
+ #
373
+ # If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
374
+ # it is extended by IO::WaitReadable.
375
+ # So IO::WaitReadable can be used to rescue the exceptions for retrying recv_nonblock.
376
+ #
377
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
378
+ # that recv_nonblock should not raise an IO::WaitReadable exception, but
379
+ # return the symbol +:wait_readable+ instead.
380
+ #
381
+ # === See
382
+ # * Socket#recvfrom
383
+ def recv_nonblock(len, flag = 0, str = nil, exception: true)
384
+ __recv_nonblock(len, flag, str, exception)
385
+ end
386
+
387
+ # call-seq:
388
+ # basicsocket.recvmsg(maxmesglen=nil, flags=0, maxcontrollen=nil, opts={}) => [mesg, sender_addrinfo, rflags, *controls]
389
+ #
390
+ # recvmsg receives a message using recvmsg(2) system call in blocking manner.
391
+ #
392
+ # _maxmesglen_ is the maximum length of mesg to receive.
393
+ #
394
+ # _flags_ is bitwise OR of MSG_* constants such as Socket::MSG_PEEK.
395
+ #
396
+ # _maxcontrollen_ is the maximum length of controls (ancillary data) to receive.
397
+ #
398
+ # _opts_ is option hash.
399
+ # Currently :scm_rights=>bool is the only option.
400
+ #
401
+ # :scm_rights option specifies that application expects SCM_RIGHTS control message.
402
+ # If the value is nil or false, application don't expects SCM_RIGHTS control message.
403
+ # In this case, recvmsg closes the passed file descriptors immediately.
404
+ # This is the default behavior.
405
+ #
406
+ # If :scm_rights value is neither nil nor false, application expects SCM_RIGHTS control message.
407
+ # In this case, recvmsg creates IO objects for each file descriptors for
408
+ # Socket::AncillaryData#unix_rights method.
409
+ #
410
+ # The return value is 4-elements array.
411
+ #
412
+ # _mesg_ is a string of the received message.
413
+ #
414
+ # _sender_addrinfo_ is a sender socket address for connection-less socket.
415
+ # It is an Addrinfo object.
416
+ # For connection-oriented socket such as TCP, sender_addrinfo is platform dependent.
417
+ #
418
+ # _rflags_ is a flags on the received message which is bitwise OR of MSG_* constants such as Socket::MSG_TRUNC.
419
+ # It will be nil if the system uses 4.3BSD style old recvmsg system call.
420
+ #
421
+ # _controls_ is ancillary data which is an array of Socket::AncillaryData objects such as:
422
+ #
423
+ # #<Socket::AncillaryData: AF_UNIX SOCKET RIGHTS 7>
424
+ #
425
+ # _maxmesglen_ and _maxcontrollen_ can be nil.
426
+ # In that case, the buffer will be grown until the message is not truncated.
427
+ # Internally, MSG_PEEK is used.
428
+ # Buffer full and MSG_CTRUNC are checked for truncation.
429
+ #
430
+ # recvmsg can be used to implement recv_io as follows:
431
+ #
432
+ # mesg, sender_sockaddr, rflags, *controls = sock.recvmsg(:scm_rights=>true)
433
+ # controls.each {|ancdata|
434
+ # if ancdata.cmsg_is?(:SOCKET, :RIGHTS)
435
+ # return ancdata.unix_rights[0]
436
+ # end
437
+ # }
438
+ def recvmsg(dlen = nil, flags = 0, clen = nil, scm_rights: false)
439
+ __recvmsg(dlen, flags, clen, scm_rights)
440
+ end
441
+
442
+ # call-seq:
443
+ # basicsocket.recvmsg_nonblock(maxdatalen=nil, flags=0, maxcontrollen=nil, opts={}) => [data, sender_addrinfo, rflags, *controls]
444
+ #
445
+ # recvmsg receives a message using recvmsg(2) system call in non-blocking manner.
446
+ #
447
+ # It is similar to BasicSocket#recvmsg
448
+ # but non-blocking flag is set before the system call
449
+ # and it doesn't retry the system call.
450
+ #
451
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
452
+ # that recvmsg_nonblock should not raise an IO::WaitReadable exception, but
453
+ # return the symbol +:wait_readable+ instead.
454
+ def recvmsg_nonblock(dlen = nil, flags = 0, clen = nil,
455
+ scm_rights: false, exception: true)
456
+ __recvmsg_nonblock(dlen, flags, clen, scm_rights, exception)
457
+ end
458
+
459
+ # Linux-specific optimizations to avoid fcntl for IO#read_nonblock
460
+ # and IO#write_nonblock using MSG_DONTWAIT
461
+ # Do other platforms support MSG_DONTWAIT reliably?
462
+ if RUBY_PLATFORM =~ /linux/ && Socket.const_defined?(:MSG_DONTWAIT)
463
+ def read_nonblock(len, str = nil, exception: true) # :nodoc:
464
+ __read_nonblock(len, str, exception)
465
+ end
466
+
467
+ def write_nonblock(buf, exception: true) # :nodoc:
468
+ __write_nonblock(buf, exception)
469
+ end
470
+ end
471
+ end
472
+
473
+ class Socket < BasicSocket
474
+ # enable the socket option IPV6_V6ONLY if IPV6_V6ONLY is available.
475
+ def ipv6only!
476
+ if defined? Socket::IPV6_V6ONLY
477
+ self.setsockopt(:IPV6, :V6ONLY, 1)
478
+ end
479
+ end
480
+
481
+ # call-seq:
482
+ # socket.recvfrom_nonblock(maxlen[, flags[, outbuf[, opts]]]) => [mesg, sender_addrinfo]
483
+ #
484
+ # Receives up to _maxlen_ bytes from +socket+ using recvfrom(2) after
485
+ # O_NONBLOCK is set for the underlying file descriptor.
486
+ # _flags_ is zero or more of the +MSG_+ options.
487
+ # The first element of the results, _mesg_, is the data received.
488
+ # The second element, _sender_addrinfo_, contains protocol-specific address
489
+ # information of the sender.
490
+ #
491
+ # When recvfrom(2) returns 0, Socket#recv_nonblock returns nil.
492
+ # In most cases it means the connection was closed, but for UDP connections
493
+ # it may mean an empty packet was received, as the underlying API makes
494
+ # it impossible to distinguish these two cases.
495
+ #
496
+ # === Parameters
497
+ # * +maxlen+ - the maximum number of bytes to receive from the socket
498
+ # * +flags+ - zero or more of the +MSG_+ options
499
+ # * +outbuf+ - destination String buffer
500
+ # * +opts+ - keyword hash, supporting `exception: false`
501
+ #
502
+ # === Example
503
+ # # In one file, start this first
504
+ # require 'socket'
505
+ # include Socket::Constants
506
+ # socket = Socket.new(AF_INET, SOCK_STREAM, 0)
507
+ # sockaddr = Socket.sockaddr_in(2200, 'localhost')
508
+ # socket.bind(sockaddr)
509
+ # socket.listen(5)
510
+ # client, client_addrinfo = socket.accept
511
+ # begin # emulate blocking recvfrom
512
+ # pair = client.recvfrom_nonblock(20)
513
+ # rescue IO::WaitReadable
514
+ # IO.select([client])
515
+ # retry
516
+ # end
517
+ # data = pair[0].chomp
518
+ # puts "I only received 20 bytes '#{data}'"
519
+ # sleep 1
520
+ # socket.close
521
+ #
522
+ # # In another file, start this second
523
+ # require 'socket'
524
+ # include Socket::Constants
525
+ # socket = Socket.new(AF_INET, SOCK_STREAM, 0)
526
+ # sockaddr = Socket.sockaddr_in(2200, 'localhost')
527
+ # socket.connect(sockaddr)
528
+ # socket.puts "Watch this get cut short!"
529
+ # socket.close
530
+ #
531
+ # Refer to Socket#recvfrom for the exceptions that may be thrown if the call
532
+ # to _recvfrom_nonblock_ fails.
533
+ #
534
+ # Socket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure,
535
+ # including Errno::EWOULDBLOCK.
536
+ #
537
+ # If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
538
+ # it is extended by IO::WaitReadable.
539
+ # So IO::WaitReadable can be used to rescue the exceptions for retrying
540
+ # recvfrom_nonblock.
541
+ #
542
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
543
+ # that recvfrom_nonblock should not raise an IO::WaitReadable exception, but
544
+ # return the symbol +:wait_readable+ instead.
545
+ #
546
+ # === See
547
+ # * Socket#recvfrom
548
+ def recvfrom_nonblock(len, flag = 0, str = nil, exception: true)
549
+ __recvfrom_nonblock(len, flag, str, exception)
550
+ end
551
+
552
+ # call-seq:
553
+ # socket.accept_nonblock([options]) => [client_socket, client_addrinfo]
554
+ #
555
+ # Accepts an incoming connection using accept(2) after
556
+ # O_NONBLOCK is set for the underlying file descriptor.
557
+ # It returns an array containing the accepted socket
558
+ # for the incoming connection, _client_socket_,
559
+ # and an Addrinfo, _client_addrinfo_.
560
+ #
561
+ # === Example
562
+ # # In one script, start this first
563
+ # require 'socket'
564
+ # include Socket::Constants
565
+ # socket = Socket.new(AF_INET, SOCK_STREAM, 0)
566
+ # sockaddr = Socket.sockaddr_in(2200, 'localhost')
567
+ # socket.bind(sockaddr)
568
+ # socket.listen(5)
569
+ # begin # emulate blocking accept
570
+ # client_socket, client_addrinfo = socket.accept_nonblock
571
+ # rescue IO::WaitReadable, Errno::EINTR
572
+ # IO.select([socket])
573
+ # retry
574
+ # end
575
+ # puts "The client said, '#{client_socket.readline.chomp}'"
576
+ # client_socket.puts "Hello from script one!"
577
+ # socket.close
578
+ #
579
+ # # In another script, start this second
580
+ # require 'socket'
581
+ # include Socket::Constants
582
+ # socket = Socket.new(AF_INET, SOCK_STREAM, 0)
583
+ # sockaddr = Socket.sockaddr_in(2200, 'localhost')
584
+ # socket.connect(sockaddr)
585
+ # socket.puts "Hello from script 2."
586
+ # puts "The server said, '#{socket.readline.chomp}'"
587
+ # socket.close
588
+ #
589
+ # Refer to Socket#accept for the exceptions that may be thrown if the call
590
+ # to _accept_nonblock_ fails.
591
+ #
592
+ # Socket#accept_nonblock may raise any error corresponding to accept(2) failure,
593
+ # including Errno::EWOULDBLOCK.
594
+ #
595
+ # If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED or Errno::EPROTO,
596
+ # it is extended by IO::WaitReadable.
597
+ # So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
598
+ #
599
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
600
+ # that accept_nonblock should not raise an IO::WaitReadable exception, but
601
+ # return the symbol +:wait_readable+ instead.
602
+ #
603
+ # === See
604
+ # * Socket#accept
605
+ def accept_nonblock(exception: true)
606
+ __accept_nonblock(exception)
607
+ end
608
+
609
+ RESOLUTION_DELAY = 0.05
610
+ private_constant :RESOLUTION_DELAY
611
+
612
+ CONNECTION_ATTEMPT_DELAY = 0.25
613
+ private_constant :CONNECTION_ATTEMPT_DELAY
614
+
615
+ ADDRESS_FAMILIES = {
616
+ ipv6: Socket::AF_INET6,
617
+ ipv4: Socket::AF_INET
618
+ }.freeze
619
+ private_constant :ADDRESS_FAMILIES
620
+
621
+ HOSTNAME_RESOLUTION_QUEUE_UPDATED = 0
622
+ private_constant :HOSTNAME_RESOLUTION_QUEUE_UPDATED
623
+
624
+ IPV6_ADRESS_FORMAT = /\A(?i:(?:(?:[0-9A-F]{1,4}:){7}(?:[0-9A-F]{1,4}|:)|(?:[0-9A-F]{1,4}:){6}(?:[0-9A-F]{1,4}|:(?:[0-9A-F]{1,4}:){1,5}[0-9A-F]{1,4}|:)|(?:[0-9A-F]{1,4}:){5}(?:(?::[0-9A-F]{1,4}){1,2}|:(?:[0-9A-F]{1,4}:){1,4}[0-9A-F]{1,4}|:)|(?:[0-9A-F]{1,4}:){4}(?:(?::[0-9A-F]{1,4}){1,3}|:(?:[0-9A-F]{1,4}:){1,3}[0-9A-F]{1,4}|:)|(?:[0-9A-F]{1,4}:){3}(?:(?::[0-9A-F]{1,4}){1,4}|:(?:[0-9A-F]{1,4}:){1,2}[0-9A-F]{1,4}|:)|(?:[0-9A-F]{1,4}:){2}(?:(?::[0-9A-F]{1,4}){1,5}|:(?:[0-9A-F]{1,4}:)[0-9A-F]{1,4}|:)|(?:[0-9A-F]{1,4}:){1}(?:(?::[0-9A-F]{1,4}){1,6}|:(?:[0-9A-F]{1,4}:){0,5}[0-9A-F]{1,4}|:)|(?:::(?:[0-9A-F]{1,4}:){0,7}[0-9A-F]{1,4}|::)))(?:%.+)?\z/
625
+ private_constant :IPV6_ADRESS_FORMAT
626
+
627
+ # :call-seq:
628
+ # Socket.tcp(host, port, local_host=nil, local_port=nil, [opts]) {|socket| ... }
629
+ # Socket.tcp(host, port, local_host=nil, local_port=nil, [opts])
630
+ #
631
+ # creates a new socket object connected to host:port using TCP/IP.
632
+ #
633
+ # Starting from Ruby 3.4, this method operates according to the
634
+ # Happy Eyeballs Version 2 ({RFC 8305}[https://datatracker.ietf.org/doc/html/rfc8305])
635
+ # algorithm by default.
636
+ #
637
+ # For details on Happy Eyeballs Version 2,
638
+ # see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket.tcp_fast_fallback=].
639
+ #
640
+ # To make it behave the same as in Ruby 3.3 and earlier,
641
+ # explicitly specify the option fast_fallback:false.
642
+ # Or, setting Socket.tcp_fast_fallback=false will disable
643
+ # Happy Eyeballs Version 2 not only for this method but for all Socket globally.
644
+ #
645
+ # If local_host:local_port is given,
646
+ # the socket is bound to it.
647
+ #
648
+ # The optional last argument _opts_ is options represented by a hash.
649
+ # _opts_ may have following options:
650
+ #
651
+ # [:resolv_timeout] Specifies the timeout in seconds from when the hostname resolution starts.
652
+ # [:connect_timeout] This method sequentially attempts connecting to all candidate destination addresses.<br>The +connect_timeout+ specifies the timeout in seconds from the start of the connection attempt to the last candidate.<br>By default, all connection attempts continue until the timeout occurs.<br>When +fast_fallback:false+ is explicitly specified,<br>a timeout is set for each connection attempt and any connection attempt that exceeds its timeout will be canceled.
653
+ # [:fast_fallback] Enables the Happy Eyeballs Version 2 algorithm (enabled by default).
654
+ #
655
+ # If a block is given, the block is called with the socket.
656
+ # The value of the block is returned.
657
+ # The socket is closed when this method returns.
658
+ #
659
+ # If no block is given, the socket is returned.
660
+ #
661
+ # Socket.tcp("www.ruby-lang.org", 80) {|sock|
662
+ # sock.print "GET / HTTP/1.0\r\nHost: www.ruby-lang.org\r\n\r\n"
663
+ # sock.close_write
664
+ # puts sock.read
665
+ # }
666
+ def self.tcp(host, port, local_host = nil, local_port = nil, connect_timeout: nil, resolv_timeout: nil, fast_fallback: tcp_fast_fallback, &) # :yield: socket
667
+ sock = if fast_fallback && !(host && ip_address?(host))
668
+ tcp_with_fast_fallback(host, port, local_host, local_port, connect_timeout:, resolv_timeout:)
669
+ else
670
+ tcp_without_fast_fallback(host, port, local_host, local_port, connect_timeout:, resolv_timeout:)
671
+ end
672
+
673
+ if block_given?
674
+ begin
675
+ yield sock
676
+ ensure
677
+ sock.close
678
+ end
679
+ else
680
+ sock
681
+ end
682
+ end
683
+
684
+ def self.tcp_with_fast_fallback(host, port, local_host = nil, local_port = nil, connect_timeout: nil, resolv_timeout: nil)
685
+ if local_host || local_port
686
+ local_addrinfos = Addrinfo.getaddrinfo(local_host, local_port, nil, :STREAM, timeout: resolv_timeout)
687
+ resolving_family_names = local_addrinfos.map { |lai| ADDRESS_FAMILIES.key(lai.afamily) }.uniq
688
+ else
689
+ local_addrinfos = []
690
+ resolving_family_names = ADDRESS_FAMILIES.keys
691
+ end
692
+
693
+ hostname_resolution_threads = []
694
+ resolution_store = HostnameResolutionStore.new(resolving_family_names)
695
+ connecting_sockets = {}
696
+ is_windows_environment ||= (RUBY_PLATFORM =~ /mswin|mingw|cygwin/)
697
+
698
+ now = current_clock_time
699
+ resolution_delay_expires_at = nil
700
+ connection_attempt_delay_expires_at = nil
701
+ user_specified_connect_timeout_at = nil
702
+ last_error = nil
703
+ last_error_from_thread = false
704
+
705
+ if resolving_family_names.size == 1
706
+ family_name = resolving_family_names.first
707
+ addrinfos = Addrinfo.getaddrinfo(host, port, family_name, :STREAM, timeout: resolv_timeout)
708
+ resolution_store.add_resolved(family_name, addrinfos)
709
+ hostname_resolution_result = nil
710
+ hostname_resolution_notifier = nil
711
+ user_specified_resolv_timeout_at = nil
712
+ else
713
+ hostname_resolution_result = HostnameResolutionResult.new(resolving_family_names.size)
714
+ hostname_resolution_notifier = hostname_resolution_result.notifier
715
+
716
+ hostname_resolution_threads.concat(
717
+ resolving_family_names.map { |family|
718
+ thread_args = [family, host, port, hostname_resolution_result]
719
+ thread = Thread.new(*thread_args) { |*thread_args| resolve_hostname(*thread_args) }
720
+ Thread.pass
721
+ thread
722
+ }
723
+ )
724
+
725
+ user_specified_resolv_timeout_at = resolv_timeout ? now + resolv_timeout : Float::INFINITY
726
+ end
727
+
728
+ loop do
729
+ if resolution_store.any_addrinfos? &&
730
+ !resolution_delay_expires_at &&
731
+ !connection_attempt_delay_expires_at
732
+ while (addrinfo = resolution_store.get_addrinfo)
733
+ if local_addrinfos.any?
734
+ local_addrinfo = local_addrinfos.find { |lai| lai.afamily == addrinfo.afamily }
735
+
736
+ if local_addrinfo.nil? # Connecting addrinfoと同じアドレスファミリのLocal addrinfoがない
737
+ if resolution_store.any_addrinfos?
738
+ # Try other Addrinfo in next "while"
739
+ next
740
+ elsif connecting_sockets.any? || resolution_store.any_unresolved_family?
741
+ # Exit this "while" and wait for connections to be established or hostname resolution in next loop
742
+ # Or exit this "while" and wait for hostname resolution in next loop
743
+ break
744
+ else
745
+ raise SocketError.new 'no appropriate local address'
746
+ end
747
+ end
748
+ end
749
+
750
+ begin
751
+ if resolution_store.any_addrinfos? ||
752
+ connecting_sockets.any? ||
753
+ resolution_store.any_unresolved_family?
754
+ socket = Socket.new(addrinfo.pfamily, addrinfo.socktype, addrinfo.protocol)
755
+ socket.bind(local_addrinfo) if local_addrinfo
756
+ result = socket.connect_nonblock(addrinfo, exception: false)
757
+ else
758
+ result = socket = local_addrinfo ?
759
+ addrinfo.connect_from(local_addrinfo, timeout: connect_timeout) :
760
+ addrinfo.connect(timeout: connect_timeout)
761
+ end
762
+
763
+ if result == :wait_writable
764
+ connection_attempt_delay_expires_at = now + CONNECTION_ATTEMPT_DELAY
765
+ if resolution_store.empty_addrinfos?
766
+ user_specified_connect_timeout_at = connect_timeout ? now + connect_timeout : Float::INFINITY
767
+ end
768
+
769
+ connecting_sockets[socket] = addrinfo
770
+ break
771
+ else
772
+ return socket # connection established
773
+ end
774
+ rescue SystemCallError => e
775
+ socket&.close
776
+ last_error = e
777
+
778
+ if resolution_store.any_addrinfos?
779
+ # Try other Addrinfo in next "while"
780
+ next
781
+ elsif connecting_sockets.any? || resolution_store.any_unresolved_family?
782
+ # Exit this "while" and wait for connections to be established or hostname resolution in next loop
783
+ # Or exit this "while" and wait for hostname resolution in next loop
784
+ break
785
+ else
786
+ raise last_error
787
+ end
788
+ end
789
+ end
790
+ end
791
+
792
+ ends_at =
793
+ if resolution_store.any_addrinfos?
794
+ resolution_delay_expires_at || connection_attempt_delay_expires_at
795
+ else
796
+ [user_specified_resolv_timeout_at, user_specified_connect_timeout_at].compact.max
797
+ end
798
+
799
+ hostname_resolved, writable_sockets, except_sockets = IO.select(
800
+ hostname_resolution_notifier,
801
+ connecting_sockets.keys,
802
+ # Use errorfds to wait for non-blocking connect failures on Windows
803
+ is_windows_environment ? connecting_sockets.keys : nil,
804
+ second_to_timeout(current_clock_time, ends_at),
805
+ )
806
+ now = current_clock_time
807
+ resolution_delay_expires_at = nil if expired?(now, resolution_delay_expires_at)
808
+ connection_attempt_delay_expires_at = nil if expired?(now, connection_attempt_delay_expires_at)
809
+
810
+ if writable_sockets&.any?
811
+ while (writable_socket = writable_sockets.pop)
812
+ is_connected = is_windows_environment || (
813
+ sockopt = writable_socket.getsockopt(Socket::SOL_SOCKET, Socket::SO_ERROR)
814
+ sockopt.int.zero?
815
+ )
816
+
817
+ if is_connected
818
+ connecting_sockets.delete writable_socket
819
+ return writable_socket
820
+ else
821
+ failed_ai = connecting_sockets.delete writable_socket
822
+ writable_socket.close
823
+ ip_address = failed_ai.ipv6? ? "[#{failed_ai.ip_address}]" : failed_ai.ip_address
824
+ last_error = SystemCallError.new("connect(2) for #{ip_address}:#{failed_ai.ip_port}", sockopt.int)
825
+
826
+ if writable_sockets.any? || connecting_sockets.any?
827
+ # Try other writable socket in next "while"
828
+ # Or exit this "while" and wait for connections to be established or hostname resolution in next loop
829
+ elsif resolution_store.any_addrinfos? || resolution_store.any_unresolved_family?
830
+ # Exit this "while" and try other connection attempt
831
+ # Or exit this "while" and wait for hostname resolution in next loop
832
+ connection_attempt_delay_expires_at = nil
833
+ user_specified_connect_timeout_at = nil
834
+ else
835
+ raise last_error
836
+ end
837
+ end
838
+ end
839
+ end
840
+
841
+ if except_sockets&.any?
842
+ except_sockets.each do |except_socket|
843
+ failed_ai = connecting_sockets.delete except_socket
844
+ sockopt = except_socket.getsockopt(Socket::SOL_SOCKET, Socket::SO_ERROR)
845
+ except_socket.close
846
+ ip_address = failed_ai.ipv6? ? "[#{failed_ai.ip_address}]" : failed_ai.ip_address
847
+ last_error = SystemCallError.new("connect(2) for #{ip_address}:#{failed_ai.ip_port}", sockopt.int)
848
+
849
+ if except_sockets.any? || connecting_sockets.any?
850
+ # Cleanup other except socket in next "each"
851
+ # Or exit this "while" and wait for connections to be established or hostname resolution in next loop
852
+ elsif resolution_store.any_addrinfos? || resolution_store.any_unresolved_family?
853
+ # Exit this "while" and try other connection attempt
854
+ # Or exit this "while" and wait for hostname resolution in next loop
855
+ connection_attempt_delay_expires_at = nil
856
+ user_specified_connect_timeout_at = nil
857
+ else
858
+ raise last_error
859
+ end
860
+ end
861
+ end
862
+
863
+ if hostname_resolved&.any?
864
+ while (family_and_result = hostname_resolution_result.get)
865
+ family_name, result = family_and_result
866
+
867
+ if result.is_a? Exception
868
+ resolution_store.add_error(family_name, result)
869
+
870
+ unless (Socket.const_defined?(:EAI_ADDRFAMILY)) &&
871
+ (result.is_a?(Socket::ResolutionError)) &&
872
+ (result.error_code == Socket::EAI_ADDRFAMILY)
873
+ other = family_name == :ipv6 ? :ipv4 : :ipv6
874
+ if !resolution_store.resolved?(other) || !resolution_store.resolved_successfully?(other)
875
+ last_error = result
876
+ last_error_from_thread = true
877
+ end
878
+ end
879
+ else
880
+ resolution_store.add_resolved(family_name, result)
881
+ end
882
+ end
883
+
884
+ if resolution_store.resolved?(:ipv4)
885
+ if resolution_store.resolved?(:ipv6)
886
+ hostname_resolution_notifier = nil
887
+ resolution_delay_expires_at = nil
888
+ user_specified_resolv_timeout_at = nil
889
+ elsif resolution_store.resolved_successfully?(:ipv4)
890
+ resolution_delay_expires_at = now + RESOLUTION_DELAY
891
+ end
892
+ end
893
+ end
894
+
895
+ if resolution_store.empty_addrinfos?
896
+ if connecting_sockets.empty? && resolution_store.resolved_all_families?
897
+ if last_error_from_thread
898
+ raise last_error.class, last_error.message, cause: last_error
899
+ else
900
+ raise last_error
901
+ end
902
+ end
903
+
904
+ if (expired?(now, user_specified_resolv_timeout_at) || resolution_store.resolved_all_families?) &&
905
+ (expired?(now, user_specified_connect_timeout_at) || connecting_sockets.empty?)
906
+ raise Errno::ETIMEDOUT, 'user specified timeout'
907
+ end
908
+ end
909
+ end
910
+ ensure
911
+ hostname_resolution_threads.each do |thread|
912
+ thread.exit
913
+ end
914
+
915
+ hostname_resolution_result&.close
916
+
917
+ connecting_sockets.each_key do |connecting_socket|
918
+ connecting_socket.close
919
+ end
920
+ end
921
+
922
+ def self.tcp_without_fast_fallback(host, port, local_host, local_port, connect_timeout:, resolv_timeout:)
923
+ last_error = nil
924
+ ret = nil
925
+
926
+ local_addr_list = nil
927
+ if local_host != nil || local_port != nil
928
+ local_addr_list = Addrinfo.getaddrinfo(local_host, local_port, nil, :STREAM, nil)
929
+ end
930
+
931
+ Addrinfo.foreach(host, port, nil, :STREAM, timeout: resolv_timeout) {|ai|
932
+ if local_addr_list
933
+ local_addr = local_addr_list.find {|local_ai| local_ai.afamily == ai.afamily }
934
+ next unless local_addr
935
+ else
936
+ local_addr = nil
937
+ end
938
+ begin
939
+ sock = local_addr ?
940
+ ai.connect_from(local_addr, timeout: connect_timeout) :
941
+ ai.connect(timeout: connect_timeout)
942
+ rescue SystemCallError
943
+ last_error = $!
944
+ next
945
+ end
946
+ ret = sock
947
+ break
948
+ }
949
+ unless ret
950
+ if last_error
951
+ raise last_error
952
+ else
953
+ raise SocketError, "no appropriate local address"
954
+ end
955
+ end
956
+
957
+ ret
958
+ end
959
+ private_class_method :tcp_without_fast_fallback
960
+
961
+ def self.ip_address?(hostname)
962
+ hostname.match?(IPV6_ADRESS_FORMAT) || hostname.match?(/\A([0-9]{1,3}\.){3}[0-9]{1,3}\z/)
963
+ end
964
+ private_class_method :ip_address?
965
+
966
+ def self.resolve_hostname(family, host, port, hostname_resolution_result)
967
+ begin
968
+ resolved_addrinfos = Addrinfo.getaddrinfo(host, port, ADDRESS_FAMILIES[family], :STREAM)
969
+ hostname_resolution_result.add(family, resolved_addrinfos)
970
+ rescue => e
971
+ hostname_resolution_result.add(family, e)
972
+ end
973
+ end
974
+ private_class_method :resolve_hostname
975
+
976
+ def self.current_clock_time
977
+ Process.clock_gettime(Process::CLOCK_MONOTONIC)
978
+ end
979
+ private_class_method :current_clock_time
980
+
981
+ def self.second_to_timeout(started_at, ends_at)
982
+ return nil if ends_at == Float::INFINITY || ends_at.nil?
983
+
984
+ remaining = (ends_at - started_at)
985
+ remaining.negative? ? 0 : remaining
986
+ end
987
+ private_class_method :second_to_timeout
988
+
989
+ def self.expired?(started_at, ends_at)
990
+ second_to_timeout(started_at, ends_at)&.zero?
991
+ end
992
+ private_class_method :expired?
993
+
994
+ class HostnameResolutionResult
995
+ def initialize(size)
996
+ @size = size
997
+ @taken_count = 0
998
+ @rpipe, @wpipe = IO.pipe
999
+ @results = []
1000
+ @mutex = Mutex.new
1001
+ end
1002
+
1003
+ def notifier
1004
+ [@rpipe]
1005
+ end
1006
+
1007
+ def add(family, result)
1008
+ @mutex.synchronize do
1009
+ @results.push [family, result]
1010
+ @wpipe.putc HOSTNAME_RESOLUTION_QUEUE_UPDATED
1011
+ end
1012
+ end
1013
+
1014
+ def get
1015
+ return nil if @results.empty?
1016
+
1017
+ res = nil
1018
+
1019
+ @mutex.synchronize do
1020
+ @rpipe.getbyte
1021
+ res = @results.shift
1022
+ end
1023
+
1024
+ @taken_count += 1
1025
+ close if @taken_count == @size
1026
+ res
1027
+ end
1028
+
1029
+ def close
1030
+ @rpipe.close
1031
+ @wpipe.close
1032
+ end
1033
+ end
1034
+ private_constant :HostnameResolutionResult
1035
+
1036
+ class HostnameResolutionStore
1037
+ PRIORITY_ON_V6 = [:ipv6, :ipv4].freeze
1038
+ PRIORITY_ON_V4 = [:ipv4, :ipv6].freeze
1039
+
1040
+ def initialize(family_names)
1041
+ @family_names = family_names
1042
+ @addrinfo_dict = {}
1043
+ @error_dict = {}
1044
+ @last_family = nil
1045
+ end
1046
+
1047
+ def add_resolved(family_name, addrinfos)
1048
+ @addrinfo_dict[family_name] = addrinfos
1049
+ end
1050
+
1051
+ def add_error(family_name, error)
1052
+ @addrinfo_dict[family_name] = []
1053
+ @error_dict[family_name] = error
1054
+ end
1055
+
1056
+ def get_addrinfo
1057
+ precedences =
1058
+ case @last_family
1059
+ when :ipv4, nil then PRIORITY_ON_V6
1060
+ when :ipv6 then PRIORITY_ON_V4
1061
+ end
1062
+
1063
+ precedences.each do |family_name|
1064
+ addrinfo = @addrinfo_dict[family_name]&.shift
1065
+ next unless addrinfo
1066
+
1067
+ @last_family = family_name
1068
+ return addrinfo
1069
+ end
1070
+
1071
+ nil
1072
+ end
1073
+
1074
+ def empty_addrinfos?
1075
+ @addrinfo_dict.all? { |_, addrinfos| addrinfos.empty? }
1076
+ end
1077
+
1078
+ def any_addrinfos?
1079
+ !empty_addrinfos?
1080
+ end
1081
+
1082
+ def resolved?(family)
1083
+ @addrinfo_dict.has_key? family
1084
+ end
1085
+
1086
+ def resolved_successfully?(family)
1087
+ resolved?(family) && !@error_dict[family]
1088
+ end
1089
+
1090
+ def resolved_all_families?
1091
+ (@family_names - @addrinfo_dict.keys).empty?
1092
+ end
1093
+
1094
+ def any_unresolved_family?
1095
+ !resolved_all_families?
1096
+ end
1097
+ end
1098
+ private_constant :HostnameResolutionStore
1099
+
1100
+ # :stopdoc:
1101
+ def self.ip_sockets_port0(ai_list, reuseaddr)
1102
+ sockets = []
1103
+ begin
1104
+ sockets.clear
1105
+ port = nil
1106
+ ai_list.each {|ai|
1107
+ begin
1108
+ s = Socket.new(ai.pfamily, ai.socktype, ai.protocol)
1109
+ rescue SystemCallError
1110
+ next
1111
+ end
1112
+ sockets << s
1113
+ s.ipv6only! if ai.ipv6?
1114
+ if reuseaddr
1115
+ s.setsockopt(:SOCKET, :REUSEADDR, 1)
1116
+ end
1117
+ unless port
1118
+ s.bind(ai)
1119
+ port = s.local_address.ip_port
1120
+ else
1121
+ s.bind(ai.family_addrinfo(ai.ip_address, port))
1122
+ end
1123
+ }
1124
+ rescue Errno::EADDRINUSE
1125
+ sockets.each(&:close)
1126
+ retry
1127
+ rescue Exception
1128
+ sockets.each(&:close)
1129
+ raise
1130
+ end
1131
+ sockets
1132
+ end
1133
+ class << self
1134
+ private :ip_sockets_port0
1135
+ end
1136
+
1137
+ def self.tcp_server_sockets_port0(host)
1138
+ ai_list = Addrinfo.getaddrinfo(host, 0, nil, :STREAM, nil, Socket::AI_PASSIVE)
1139
+ sockets = ip_sockets_port0(ai_list, true)
1140
+ begin
1141
+ sockets.each {|s|
1142
+ s.listen(Socket::SOMAXCONN)
1143
+ }
1144
+ rescue Exception
1145
+ sockets.each(&:close)
1146
+ raise
1147
+ end
1148
+ sockets
1149
+ end
1150
+ class << self
1151
+ private :tcp_server_sockets_port0
1152
+ end
1153
+ # :startdoc:
1154
+
1155
+ # creates TCP/IP server sockets for _host_ and _port_.
1156
+ # _host_ is optional.
1157
+ #
1158
+ # If no block given,
1159
+ # it returns an array of listening sockets.
1160
+ #
1161
+ # If a block is given, the block is called with the sockets.
1162
+ # The value of the block is returned.
1163
+ # The socket is closed when this method returns.
1164
+ #
1165
+ # If _port_ is 0, actual port number is chosen dynamically.
1166
+ # However all sockets in the result has same port number.
1167
+ #
1168
+ # # tcp_server_sockets returns two sockets.
1169
+ # sockets = Socket.tcp_server_sockets(1296)
1170
+ # p sockets #=> [#<Socket:fd 3>, #<Socket:fd 4>]
1171
+ #
1172
+ # # The sockets contains IPv6 and IPv4 sockets.
1173
+ # sockets.each {|s| p s.local_address }
1174
+ # #=> #<Addrinfo: [::]:1296 TCP>
1175
+ # # #<Addrinfo: 0.0.0.0:1296 TCP>
1176
+ #
1177
+ # # IPv6 and IPv4 socket has same port number, 53114, even if it is chosen dynamically.
1178
+ # sockets = Socket.tcp_server_sockets(0)
1179
+ # sockets.each {|s| p s.local_address }
1180
+ # #=> #<Addrinfo: [::]:53114 TCP>
1181
+ # # #<Addrinfo: 0.0.0.0:53114 TCP>
1182
+ #
1183
+ # # The block is called with the sockets.
1184
+ # Socket.tcp_server_sockets(0) {|sockets|
1185
+ # p sockets #=> [#<Socket:fd 3>, #<Socket:fd 4>]
1186
+ # }
1187
+ #
1188
+ def self.tcp_server_sockets(host=nil, port)
1189
+ if port == 0
1190
+ sockets = tcp_server_sockets_port0(host)
1191
+ else
1192
+ last_error = nil
1193
+ sockets = []
1194
+ begin
1195
+ Addrinfo.foreach(host, port, nil, :STREAM, nil, Socket::AI_PASSIVE) {|ai|
1196
+ begin
1197
+ s = ai.listen
1198
+ rescue SystemCallError
1199
+ last_error = $!
1200
+ next
1201
+ end
1202
+ sockets << s
1203
+ }
1204
+ if sockets.empty?
1205
+ raise last_error
1206
+ end
1207
+ rescue Exception
1208
+ sockets.each(&:close)
1209
+ raise
1210
+ end
1211
+ end
1212
+ if block_given?
1213
+ begin
1214
+ yield sockets
1215
+ ensure
1216
+ sockets.each(&:close)
1217
+ end
1218
+ else
1219
+ sockets
1220
+ end
1221
+ end
1222
+
1223
+ # yield socket and client address for each a connection accepted via given sockets.
1224
+ #
1225
+ # The arguments are a list of sockets.
1226
+ # The individual argument should be a socket or an array of sockets.
1227
+ #
1228
+ # This method yields the block sequentially.
1229
+ # It means that the next connection is not accepted until the block returns.
1230
+ # So concurrent mechanism, thread for example, should be used to service multiple clients at a time.
1231
+ #
1232
+ def self.accept_loop(*sockets) # :yield: socket, client_addrinfo
1233
+ sockets.flatten!(1)
1234
+ if sockets.empty?
1235
+ raise ArgumentError, "no sockets"
1236
+ end
1237
+ loop {
1238
+ readable, _, _ = IO.select(sockets)
1239
+ readable.each {|r|
1240
+ sock, addr = r.accept_nonblock(exception: false)
1241
+ next if sock == :wait_readable
1242
+ yield sock, addr
1243
+ }
1244
+ }
1245
+ end
1246
+
1247
+ # creates a TCP/IP server on _port_ and calls the block for each connection accepted.
1248
+ # The block is called with a socket and a client_address as an Addrinfo object.
1249
+ #
1250
+ # If _host_ is specified, it is used with _port_ to determine the server addresses.
1251
+ #
1252
+ # The socket is *not* closed when the block returns.
1253
+ # So application should close it explicitly.
1254
+ #
1255
+ # This method calls the block sequentially.
1256
+ # It means that the next connection is not accepted until the block returns.
1257
+ # So concurrent mechanism, thread for example, should be used to service multiple clients at a time.
1258
+ #
1259
+ # Note that Addrinfo.getaddrinfo is used to determine the server socket addresses.
1260
+ # When Addrinfo.getaddrinfo returns two or more addresses,
1261
+ # IPv4 and IPv6 address for example,
1262
+ # all of them are used.
1263
+ # Socket.tcp_server_loop succeeds if one socket can be used at least.
1264
+ #
1265
+ # # Sequential echo server.
1266
+ # # It services only one client at a time.
1267
+ # Socket.tcp_server_loop(16807) {|sock, client_addrinfo|
1268
+ # begin
1269
+ # IO.copy_stream(sock, sock)
1270
+ # ensure
1271
+ # sock.close
1272
+ # end
1273
+ # }
1274
+ #
1275
+ # # Threaded echo server
1276
+ # # It services multiple clients at a time.
1277
+ # # Note that it may accept connections too much.
1278
+ # Socket.tcp_server_loop(16807) {|sock, client_addrinfo|
1279
+ # Thread.new {
1280
+ # begin
1281
+ # IO.copy_stream(sock, sock)
1282
+ # ensure
1283
+ # sock.close
1284
+ # end
1285
+ # }
1286
+ # }
1287
+ #
1288
+ def self.tcp_server_loop(host=nil, port, &b) # :yield: socket, client_addrinfo
1289
+ tcp_server_sockets(host, port) {|sockets|
1290
+ accept_loop(sockets, &b)
1291
+ }
1292
+ end
1293
+
1294
+ # :call-seq:
1295
+ # Socket.udp_server_sockets([host, ] port)
1296
+ #
1297
+ # Creates UDP/IP sockets for a UDP server.
1298
+ #
1299
+ # If no block given, it returns an array of sockets.
1300
+ #
1301
+ # If a block is given, the block is called with the sockets.
1302
+ # The value of the block is returned.
1303
+ # The sockets are closed when this method returns.
1304
+ #
1305
+ # If _port_ is zero, some port is chosen.
1306
+ # But the chosen port is used for the all sockets.
1307
+ #
1308
+ # # UDP/IP echo server
1309
+ # Socket.udp_server_sockets(0) {|sockets|
1310
+ # p sockets.first.local_address.ip_port #=> 32963
1311
+ # Socket.udp_server_loop_on(sockets) {|msg, msg_src|
1312
+ # msg_src.reply msg
1313
+ # }
1314
+ # }
1315
+ #
1316
+ def self.udp_server_sockets(host=nil, port)
1317
+ last_error = nil
1318
+ sockets = []
1319
+
1320
+ ipv6_recvpktinfo = nil
1321
+ if defined? Socket::AncillaryData
1322
+ if defined? Socket::IPV6_RECVPKTINFO # RFC 3542
1323
+ ipv6_recvpktinfo = Socket::IPV6_RECVPKTINFO
1324
+ elsif defined? Socket::IPV6_PKTINFO # RFC 2292
1325
+ ipv6_recvpktinfo = Socket::IPV6_PKTINFO
1326
+ end
1327
+ end
1328
+
1329
+ local_addrs = Socket.ip_address_list
1330
+
1331
+ ip_list = []
1332
+ Addrinfo.foreach(host, port, nil, :DGRAM, nil, Socket::AI_PASSIVE) {|ai|
1333
+ if ai.ipv4? && ai.ip_address == "0.0.0.0"
1334
+ local_addrs.each {|a|
1335
+ next unless a.ipv4?
1336
+ ip_list << Addrinfo.new(a.to_sockaddr, :INET, :DGRAM, 0);
1337
+ }
1338
+ elsif ai.ipv6? && ai.ip_address == "::" && !ipv6_recvpktinfo
1339
+ local_addrs.each {|a|
1340
+ next unless a.ipv6?
1341
+ ip_list << Addrinfo.new(a.to_sockaddr, :INET6, :DGRAM, 0);
1342
+ }
1343
+ else
1344
+ ip_list << ai
1345
+ end
1346
+ }
1347
+ ip_list.uniq!(&:to_sockaddr)
1348
+
1349
+ if port == 0
1350
+ sockets = ip_sockets_port0(ip_list, false)
1351
+ else
1352
+ ip_list.each {|ip|
1353
+ ai = Addrinfo.udp(ip.ip_address, port)
1354
+ begin
1355
+ s = ai.bind
1356
+ rescue SystemCallError
1357
+ last_error = $!
1358
+ next
1359
+ end
1360
+ sockets << s
1361
+ }
1362
+ if sockets.empty?
1363
+ raise last_error
1364
+ end
1365
+ end
1366
+
1367
+ sockets.each {|s|
1368
+ ai = s.local_address
1369
+ if ipv6_recvpktinfo && ai.ipv6? && ai.ip_address == "::"
1370
+ s.setsockopt(:IPV6, ipv6_recvpktinfo, 1)
1371
+ end
1372
+ }
1373
+
1374
+ if block_given?
1375
+ begin
1376
+ yield sockets
1377
+ ensure
1378
+ sockets.each(&:close) if sockets
1379
+ end
1380
+ else
1381
+ sockets
1382
+ end
1383
+ end
1384
+
1385
+ # :call-seq:
1386
+ # Socket.udp_server_recv(sockets) {|msg, msg_src| ... }
1387
+ #
1388
+ # Receive UDP/IP packets from the given _sockets_.
1389
+ # For each packet received, the block is called.
1390
+ #
1391
+ # The block receives _msg_ and _msg_src_.
1392
+ # _msg_ is a string which is the payload of the received packet.
1393
+ # _msg_src_ is a Socket::UDPSource object which is used for reply.
1394
+ #
1395
+ # Socket.udp_server_loop can be implemented using this method as follows.
1396
+ #
1397
+ # udp_server_sockets(host, port) {|sockets|
1398
+ # loop {
1399
+ # readable, _, _ = IO.select(sockets)
1400
+ # udp_server_recv(readable) {|msg, msg_src| ... }
1401
+ # }
1402
+ # }
1403
+ #
1404
+ def self.udp_server_recv(sockets)
1405
+ sockets.each {|r|
1406
+ msg, sender_addrinfo, _, *controls = r.recvmsg_nonblock(exception: false)
1407
+ next if msg == :wait_readable
1408
+ ai = r.local_address
1409
+ if ai.ipv6? and pktinfo = controls.find {|c| c.cmsg_is?(:IPV6, :PKTINFO) }
1410
+ ai = Addrinfo.udp(pktinfo.ipv6_pktinfo_addr.ip_address, ai.ip_port)
1411
+ yield msg, UDPSource.new(sender_addrinfo, ai) {|reply_msg|
1412
+ r.sendmsg reply_msg, 0, sender_addrinfo, pktinfo
1413
+ }
1414
+ else
1415
+ yield msg, UDPSource.new(sender_addrinfo, ai) {|reply_msg|
1416
+ r.send reply_msg, 0, sender_addrinfo
1417
+ }
1418
+ end
1419
+ }
1420
+ end
1421
+
1422
+ # :call-seq:
1423
+ # Socket.udp_server_loop_on(sockets) {|msg, msg_src| ... }
1424
+ #
1425
+ # Run UDP/IP server loop on the given sockets.
1426
+ #
1427
+ # The return value of Socket.udp_server_sockets is appropriate for the argument.
1428
+ #
1429
+ # It calls the block for each message received.
1430
+ #
1431
+ def self.udp_server_loop_on(sockets, &b) # :yield: msg, msg_src
1432
+ loop {
1433
+ readable, _, _ = IO.select(sockets)
1434
+ udp_server_recv(readable, &b)
1435
+ }
1436
+ end
1437
+
1438
+ # :call-seq:
1439
+ # Socket.udp_server_loop(port) {|msg, msg_src| ... }
1440
+ # Socket.udp_server_loop(host, port) {|msg, msg_src| ... }
1441
+ #
1442
+ # creates a UDP/IP server on _port_ and calls the block for each message arrived.
1443
+ # The block is called with the message and its source information.
1444
+ #
1445
+ # This method allocates sockets internally using _port_.
1446
+ # If _host_ is specified, it is used conjunction with _port_ to determine the server addresses.
1447
+ #
1448
+ # The _msg_ is a string.
1449
+ #
1450
+ # The _msg_src_ is a Socket::UDPSource object.
1451
+ # It is used for reply.
1452
+ #
1453
+ # # UDP/IP echo server.
1454
+ # Socket.udp_server_loop(9261) {|msg, msg_src|
1455
+ # msg_src.reply msg
1456
+ # }
1457
+ #
1458
+ def self.udp_server_loop(host=nil, port, &b) # :yield: message, message_source
1459
+ udp_server_sockets(host, port) {|sockets|
1460
+ udp_server_loop_on(sockets, &b)
1461
+ }
1462
+ end
1463
+
1464
+ # UDP/IP address information used by Socket.udp_server_loop.
1465
+ class UDPSource
1466
+ # +remote_address+ is an Addrinfo object.
1467
+ #
1468
+ # +local_address+ is an Addrinfo object.
1469
+ #
1470
+ # +reply_proc+ is a Proc used to send reply back to the source.
1471
+ def initialize(remote_address, local_address, &reply_proc)
1472
+ @remote_address = remote_address
1473
+ @local_address = local_address
1474
+ @reply_proc = reply_proc
1475
+ end
1476
+
1477
+ # Address of the source
1478
+ attr_reader :remote_address
1479
+
1480
+ # Local address
1481
+ attr_reader :local_address
1482
+
1483
+ def inspect # :nodoc:
1484
+ "\#<#{self.class}: #{@remote_address.inspect_sockaddr} to #{@local_address.inspect_sockaddr}>".dup
1485
+ end
1486
+
1487
+ # Sends the String +msg+ to the source
1488
+ def reply(msg)
1489
+ @reply_proc.call msg
1490
+ end
1491
+ end
1492
+
1493
+ # creates a new socket connected to path using UNIX socket socket.
1494
+ #
1495
+ # If a block is given, the block is called with the socket.
1496
+ # The value of the block is returned.
1497
+ # The socket is closed when this method returns.
1498
+ #
1499
+ # If no block is given, the socket is returned.
1500
+ #
1501
+ # # talk to /tmp/sock socket.
1502
+ # Socket.unix("/tmp/sock") {|sock|
1503
+ # t = Thread.new { IO.copy_stream(sock, STDOUT) }
1504
+ # IO.copy_stream(STDIN, sock)
1505
+ # t.join
1506
+ # }
1507
+ #
1508
+ def self.unix(path) # :yield: socket
1509
+ addr = Addrinfo.unix(path)
1510
+ sock = addr.connect
1511
+ if block_given?
1512
+ begin
1513
+ yield sock
1514
+ ensure
1515
+ sock.close
1516
+ end
1517
+ else
1518
+ sock
1519
+ end
1520
+ end
1521
+
1522
+ # creates a UNIX server socket on _path_
1523
+ #
1524
+ # If no block given, it returns a listening socket.
1525
+ #
1526
+ # If a block is given, it is called with the socket and the block value is returned.
1527
+ # When the block exits, the socket is closed and the socket file is removed.
1528
+ #
1529
+ # socket = Socket.unix_server_socket("/tmp/s")
1530
+ # p socket #=> #<Socket:fd 3>
1531
+ # p socket.local_address #=> #<Addrinfo: /tmp/s SOCK_STREAM>
1532
+ #
1533
+ # Socket.unix_server_socket("/tmp/sock") {|s|
1534
+ # p s #=> #<Socket:fd 3>
1535
+ # p s.local_address #=> # #<Addrinfo: /tmp/sock SOCK_STREAM>
1536
+ # }
1537
+ #
1538
+ def self.unix_server_socket(path)
1539
+ unless unix_socket_abstract_name?(path)
1540
+ begin
1541
+ st = File.lstat(path)
1542
+ rescue Errno::ENOENT
1543
+ end
1544
+ if st&.socket? && st.owned?
1545
+ File.unlink path
1546
+ end
1547
+ end
1548
+ s = Addrinfo.unix(path).listen
1549
+ if block_given?
1550
+ begin
1551
+ yield s
1552
+ ensure
1553
+ s.close
1554
+ unless unix_socket_abstract_name?(path)
1555
+ File.unlink path
1556
+ end
1557
+ end
1558
+ else
1559
+ s
1560
+ end
1561
+ end
1562
+
1563
+ class << self
1564
+ private
1565
+
1566
+ def unix_socket_abstract_name?(path)
1567
+ /linux/ =~ RUBY_PLATFORM && /\A(\0|\z)/ =~ path
1568
+ end
1569
+ end
1570
+
1571
+ # creates a UNIX socket server on _path_.
1572
+ # It calls the block for each socket accepted.
1573
+ #
1574
+ # If _host_ is specified, it is used with _port_ to determine the server ports.
1575
+ #
1576
+ # The socket is *not* closed when the block returns.
1577
+ # So application should close it.
1578
+ #
1579
+ # This method deletes the socket file pointed by _path_ at first if
1580
+ # the file is a socket file and it is owned by the user of the application.
1581
+ # This is safe only if the directory of _path_ is not changed by a malicious user.
1582
+ # So don't use /tmp/malicious-users-directory/socket.
1583
+ # Note that /tmp/socket and /tmp/your-private-directory/socket is safe assuming that /tmp has sticky bit.
1584
+ #
1585
+ # # Sequential echo server.
1586
+ # # It services only one client at a time.
1587
+ # Socket.unix_server_loop("/tmp/sock") {|sock, client_addrinfo|
1588
+ # begin
1589
+ # IO.copy_stream(sock, sock)
1590
+ # ensure
1591
+ # sock.close
1592
+ # end
1593
+ # }
1594
+ #
1595
+ def self.unix_server_loop(path, &b) # :yield: socket, client_addrinfo
1596
+ unix_server_socket(path) {|serv|
1597
+ accept_loop(serv, &b)
1598
+ }
1599
+ end
1600
+
1601
+ # call-seq:
1602
+ # socket.connect_nonblock(remote_sockaddr, [options]) => 0
1603
+ #
1604
+ # Requests a connection to be made on the given +remote_sockaddr+ after
1605
+ # O_NONBLOCK is set for the underlying file descriptor.
1606
+ # Returns 0 if successful, otherwise an exception is raised.
1607
+ #
1608
+ # === Parameter
1609
+ # * +remote_sockaddr+ - the +struct+ sockaddr contained in a string or Addrinfo object
1610
+ #
1611
+ # === Example:
1612
+ # # Pull down Google's web page
1613
+ # require 'socket'
1614
+ # include Socket::Constants
1615
+ # socket = Socket.new(AF_INET, SOCK_STREAM, 0)
1616
+ # sockaddr = Socket.sockaddr_in(80, 'www.google.com')
1617
+ # begin # emulate blocking connect
1618
+ # socket.connect_nonblock(sockaddr)
1619
+ # rescue IO::WaitWritable
1620
+ # IO.select(nil, [socket]) # wait 3-way handshake completion
1621
+ # begin
1622
+ # socket.connect_nonblock(sockaddr) # check connection failure
1623
+ # rescue Errno::EISCONN
1624
+ # end
1625
+ # end
1626
+ # socket.write("GET / HTTP/1.0\r\n\r\n")
1627
+ # results = socket.read
1628
+ #
1629
+ # Refer to Socket#connect for the exceptions that may be thrown if the call
1630
+ # to _connect_nonblock_ fails.
1631
+ #
1632
+ # Socket#connect_nonblock may raise any error corresponding to connect(2) failure,
1633
+ # including Errno::EINPROGRESS.
1634
+ #
1635
+ # If the exception is Errno::EINPROGRESS,
1636
+ # it is extended by IO::WaitWritable.
1637
+ # So IO::WaitWritable can be used to rescue the exceptions for retrying connect_nonblock.
1638
+ #
1639
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
1640
+ # that connect_nonblock should not raise an IO::WaitWritable exception, but
1641
+ # return the symbol +:wait_writable+ instead.
1642
+ #
1643
+ # === See
1644
+ # * Socket#connect
1645
+ def connect_nonblock(addr, exception: true)
1646
+ __connect_nonblock(addr, exception)
1647
+ end
1648
+ end
1649
+
1650
+ class UDPSocket < IPSocket
1651
+
1652
+ # call-seq:
1653
+ # udpsocket.recvfrom_nonblock(maxlen [, flags[, outbuf [, options]]]) => [mesg, sender_inet_addr]
1654
+ #
1655
+ # Receives up to _maxlen_ bytes from +udpsocket+ using recvfrom(2) after
1656
+ # O_NONBLOCK is set for the underlying file descriptor.
1657
+ # _flags_ is zero or more of the +MSG_+ options.
1658
+ # The first element of the results, _mesg_, is the data received.
1659
+ # The second element, _sender_inet_addr_, is an array to represent the sender address.
1660
+ #
1661
+ # When recvfrom(2) returns 0, Socket#recv_nonblock returns nil.
1662
+ # In most cases it means the connection was closed, but it may also mean
1663
+ # an empty packet was received, as the underlying API makes
1664
+ # it impossible to distinguish these two cases.
1665
+ #
1666
+ # === Parameters
1667
+ # * +maxlen+ - the number of bytes to receive from the socket
1668
+ # * +flags+ - zero or more of the +MSG_+ options
1669
+ # * +outbuf+ - destination String buffer
1670
+ # * +options+ - keyword hash, supporting `exception: false`
1671
+ #
1672
+ # === Example
1673
+ # require 'socket'
1674
+ # s1 = UDPSocket.new
1675
+ # s1.bind("127.0.0.1", 0)
1676
+ # s2 = UDPSocket.new
1677
+ # s2.bind("127.0.0.1", 0)
1678
+ # s2.connect(*s1.addr.values_at(3,1))
1679
+ # s1.connect(*s2.addr.values_at(3,1))
1680
+ # s1.send "aaa", 0
1681
+ # begin # emulate blocking recvfrom
1682
+ # p s2.recvfrom_nonblock(10) #=> ["aaa", ["AF_INET", 33302, "localhost.localdomain", "127.0.0.1"]]
1683
+ # rescue IO::WaitReadable
1684
+ # IO.select([s2])
1685
+ # retry
1686
+ # end
1687
+ #
1688
+ # Refer to Socket#recvfrom for the exceptions that may be thrown if the call
1689
+ # to _recvfrom_nonblock_ fails.
1690
+ #
1691
+ # UDPSocket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure,
1692
+ # including Errno::EWOULDBLOCK.
1693
+ #
1694
+ # If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
1695
+ # it is extended by IO::WaitReadable.
1696
+ # So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.
1697
+ #
1698
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
1699
+ # that recvfrom_nonblock should not raise an IO::WaitReadable exception, but
1700
+ # return the symbol +:wait_readable+ instead.
1701
+ #
1702
+ # === See
1703
+ # * Socket#recvfrom
1704
+ def recvfrom_nonblock(len, flag = 0, outbuf = nil, exception: true)
1705
+ __recvfrom_nonblock(len, flag, outbuf, exception)
1706
+ end
1707
+ end
1708
+
1709
+ class TCPServer < TCPSocket
1710
+
1711
+ # call-seq:
1712
+ # tcpserver.accept_nonblock([options]) => tcpsocket
1713
+ #
1714
+ # Accepts an incoming connection using accept(2) after
1715
+ # O_NONBLOCK is set for the underlying file descriptor.
1716
+ # It returns an accepted TCPSocket for the incoming connection.
1717
+ #
1718
+ # === Example
1719
+ # require 'socket'
1720
+ # serv = TCPServer.new(2202)
1721
+ # begin # emulate blocking accept
1722
+ # sock = serv.accept_nonblock
1723
+ # rescue IO::WaitReadable, Errno::EINTR
1724
+ # IO.select([serv])
1725
+ # retry
1726
+ # end
1727
+ # # sock is an accepted socket.
1728
+ #
1729
+ # Refer to Socket#accept for the exceptions that may be thrown if the call
1730
+ # to TCPServer#accept_nonblock fails.
1731
+ #
1732
+ # TCPServer#accept_nonblock may raise any error corresponding to accept(2) failure,
1733
+ # including Errno::EWOULDBLOCK.
1734
+ #
1735
+ # If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED, Errno::EPROTO,
1736
+ # it is extended by IO::WaitReadable.
1737
+ # So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
1738
+ #
1739
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
1740
+ # that accept_nonblock should not raise an IO::WaitReadable exception, but
1741
+ # return the symbol +:wait_readable+ instead.
1742
+ #
1743
+ # === See
1744
+ # * TCPServer#accept
1745
+ # * Socket#accept
1746
+ def accept_nonblock(exception: true)
1747
+ __accept_nonblock(exception)
1748
+ end
1749
+ end
1750
+
1751
+ class UNIXServer < UNIXSocket
1752
+ # call-seq:
1753
+ # unixserver.accept_nonblock([options]) => unixsocket
1754
+ #
1755
+ # Accepts an incoming connection using accept(2) after
1756
+ # O_NONBLOCK is set for the underlying file descriptor.
1757
+ # It returns an accepted UNIXSocket for the incoming connection.
1758
+ #
1759
+ # === Example
1760
+ # require 'socket'
1761
+ # serv = UNIXServer.new("/tmp/sock")
1762
+ # begin # emulate blocking accept
1763
+ # sock = serv.accept_nonblock
1764
+ # rescue IO::WaitReadable, Errno::EINTR
1765
+ # IO.select([serv])
1766
+ # retry
1767
+ # end
1768
+ # # sock is an accepted socket.
1769
+ #
1770
+ # Refer to Socket#accept for the exceptions that may be thrown if the call
1771
+ # to UNIXServer#accept_nonblock fails.
1772
+ #
1773
+ # UNIXServer#accept_nonblock may raise any error corresponding to accept(2) failure,
1774
+ # including Errno::EWOULDBLOCK.
1775
+ #
1776
+ # If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED or Errno::EPROTO,
1777
+ # it is extended by IO::WaitReadable.
1778
+ # So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
1779
+ #
1780
+ # By specifying a keyword argument _exception_ to +false+, you can indicate
1781
+ # that accept_nonblock should not raise an IO::WaitReadable exception, but
1782
+ # return the symbol +:wait_readable+ instead.
1783
+ #
1784
+ # === See
1785
+ # * UNIXServer#accept
1786
+ # * Socket#accept
1787
+ def accept_nonblock(exception: true)
1788
+ __accept_nonblock(exception)
1789
+ end
1790
+ end if defined?(UNIXSocket)