@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,2574 @@
1
+ # frozen_string_literal: true
2
+ #
3
+ # = net/http.rb
4
+ #
5
+ # Copyright (c) 1999-2007 Yukihiro Matsumoto
6
+ # Copyright (c) 1999-2007 Minero Aoki
7
+ # Copyright (c) 2001 GOTOU Yuuzou
8
+ #
9
+ # Written and maintained by Minero Aoki <aamine@loveruby.net>.
10
+ # HTTPS support added by GOTOU Yuuzou <gotoyuzo@notwork.org>.
11
+ #
12
+ # This file is derived from "http-access.rb".
13
+ #
14
+ # Documented by Minero Aoki; converted to RDoc by William Webber.
15
+ #
16
+ # This program is free software. You can re-distribute and/or
17
+ # modify this program under the same terms of ruby itself ---
18
+ # Ruby Distribution License or GNU General Public License.
19
+ #
20
+ # See Net::HTTP for an overview and examples.
21
+ #
22
+
23
+ require 'net/protocol'
24
+ require 'uri'
25
+ require 'resolv'
26
+ autoload :OpenSSL, 'openssl'
27
+
28
+ module Net #:nodoc:
29
+
30
+ # :stopdoc:
31
+ class HTTPBadResponse < StandardError; end
32
+ class HTTPHeaderSyntaxError < StandardError; end
33
+ # :startdoc:
34
+
35
+ # \Class \Net::HTTP provides a rich library that implements the client
36
+ # in a client-server model that uses the \HTTP request-response protocol.
37
+ # For information about \HTTP, see:
38
+ #
39
+ # - {Hypertext Transfer Protocol}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol].
40
+ # - {Technical overview}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Technical_overview].
41
+ #
42
+ # == About the Examples
43
+ #
44
+ # :include: doc/net-http/examples.rdoc
45
+ #
46
+ # == Strategies
47
+ #
48
+ # - If you will make only a few GET requests,
49
+ # consider using {OpenURI}[rdoc-ref:OpenURI].
50
+ # - If you will make only a few requests of all kinds,
51
+ # consider using the various singleton convenience methods in this class.
52
+ # Each of the following methods automatically starts and finishes
53
+ # a {session}[rdoc-ref:Net::HTTP@Sessions] that sends a single request:
54
+ #
55
+ # # Return string response body.
56
+ # Net::HTTP.get(hostname, path)
57
+ # Net::HTTP.get(uri)
58
+ #
59
+ # # Write string response body to $stdout.
60
+ # Net::HTTP.get_print(hostname, path)
61
+ # Net::HTTP.get_print(uri)
62
+ #
63
+ # # Return response as Net::HTTPResponse object.
64
+ # Net::HTTP.get_response(hostname, path)
65
+ # Net::HTTP.get_response(uri)
66
+ # data = '{"title": "foo", "body": "bar", "userId": 1}'
67
+ # Net::HTTP.post(uri, data)
68
+ # params = {title: 'foo', body: 'bar', userId: 1}
69
+ # Net::HTTP.post_form(uri, params)
70
+ # data = '{"title": "foo", "body": "bar", "userId": 1}'
71
+ # Net::HTTP.put(uri, data)
72
+ #
73
+ # - If performance is important, consider using sessions, which lower request overhead.
74
+ # This {session}[rdoc-ref:Net::HTTP@Sessions] has multiple requests for
75
+ # {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]
76
+ # and {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]:
77
+ #
78
+ # Net::HTTP.start(hostname) do |http|
79
+ # # Session started automatically before block execution.
80
+ # http.get(path)
81
+ # http.head(path)
82
+ # body = 'Some text'
83
+ # http.post(path, body) # Can also have a block.
84
+ # http.put(path, body)
85
+ # http.delete(path)
86
+ # http.options(path)
87
+ # http.trace(path)
88
+ # http.patch(path, body) # Can also have a block.
89
+ # http.copy(path)
90
+ # http.lock(path, body)
91
+ # http.mkcol(path, body)
92
+ # http.move(path)
93
+ # http.propfind(path, body)
94
+ # http.proppatch(path, body)
95
+ # http.unlock(path, body)
96
+ # # Session finished automatically at block exit.
97
+ # end
98
+ #
99
+ # The methods cited above are convenience methods that, via their few arguments,
100
+ # allow minimal control over the requests.
101
+ # For greater control, consider using {request objects}[rdoc-ref:Net::HTTPRequest].
102
+ #
103
+ # == URIs
104
+ #
105
+ # On the internet, a URI
106
+ # ({Universal Resource Identifier}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier])
107
+ # is a string that identifies a particular resource.
108
+ # It consists of some or all of: scheme, hostname, path, query, and fragment;
109
+ # see {URI syntax}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax].
110
+ #
111
+ # A Ruby {URI::Generic}[rdoc-ref:URI::Generic] object
112
+ # represents an internet URI.
113
+ # It provides, among others, methods
114
+ # +scheme+, +hostname+, +path+, +query+, and +fragment+.
115
+ #
116
+ # === Schemes
117
+ #
118
+ # An internet \URI has
119
+ # a {scheme}[https://en.wikipedia.org/wiki/List_of_URI_schemes].
120
+ #
121
+ # The two schemes supported in \Net::HTTP are <tt>'https'</tt> and <tt>'http'</tt>:
122
+ #
123
+ # uri.scheme # => "https"
124
+ # URI('http://example.com').scheme # => "http"
125
+ #
126
+ # === Hostnames
127
+ #
128
+ # A hostname identifies a server (host) to which requests may be sent:
129
+ #
130
+ # hostname = uri.hostname # => "jsonplaceholder.typicode.com"
131
+ # Net::HTTP.start(hostname) do |http|
132
+ # # Some HTTP stuff.
133
+ # end
134
+ #
135
+ # === Paths
136
+ #
137
+ # A host-specific path identifies a resource on the host:
138
+ #
139
+ # _uri = uri.dup
140
+ # _uri.path = '/todos/1'
141
+ # hostname = _uri.hostname
142
+ # path = _uri.path
143
+ # Net::HTTP.get(hostname, path)
144
+ #
145
+ # === Queries
146
+ #
147
+ # A host-specific query adds name/value pairs to the URI:
148
+ #
149
+ # _uri = uri.dup
150
+ # params = {userId: 1, completed: false}
151
+ # _uri.query = URI.encode_www_form(params)
152
+ # _uri # => #<URI::HTTPS https://jsonplaceholder.typicode.com?userId=1&completed=false>
153
+ # Net::HTTP.get(_uri)
154
+ #
155
+ # === Fragments
156
+ #
157
+ # A {URI fragment}[https://en.wikipedia.org/wiki/URI_fragment] has no effect
158
+ # in \Net::HTTP;
159
+ # the same data is returned, regardless of whether a fragment is included.
160
+ #
161
+ # == Request Headers
162
+ #
163
+ # Request headers may be used to pass additional information to the host,
164
+ # similar to arguments passed in a method call;
165
+ # each header is a name/value pair.
166
+ #
167
+ # Each of the \Net::HTTP methods that sends a request to the host
168
+ # has optional argument +headers+,
169
+ # where the headers are expressed as a hash of field-name/value pairs:
170
+ #
171
+ # headers = {Accept: 'application/json', Connection: 'Keep-Alive'}
172
+ # Net::HTTP.get(uri, headers)
173
+ #
174
+ # See lists of both standard request fields and common request fields at
175
+ # {Request Fields}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Request_fields].
176
+ # A host may also accept other custom fields.
177
+ #
178
+ # == \HTTP Sessions
179
+ #
180
+ # A _session_ is a connection between a server (host) and a client that:
181
+ #
182
+ # - Is begun by instance method Net::HTTP#start.
183
+ # - May contain any number of requests.
184
+ # - Is ended by instance method Net::HTTP#finish.
185
+ #
186
+ # See example sessions at {Strategies}[rdoc-ref:Net::HTTP@Strategies].
187
+ #
188
+ # === Session Using \Net::HTTP.start
189
+ #
190
+ # If you have many requests to make to a single host (and port),
191
+ # consider using singleton method Net::HTTP.start with a block;
192
+ # the method handles the session automatically by:
193
+ #
194
+ # - Calling #start before block execution.
195
+ # - Executing the block.
196
+ # - Calling #finish after block execution.
197
+ #
198
+ # In the block, you can use these instance methods,
199
+ # each of which that sends a single request:
200
+ #
201
+ # - {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]:
202
+ #
203
+ # - #get, #request_get: GET.
204
+ # - #head, #request_head: HEAD.
205
+ # - #post, #request_post: POST.
206
+ # - #delete: DELETE.
207
+ # - #options: OPTIONS.
208
+ # - #trace: TRACE.
209
+ # - #patch: PATCH.
210
+ #
211
+ # - {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]:
212
+ #
213
+ # - #copy: COPY.
214
+ # - #lock: LOCK.
215
+ # - #mkcol: MKCOL.
216
+ # - #move: MOVE.
217
+ # - #propfind: PROPFIND.
218
+ # - #proppatch: PROPPATCH.
219
+ # - #unlock: UNLOCK.
220
+ #
221
+ # === Session Using \Net::HTTP.start and \Net::HTTP.finish
222
+ #
223
+ # You can manage a session manually using methods #start and #finish:
224
+ #
225
+ # http = Net::HTTP.new(hostname)
226
+ # http.start
227
+ # http.get('/todos/1')
228
+ # http.get('/todos/2')
229
+ # http.delete('/posts/1')
230
+ # http.finish # Needed to free resources.
231
+ #
232
+ # === Single-Request Session
233
+ #
234
+ # Certain convenience methods automatically handle a session by:
235
+ #
236
+ # - Creating an \HTTP object
237
+ # - Starting a session.
238
+ # - Sending a single request.
239
+ # - Finishing the session.
240
+ # - Destroying the object.
241
+ #
242
+ # Such methods that send GET requests:
243
+ #
244
+ # - ::get: Returns the string response body.
245
+ # - ::get_print: Writes the string response body to $stdout.
246
+ # - ::get_response: Returns a Net::HTTPResponse object.
247
+ #
248
+ # Such methods that send POST requests:
249
+ #
250
+ # - ::post: Posts data to the host.
251
+ # - ::post_form: Posts form data to the host.
252
+ #
253
+ # == \HTTP Requests and Responses
254
+ #
255
+ # Many of the methods above are convenience methods,
256
+ # each of which sends a request and returns a string
257
+ # without directly using \Net::HTTPRequest and \Net::HTTPResponse objects.
258
+ #
259
+ # You can, however, directly create a request object, send the request,
260
+ # and retrieve the response object; see:
261
+ #
262
+ # - Net::HTTPRequest.
263
+ # - Net::HTTPResponse.
264
+ #
265
+ # == Following Redirection
266
+ #
267
+ # Each returned response is an instance of a subclass of Net::HTTPResponse.
268
+ # See the {response class hierarchy}[rdoc-ref:Net::HTTPResponse@Response+Subclasses].
269
+ #
270
+ # In particular, class Net::HTTPRedirection is the parent
271
+ # of all redirection classes.
272
+ # This allows you to craft a case statement to handle redirections properly:
273
+ #
274
+ # def fetch(uri, limit = 10)
275
+ # # You should choose a better exception.
276
+ # raise ArgumentError, 'Too many HTTP redirects' if limit == 0
277
+ #
278
+ # res = Net::HTTP.get_response(URI(uri))
279
+ # case res
280
+ # when Net::HTTPSuccess # Any success class.
281
+ # res
282
+ # when Net::HTTPRedirection # Any redirection class.
283
+ # location = res['Location']
284
+ # warn "Redirected to #{location}"
285
+ # fetch(location, limit - 1)
286
+ # else # Any other class.
287
+ # res.value
288
+ # end
289
+ # end
290
+ #
291
+ # fetch(uri)
292
+ #
293
+ # == Basic Authentication
294
+ #
295
+ # Basic authentication is performed according to
296
+ # {RFC2617}[http://www.ietf.org/rfc/rfc2617.txt]:
297
+ #
298
+ # req = Net::HTTP::Get.new(uri)
299
+ # req.basic_auth('user', 'pass')
300
+ # res = Net::HTTP.start(hostname) do |http|
301
+ # http.request(req)
302
+ # end
303
+ #
304
+ # == Streaming Response Bodies
305
+ #
306
+ # By default \Net::HTTP reads an entire response into memory. If you are
307
+ # handling large files or wish to implement a progress bar you can instead
308
+ # stream the body directly to an IO.
309
+ #
310
+ # Net::HTTP.start(hostname) do |http|
311
+ # req = Net::HTTP::Get.new(uri)
312
+ # http.request(req) do |res|
313
+ # open('t.tmp', 'w') do |f|
314
+ # res.read_body do |chunk|
315
+ # f.write chunk
316
+ # end
317
+ # end
318
+ # end
319
+ # end
320
+ #
321
+ # == HTTPS
322
+ #
323
+ # HTTPS is enabled for an \HTTP connection by Net::HTTP#use_ssl=:
324
+ #
325
+ # Net::HTTP.start(hostname, :use_ssl => true) do |http|
326
+ # req = Net::HTTP::Get.new(uri)
327
+ # res = http.request(req)
328
+ # end
329
+ #
330
+ # Or if you simply want to make a GET request, you may pass in a URI
331
+ # object that has an \HTTPS URL. \Net::HTTP automatically turns on TLS
332
+ # verification if the URI object has a 'https' URI scheme:
333
+ #
334
+ # uri # => #<URI::HTTPS https://jsonplaceholder.typicode.com/>
335
+ # Net::HTTP.get(uri)
336
+ #
337
+ # == Proxy Server
338
+ #
339
+ # An \HTTP object can have
340
+ # a {proxy server}[https://en.wikipedia.org/wiki/Proxy_server].
341
+ #
342
+ # You can create an \HTTP object with a proxy server
343
+ # using method Net::HTTP.new or method Net::HTTP.start.
344
+ #
345
+ # The proxy may be defined either by argument +p_addr+
346
+ # or by environment variable <tt>'http_proxy'</tt>.
347
+ #
348
+ # === Proxy Using Argument +p_addr+ as a \String
349
+ #
350
+ # When argument +p_addr+ is a string hostname,
351
+ # the returned +http+ has the given host as its proxy:
352
+ #
353
+ # http = Net::HTTP.new(hostname, nil, 'proxy.example')
354
+ # http.proxy? # => true
355
+ # http.proxy_from_env? # => false
356
+ # http.proxy_address # => "proxy.example"
357
+ # # These use default values.
358
+ # http.proxy_port # => 80
359
+ # http.proxy_user # => nil
360
+ # http.proxy_pass # => nil
361
+ #
362
+ # The port, username, and password for the proxy may also be given:
363
+ #
364
+ # http = Net::HTTP.new(hostname, nil, 'proxy.example', 8000, 'pname', 'ppass')
365
+ # # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
366
+ # http.proxy? # => true
367
+ # http.proxy_from_env? # => false
368
+ # http.proxy_address # => "proxy.example"
369
+ # http.proxy_port # => 8000
370
+ # http.proxy_user # => "pname"
371
+ # http.proxy_pass # => "ppass"
372
+ #
373
+ # === Proxy Using '<tt>ENV['http_proxy']</tt>'
374
+ #
375
+ # When environment variable <tt>'http_proxy'</tt>
376
+ # is set to a \URI string,
377
+ # the returned +http+ will have the server at that URI as its proxy;
378
+ # note that the \URI string must have a protocol
379
+ # such as <tt>'http'</tt> or <tt>'https'</tt>:
380
+ #
381
+ # ENV['http_proxy'] = 'http://example.com'
382
+ # http = Net::HTTP.new(hostname)
383
+ # http.proxy? # => true
384
+ # http.proxy_from_env? # => true
385
+ # http.proxy_address # => "example.com"
386
+ # # These use default values.
387
+ # http.proxy_port # => 80
388
+ # http.proxy_user # => nil
389
+ # http.proxy_pass # => nil
390
+ #
391
+ # The \URI string may include proxy username, password, and port number:
392
+ #
393
+ # ENV['http_proxy'] = 'http://pname:ppass@example.com:8000'
394
+ # http = Net::HTTP.new(hostname)
395
+ # http.proxy? # => true
396
+ # http.proxy_from_env? # => true
397
+ # http.proxy_address # => "example.com"
398
+ # http.proxy_port # => 8000
399
+ # http.proxy_user # => "pname"
400
+ # http.proxy_pass # => "ppass"
401
+ #
402
+ # === Filtering Proxies
403
+ #
404
+ # With method Net::HTTP.new (but not Net::HTTP.start),
405
+ # you can use argument +p_no_proxy+ to filter proxies:
406
+ #
407
+ # - Reject a certain address:
408
+ #
409
+ # http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example')
410
+ # http.proxy_address # => nil
411
+ #
412
+ # - Reject certain domains or subdomains:
413
+ #
414
+ # http = Net::HTTP.new('example.com', nil, 'my.proxy.example', 8000, 'pname', 'ppass', 'proxy.example')
415
+ # http.proxy_address # => nil
416
+ #
417
+ # - Reject certain addresses and port combinations:
418
+ #
419
+ # http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:1234')
420
+ # http.proxy_address # => "proxy.example"
421
+ #
422
+ # http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:8000')
423
+ # http.proxy_address # => nil
424
+ #
425
+ # - Reject a list of the types above delimited using a comma:
426
+ #
427
+ # http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000')
428
+ # http.proxy_address # => nil
429
+ #
430
+ # http = Net::HTTP.new('example.com', nil, 'my.proxy', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000')
431
+ # http.proxy_address # => nil
432
+ #
433
+ # == Compression and Decompression
434
+ #
435
+ # \Net::HTTP does not compress the body of a request before sending.
436
+ #
437
+ # By default, \Net::HTTP adds header <tt>'Accept-Encoding'</tt>
438
+ # to a new {request object}[rdoc-ref:Net::HTTPRequest]:
439
+ #
440
+ # Net::HTTP::Get.new(uri)['Accept-Encoding']
441
+ # # => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
442
+ #
443
+ # This requests the server to zip-encode the response body if there is one;
444
+ # the server is not required to do so.
445
+ #
446
+ # \Net::HTTP does not automatically decompress a response body
447
+ # if the response has header <tt>'Content-Range'</tt>.
448
+ #
449
+ # Otherwise decompression (or not) depends on the value of header
450
+ # {Content-Encoding}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#content-encoding-response-header]:
451
+ #
452
+ # - <tt>'deflate'</tt>, <tt>'gzip'</tt>, or <tt>'x-gzip'</tt>:
453
+ # decompresses the body and deletes the header.
454
+ # - <tt>'none'</tt> or <tt>'identity'</tt>:
455
+ # does not decompress the body, but deletes the header.
456
+ # - Any other value:
457
+ # leaves the body and header unchanged.
458
+ #
459
+ # == What's Here
460
+ #
461
+ # First, what's elsewhere. Class Net::HTTP:
462
+ #
463
+ # - Inherits from {class Object}[rdoc-ref:Object@What-27s+Here].
464
+ #
465
+ # This is a categorized summary of methods and attributes.
466
+ #
467
+ # === \Net::HTTP Objects
468
+ #
469
+ # - {::new}[rdoc-ref:Net::HTTP.new]:
470
+ # Creates a new instance.
471
+ # - {#inspect}[rdoc-ref:Net::HTTP#inspect]:
472
+ # Returns a string representation of +self+.
473
+ #
474
+ # === Sessions
475
+ #
476
+ # - {::start}[rdoc-ref:Net::HTTP.start]:
477
+ # Begins a new session in a new \Net::HTTP object.
478
+ # - {#started?}[rdoc-ref:Net::HTTP#started?]:
479
+ # Returns whether in a session.
480
+ # - {#finish}[rdoc-ref:Net::HTTP#finish]:
481
+ # Ends an active session.
482
+ # - {#start}[rdoc-ref:Net::HTTP#start]:
483
+ # Begins a new session in an existing \Net::HTTP object (+self+).
484
+ #
485
+ # === Connections
486
+ #
487
+ # - {:continue_timeout}[rdoc-ref:Net::HTTP#continue_timeout]:
488
+ # Returns the continue timeout.
489
+ # - {#continue_timeout=}[rdoc-ref:Net::HTTP#continue_timeout=]:
490
+ # Sets the continue timeout seconds.
491
+ # - {:keep_alive_timeout}[rdoc-ref:Net::HTTP#keep_alive_timeout]:
492
+ # Returns the keep-alive timeout.
493
+ # - {:keep_alive_timeout=}[rdoc-ref:Net::HTTP#keep_alive_timeout=]:
494
+ # Sets the keep-alive timeout.
495
+ # - {:max_retries}[rdoc-ref:Net::HTTP#max_retries]:
496
+ # Returns the maximum retries.
497
+ # - {#max_retries=}[rdoc-ref:Net::HTTP#max_retries=]:
498
+ # Sets the maximum retries.
499
+ # - {:open_timeout}[rdoc-ref:Net::HTTP#open_timeout]:
500
+ # Returns the open timeout.
501
+ # - {:open_timeout=}[rdoc-ref:Net::HTTP#open_timeout=]:
502
+ # Sets the open timeout.
503
+ # - {:read_timeout}[rdoc-ref:Net::HTTP#read_timeout]:
504
+ # Returns the open timeout.
505
+ # - {:read_timeout=}[rdoc-ref:Net::HTTP#read_timeout=]:
506
+ # Sets the read timeout.
507
+ # - {:ssl_timeout}[rdoc-ref:Net::HTTP#ssl_timeout]:
508
+ # Returns the ssl timeout.
509
+ # - {:ssl_timeout=}[rdoc-ref:Net::HTTP#ssl_timeout=]:
510
+ # Sets the ssl timeout.
511
+ # - {:write_timeout}[rdoc-ref:Net::HTTP#write_timeout]:
512
+ # Returns the write timeout.
513
+ # - {write_timeout=}[rdoc-ref:Net::HTTP#write_timeout=]:
514
+ # Sets the write timeout.
515
+ #
516
+ # === Requests
517
+ #
518
+ # - {::get}[rdoc-ref:Net::HTTP.get]:
519
+ # Sends a GET request and returns the string response body.
520
+ # - {::get_print}[rdoc-ref:Net::HTTP.get_print]:
521
+ # Sends a GET request and write the string response body to $stdout.
522
+ # - {::get_response}[rdoc-ref:Net::HTTP.get_response]:
523
+ # Sends a GET request and returns a response object.
524
+ # - {::post_form}[rdoc-ref:Net::HTTP.post_form]:
525
+ # Sends a POST request with form data and returns a response object.
526
+ # - {::post}[rdoc-ref:Net::HTTP.post]:
527
+ # Sends a POST request with data and returns a response object.
528
+ # - {::put}[rdoc-ref:Net::HTTP.put]:
529
+ # Sends a PUT request with data and returns a response object.
530
+ # - {#copy}[rdoc-ref:Net::HTTP#copy]:
531
+ # Sends a COPY request and returns a response object.
532
+ # - {#delete}[rdoc-ref:Net::HTTP#delete]:
533
+ # Sends a DELETE request and returns a response object.
534
+ # - {#get}[rdoc-ref:Net::HTTP#get]:
535
+ # Sends a GET request and returns a response object.
536
+ # - {#head}[rdoc-ref:Net::HTTP#head]:
537
+ # Sends a HEAD request and returns a response object.
538
+ # - {#lock}[rdoc-ref:Net::HTTP#lock]:
539
+ # Sends a LOCK request and returns a response object.
540
+ # - {#mkcol}[rdoc-ref:Net::HTTP#mkcol]:
541
+ # Sends a MKCOL request and returns a response object.
542
+ # - {#move}[rdoc-ref:Net::HTTP#move]:
543
+ # Sends a MOVE request and returns a response object.
544
+ # - {#options}[rdoc-ref:Net::HTTP#options]:
545
+ # Sends a OPTIONS request and returns a response object.
546
+ # - {#patch}[rdoc-ref:Net::HTTP#patch]:
547
+ # Sends a PATCH request and returns a response object.
548
+ # - {#post}[rdoc-ref:Net::HTTP#post]:
549
+ # Sends a POST request and returns a response object.
550
+ # - {#propfind}[rdoc-ref:Net::HTTP#propfind]:
551
+ # Sends a PROPFIND request and returns a response object.
552
+ # - {#proppatch}[rdoc-ref:Net::HTTP#proppatch]:
553
+ # Sends a PROPPATCH request and returns a response object.
554
+ # - {#put}[rdoc-ref:Net::HTTP#put]:
555
+ # Sends a PUT request and returns a response object.
556
+ # - {#request}[rdoc-ref:Net::HTTP#request]:
557
+ # Sends a request and returns a response object.
558
+ # - {#request_get}[rdoc-ref:Net::HTTP#request_get]:
559
+ # Sends a GET request and forms a response object;
560
+ # if a block given, calls the block with the object,
561
+ # otherwise returns the object.
562
+ # - {#request_head}[rdoc-ref:Net::HTTP#request_head]:
563
+ # Sends a HEAD request and forms a response object;
564
+ # if a block given, calls the block with the object,
565
+ # otherwise returns the object.
566
+ # - {#request_post}[rdoc-ref:Net::HTTP#request_post]:
567
+ # Sends a POST request and forms a response object;
568
+ # if a block given, calls the block with the object,
569
+ # otherwise returns the object.
570
+ # - {#send_request}[rdoc-ref:Net::HTTP#send_request]:
571
+ # Sends a request and returns a response object.
572
+ # - {#trace}[rdoc-ref:Net::HTTP#trace]:
573
+ # Sends a TRACE request and returns a response object.
574
+ # - {#unlock}[rdoc-ref:Net::HTTP#unlock]:
575
+ # Sends an UNLOCK request and returns a response object.
576
+ #
577
+ # === Responses
578
+ #
579
+ # - {:close_on_empty_response}[rdoc-ref:Net::HTTP#close_on_empty_response]:
580
+ # Returns whether to close connection on empty response.
581
+ # - {:close_on_empty_response=}[rdoc-ref:Net::HTTP#close_on_empty_response=]:
582
+ # Sets whether to close connection on empty response.
583
+ # - {:ignore_eof}[rdoc-ref:Net::HTTP#ignore_eof]:
584
+ # Returns whether to ignore end-of-file when reading a response body
585
+ # with <tt>Content-Length</tt> headers.
586
+ # - {:ignore_eof=}[rdoc-ref:Net::HTTP#ignore_eof=]:
587
+ # Sets whether to ignore end-of-file when reading a response body
588
+ # with <tt>Content-Length</tt> headers.
589
+ # - {:response_body_encoding}[rdoc-ref:Net::HTTP#response_body_encoding]:
590
+ # Returns the encoding to use for the response body.
591
+ # - {#response_body_encoding=}[rdoc-ref:Net::HTTP#response_body_encoding=]:
592
+ # Sets the response body encoding.
593
+ #
594
+ # === Proxies
595
+ #
596
+ # - {:proxy_address}[rdoc-ref:Net::HTTP#proxy_address]:
597
+ # Returns the proxy address.
598
+ # - {:proxy_address=}[rdoc-ref:Net::HTTP#proxy_address=]:
599
+ # Sets the proxy address.
600
+ # - {::proxy_class?}[rdoc-ref:Net::HTTP.proxy_class?]:
601
+ # Returns whether +self+ is a proxy class.
602
+ # - {#proxy?}[rdoc-ref:Net::HTTP#proxy?]:
603
+ # Returns whether +self+ has a proxy.
604
+ # - {#proxy_address}[rdoc-ref:Net::HTTP#proxy_address]:
605
+ # Returns the proxy address.
606
+ # - {#proxy_from_env?}[rdoc-ref:Net::HTTP#proxy_from_env?]:
607
+ # Returns whether the proxy is taken from an environment variable.
608
+ # - {:proxy_from_env=}[rdoc-ref:Net::HTTP#proxy_from_env=]:
609
+ # Sets whether the proxy is to be taken from an environment variable.
610
+ # - {:proxy_pass}[rdoc-ref:Net::HTTP#proxy_pass]:
611
+ # Returns the proxy password.
612
+ # - {:proxy_pass=}[rdoc-ref:Net::HTTP#proxy_pass=]:
613
+ # Sets the proxy password.
614
+ # - {:proxy_port}[rdoc-ref:Net::HTTP#proxy_port]:
615
+ # Returns the proxy port.
616
+ # - {:proxy_port=}[rdoc-ref:Net::HTTP#proxy_port=]:
617
+ # Sets the proxy port.
618
+ # - {#proxy_user}[rdoc-ref:Net::HTTP#proxy_user]:
619
+ # Returns the proxy user name.
620
+ # - {:proxy_user=}[rdoc-ref:Net::HTTP#proxy_user=]:
621
+ # Sets the proxy user.
622
+ #
623
+ # === Security
624
+ #
625
+ # - {:ca_file}[rdoc-ref:Net::HTTP#ca_file]:
626
+ # Returns the path to a CA certification file.
627
+ # - {:ca_file=}[rdoc-ref:Net::HTTP#ca_file=]:
628
+ # Sets the path to a CA certification file.
629
+ # - {:ca_path}[rdoc-ref:Net::HTTP#ca_path]:
630
+ # Returns the path of to CA directory containing certification files.
631
+ # - {:ca_path=}[rdoc-ref:Net::HTTP#ca_path=]:
632
+ # Sets the path of to CA directory containing certification files.
633
+ # - {:cert}[rdoc-ref:Net::HTTP#cert]:
634
+ # Returns the OpenSSL::X509::Certificate object to be used for client certification.
635
+ # - {:cert=}[rdoc-ref:Net::HTTP#cert=]:
636
+ # Sets the OpenSSL::X509::Certificate object to be used for client certification.
637
+ # - {:cert_store}[rdoc-ref:Net::HTTP#cert_store]:
638
+ # Returns the X509::Store to be used for verifying peer certificate.
639
+ # - {:cert_store=}[rdoc-ref:Net::HTTP#cert_store=]:
640
+ # Sets the X509::Store to be used for verifying peer certificate.
641
+ # - {:ciphers}[rdoc-ref:Net::HTTP#ciphers]:
642
+ # Returns the available SSL ciphers.
643
+ # - {:ciphers=}[rdoc-ref:Net::HTTP#ciphers=]:
644
+ # Sets the available SSL ciphers.
645
+ # - {:extra_chain_cert}[rdoc-ref:Net::HTTP#extra_chain_cert]:
646
+ # Returns the extra X509 certificates to be added to the certificate chain.
647
+ # - {:extra_chain_cert=}[rdoc-ref:Net::HTTP#extra_chain_cert=]:
648
+ # Sets the extra X509 certificates to be added to the certificate chain.
649
+ # - {:key}[rdoc-ref:Net::HTTP#key]:
650
+ # Returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
651
+ # - {:key=}[rdoc-ref:Net::HTTP#key=]:
652
+ # Sets the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
653
+ # - {:max_version}[rdoc-ref:Net::HTTP#max_version]:
654
+ # Returns the maximum SSL version.
655
+ # - {:max_version=}[rdoc-ref:Net::HTTP#max_version=]:
656
+ # Sets the maximum SSL version.
657
+ # - {:min_version}[rdoc-ref:Net::HTTP#min_version]:
658
+ # Returns the minimum SSL version.
659
+ # - {:min_version=}[rdoc-ref:Net::HTTP#min_version=]:
660
+ # Sets the minimum SSL version.
661
+ # - {#peer_cert}[rdoc-ref:Net::HTTP#peer_cert]:
662
+ # Returns the X509 certificate chain for the session's socket peer.
663
+ # - {:ssl_version}[rdoc-ref:Net::HTTP#ssl_version]:
664
+ # Returns the SSL version.
665
+ # - {:ssl_version=}[rdoc-ref:Net::HTTP#ssl_version=]:
666
+ # Sets the SSL version.
667
+ # - {#use_ssl=}[rdoc-ref:Net::HTTP#use_ssl=]:
668
+ # Sets whether a new session is to use Transport Layer Security.
669
+ # - {#use_ssl?}[rdoc-ref:Net::HTTP#use_ssl?]:
670
+ # Returns whether +self+ uses SSL.
671
+ # - {:verify_callback}[rdoc-ref:Net::HTTP#verify_callback]:
672
+ # Returns the callback for the server certification verification.
673
+ # - {:verify_callback=}[rdoc-ref:Net::HTTP#verify_callback=]:
674
+ # Sets the callback for the server certification verification.
675
+ # - {:verify_depth}[rdoc-ref:Net::HTTP#verify_depth]:
676
+ # Returns the maximum depth for the certificate chain verification.
677
+ # - {:verify_depth=}[rdoc-ref:Net::HTTP#verify_depth=]:
678
+ # Sets the maximum depth for the certificate chain verification.
679
+ # - {:verify_hostname}[rdoc-ref:Net::HTTP#verify_hostname]:
680
+ # Returns the flags for server the certification verification at the beginning of the SSL/TLS session.
681
+ # - {:verify_hostname=}[rdoc-ref:Net::HTTP#verify_hostname=]:
682
+ # Sets he flags for server the certification verification at the beginning of the SSL/TLS session.
683
+ # - {:verify_mode}[rdoc-ref:Net::HTTP#verify_mode]:
684
+ # Returns the flags for server the certification verification at the beginning of the SSL/TLS session.
685
+ # - {:verify_mode=}[rdoc-ref:Net::HTTP#verify_mode=]:
686
+ # Sets the flags for server the certification verification at the beginning of the SSL/TLS session.
687
+ #
688
+ # === Addresses and Ports
689
+ #
690
+ # - {:address}[rdoc-ref:Net::HTTP#address]:
691
+ # Returns the string host name or host IP.
692
+ # - {::default_port}[rdoc-ref:Net::HTTP.default_port]:
693
+ # Returns integer 80, the default port to use for HTTP requests.
694
+ # - {::http_default_port}[rdoc-ref:Net::HTTP.http_default_port]:
695
+ # Returns integer 80, the default port to use for HTTP requests.
696
+ # - {::https_default_port}[rdoc-ref:Net::HTTP.https_default_port]:
697
+ # Returns integer 443, the default port to use for HTTPS requests.
698
+ # - {#ipaddr}[rdoc-ref:Net::HTTP#ipaddr]:
699
+ # Returns the IP address for the connection.
700
+ # - {#ipaddr=}[rdoc-ref:Net::HTTP#ipaddr=]:
701
+ # Sets the IP address for the connection.
702
+ # - {:local_host}[rdoc-ref:Net::HTTP#local_host]:
703
+ # Returns the string local host used to establish the connection.
704
+ # - {:local_host=}[rdoc-ref:Net::HTTP#local_host=]:
705
+ # Sets the string local host used to establish the connection.
706
+ # - {:local_port}[rdoc-ref:Net::HTTP#local_port]:
707
+ # Returns the integer local port used to establish the connection.
708
+ # - {:local_port=}[rdoc-ref:Net::HTTP#local_port=]:
709
+ # Sets the integer local port used to establish the connection.
710
+ # - {:port}[rdoc-ref:Net::HTTP#port]:
711
+ # Returns the integer port number.
712
+ #
713
+ # === \HTTP Version
714
+ #
715
+ # - {::version_1_2?}[rdoc-ref:Net::HTTP.version_1_2?]
716
+ # (aliased as {::version_1_2}[rdoc-ref:Net::HTTP.version_1_2]):
717
+ # Returns true; retained for compatibility.
718
+ #
719
+ # === Debugging
720
+ #
721
+ # - {#set_debug_output}[rdoc-ref:Net::HTTP#set_debug_output]:
722
+ # Sets the output stream for debugging.
723
+ #
724
+ class HTTP < Protocol
725
+
726
+ # :stopdoc:
727
+ VERSION = "0.6.0"
728
+ HTTPVersion = '1.1'
729
+ begin
730
+ require 'zlib'
731
+ HAVE_ZLIB=true
732
+ rescue LoadError
733
+ HAVE_ZLIB=false
734
+ end
735
+ # :startdoc:
736
+
737
+ # Returns +true+; retained for compatibility.
738
+ def HTTP.version_1_2
739
+ true
740
+ end
741
+
742
+ # Returns +true+; retained for compatibility.
743
+ def HTTP.version_1_2?
744
+ true
745
+ end
746
+
747
+ # Returns +false+; retained for compatibility.
748
+ def HTTP.version_1_1? #:nodoc:
749
+ false
750
+ end
751
+
752
+ class << HTTP
753
+ alias is_version_1_1? version_1_1? #:nodoc:
754
+ alias is_version_1_2? version_1_2? #:nodoc:
755
+ end
756
+
757
+ # :call-seq:
758
+ # Net::HTTP.get_print(hostname, path, port = 80) -> nil
759
+ # Net::HTTP:get_print(uri, headers = {}, port = uri.port) -> nil
760
+ #
761
+ # Like Net::HTTP.get, but writes the returned body to $stdout;
762
+ # returns +nil+.
763
+ def HTTP.get_print(uri_or_host, path_or_headers = nil, port = nil)
764
+ get_response(uri_or_host, path_or_headers, port) {|res|
765
+ res.read_body do |chunk|
766
+ $stdout.print chunk
767
+ end
768
+ }
769
+ nil
770
+ end
771
+
772
+ # :call-seq:
773
+ # Net::HTTP.get(hostname, path, port = 80) -> body
774
+ # Net::HTTP:get(uri, headers = {}, port = uri.port) -> body
775
+ #
776
+ # Sends a GET request and returns the \HTTP response body as a string.
777
+ #
778
+ # With string arguments +hostname+ and +path+:
779
+ #
780
+ # hostname = 'jsonplaceholder.typicode.com'
781
+ # path = '/todos/1'
782
+ # puts Net::HTTP.get(hostname, path)
783
+ #
784
+ # Output:
785
+ #
786
+ # {
787
+ # "userId": 1,
788
+ # "id": 1,
789
+ # "title": "delectus aut autem",
790
+ # "completed": false
791
+ # }
792
+ #
793
+ # With URI object +uri+ and optional hash argument +headers+:
794
+ #
795
+ # uri = URI('https://jsonplaceholder.typicode.com/todos/1')
796
+ # headers = {'Content-type' => 'application/json; charset=UTF-8'}
797
+ # Net::HTTP.get(uri, headers)
798
+ #
799
+ # Related:
800
+ #
801
+ # - Net::HTTP::Get: request class for \HTTP method +GET+.
802
+ # - Net::HTTP#get: convenience method for \HTTP method +GET+.
803
+ #
804
+ def HTTP.get(uri_or_host, path_or_headers = nil, port = nil)
805
+ get_response(uri_or_host, path_or_headers, port).body
806
+ end
807
+
808
+ # :call-seq:
809
+ # Net::HTTP.get_response(hostname, path, port = 80) -> http_response
810
+ # Net::HTTP:get_response(uri, headers = {}, port = uri.port) -> http_response
811
+ #
812
+ # Like Net::HTTP.get, but returns a Net::HTTPResponse object
813
+ # instead of the body string.
814
+ def HTTP.get_response(uri_or_host, path_or_headers = nil, port = nil, &block)
815
+ if path_or_headers && !path_or_headers.is_a?(Hash)
816
+ host = uri_or_host
817
+ path = path_or_headers
818
+ new(host, port || HTTP.default_port).start {|http|
819
+ return http.request_get(path, &block)
820
+ }
821
+ else
822
+ uri = uri_or_host
823
+ headers = path_or_headers
824
+ start(uri.hostname, uri.port,
825
+ :use_ssl => uri.scheme == 'https') {|http|
826
+ return http.request_get(uri, headers, &block)
827
+ }
828
+ end
829
+ end
830
+
831
+ # Posts data to a host; returns a Net::HTTPResponse object.
832
+ #
833
+ # Argument +url+ must be a URL;
834
+ # argument +data+ must be a string:
835
+ #
836
+ # _uri = uri.dup
837
+ # _uri.path = '/posts'
838
+ # data = '{"title": "foo", "body": "bar", "userId": 1}'
839
+ # headers = {'content-type': 'application/json'}
840
+ # res = Net::HTTP.post(_uri, data, headers) # => #<Net::HTTPCreated 201 Created readbody=true>
841
+ # puts res.body
842
+ #
843
+ # Output:
844
+ #
845
+ # {
846
+ # "title": "foo",
847
+ # "body": "bar",
848
+ # "userId": 1,
849
+ # "id": 101
850
+ # }
851
+ #
852
+ # Related:
853
+ #
854
+ # - Net::HTTP::Post: request class for \HTTP method +POST+.
855
+ # - Net::HTTP#post: convenience method for \HTTP method +POST+.
856
+ #
857
+ def HTTP.post(url, data, header = nil)
858
+ start(url.hostname, url.port,
859
+ :use_ssl => url.scheme == 'https' ) {|http|
860
+ http.post(url, data, header)
861
+ }
862
+ end
863
+
864
+ # Posts data to a host; returns a Net::HTTPResponse object.
865
+ #
866
+ # Argument +url+ must be a URI;
867
+ # argument +data+ must be a hash:
868
+ #
869
+ # _uri = uri.dup
870
+ # _uri.path = '/posts'
871
+ # data = {title: 'foo', body: 'bar', userId: 1}
872
+ # res = Net::HTTP.post_form(_uri, data) # => #<Net::HTTPCreated 201 Created readbody=true>
873
+ # puts res.body
874
+ #
875
+ # Output:
876
+ #
877
+ # {
878
+ # "title": "foo",
879
+ # "body": "bar",
880
+ # "userId": "1",
881
+ # "id": 101
882
+ # }
883
+ #
884
+ def HTTP.post_form(url, params)
885
+ req = Post.new(url)
886
+ req.form_data = params
887
+ req.basic_auth url.user, url.password if url.user
888
+ start(url.hostname, url.port,
889
+ :use_ssl => url.scheme == 'https' ) {|http|
890
+ http.request(req)
891
+ }
892
+ end
893
+
894
+ # Sends a PUT request to the server; returns a Net::HTTPResponse object.
895
+ #
896
+ # Argument +url+ must be a URL;
897
+ # argument +data+ must be a string:
898
+ #
899
+ # _uri = uri.dup
900
+ # _uri.path = '/posts'
901
+ # data = '{"title": "foo", "body": "bar", "userId": 1}'
902
+ # headers = {'content-type': 'application/json'}
903
+ # res = Net::HTTP.put(_uri, data, headers) # => #<Net::HTTPCreated 201 Created readbody=true>
904
+ # puts res.body
905
+ #
906
+ # Output:
907
+ #
908
+ # {
909
+ # "title": "foo",
910
+ # "body": "bar",
911
+ # "userId": 1,
912
+ # "id": 101
913
+ # }
914
+ #
915
+ # Related:
916
+ #
917
+ # - Net::HTTP::Put: request class for \HTTP method +PUT+.
918
+ # - Net::HTTP#put: convenience method for \HTTP method +PUT+.
919
+ #
920
+ def HTTP.put(url, data, header = nil)
921
+ start(url.hostname, url.port,
922
+ :use_ssl => url.scheme == 'https' ) {|http|
923
+ http.put(url, data, header)
924
+ }
925
+ end
926
+
927
+ #
928
+ # \HTTP session management
929
+ #
930
+
931
+ # Returns integer +80+, the default port to use for \HTTP requests:
932
+ #
933
+ # Net::HTTP.default_port # => 80
934
+ #
935
+ def HTTP.default_port
936
+ http_default_port()
937
+ end
938
+
939
+ # Returns integer +80+, the default port to use for \HTTP requests:
940
+ #
941
+ # Net::HTTP.http_default_port # => 80
942
+ #
943
+ def HTTP.http_default_port
944
+ 80
945
+ end
946
+
947
+ # Returns integer +443+, the default port to use for HTTPS requests:
948
+ #
949
+ # Net::HTTP.https_default_port # => 443
950
+ #
951
+ def HTTP.https_default_port
952
+ 443
953
+ end
954
+
955
+ def HTTP.socket_type #:nodoc: obsolete
956
+ BufferedIO
957
+ end
958
+
959
+ # :call-seq:
960
+ # HTTP.start(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, opts) -> http
961
+ # HTTP.start(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, opts) {|http| ... } -> object
962
+ #
963
+ # Creates a new \Net::HTTP object, +http+, via \Net::HTTP.new:
964
+ #
965
+ # - For arguments +address+ and +port+, see Net::HTTP.new.
966
+ # - For proxy-defining arguments +p_addr+ through +p_pass+,
967
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
968
+ # - For argument +opts+, see below.
969
+ #
970
+ # With no block given:
971
+ #
972
+ # - Calls <tt>http.start</tt> with no block (see #start),
973
+ # which opens a TCP connection and \HTTP session.
974
+ # - Returns +http+.
975
+ # - The caller should call #finish to close the session:
976
+ #
977
+ # http = Net::HTTP.start(hostname)
978
+ # http.started? # => true
979
+ # http.finish
980
+ # http.started? # => false
981
+ #
982
+ # With a block given:
983
+ #
984
+ # - Calls <tt>http.start</tt> with the block (see #start), which:
985
+ #
986
+ # - Opens a TCP connection and \HTTP session.
987
+ # - Calls the block,
988
+ # which may make any number of requests to the host.
989
+ # - Closes the \HTTP session and TCP connection on block exit.
990
+ # - Returns the block's value +object+.
991
+ #
992
+ # - Returns +object+.
993
+ #
994
+ # Example:
995
+ #
996
+ # hostname = 'jsonplaceholder.typicode.com'
997
+ # Net::HTTP.start(hostname) do |http|
998
+ # puts http.get('/todos/1').body
999
+ # puts http.get('/todos/2').body
1000
+ # end
1001
+ #
1002
+ # Output:
1003
+ #
1004
+ # {
1005
+ # "userId": 1,
1006
+ # "id": 1,
1007
+ # "title": "delectus aut autem",
1008
+ # "completed": false
1009
+ # }
1010
+ # {
1011
+ # "userId": 1,
1012
+ # "id": 2,
1013
+ # "title": "quis ut nam facilis et officia qui",
1014
+ # "completed": false
1015
+ # }
1016
+ #
1017
+ # If the last argument given is a hash, it is the +opts+ hash,
1018
+ # where each key is a method or accessor to be called,
1019
+ # and its value is the value to be set.
1020
+ #
1021
+ # The keys may include:
1022
+ #
1023
+ # - #ca_file
1024
+ # - #ca_path
1025
+ # - #cert
1026
+ # - #cert_store
1027
+ # - #ciphers
1028
+ # - #close_on_empty_response
1029
+ # - +ipaddr+ (calls #ipaddr=)
1030
+ # - #keep_alive_timeout
1031
+ # - #key
1032
+ # - #open_timeout
1033
+ # - #read_timeout
1034
+ # - #ssl_timeout
1035
+ # - #ssl_version
1036
+ # - +use_ssl+ (calls #use_ssl=)
1037
+ # - #verify_callback
1038
+ # - #verify_depth
1039
+ # - #verify_mode
1040
+ # - #write_timeout
1041
+ #
1042
+ # Note: If +port+ is +nil+ and <tt>opts[:use_ssl]</tt> is a truthy value,
1043
+ # the value passed to +new+ is Net::HTTP.https_default_port, not +port+.
1044
+ #
1045
+ def HTTP.start(address, *arg, &block) # :yield: +http+
1046
+ arg.pop if opt = Hash.try_convert(arg[-1])
1047
+ port, p_addr, p_port, p_user, p_pass = *arg
1048
+ p_addr = :ENV if arg.size < 2
1049
+ port = https_default_port if !port && opt && opt[:use_ssl]
1050
+ http = new(address, port, p_addr, p_port, p_user, p_pass)
1051
+ http.ipaddr = opt[:ipaddr] if opt && opt[:ipaddr]
1052
+
1053
+ if opt
1054
+ if opt[:use_ssl]
1055
+ opt = {verify_mode: OpenSSL::SSL::VERIFY_PEER}.update(opt)
1056
+ end
1057
+ http.methods.grep(/\A(\w+)=\z/) do |meth|
1058
+ key = $1.to_sym
1059
+ opt.key?(key) or next
1060
+ http.__send__(meth, opt[key])
1061
+ end
1062
+ end
1063
+
1064
+ http.start(&block)
1065
+ end
1066
+
1067
+ class << HTTP
1068
+ alias newobj new # :nodoc:
1069
+ end
1070
+
1071
+ # Returns a new \Net::HTTP object +http+
1072
+ # (but does not open a TCP connection or \HTTP session).
1073
+ #
1074
+ # With only string argument +address+ given
1075
+ # (and <tt>ENV['http_proxy']</tt> undefined or +nil+),
1076
+ # the returned +http+:
1077
+ #
1078
+ # - Has the given address.
1079
+ # - Has the default port number, Net::HTTP.default_port (80).
1080
+ # - Has no proxy.
1081
+ #
1082
+ # Example:
1083
+ #
1084
+ # http = Net::HTTP.new(hostname)
1085
+ # # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
1086
+ # http.address # => "jsonplaceholder.typicode.com"
1087
+ # http.port # => 80
1088
+ # http.proxy? # => false
1089
+ #
1090
+ # With integer argument +port+ also given,
1091
+ # the returned +http+ has the given port:
1092
+ #
1093
+ # http = Net::HTTP.new(hostname, 8000)
1094
+ # # => #<Net::HTTP jsonplaceholder.typicode.com:8000 open=false>
1095
+ # http.port # => 8000
1096
+ #
1097
+ # For proxy-defining arguments +p_addr+ through +p_no_proxy+,
1098
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1099
+ #
1100
+ def HTTP.new(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, p_no_proxy = nil, p_use_ssl = nil)
1101
+ http = super address, port
1102
+
1103
+ if proxy_class? then # from Net::HTTP::Proxy()
1104
+ http.proxy_from_env = @proxy_from_env
1105
+ http.proxy_address = @proxy_address
1106
+ http.proxy_port = @proxy_port
1107
+ http.proxy_user = @proxy_user
1108
+ http.proxy_pass = @proxy_pass
1109
+ http.proxy_use_ssl = @proxy_use_ssl
1110
+ elsif p_addr == :ENV then
1111
+ http.proxy_from_env = true
1112
+ else
1113
+ if p_addr && p_no_proxy && !URI::Generic.use_proxy?(address, address, port, p_no_proxy)
1114
+ p_addr = nil
1115
+ p_port = nil
1116
+ end
1117
+ http.proxy_address = p_addr
1118
+ http.proxy_port = p_port || default_port
1119
+ http.proxy_user = p_user
1120
+ http.proxy_pass = p_pass
1121
+ http.proxy_use_ssl = p_use_ssl
1122
+ end
1123
+
1124
+ http
1125
+ end
1126
+
1127
+ class << HTTP
1128
+ # Allows to set the default configuration that will be used
1129
+ # when creating a new connection.
1130
+ #
1131
+ # Example:
1132
+ #
1133
+ # Net::HTTP.default_configuration = {
1134
+ # read_timeout: 1,
1135
+ # write_timeout: 1
1136
+ # }
1137
+ # http = Net::HTTP.new(hostname)
1138
+ # http.open_timeout # => 60
1139
+ # http.read_timeout # => 1
1140
+ # http.write_timeout # => 1
1141
+ #
1142
+ attr_accessor :default_configuration
1143
+ end
1144
+
1145
+ # Creates a new \Net::HTTP object for the specified server address,
1146
+ # without opening the TCP connection or initializing the \HTTP session.
1147
+ # The +address+ should be a DNS hostname or IP address.
1148
+ def initialize(address, port = nil) # :nodoc:
1149
+ defaults = {
1150
+ keep_alive_timeout: 2,
1151
+ close_on_empty_response: false,
1152
+ open_timeout: 60,
1153
+ read_timeout: 60,
1154
+ write_timeout: 60,
1155
+ continue_timeout: nil,
1156
+ max_retries: 1,
1157
+ debug_output: nil,
1158
+ response_body_encoding: false,
1159
+ ignore_eof: true
1160
+ }
1161
+ options = defaults.merge(self.class.default_configuration || {})
1162
+
1163
+ @address = address
1164
+ @port = (port || HTTP.default_port)
1165
+ @ipaddr = nil
1166
+ @local_host = nil
1167
+ @local_port = nil
1168
+ @curr_http_version = HTTPVersion
1169
+ @keep_alive_timeout = options[:keep_alive_timeout]
1170
+ @last_communicated = nil
1171
+ @close_on_empty_response = options[:close_on_empty_response]
1172
+ @socket = nil
1173
+ @started = false
1174
+ @open_timeout = options[:open_timeout]
1175
+ @read_timeout = options[:read_timeout]
1176
+ @write_timeout = options[:write_timeout]
1177
+ @continue_timeout = options[:continue_timeout]
1178
+ @max_retries = options[:max_retries]
1179
+ @debug_output = options[:debug_output]
1180
+ @response_body_encoding = options[:response_body_encoding]
1181
+ @ignore_eof = options[:ignore_eof]
1182
+
1183
+ @proxy_from_env = false
1184
+ @proxy_uri = nil
1185
+ @proxy_address = nil
1186
+ @proxy_port = nil
1187
+ @proxy_user = nil
1188
+ @proxy_pass = nil
1189
+ @proxy_use_ssl = nil
1190
+
1191
+ @use_ssl = false
1192
+ @ssl_context = nil
1193
+ @ssl_session = nil
1194
+ @sspi_enabled = false
1195
+ SSL_IVNAMES.each do |ivname|
1196
+ instance_variable_set ivname, nil
1197
+ end
1198
+ end
1199
+
1200
+ # Returns a string representation of +self+:
1201
+ #
1202
+ # Net::HTTP.new(hostname).inspect
1203
+ # # => "#<Net::HTTP jsonplaceholder.typicode.com:80 open=false>"
1204
+ #
1205
+ def inspect
1206
+ "#<#{self.class} #{@address}:#{@port} open=#{started?}>"
1207
+ end
1208
+
1209
+ # *WARNING* This method opens a serious security hole.
1210
+ # Never use this method in production code.
1211
+ #
1212
+ # Sets the output stream for debugging:
1213
+ #
1214
+ # http = Net::HTTP.new(hostname)
1215
+ # File.open('t.tmp', 'w') do |file|
1216
+ # http.set_debug_output(file)
1217
+ # http.start
1218
+ # http.get('/nosuch/1')
1219
+ # http.finish
1220
+ # end
1221
+ # puts File.read('t.tmp')
1222
+ #
1223
+ # Output:
1224
+ #
1225
+ # opening connection to jsonplaceholder.typicode.com:80...
1226
+ # opened
1227
+ # <- "GET /nosuch/1 HTTP/1.1\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nUser-Agent: Ruby\r\nHost: jsonplaceholder.typicode.com\r\n\r\n"
1228
+ # -> "HTTP/1.1 404 Not Found\r\n"
1229
+ # -> "Date: Mon, 12 Dec 2022 21:14:11 GMT\r\n"
1230
+ # -> "Content-Type: application/json; charset=utf-8\r\n"
1231
+ # -> "Content-Length: 2\r\n"
1232
+ # -> "Connection: keep-alive\r\n"
1233
+ # -> "X-Powered-By: Express\r\n"
1234
+ # -> "X-Ratelimit-Limit: 1000\r\n"
1235
+ # -> "X-Ratelimit-Remaining: 999\r\n"
1236
+ # -> "X-Ratelimit-Reset: 1670879660\r\n"
1237
+ # -> "Vary: Origin, Accept-Encoding\r\n"
1238
+ # -> "Access-Control-Allow-Credentials: true\r\n"
1239
+ # -> "Cache-Control: max-age=43200\r\n"
1240
+ # -> "Pragma: no-cache\r\n"
1241
+ # -> "Expires: -1\r\n"
1242
+ # -> "X-Content-Type-Options: nosniff\r\n"
1243
+ # -> "Etag: W/\"2-vyGp6PvFo4RvsFtPoIWeCReyIC8\"\r\n"
1244
+ # -> "Via: 1.1 vegur\r\n"
1245
+ # -> "CF-Cache-Status: MISS\r\n"
1246
+ # -> "Server-Timing: cf-q-config;dur=1.3000000762986e-05\r\n"
1247
+ # -> "Report-To: {\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yOr40jo%2BwS1KHzhTlVpl54beJ5Wx2FcG4gGV0XVrh3X9OlR5q4drUn2dkt5DGO4GDcE%2BVXT7CNgJvGs%2BZleIyMu8CLieFiDIvOviOY3EhHg94m0ZNZgrEdpKD0S85S507l1vsEwEHkoTm%2Ff19SiO\"}],\"group\":\"cf-nel\",\"max_age\":604800}\r\n"
1248
+ # -> "NEL: {\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}\r\n"
1249
+ # -> "Server: cloudflare\r\n"
1250
+ # -> "CF-RAY: 778977dc484ce591-DFW\r\n"
1251
+ # -> "alt-svc: h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400\r\n"
1252
+ # -> "\r\n"
1253
+ # reading 2 bytes...
1254
+ # -> "{}"
1255
+ # read 2 bytes
1256
+ # Conn keep-alive
1257
+ #
1258
+ def set_debug_output(output)
1259
+ warn 'Net::HTTP#set_debug_output called after HTTP started', uplevel: 1 if started?
1260
+ @debug_output = output
1261
+ end
1262
+
1263
+ # Returns the string host name or host IP given as argument +address+ in ::new.
1264
+ attr_reader :address
1265
+
1266
+ # Returns the integer port number given as argument +port+ in ::new.
1267
+ attr_reader :port
1268
+
1269
+ # Sets or returns the string local host used to establish the connection;
1270
+ # initially +nil+.
1271
+ attr_accessor :local_host
1272
+
1273
+ # Sets or returns the integer local port used to establish the connection;
1274
+ # initially +nil+.
1275
+ attr_accessor :local_port
1276
+
1277
+ # Returns the encoding to use for the response body;
1278
+ # see #response_body_encoding=.
1279
+ attr_reader :response_body_encoding
1280
+
1281
+ # Sets the encoding to be used for the response body;
1282
+ # returns the encoding.
1283
+ #
1284
+ # The given +value+ may be:
1285
+ #
1286
+ # - An Encoding object.
1287
+ # - The name of an encoding.
1288
+ # - An alias for an encoding name.
1289
+ #
1290
+ # See {Encoding}[rdoc-ref:Encoding].
1291
+ #
1292
+ # Examples:
1293
+ #
1294
+ # http = Net::HTTP.new(hostname)
1295
+ # http.response_body_encoding = Encoding::US_ASCII # => #<Encoding:US-ASCII>
1296
+ # http.response_body_encoding = 'US-ASCII' # => "US-ASCII"
1297
+ # http.response_body_encoding = 'ASCII' # => "ASCII"
1298
+ #
1299
+ def response_body_encoding=(value)
1300
+ value = Encoding.find(value) if value.is_a?(String)
1301
+ @response_body_encoding = value
1302
+ end
1303
+
1304
+ # Sets whether to determine the proxy from environment variable
1305
+ # '<tt>ENV['http_proxy']</tt>';
1306
+ # see {Proxy Using ENV['http_proxy']}[rdoc-ref:Net::HTTP@Proxy+Using+-27ENV-5B-27http_proxy-27-5D-27].
1307
+ attr_writer :proxy_from_env
1308
+
1309
+ # Sets the proxy address;
1310
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1311
+ attr_writer :proxy_address
1312
+
1313
+ # Sets the proxy port;
1314
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1315
+ attr_writer :proxy_port
1316
+
1317
+ # Sets the proxy user;
1318
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1319
+ attr_writer :proxy_user
1320
+
1321
+ # Sets the proxy password;
1322
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1323
+ attr_writer :proxy_pass
1324
+ attr_writer :proxy_use_ssl
1325
+
1326
+ # Returns the IP address for the connection.
1327
+ #
1328
+ # If the session has not been started,
1329
+ # returns the value set by #ipaddr=,
1330
+ # or +nil+ if it has not been set:
1331
+ #
1332
+ # http = Net::HTTP.new(hostname)
1333
+ # http.ipaddr # => nil
1334
+ # http.ipaddr = '172.67.155.76'
1335
+ # http.ipaddr # => "172.67.155.76"
1336
+ #
1337
+ # If the session has been started,
1338
+ # returns the IP address from the socket:
1339
+ #
1340
+ # http = Net::HTTP.new(hostname)
1341
+ # http.start
1342
+ # http.ipaddr # => "172.67.155.76"
1343
+ # http.finish
1344
+ #
1345
+ def ipaddr
1346
+ started? ? @socket.io.peeraddr[3] : @ipaddr
1347
+ end
1348
+
1349
+ # Sets the IP address for the connection:
1350
+ #
1351
+ # http = Net::HTTP.new(hostname)
1352
+ # http.ipaddr # => nil
1353
+ # http.ipaddr = '172.67.155.76'
1354
+ # http.ipaddr # => "172.67.155.76"
1355
+ #
1356
+ # The IP address may not be set if the session has been started.
1357
+ def ipaddr=(addr)
1358
+ raise IOError, "ipaddr value changed, but session already started" if started?
1359
+ @ipaddr = addr
1360
+ end
1361
+
1362
+ # Sets or returns the numeric (\Integer or \Float) number of seconds
1363
+ # to wait for a connection to open;
1364
+ # initially 60.
1365
+ # If the connection is not made in the given interval,
1366
+ # an exception is raised.
1367
+ attr_accessor :open_timeout
1368
+
1369
+ # Returns the numeric (\Integer or \Float) number of seconds
1370
+ # to wait for one block to be read (via one read(2) call);
1371
+ # see #read_timeout=.
1372
+ attr_reader :read_timeout
1373
+
1374
+ # Returns the numeric (\Integer or \Float) number of seconds
1375
+ # to wait for one block to be written (via one write(2) call);
1376
+ # see #write_timeout=.
1377
+ attr_reader :write_timeout
1378
+
1379
+ # Sets the maximum number of times to retry an idempotent request in case of
1380
+ # \Net::ReadTimeout, IOError, EOFError, Errno::ECONNRESET,
1381
+ # Errno::ECONNABORTED, Errno::EPIPE, OpenSSL::SSL::SSLError,
1382
+ # Timeout::Error.
1383
+ # The initial value is 1.
1384
+ #
1385
+ # Argument +retries+ must be a non-negative numeric value:
1386
+ #
1387
+ # http = Net::HTTP.new(hostname)
1388
+ # http.max_retries = 2 # => 2
1389
+ # http.max_retries # => 2
1390
+ #
1391
+ def max_retries=(retries)
1392
+ retries = retries.to_int
1393
+ if retries < 0
1394
+ raise ArgumentError, 'max_retries should be non-negative integer number'
1395
+ end
1396
+ @max_retries = retries
1397
+ end
1398
+
1399
+ # Returns the maximum number of times to retry an idempotent request;
1400
+ # see #max_retries=.
1401
+ attr_reader :max_retries
1402
+
1403
+ # Sets the read timeout, in seconds, for +self+ to integer +sec+;
1404
+ # the initial value is 60.
1405
+ #
1406
+ # Argument +sec+ must be a non-negative numeric value:
1407
+ #
1408
+ # http = Net::HTTP.new(hostname)
1409
+ # http.read_timeout # => 60
1410
+ # http.get('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
1411
+ # http.read_timeout = 0
1412
+ # http.get('/todos/1') # Raises Net::ReadTimeout.
1413
+ #
1414
+ def read_timeout=(sec)
1415
+ @socket.read_timeout = sec if @socket
1416
+ @read_timeout = sec
1417
+ end
1418
+
1419
+ # Sets the write timeout, in seconds, for +self+ to integer +sec+;
1420
+ # the initial value is 60.
1421
+ #
1422
+ # Argument +sec+ must be a non-negative numeric value:
1423
+ #
1424
+ # _uri = uri.dup
1425
+ # _uri.path = '/posts'
1426
+ # body = 'bar' * 200000
1427
+ # data = <<EOF
1428
+ # {"title": "foo", "body": "#{body}", "userId": "1"}
1429
+ # EOF
1430
+ # headers = {'content-type': 'application/json'}
1431
+ # http = Net::HTTP.new(hostname)
1432
+ # http.write_timeout # => 60
1433
+ # http.post(_uri.path, data, headers)
1434
+ # # => #<Net::HTTPCreated 201 Created readbody=true>
1435
+ # http.write_timeout = 0
1436
+ # http.post(_uri.path, data, headers) # Raises Net::WriteTimeout.
1437
+ #
1438
+ def write_timeout=(sec)
1439
+ @socket.write_timeout = sec if @socket
1440
+ @write_timeout = sec
1441
+ end
1442
+
1443
+ # Returns the continue timeout value;
1444
+ # see continue_timeout=.
1445
+ attr_reader :continue_timeout
1446
+
1447
+ # Sets the continue timeout value,
1448
+ # which is the number of seconds to wait for an expected 100 Continue response.
1449
+ # If the \HTTP object does not receive a response in this many seconds
1450
+ # it sends the request body.
1451
+ def continue_timeout=(sec)
1452
+ @socket.continue_timeout = sec if @socket
1453
+ @continue_timeout = sec
1454
+ end
1455
+
1456
+ # Sets or returns the numeric (\Integer or \Float) number of seconds
1457
+ # to keep the connection open after a request is sent;
1458
+ # initially 2.
1459
+ # If a new request is made during the given interval,
1460
+ # the still-open connection is used;
1461
+ # otherwise the connection will have been closed
1462
+ # and a new connection is opened.
1463
+ attr_accessor :keep_alive_timeout
1464
+
1465
+ # Sets or returns whether to ignore end-of-file when reading a response body
1466
+ # with <tt>Content-Length</tt> headers;
1467
+ # initially +true+.
1468
+ attr_accessor :ignore_eof
1469
+
1470
+ # Returns +true+ if the \HTTP session has been started:
1471
+ #
1472
+ # http = Net::HTTP.new(hostname)
1473
+ # http.started? # => false
1474
+ # http.start
1475
+ # http.started? # => true
1476
+ # http.finish # => nil
1477
+ # http.started? # => false
1478
+ #
1479
+ # Net::HTTP.start(hostname) do |http|
1480
+ # http.started?
1481
+ # end # => true
1482
+ # http.started? # => false
1483
+ #
1484
+ def started?
1485
+ @started
1486
+ end
1487
+
1488
+ alias active? started? #:nodoc: obsolete
1489
+
1490
+ # Sets or returns whether to close the connection when the response is empty;
1491
+ # initially +false+.
1492
+ attr_accessor :close_on_empty_response
1493
+
1494
+ # Returns +true+ if +self+ uses SSL, +false+ otherwise.
1495
+ # See Net::HTTP#use_ssl=.
1496
+ def use_ssl?
1497
+ @use_ssl
1498
+ end
1499
+
1500
+ # Sets whether a new session is to use
1501
+ # {Transport Layer Security}[https://en.wikipedia.org/wiki/Transport_Layer_Security]:
1502
+ #
1503
+ # Raises IOError if attempting to change during a session.
1504
+ #
1505
+ # Raises OpenSSL::SSL::SSLError if the port is not an HTTPS port.
1506
+ def use_ssl=(flag)
1507
+ flag = flag ? true : false
1508
+ if started? and @use_ssl != flag
1509
+ raise IOError, "use_ssl value changed, but session already started"
1510
+ end
1511
+ @use_ssl = flag
1512
+ end
1513
+
1514
+ SSL_ATTRIBUTES = [
1515
+ :ca_file,
1516
+ :ca_path,
1517
+ :cert,
1518
+ :cert_store,
1519
+ :ciphers,
1520
+ :extra_chain_cert,
1521
+ :key,
1522
+ :ssl_timeout,
1523
+ :ssl_version,
1524
+ :min_version,
1525
+ :max_version,
1526
+ :verify_callback,
1527
+ :verify_depth,
1528
+ :verify_mode,
1529
+ :verify_hostname,
1530
+ ] # :nodoc:
1531
+
1532
+ SSL_IVNAMES = SSL_ATTRIBUTES.map { |a| "@#{a}".to_sym } # :nodoc:
1533
+
1534
+ # Sets or returns the path to a CA certification file in PEM format.
1535
+ attr_accessor :ca_file
1536
+
1537
+ # Sets or returns the path of to CA directory
1538
+ # containing certification files in PEM format.
1539
+ attr_accessor :ca_path
1540
+
1541
+ # Sets or returns the OpenSSL::X509::Certificate object
1542
+ # to be used for client certification.
1543
+ attr_accessor :cert
1544
+
1545
+ # Sets or returns the X509::Store to be used for verifying peer certificate.
1546
+ attr_accessor :cert_store
1547
+
1548
+ # Sets or returns the available SSL ciphers.
1549
+ # See {OpenSSL::SSL::SSLContext#ciphers=}[OpenSSL::SSL::SSL::Context#ciphers=].
1550
+ attr_accessor :ciphers
1551
+
1552
+ # Sets or returns the extra X509 certificates to be added to the certificate chain.
1553
+ # See {OpenSSL::SSL::SSLContext#add_certificate}[OpenSSL::SSL::SSL::Context#add_certificate].
1554
+ attr_accessor :extra_chain_cert
1555
+
1556
+ # Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
1557
+ attr_accessor :key
1558
+
1559
+ # Sets or returns the SSL timeout seconds.
1560
+ attr_accessor :ssl_timeout
1561
+
1562
+ # Sets or returns the SSL version.
1563
+ # See {OpenSSL::SSL::SSLContext#ssl_version=}[OpenSSL::SSL::SSL::Context#ssl_version=].
1564
+ attr_accessor :ssl_version
1565
+
1566
+ # Sets or returns the minimum SSL version.
1567
+ # See {OpenSSL::SSL::SSLContext#min_version=}[OpenSSL::SSL::SSL::Context#min_version=].
1568
+ attr_accessor :min_version
1569
+
1570
+ # Sets or returns the maximum SSL version.
1571
+ # See {OpenSSL::SSL::SSLContext#max_version=}[OpenSSL::SSL::SSL::Context#max_version=].
1572
+ attr_accessor :max_version
1573
+
1574
+ # Sets or returns the callback for the server certification verification.
1575
+ attr_accessor :verify_callback
1576
+
1577
+ # Sets or returns the maximum depth for the certificate chain verification.
1578
+ attr_accessor :verify_depth
1579
+
1580
+ # Sets or returns the flags for server the certification verification
1581
+ # at the beginning of the SSL/TLS session.
1582
+ # OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER are acceptable.
1583
+ attr_accessor :verify_mode
1584
+
1585
+ # Sets or returns whether to verify that the server certificate is valid
1586
+ # for the hostname.
1587
+ # See {OpenSSL::SSL::SSLContext#verify_hostname=}[OpenSSL::SSL::SSL::Context#verify_hostname=].
1588
+ attr_accessor :verify_hostname
1589
+
1590
+ # Returns the X509 certificate chain (an array of strings)
1591
+ # for the session's socket peer,
1592
+ # or +nil+ if none.
1593
+ def peer_cert
1594
+ if not use_ssl? or not @socket
1595
+ return nil
1596
+ end
1597
+ @socket.io.peer_cert
1598
+ end
1599
+
1600
+ # Starts an \HTTP session.
1601
+ #
1602
+ # Without a block, returns +self+:
1603
+ #
1604
+ # http = Net::HTTP.new(hostname)
1605
+ # # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
1606
+ # http.start
1607
+ # # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=true>
1608
+ # http.started? # => true
1609
+ # http.finish
1610
+ #
1611
+ # With a block, calls the block with +self+,
1612
+ # finishes the session when the block exits,
1613
+ # and returns the block's value:
1614
+ #
1615
+ # http.start do |http|
1616
+ # http
1617
+ # end
1618
+ # # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
1619
+ # http.started? # => false
1620
+ #
1621
+ def start # :yield: http
1622
+ raise IOError, 'HTTP session already opened' if @started
1623
+ if block_given?
1624
+ begin
1625
+ do_start
1626
+ return yield(self)
1627
+ ensure
1628
+ do_finish
1629
+ end
1630
+ end
1631
+ do_start
1632
+ self
1633
+ end
1634
+
1635
+ def do_start
1636
+ connect
1637
+ @started = true
1638
+ end
1639
+ private :do_start
1640
+
1641
+ def connect
1642
+ if use_ssl?
1643
+ # reference early to load OpenSSL before connecting,
1644
+ # as OpenSSL may take time to load.
1645
+ @ssl_context = OpenSSL::SSL::SSLContext.new
1646
+ end
1647
+
1648
+ if proxy? then
1649
+ conn_addr = proxy_address
1650
+ conn_port = proxy_port
1651
+ else
1652
+ conn_addr = conn_address
1653
+ conn_port = port
1654
+ end
1655
+
1656
+ debug "opening connection to #{conn_addr}:#{conn_port}..."
1657
+ s = Timeout.timeout(@open_timeout, Net::OpenTimeout) {
1658
+ begin
1659
+ TCPSocket.open(conn_addr, conn_port, @local_host, @local_port)
1660
+ rescue => e
1661
+ raise e, "Failed to open TCP connection to " +
1662
+ "#{conn_addr}:#{conn_port} (#{e.message})"
1663
+ end
1664
+ }
1665
+ s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
1666
+ debug "opened"
1667
+ if use_ssl?
1668
+ if proxy?
1669
+ if @proxy_use_ssl
1670
+ proxy_sock = OpenSSL::SSL::SSLSocket.new(s)
1671
+ ssl_socket_connect(proxy_sock, @open_timeout)
1672
+ else
1673
+ proxy_sock = s
1674
+ end
1675
+ proxy_sock = BufferedIO.new(proxy_sock, read_timeout: @read_timeout,
1676
+ write_timeout: @write_timeout,
1677
+ continue_timeout: @continue_timeout,
1678
+ debug_output: @debug_output)
1679
+ buf = +"CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n" \
1680
+ "Host: #{@address}:#{@port}\r\n"
1681
+ if proxy_user
1682
+ credential = ["#{proxy_user}:#{proxy_pass}"].pack('m0')
1683
+ buf << "Proxy-Authorization: Basic #{credential}\r\n"
1684
+ end
1685
+ buf << "\r\n"
1686
+ proxy_sock.write(buf)
1687
+ HTTPResponse.read_new(proxy_sock).value
1688
+ # assuming nothing left in buffers after successful CONNECT response
1689
+ end
1690
+
1691
+ ssl_parameters = Hash.new
1692
+ iv_list = instance_variables
1693
+ SSL_IVNAMES.each_with_index do |ivname, i|
1694
+ if iv_list.include?(ivname)
1695
+ value = instance_variable_get(ivname)
1696
+ unless value.nil?
1697
+ ssl_parameters[SSL_ATTRIBUTES[i]] = value
1698
+ end
1699
+ end
1700
+ end
1701
+ @ssl_context.set_params(ssl_parameters)
1702
+ unless @ssl_context.session_cache_mode.nil? # a dummy method on JRuby
1703
+ @ssl_context.session_cache_mode =
1704
+ OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT |
1705
+ OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_STORE
1706
+ end
1707
+ if @ssl_context.respond_to?(:session_new_cb) # not implemented under JRuby
1708
+ @ssl_context.session_new_cb = proc {|sock, sess| @ssl_session = sess }
1709
+ end
1710
+
1711
+ # Still do the post_connection_check below even if connecting
1712
+ # to IP address
1713
+ verify_hostname = @ssl_context.verify_hostname
1714
+
1715
+ # Server Name Indication (SNI) RFC 3546/6066
1716
+ case @address
1717
+ when Resolv::IPv4::Regex, Resolv::IPv6::Regex
1718
+ # don't set SNI, as IP addresses in SNI is not valid
1719
+ # per RFC 6066, section 3.
1720
+
1721
+ # Avoid openssl warning
1722
+ @ssl_context.verify_hostname = false
1723
+ else
1724
+ ssl_host_address = @address
1725
+ end
1726
+
1727
+ debug "starting SSL for #{conn_addr}:#{conn_port}..."
1728
+ s = OpenSSL::SSL::SSLSocket.new(s, @ssl_context)
1729
+ s.sync_close = true
1730
+ s.hostname = ssl_host_address if s.respond_to?(:hostname=) && ssl_host_address
1731
+
1732
+ if @ssl_session and
1733
+ Process.clock_gettime(Process::CLOCK_REALTIME) < @ssl_session.time.to_f + @ssl_session.timeout
1734
+ s.session = @ssl_session
1735
+ end
1736
+ ssl_socket_connect(s, @open_timeout)
1737
+ if (@ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE) && verify_hostname
1738
+ s.post_connection_check(@address)
1739
+ end
1740
+ debug "SSL established, protocol: #{s.ssl_version}, cipher: #{s.cipher[0]}"
1741
+ end
1742
+ @socket = BufferedIO.new(s, read_timeout: @read_timeout,
1743
+ write_timeout: @write_timeout,
1744
+ continue_timeout: @continue_timeout,
1745
+ debug_output: @debug_output)
1746
+ @last_communicated = nil
1747
+ on_connect
1748
+ rescue => exception
1749
+ if s
1750
+ debug "Conn close because of connect error #{exception}"
1751
+ s.close
1752
+ end
1753
+ raise
1754
+ end
1755
+ private :connect
1756
+
1757
+ def on_connect
1758
+ end
1759
+ private :on_connect
1760
+
1761
+ # Finishes the \HTTP session:
1762
+ #
1763
+ # http = Net::HTTP.new(hostname)
1764
+ # http.start
1765
+ # http.started? # => true
1766
+ # http.finish # => nil
1767
+ # http.started? # => false
1768
+ #
1769
+ # Raises IOError if not in a session.
1770
+ def finish
1771
+ raise IOError, 'HTTP session not yet started' unless started?
1772
+ do_finish
1773
+ end
1774
+
1775
+ def do_finish
1776
+ @started = false
1777
+ @socket.close if @socket
1778
+ @socket = nil
1779
+ end
1780
+ private :do_finish
1781
+
1782
+ #
1783
+ # proxy
1784
+ #
1785
+
1786
+ public
1787
+
1788
+ # no proxy
1789
+ @is_proxy_class = false
1790
+ @proxy_from_env = false
1791
+ @proxy_addr = nil
1792
+ @proxy_port = nil
1793
+ @proxy_user = nil
1794
+ @proxy_pass = nil
1795
+ @proxy_use_ssl = nil
1796
+
1797
+ # Creates an \HTTP proxy class which behaves like \Net::HTTP, but
1798
+ # performs all access via the specified proxy.
1799
+ #
1800
+ # This class is obsolete. You may pass these same parameters directly to
1801
+ # \Net::HTTP.new. See Net::HTTP.new for details of the arguments.
1802
+ def HTTP.Proxy(p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, p_use_ssl = nil) #:nodoc:
1803
+ return self unless p_addr
1804
+
1805
+ Class.new(self) {
1806
+ @is_proxy_class = true
1807
+
1808
+ if p_addr == :ENV then
1809
+ @proxy_from_env = true
1810
+ @proxy_address = nil
1811
+ @proxy_port = nil
1812
+ else
1813
+ @proxy_from_env = false
1814
+ @proxy_address = p_addr
1815
+ @proxy_port = p_port || default_port
1816
+ end
1817
+
1818
+ @proxy_user = p_user
1819
+ @proxy_pass = p_pass
1820
+ @proxy_use_ssl = p_use_ssl
1821
+ }
1822
+ end
1823
+
1824
+ class << HTTP
1825
+ # Returns true if self is a class which was created by HTTP::Proxy.
1826
+ def proxy_class?
1827
+ defined?(@is_proxy_class) ? @is_proxy_class : false
1828
+ end
1829
+
1830
+ # Returns the address of the proxy host, or +nil+ if none;
1831
+ # see Net::HTTP@Proxy+Server.
1832
+ attr_reader :proxy_address
1833
+
1834
+ # Returns the port number of the proxy host, or +nil+ if none;
1835
+ # see Net::HTTP@Proxy+Server.
1836
+ attr_reader :proxy_port
1837
+
1838
+ # Returns the user name for accessing the proxy, or +nil+ if none;
1839
+ # see Net::HTTP@Proxy+Server.
1840
+ attr_reader :proxy_user
1841
+
1842
+ # Returns the password for accessing the proxy, or +nil+ if none;
1843
+ # see Net::HTTP@Proxy+Server.
1844
+ attr_reader :proxy_pass
1845
+
1846
+ # Use SSL when talking to the proxy. If Net::HTTP does not use a proxy, nil.
1847
+ attr_reader :proxy_use_ssl
1848
+ end
1849
+
1850
+ # Returns +true+ if a proxy server is defined, +false+ otherwise;
1851
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1852
+ def proxy?
1853
+ !!(@proxy_from_env ? proxy_uri : @proxy_address)
1854
+ end
1855
+
1856
+ # Returns +true+ if the proxy server is defined in the environment,
1857
+ # +false+ otherwise;
1858
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1859
+ def proxy_from_env?
1860
+ @proxy_from_env
1861
+ end
1862
+
1863
+ # The proxy URI determined from the environment for this connection.
1864
+ def proxy_uri # :nodoc:
1865
+ return if @proxy_uri == false
1866
+ @proxy_uri ||= URI::HTTP.new(
1867
+ "http", nil, address, port, nil, nil, nil, nil, nil
1868
+ ).find_proxy || false
1869
+ @proxy_uri || nil
1870
+ end
1871
+
1872
+ # Returns the address of the proxy server, if defined, +nil+ otherwise;
1873
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1874
+ def proxy_address
1875
+ if @proxy_from_env then
1876
+ proxy_uri&.hostname
1877
+ else
1878
+ @proxy_address
1879
+ end
1880
+ end
1881
+
1882
+ # Returns the port number of the proxy server, if defined, +nil+ otherwise;
1883
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1884
+ def proxy_port
1885
+ if @proxy_from_env then
1886
+ proxy_uri&.port
1887
+ else
1888
+ @proxy_port
1889
+ end
1890
+ end
1891
+
1892
+ # Returns the user name of the proxy server, if defined, +nil+ otherwise;
1893
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1894
+ def proxy_user
1895
+ if @proxy_from_env
1896
+ user = proxy_uri&.user
1897
+ unescape(user) if user
1898
+ else
1899
+ @proxy_user
1900
+ end
1901
+ end
1902
+
1903
+ # Returns the password of the proxy server, if defined, +nil+ otherwise;
1904
+ # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
1905
+ def proxy_pass
1906
+ if @proxy_from_env
1907
+ pass = proxy_uri&.password
1908
+ unescape(pass) if pass
1909
+ else
1910
+ @proxy_pass
1911
+ end
1912
+ end
1913
+
1914
+ alias proxyaddr proxy_address #:nodoc: obsolete
1915
+ alias proxyport proxy_port #:nodoc: obsolete
1916
+
1917
+ private
1918
+
1919
+ def unescape(value)
1920
+ require 'cgi/util'
1921
+ CGI.unescape(value)
1922
+ end
1923
+
1924
+ # without proxy, obsolete
1925
+
1926
+ def conn_address # :nodoc:
1927
+ @ipaddr || address()
1928
+ end
1929
+
1930
+ def conn_port # :nodoc:
1931
+ port()
1932
+ end
1933
+
1934
+ def edit_path(path)
1935
+ if proxy?
1936
+ if path.start_with?("ftp://") || use_ssl?
1937
+ path
1938
+ else
1939
+ "http://#{addr_port}#{path}"
1940
+ end
1941
+ else
1942
+ path
1943
+ end
1944
+ end
1945
+
1946
+ #
1947
+ # HTTP operations
1948
+ #
1949
+
1950
+ public
1951
+
1952
+ # :call-seq:
1953
+ # get(path, initheader = nil) {|res| ... }
1954
+ #
1955
+ # Sends a GET request to the server;
1956
+ # returns an instance of a subclass of Net::HTTPResponse.
1957
+ #
1958
+ # The request is based on the Net::HTTP::Get object
1959
+ # created from string +path+ and initial headers hash +initheader+.
1960
+ #
1961
+ # With a block given, calls the block with the response body:
1962
+ #
1963
+ # http = Net::HTTP.new(hostname)
1964
+ # http.get('/todos/1') do |res|
1965
+ # p res
1966
+ # end # => #<Net::HTTPOK 200 OK readbody=true>
1967
+ #
1968
+ # Output:
1969
+ #
1970
+ # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}"
1971
+ #
1972
+ # With no block given, simply returns the response object:
1973
+ #
1974
+ # http.get('/') # => #<Net::HTTPOK 200 OK readbody=true>
1975
+ #
1976
+ # Related:
1977
+ #
1978
+ # - Net::HTTP::Get: request class for \HTTP method GET.
1979
+ # - Net::HTTP.get: sends GET request, returns response body.
1980
+ #
1981
+ def get(path, initheader = nil, dest = nil, &block) # :yield: +body_segment+
1982
+ res = nil
1983
+
1984
+ request(Get.new(path, initheader)) {|r|
1985
+ r.read_body dest, &block
1986
+ res = r
1987
+ }
1988
+ res
1989
+ end
1990
+
1991
+ # Sends a HEAD request to the server;
1992
+ # returns an instance of a subclass of Net::HTTPResponse.
1993
+ #
1994
+ # The request is based on the Net::HTTP::Head object
1995
+ # created from string +path+ and initial headers hash +initheader+:
1996
+ #
1997
+ # res = http.head('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
1998
+ # res.body # => nil
1999
+ # res.to_hash.take(3)
2000
+ # # =>
2001
+ # [["date", ["Wed, 15 Feb 2023 15:25:42 GMT"]],
2002
+ # ["content-type", ["application/json; charset=utf-8"]],
2003
+ # ["connection", ["close"]]]
2004
+ #
2005
+ def head(path, initheader = nil)
2006
+ request(Head.new(path, initheader))
2007
+ end
2008
+
2009
+ # :call-seq:
2010
+ # post(path, data, initheader = nil) {|res| ... }
2011
+ #
2012
+ # Sends a POST request to the server;
2013
+ # returns an instance of a subclass of Net::HTTPResponse.
2014
+ #
2015
+ # The request is based on the Net::HTTP::Post object
2016
+ # created from string +path+, string +data+, and initial headers hash +initheader+.
2017
+ #
2018
+ # With a block given, calls the block with the response body:
2019
+ #
2020
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2021
+ # http = Net::HTTP.new(hostname)
2022
+ # http.post('/todos', data) do |res|
2023
+ # p res
2024
+ # end # => #<Net::HTTPCreated 201 Created readbody=true>
2025
+ #
2026
+ # Output:
2027
+ #
2028
+ # "{\n \"{\\\"userId\\\": 1, \\\"id\\\": 1, \\\"title\\\": \\\"delectus aut autem\\\", \\\"completed\\\": false}\": \"\",\n \"id\": 201\n}"
2029
+ #
2030
+ # With no block given, simply returns the response object:
2031
+ #
2032
+ # http.post('/todos', data) # => #<Net::HTTPCreated 201 Created readbody=true>
2033
+ #
2034
+ # Related:
2035
+ #
2036
+ # - Net::HTTP::Post: request class for \HTTP method POST.
2037
+ # - Net::HTTP.post: sends POST request, returns response body.
2038
+ #
2039
+ def post(path, data, initheader = nil, dest = nil, &block) # :yield: +body_segment+
2040
+ send_entity(path, data, initheader, dest, Post, &block)
2041
+ end
2042
+
2043
+ # :call-seq:
2044
+ # patch(path, data, initheader = nil) {|res| ... }
2045
+ #
2046
+ # Sends a PATCH request to the server;
2047
+ # returns an instance of a subclass of Net::HTTPResponse.
2048
+ #
2049
+ # The request is based on the Net::HTTP::Patch object
2050
+ # created from string +path+, string +data+, and initial headers hash +initheader+.
2051
+ #
2052
+ # With a block given, calls the block with the response body:
2053
+ #
2054
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2055
+ # http = Net::HTTP.new(hostname)
2056
+ # http.patch('/todos/1', data) do |res|
2057
+ # p res
2058
+ # end # => #<Net::HTTPOK 200 OK readbody=true>
2059
+ #
2060
+ # Output:
2061
+ #
2062
+ # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false,\n \"{\\\"userId\\\": 1, \\\"id\\\": 1, \\\"title\\\": \\\"delectus aut autem\\\", \\\"completed\\\": false}\": \"\"\n}"
2063
+ #
2064
+ # With no block given, simply returns the response object:
2065
+ #
2066
+ # http.patch('/todos/1', data) # => #<Net::HTTPCreated 201 Created readbody=true>
2067
+ #
2068
+ def patch(path, data, initheader = nil, dest = nil, &block) # :yield: +body_segment+
2069
+ send_entity(path, data, initheader, dest, Patch, &block)
2070
+ end
2071
+
2072
+ # Sends a PUT request to the server;
2073
+ # returns an instance of a subclass of Net::HTTPResponse.
2074
+ #
2075
+ # The request is based on the Net::HTTP::Put object
2076
+ # created from string +path+, string +data+, and initial headers hash +initheader+.
2077
+ #
2078
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2079
+ # http = Net::HTTP.new(hostname)
2080
+ # http.put('/todos/1', data) # => #<Net::HTTPOK 200 OK readbody=true>
2081
+ #
2082
+ # Related:
2083
+ #
2084
+ # - Net::HTTP::Put: request class for \HTTP method PUT.
2085
+ # - Net::HTTP.put: sends PUT request, returns response body.
2086
+ #
2087
+ def put(path, data, initheader = nil)
2088
+ request(Put.new(path, initheader), data)
2089
+ end
2090
+
2091
+ # Sends a PROPPATCH request to the server;
2092
+ # returns an instance of a subclass of Net::HTTPResponse.
2093
+ #
2094
+ # The request is based on the Net::HTTP::Proppatch object
2095
+ # created from string +path+, string +body+, and initial headers hash +initheader+.
2096
+ #
2097
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2098
+ # http = Net::HTTP.new(hostname)
2099
+ # http.proppatch('/todos/1', data)
2100
+ #
2101
+ def proppatch(path, body, initheader = nil)
2102
+ request(Proppatch.new(path, initheader), body)
2103
+ end
2104
+
2105
+ # Sends a LOCK request to the server;
2106
+ # returns an instance of a subclass of Net::HTTPResponse.
2107
+ #
2108
+ # The request is based on the Net::HTTP::Lock object
2109
+ # created from string +path+, string +body+, and initial headers hash +initheader+.
2110
+ #
2111
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2112
+ # http = Net::HTTP.new(hostname)
2113
+ # http.lock('/todos/1', data)
2114
+ #
2115
+ def lock(path, body, initheader = nil)
2116
+ request(Lock.new(path, initheader), body)
2117
+ end
2118
+
2119
+ # Sends an UNLOCK request to the server;
2120
+ # returns an instance of a subclass of Net::HTTPResponse.
2121
+ #
2122
+ # The request is based on the Net::HTTP::Unlock object
2123
+ # created from string +path+, string +body+, and initial headers hash +initheader+.
2124
+ #
2125
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2126
+ # http = Net::HTTP.new(hostname)
2127
+ # http.unlock('/todos/1', data)
2128
+ #
2129
+ def unlock(path, body, initheader = nil)
2130
+ request(Unlock.new(path, initheader), body)
2131
+ end
2132
+
2133
+ # Sends an Options request to the server;
2134
+ # returns an instance of a subclass of Net::HTTPResponse.
2135
+ #
2136
+ # The request is based on the Net::HTTP::Options object
2137
+ # created from string +path+ and initial headers hash +initheader+.
2138
+ #
2139
+ # http = Net::HTTP.new(hostname)
2140
+ # http.options('/')
2141
+ #
2142
+ def options(path, initheader = nil)
2143
+ request(Options.new(path, initheader))
2144
+ end
2145
+
2146
+ # Sends a PROPFIND request to the server;
2147
+ # returns an instance of a subclass of Net::HTTPResponse.
2148
+ #
2149
+ # The request is based on the Net::HTTP::Propfind object
2150
+ # created from string +path+, string +body+, and initial headers hash +initheader+.
2151
+ #
2152
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2153
+ # http = Net::HTTP.new(hostname)
2154
+ # http.propfind('/todos/1', data)
2155
+ #
2156
+ def propfind(path, body = nil, initheader = {'Depth' => '0'})
2157
+ request(Propfind.new(path, initheader), body)
2158
+ end
2159
+
2160
+ # Sends a DELETE request to the server;
2161
+ # returns an instance of a subclass of Net::HTTPResponse.
2162
+ #
2163
+ # The request is based on the Net::HTTP::Delete object
2164
+ # created from string +path+ and initial headers hash +initheader+.
2165
+ #
2166
+ # http = Net::HTTP.new(hostname)
2167
+ # http.delete('/todos/1')
2168
+ #
2169
+ def delete(path, initheader = {'Depth' => 'Infinity'})
2170
+ request(Delete.new(path, initheader))
2171
+ end
2172
+
2173
+ # Sends a MOVE request to the server;
2174
+ # returns an instance of a subclass of Net::HTTPResponse.
2175
+ #
2176
+ # The request is based on the Net::HTTP::Move object
2177
+ # created from string +path+ and initial headers hash +initheader+.
2178
+ #
2179
+ # http = Net::HTTP.new(hostname)
2180
+ # http.move('/todos/1')
2181
+ #
2182
+ def move(path, initheader = nil)
2183
+ request(Move.new(path, initheader))
2184
+ end
2185
+
2186
+ # Sends a COPY request to the server;
2187
+ # returns an instance of a subclass of Net::HTTPResponse.
2188
+ #
2189
+ # The request is based on the Net::HTTP::Copy object
2190
+ # created from string +path+ and initial headers hash +initheader+.
2191
+ #
2192
+ # http = Net::HTTP.new(hostname)
2193
+ # http.copy('/todos/1')
2194
+ #
2195
+ def copy(path, initheader = nil)
2196
+ request(Copy.new(path, initheader))
2197
+ end
2198
+
2199
+ # Sends a MKCOL request to the server;
2200
+ # returns an instance of a subclass of Net::HTTPResponse.
2201
+ #
2202
+ # The request is based on the Net::HTTP::Mkcol object
2203
+ # created from string +path+, string +body+, and initial headers hash +initheader+.
2204
+ #
2205
+ # data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
2206
+ # http.mkcol('/todos/1', data)
2207
+ # http = Net::HTTP.new(hostname)
2208
+ #
2209
+ def mkcol(path, body = nil, initheader = nil)
2210
+ request(Mkcol.new(path, initheader), body)
2211
+ end
2212
+
2213
+ # Sends a TRACE request to the server;
2214
+ # returns an instance of a subclass of Net::HTTPResponse.
2215
+ #
2216
+ # The request is based on the Net::HTTP::Trace object
2217
+ # created from string +path+ and initial headers hash +initheader+.
2218
+ #
2219
+ # http = Net::HTTP.new(hostname)
2220
+ # http.trace('/todos/1')
2221
+ #
2222
+ def trace(path, initheader = nil)
2223
+ request(Trace.new(path, initheader))
2224
+ end
2225
+
2226
+ # Sends a GET request to the server;
2227
+ # forms the response into a Net::HTTPResponse object.
2228
+ #
2229
+ # The request is based on the Net::HTTP::Get object
2230
+ # created from string +path+ and initial headers hash +initheader+.
2231
+ #
2232
+ # With no block given, returns the response object:
2233
+ #
2234
+ # http = Net::HTTP.new(hostname)
2235
+ # http.request_get('/todos') # => #<Net::HTTPOK 200 OK readbody=true>
2236
+ #
2237
+ # With a block given, calls the block with the response object
2238
+ # and returns the response object:
2239
+ #
2240
+ # http.request_get('/todos') do |res|
2241
+ # p res
2242
+ # end # => #<Net::HTTPOK 200 OK readbody=true>
2243
+ #
2244
+ # Output:
2245
+ #
2246
+ # #<Net::HTTPOK 200 OK readbody=false>
2247
+ #
2248
+ def request_get(path, initheader = nil, &block) # :yield: +response+
2249
+ request(Get.new(path, initheader), &block)
2250
+ end
2251
+
2252
+ # Sends a HEAD request to the server;
2253
+ # returns an instance of a subclass of Net::HTTPResponse.
2254
+ #
2255
+ # The request is based on the Net::HTTP::Head object
2256
+ # created from string +path+ and initial headers hash +initheader+.
2257
+ #
2258
+ # http = Net::HTTP.new(hostname)
2259
+ # http.head('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
2260
+ #
2261
+ def request_head(path, initheader = nil, &block)
2262
+ request(Head.new(path, initheader), &block)
2263
+ end
2264
+
2265
+ # Sends a POST request to the server;
2266
+ # forms the response into a Net::HTTPResponse object.
2267
+ #
2268
+ # The request is based on the Net::HTTP::Post object
2269
+ # created from string +path+, string +data+, and initial headers hash +initheader+.
2270
+ #
2271
+ # With no block given, returns the response object:
2272
+ #
2273
+ # http = Net::HTTP.new(hostname)
2274
+ # http.post('/todos', 'xyzzy')
2275
+ # # => #<Net::HTTPCreated 201 Created readbody=true>
2276
+ #
2277
+ # With a block given, calls the block with the response body
2278
+ # and returns the response object:
2279
+ #
2280
+ # http.post('/todos', 'xyzzy') do |res|
2281
+ # p res
2282
+ # end # => #<Net::HTTPCreated 201 Created readbody=true>
2283
+ #
2284
+ # Output:
2285
+ #
2286
+ # "{\n \"xyzzy\": \"\",\n \"id\": 201\n}"
2287
+ #
2288
+ def request_post(path, data, initheader = nil, &block) # :yield: +response+
2289
+ request Post.new(path, initheader), data, &block
2290
+ end
2291
+
2292
+ # Sends a PUT request to the server;
2293
+ # returns an instance of a subclass of Net::HTTPResponse.
2294
+ #
2295
+ # The request is based on the Net::HTTP::Put object
2296
+ # created from string +path+, string +data+, and initial headers hash +initheader+.
2297
+ #
2298
+ # http = Net::HTTP.new(hostname)
2299
+ # http.put('/todos/1', 'xyzzy')
2300
+ # # => #<Net::HTTPOK 200 OK readbody=true>
2301
+ #
2302
+ def request_put(path, data, initheader = nil, &block) #:nodoc:
2303
+ request Put.new(path, initheader), data, &block
2304
+ end
2305
+
2306
+ alias get2 request_get #:nodoc: obsolete
2307
+ alias head2 request_head #:nodoc: obsolete
2308
+ alias post2 request_post #:nodoc: obsolete
2309
+ alias put2 request_put #:nodoc: obsolete
2310
+
2311
+ # Sends an \HTTP request to the server;
2312
+ # returns an instance of a subclass of Net::HTTPResponse.
2313
+ #
2314
+ # The request is based on the Net::HTTPRequest object
2315
+ # created from string +path+, string +data+, and initial headers hash +header+.
2316
+ # That object is an instance of the
2317
+ # {subclass of Net::HTTPRequest}[rdoc-ref:Net::HTTPRequest@Request+Subclasses],
2318
+ # that corresponds to the given uppercase string +name+,
2319
+ # which must be
2320
+ # an {HTTP request method}[https://en.wikipedia.org/wiki/HTTP#Request_methods]
2321
+ # or a {WebDAV request method}[https://en.wikipedia.org/wiki/WebDAV#Implementation].
2322
+ #
2323
+ # Examples:
2324
+ #
2325
+ # http = Net::HTTP.new(hostname)
2326
+ # http.send_request('GET', '/todos/1')
2327
+ # # => #<Net::HTTPOK 200 OK readbody=true>
2328
+ # http.send_request('POST', '/todos', 'xyzzy')
2329
+ # # => #<Net::HTTPCreated 201 Created readbody=true>
2330
+ #
2331
+ def send_request(name, path, data = nil, header = nil)
2332
+ has_response_body = name != 'HEAD'
2333
+ r = HTTPGenericRequest.new(name,(data ? true : false),has_response_body,path,header)
2334
+ request r, data
2335
+ end
2336
+
2337
+ # Sends the given request +req+ to the server;
2338
+ # forms the response into a Net::HTTPResponse object.
2339
+ #
2340
+ # The given +req+ must be an instance of a
2341
+ # {subclass of Net::HTTPRequest}[rdoc-ref:Net::HTTPRequest@Request+Subclasses].
2342
+ # Argument +body+ should be given only if needed for the request.
2343
+ #
2344
+ # With no block given, returns the response object:
2345
+ #
2346
+ # http = Net::HTTP.new(hostname)
2347
+ #
2348
+ # req = Net::HTTP::Get.new('/todos/1')
2349
+ # http.request(req)
2350
+ # # => #<Net::HTTPOK 200 OK readbody=true>
2351
+ #
2352
+ # req = Net::HTTP::Post.new('/todos')
2353
+ # http.request(req, 'xyzzy')
2354
+ # # => #<Net::HTTPCreated 201 Created readbody=true>
2355
+ #
2356
+ # With a block given, calls the block with the response and returns the response:
2357
+ #
2358
+ # req = Net::HTTP::Get.new('/todos/1')
2359
+ # http.request(req) do |res|
2360
+ # p res
2361
+ # end # => #<Net::HTTPOK 200 OK readbody=true>
2362
+ #
2363
+ # Output:
2364
+ #
2365
+ # #<Net::HTTPOK 200 OK readbody=false>
2366
+ #
2367
+ def request(req, body = nil, &block) # :yield: +response+
2368
+ unless started?
2369
+ start {
2370
+ req['connection'] ||= 'close'
2371
+ return request(req, body, &block)
2372
+ }
2373
+ end
2374
+ if proxy_user()
2375
+ req.proxy_basic_auth proxy_user(), proxy_pass() unless use_ssl?
2376
+ end
2377
+ req.set_body_internal body
2378
+ res = transport_request(req, &block)
2379
+ if sspi_auth?(res)
2380
+ sspi_auth(req)
2381
+ res = transport_request(req, &block)
2382
+ end
2383
+ res
2384
+ end
2385
+
2386
+ private
2387
+
2388
+ # Executes a request which uses a representation
2389
+ # and returns its body.
2390
+ def send_entity(path, data, initheader, dest, type, &block)
2391
+ res = nil
2392
+ request(type.new(path, initheader), data) {|r|
2393
+ r.read_body dest, &block
2394
+ res = r
2395
+ }
2396
+ res
2397
+ end
2398
+
2399
+ IDEMPOTENT_METHODS_ = %w/GET HEAD PUT DELETE OPTIONS TRACE/ # :nodoc:
2400
+
2401
+ def transport_request(req)
2402
+ count = 0
2403
+ begin
2404
+ begin_transport req
2405
+ res = catch(:response) {
2406
+ begin
2407
+ req.exec @socket, @curr_http_version, edit_path(req.path)
2408
+ rescue Errno::EPIPE
2409
+ # Failure when writing full request, but we can probably
2410
+ # still read the received response.
2411
+ end
2412
+
2413
+ begin
2414
+ res = HTTPResponse.read_new(@socket)
2415
+ res.decode_content = req.decode_content
2416
+ res.body_encoding = @response_body_encoding
2417
+ res.ignore_eof = @ignore_eof
2418
+ end while res.kind_of?(HTTPInformation)
2419
+
2420
+ res.uri = req.uri
2421
+
2422
+ res
2423
+ }
2424
+ res.reading_body(@socket, req.response_body_permitted?) {
2425
+ if block_given?
2426
+ count = max_retries # Don't restart in the middle of a download
2427
+ yield res
2428
+ end
2429
+ }
2430
+ rescue Net::OpenTimeout
2431
+ raise
2432
+ rescue Net::ReadTimeout, IOError, EOFError,
2433
+ Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE, Errno::ETIMEDOUT,
2434
+ # avoid a dependency on OpenSSL
2435
+ defined?(OpenSSL::SSL) ? OpenSSL::SSL::SSLError : IOError,
2436
+ Timeout::Error => exception
2437
+ if count < max_retries && IDEMPOTENT_METHODS_.include?(req.method)
2438
+ count += 1
2439
+ @socket.close if @socket
2440
+ debug "Conn close because of error #{exception}, and retry"
2441
+ retry
2442
+ end
2443
+ debug "Conn close because of error #{exception}"
2444
+ @socket.close if @socket
2445
+ raise
2446
+ end
2447
+
2448
+ end_transport req, res
2449
+ res
2450
+ rescue => exception
2451
+ debug "Conn close because of error #{exception}"
2452
+ @socket.close if @socket
2453
+ raise exception
2454
+ end
2455
+
2456
+ def begin_transport(req)
2457
+ if @socket.closed?
2458
+ connect
2459
+ elsif @last_communicated
2460
+ if @last_communicated + @keep_alive_timeout < Process.clock_gettime(Process::CLOCK_MONOTONIC)
2461
+ debug 'Conn close because of keep_alive_timeout'
2462
+ @socket.close
2463
+ connect
2464
+ elsif @socket.io.to_io.wait_readable(0) && @socket.eof?
2465
+ debug "Conn close because of EOF"
2466
+ @socket.close
2467
+ connect
2468
+ end
2469
+ end
2470
+
2471
+ if not req.response_body_permitted? and @close_on_empty_response
2472
+ req['connection'] ||= 'close'
2473
+ end
2474
+
2475
+ req.update_uri address, port, use_ssl?
2476
+ req['host'] ||= addr_port()
2477
+ end
2478
+
2479
+ def end_transport(req, res)
2480
+ @curr_http_version = res.http_version
2481
+ @last_communicated = nil
2482
+ if @socket.closed?
2483
+ debug 'Conn socket closed'
2484
+ elsif not res.body and @close_on_empty_response
2485
+ debug 'Conn close'
2486
+ @socket.close
2487
+ elsif keep_alive?(req, res)
2488
+ debug 'Conn keep-alive'
2489
+ @last_communicated = Process.clock_gettime(Process::CLOCK_MONOTONIC)
2490
+ else
2491
+ debug 'Conn close'
2492
+ @socket.close
2493
+ end
2494
+ end
2495
+
2496
+ def keep_alive?(req, res)
2497
+ return false if req.connection_close?
2498
+ if @curr_http_version <= '1.0'
2499
+ res.connection_keep_alive?
2500
+ else # HTTP/1.1 or later
2501
+ not res.connection_close?
2502
+ end
2503
+ end
2504
+
2505
+ def sspi_auth?(res)
2506
+ return false unless @sspi_enabled
2507
+ if res.kind_of?(HTTPProxyAuthenticationRequired) and
2508
+ proxy? and res["Proxy-Authenticate"].include?("Negotiate")
2509
+ begin
2510
+ require 'win32/sspi'
2511
+ true
2512
+ rescue LoadError
2513
+ false
2514
+ end
2515
+ else
2516
+ false
2517
+ end
2518
+ end
2519
+
2520
+ def sspi_auth(req)
2521
+ n = Win32::SSPI::NegotiateAuth.new
2522
+ req["Proxy-Authorization"] = "Negotiate #{n.get_initial_token}"
2523
+ # Some versions of ISA will close the connection if this isn't present.
2524
+ req["Connection"] = "Keep-Alive"
2525
+ req["Proxy-Connection"] = "Keep-Alive"
2526
+ res = transport_request(req)
2527
+ authphrase = res["Proxy-Authenticate"] or return res
2528
+ req["Proxy-Authorization"] = "Negotiate #{n.complete_authentication(authphrase)}"
2529
+ rescue => err
2530
+ raise HTTPAuthenticationError.new('HTTP authentication failed', err)
2531
+ end
2532
+
2533
+ #
2534
+ # utils
2535
+ #
2536
+
2537
+ private
2538
+
2539
+ def addr_port
2540
+ addr = address
2541
+ addr = "[#{addr}]" if addr.include?(":")
2542
+ default_port = use_ssl? ? HTTP.https_default_port : HTTP.http_default_port
2543
+ default_port == port ? addr : "#{addr}:#{port}"
2544
+ end
2545
+
2546
+ # Adds a message to debugging output
2547
+ def debug(msg)
2548
+ return unless @debug_output
2549
+ @debug_output << msg
2550
+ @debug_output << "\n"
2551
+ end
2552
+
2553
+ alias_method :D, :debug
2554
+ end
2555
+
2556
+ # for backward compatibility until Ruby 3.5
2557
+ # https://bugs.ruby-lang.org/issues/20900
2558
+ # https://github.com/bblimke/webmock/pull/1081
2559
+ HTTPSession = HTTP
2560
+ deprecate_constant :HTTPSession
2561
+ end
2562
+
2563
+ require_relative 'http/exceptions'
2564
+
2565
+ require_relative 'http/header'
2566
+
2567
+ require_relative 'http/generic_request'
2568
+ require_relative 'http/request'
2569
+ require_relative 'http/requests'
2570
+
2571
+ require_relative 'http/response'
2572
+ require_relative 'http/responses'
2573
+
2574
+ require_relative 'http/proxy_delta'