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

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 (1126) hide show
  1. package/PRESTAGE.md +40 -38
  2. package/bin/bundle +1 -1
  3. package/bin/bundler +1 -1
  4. package/bin/erb +1 -1
  5. package/bin/gem +1 -1
  6. package/bin/irb +1 -1
  7. package/bin/rake +1 -1
  8. package/bin/ruby.wasm +0 -0
  9. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +3 -3
  10. package/package.json +16 -14
  11. package/lib/ruby/3.4.11/English.gemspec +0 -22
  12. package/lib/ruby/3.4.11/English.rb +0 -164
  13. package/lib/ruby/3.4.11/benchmark.gemspec +0 -32
  14. package/lib/ruby/3.4.11/benchmark.rb +0 -594
  15. package/lib/ruby/3.4.11/bundled_gems.rb +0 -248
  16. package/lib/ruby/3.4.11/bundler/.document +0 -1
  17. package/lib/ruby/3.4.11/bundler/build_metadata.rb +0 -43
  18. package/lib/ruby/3.4.11/bundler/bundler.gemspec +0 -45
  19. package/lib/ruby/3.4.11/bundler/capistrano.rb +0 -22
  20. package/lib/ruby/3.4.11/bundler/checksum.rb +0 -264
  21. package/lib/ruby/3.4.11/bundler/ci_detector.rb +0 -75
  22. package/lib/ruby/3.4.11/bundler/cli/add.rb +0 -49
  23. package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +0 -57
  24. package/lib/ruby/3.4.11/bundler/cli/cache.rb +0 -43
  25. package/lib/ruby/3.4.11/bundler/cli/check.rb +0 -40
  26. package/lib/ruby/3.4.11/bundler/cli/clean.rb +0 -25
  27. package/lib/ruby/3.4.11/bundler/cli/common.rb +0 -138
  28. package/lib/ruby/3.4.11/bundler/cli/config.rb +0 -204
  29. package/lib/ruby/3.4.11/bundler/cli/console.rb +0 -42
  30. package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +0 -167
  31. package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +0 -249
  32. package/lib/ruby/3.4.11/bundler/cli/doctor.rb +0 -33
  33. package/lib/ruby/3.4.11/bundler/cli/exec.rb +0 -89
  34. package/lib/ruby/3.4.11/bundler/cli/fund.rb +0 -36
  35. package/lib/ruby/3.4.11/bundler/cli/gem.rb +0 -467
  36. package/lib/ruby/3.4.11/bundler/cli/info.rb +0 -83
  37. package/lib/ruby/3.4.11/bundler/cli/init.rb +0 -51
  38. package/lib/ruby/3.4.11/bundler/cli/inject.rb +0 -60
  39. package/lib/ruby/3.4.11/bundler/cli/install.rb +0 -199
  40. package/lib/ruby/3.4.11/bundler/cli/issue.rb +0 -41
  41. package/lib/ruby/3.4.11/bundler/cli/list.rb +0 -66
  42. package/lib/ruby/3.4.11/bundler/cli/lock.rb +0 -94
  43. package/lib/ruby/3.4.11/bundler/cli/open.rb +0 -29
  44. package/lib/ruby/3.4.11/bundler/cli/outdated.rb +0 -297
  45. package/lib/ruby/3.4.11/bundler/cli/platform.rb +0 -48
  46. package/lib/ruby/3.4.11/bundler/cli/plugin.rb +0 -35
  47. package/lib/ruby/3.4.11/bundler/cli/pristine.rb +0 -60
  48. package/lib/ruby/3.4.11/bundler/cli/remove.rb +0 -17
  49. package/lib/ruby/3.4.11/bundler/cli/show.rb +0 -75
  50. package/lib/ruby/3.4.11/bundler/cli/update.rb +0 -123
  51. package/lib/ruby/3.4.11/bundler/cli/viz.rb +0 -31
  52. package/lib/ruby/3.4.11/bundler/cli.rb +0 -790
  53. package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +0 -96
  54. package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +0 -148
  55. package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +0 -84
  56. package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +0 -105
  57. package/lib/ruby/3.4.11/bundler/compact_index_client.rb +0 -97
  58. package/lib/ruby/3.4.11/bundler/constants.rb +0 -14
  59. package/lib/ruby/3.4.11/bundler/current_ruby.rb +0 -82
  60. package/lib/ruby/3.4.11/bundler/definition.rb +0 -1187
  61. package/lib/ruby/3.4.11/bundler/dependency.rb +0 -151
  62. package/lib/ruby/3.4.11/bundler/deployment.rb +0 -69
  63. package/lib/ruby/3.4.11/bundler/deprecate.rb +0 -44
  64. package/lib/ruby/3.4.11/bundler/digest.rb +0 -71
  65. package/lib/ruby/3.4.11/bundler/dsl.rb +0 -638
  66. package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +0 -174
  67. package/lib/ruby/3.4.11/bundler/env.rb +0 -148
  68. package/lib/ruby/3.4.11/bundler/environment_preserver.rb +0 -68
  69. package/lib/ruby/3.4.11/bundler/errors.rb +0 -281
  70. package/lib/ruby/3.4.11/bundler/feature_flag.rb +0 -50
  71. package/lib/ruby/3.4.11/bundler/fetcher/base.rb +0 -52
  72. package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +0 -120
  73. package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +0 -78
  74. package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +0 -91
  75. package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +0 -16
  76. package/lib/ruby/3.4.11/bundler/fetcher/index.rb +0 -25
  77. package/lib/ruby/3.4.11/bundler/fetcher.rb +0 -331
  78. package/lib/ruby/3.4.11/bundler/force_platform.rb +0 -16
  79. package/lib/ruby/3.4.11/bundler/friendly_errors.rb +0 -126
  80. package/lib/ruby/3.4.11/bundler/gem_helper.rb +0 -237
  81. package/lib/ruby/3.4.11/bundler/gem_helpers.rb +0 -144
  82. package/lib/ruby/3.4.11/bundler/gem_tasks.rb +0 -7
  83. package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +0 -147
  84. package/lib/ruby/3.4.11/bundler/graph.rb +0 -152
  85. package/lib/ruby/3.4.11/bundler/index.rb +0 -205
  86. package/lib/ruby/3.4.11/bundler/injector.rb +0 -285
  87. package/lib/ruby/3.4.11/bundler/inline.rb +0 -98
  88. package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +0 -85
  89. package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +0 -203
  90. package/lib/ruby/3.4.11/bundler/installer/standalone.rb +0 -113
  91. package/lib/ruby/3.4.11/bundler/installer.rb +0 -243
  92. package/lib/ruby/3.4.11/bundler/lazy_specification.rb +0 -243
  93. package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +0 -104
  94. package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +0 -300
  95. package/lib/ruby/3.4.11/bundler/man/.document +0 -1
  96. package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +0 -76
  97. package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +0 -87
  98. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +0 -33
  99. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +0 -44
  100. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +0 -68
  101. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +0 -108
  102. package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +0 -24
  103. package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +0 -31
  104. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +0 -17
  105. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +0 -18
  106. package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +0 -317
  107. package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +0 -408
  108. package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +0 -33
  109. package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +0 -39
  110. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +0 -30
  111. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +0 -33
  112. package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +0 -9
  113. package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +0 -10
  114. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +0 -107
  115. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +0 -154
  116. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +0 -22
  117. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +0 -25
  118. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +0 -87
  119. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +0 -149
  120. package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +0 -9
  121. package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +0 -12
  122. package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +0 -17
  123. package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +0 -21
  124. package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +0 -20
  125. package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +0 -32
  126. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +0 -31
  127. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +0 -32
  128. package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +0 -218
  129. package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +0 -387
  130. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +0 -45
  131. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +0 -37
  132. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +0 -9
  133. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +0 -10
  134. package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +0 -35
  135. package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +0 -36
  136. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +0 -75
  137. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +0 -115
  138. package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +0 -32
  139. package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +0 -28
  140. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +0 -103
  141. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +0 -110
  142. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +0 -49
  143. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +0 -49
  144. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +0 -58
  145. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +0 -63
  146. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +0 -23
  147. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +0 -34
  148. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +0 -21
  149. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +0 -23
  150. package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +0 -19
  151. package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +0 -25
  152. package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +0 -281
  153. package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +0 -359
  154. package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +0 -22
  155. package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +0 -24
  156. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +0 -30
  157. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +0 -36
  158. package/lib/ruby/3.4.11/bundler/man/bundle.1 +0 -102
  159. package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +0 -116
  160. package/lib/ruby/3.4.11/bundler/man/gemfile.5 +0 -472
  161. package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +0 -558
  162. package/lib/ruby/3.4.11/bundler/man/index.txt +0 -33
  163. package/lib/ruby/3.4.11/bundler/match_metadata.rb +0 -30
  164. package/lib/ruby/3.4.11/bundler/match_platform.rb +0 -23
  165. package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +0 -29
  166. package/lib/ruby/3.4.11/bundler/materialization.rb +0 -59
  167. package/lib/ruby/3.4.11/bundler/mirror.rb +0 -221
  168. package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +0 -322
  169. package/lib/ruby/3.4.11/bundler/plugin/api.rb +0 -81
  170. package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +0 -53
  171. package/lib/ruby/3.4.11/bundler/plugin/events.rb +0 -85
  172. package/lib/ruby/3.4.11/bundler/plugin/index.rb +0 -197
  173. package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +0 -34
  174. package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +0 -26
  175. package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +0 -19
  176. package/lib/ruby/3.4.11/bundler/plugin/installer.rb +0 -132
  177. package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +0 -31
  178. package/lib/ruby/3.4.11/bundler/plugin.rb +0 -378
  179. package/lib/ruby/3.4.11/bundler/process_lock.rb +0 -20
  180. package/lib/ruby/3.4.11/bundler/remote_specification.rb +0 -126
  181. package/lib/ruby/3.4.11/bundler/resolver/base.rb +0 -118
  182. package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +0 -85
  183. package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +0 -15
  184. package/lib/ruby/3.4.11/bundler/resolver/package.rb +0 -94
  185. package/lib/ruby/3.4.11/bundler/resolver/root.rb +0 -25
  186. package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +0 -74
  187. package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +0 -40
  188. package/lib/ruby/3.4.11/bundler/resolver.rb +0 -526
  189. package/lib/ruby/3.4.11/bundler/retry.rb +0 -66
  190. package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +0 -62
  191. package/lib/ruby/3.4.11/bundler/ruby_version.rb +0 -137
  192. package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +0 -485
  193. package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +0 -172
  194. package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +0 -455
  195. package/lib/ruby/3.4.11/bundler/runtime.rb +0 -320
  196. package/lib/ruby/3.4.11/bundler/safe_marshal.rb +0 -31
  197. package/lib/ruby/3.4.11/bundler/self_manager.rb +0 -206
  198. package/lib/ruby/3.4.11/bundler/settings/validator.rb +0 -102
  199. package/lib/ruby/3.4.11/bundler/settings.rb +0 -599
  200. package/lib/ruby/3.4.11/bundler/setup.rb +0 -39
  201. package/lib/ruby/3.4.11/bundler/shared_helpers.rb +0 -398
  202. package/lib/ruby/3.4.11/bundler/similarity_detector.rb +0 -63
  203. package/lib/ruby/3.4.11/bundler/source/gemspec.rb +0 -15
  204. package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +0 -472
  205. package/lib/ruby/3.4.11/bundler/source/git.rb +0 -452
  206. package/lib/ruby/3.4.11/bundler/source/metadata.rb +0 -63
  207. package/lib/ruby/3.4.11/bundler/source/path/installer.rb +0 -53
  208. package/lib/ruby/3.4.11/bundler/source/path.rb +0 -250
  209. package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +0 -76
  210. package/lib/ruby/3.4.11/bundler/source/rubygems.rb +0 -522
  211. package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +0 -68
  212. package/lib/ruby/3.4.11/bundler/source.rb +0 -118
  213. package/lib/ruby/3.4.11/bundler/source_list.rb +0 -273
  214. package/lib/ruby/3.4.11/bundler/source_map.rb +0 -71
  215. package/lib/ruby/3.4.11/bundler/spec_set.rb +0 -395
  216. package/lib/ruby/3.4.11/bundler/stub_specification.rb +0 -146
  217. package/lib/ruby/3.4.11/bundler/templates/.document +0 -1
  218. package/lib/ruby/3.4.11/bundler/templates/Executable +0 -27
  219. package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +0 -109
  220. package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +0 -14
  221. package/lib/ruby/3.4.11/bundler/templates/Gemfile +0 -5
  222. package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +0 -5
  223. package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +0 -132
  224. package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +0 -7
  225. package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +0 -24
  226. package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +0 -21
  227. package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +0 -49
  228. package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +0 -67
  229. package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +0 -11
  230. package/lib/ruby/3.4.11/bundler/templates/newgem/bin/setup.tt +0 -8
  231. package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +0 -25
  232. package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +0 -3
  233. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +0 -15
  234. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +0 -10
  235. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +0 -6
  236. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +0 -9
  237. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +0 -6
  238. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +0 -12
  239. package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +0 -37
  240. package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +0 -23
  241. package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +0 -18
  242. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +0 -9
  243. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +0 -15
  244. package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +0 -52
  245. package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +0 -3
  246. package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +0 -8
  247. package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +0 -8
  248. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -11
  249. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +0 -15
  250. package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +0 -3
  251. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +0 -6
  252. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +0 -13
  253. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +0 -15
  254. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +0 -6
  255. package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +0 -19
  256. package/lib/ruby/3.4.11/bundler/ui/shell.rb +0 -187
  257. package/lib/ruby/3.4.11/bundler/ui/silent.rb +0 -96
  258. package/lib/ruby/3.4.11/bundler/ui.rb +0 -9
  259. package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +0 -43
  260. package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +0 -23
  261. package/lib/ruby/3.4.11/bundler/vendor/.document +0 -1
  262. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +0 -1
  263. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +0 -224
  264. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +0 -3
  265. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +0 -56
  266. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +0 -186
  267. package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +0 -1
  268. package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +0 -2696
  269. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +0 -1
  270. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +0 -41
  271. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +0 -65
  272. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +0 -79
  273. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +0 -1111
  274. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +0 -1
  275. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +0 -20
  276. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +0 -169
  277. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +0 -182
  278. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +0 -150
  279. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +0 -43
  280. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +0 -121
  281. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +0 -45
  282. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +0 -19
  283. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +0 -61
  284. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +0 -42
  285. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +0 -105
  286. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +0 -3
  287. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +0 -129
  288. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +0 -423
  289. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +0 -236
  290. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +0 -178
  291. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +0 -31
  292. package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +0 -1
  293. package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +0 -102
  294. package/lib/ruby/3.4.11/bundler/vendor/thor/.document +0 -1
  295. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +0 -105
  296. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +0 -61
  297. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +0 -108
  298. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +0 -143
  299. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +0 -371
  300. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +0 -130
  301. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +0 -340
  302. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +0 -825
  303. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +0 -151
  304. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -107
  305. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +0 -106
  306. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +0 -292
  307. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +0 -178
  308. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +0 -37
  309. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +0 -88
  310. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +0 -17
  311. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +0 -29
  312. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +0 -86
  313. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +0 -195
  314. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +0 -178
  315. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +0 -294
  316. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +0 -4
  317. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +0 -72
  318. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +0 -335
  319. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +0 -388
  320. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +0 -112
  321. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +0 -29
  322. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +0 -81
  323. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +0 -118
  324. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +0 -42
  325. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +0 -38
  326. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +0 -81
  327. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +0 -285
  328. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +0 -3
  329. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +0 -674
  330. package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +0 -1
  331. package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +0 -455
  332. package/lib/ruby/3.4.11/bundler/vendor/uri/.document +0 -1
  333. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +0 -880
  334. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +0 -100
  335. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +0 -267
  336. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +0 -1592
  337. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +0 -125
  338. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +0 -23
  339. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +0 -261
  340. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +0 -22
  341. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +0 -293
  342. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +0 -546
  343. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +0 -206
  344. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +0 -6
  345. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +0 -83
  346. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +0 -23
  347. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +0 -104
  348. package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +0 -4
  349. package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +0 -23
  350. package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +0 -11
  351. package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +0 -4
  352. package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +0 -12
  353. package/lib/ruby/3.4.11/bundler/vendored_thor.rb +0 -8
  354. package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +0 -12
  355. package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +0 -4
  356. package/lib/ruby/3.4.11/bundler/vendored_uri.rb +0 -21
  357. package/lib/ruby/3.4.11/bundler/version.rb +0 -13
  358. package/lib/ruby/3.4.11/bundler/vlad.rb +0 -17
  359. package/lib/ruby/3.4.11/bundler/worker.rb +0 -117
  360. package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +0 -98
  361. package/lib/ruby/3.4.11/bundler.rb +0 -701
  362. package/lib/ruby/3.4.11/cgi/cgi.gemspec +0 -43
  363. package/lib/ruby/3.4.11/cgi/cookie.rb +0 -210
  364. package/lib/ruby/3.4.11/cgi/core.rb +0 -900
  365. package/lib/ruby/3.4.11/cgi/html.rb +0 -1035
  366. package/lib/ruby/3.4.11/cgi/session/pstore.rb +0 -91
  367. package/lib/ruby/3.4.11/cgi/session.rb +0 -562
  368. package/lib/ruby/3.4.11/cgi/util.rb +0 -258
  369. package/lib/ruby/3.4.11/cgi.rb +0 -297
  370. package/lib/ruby/3.4.11/delegate.gemspec +0 -29
  371. package/lib/ruby/3.4.11/delegate.rb +0 -444
  372. package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +0 -57
  373. package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +0 -25
  374. package/lib/ruby/3.4.11/did_you_mean/experimental.rb +0 -2
  375. package/lib/ruby/3.4.11/did_you_mean/formatter.rb +0 -44
  376. package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +0 -4
  377. package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +0 -10
  378. package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +0 -84
  379. package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +0 -57
  380. package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +0 -46
  381. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +0 -28
  382. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +0 -79
  383. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +0 -49
  384. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +0 -85
  385. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +0 -20
  386. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +0 -6
  387. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +0 -28
  388. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +0 -39
  389. package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +0 -109
  390. package/lib/ruby/3.4.11/did_you_mean/verbose.rb +0 -2
  391. package/lib/ruby/3.4.11/did_you_mean/version.rb +0 -3
  392. package/lib/ruby/3.4.11/did_you_mean.rb +0 -131
  393. package/lib/ruby/3.4.11/erb/compiler.rb +0 -472
  394. package/lib/ruby/3.4.11/erb/def_method.rb +0 -47
  395. package/lib/ruby/3.4.11/erb/util.rb +0 -63
  396. package/lib/ruby/3.4.11/erb/version.rb +0 -5
  397. package/lib/ruby/3.4.11/erb.gemspec +0 -38
  398. package/lib/ruby/3.4.11/erb.rb +0 -509
  399. package/lib/ruby/3.4.11/error_highlight/base.rb +0 -830
  400. package/lib/ruby/3.4.11/error_highlight/core_ext.rb +0 -47
  401. package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +0 -27
  402. package/lib/ruby/3.4.11/error_highlight/formatter.rb +0 -74
  403. package/lib/ruby/3.4.11/error_highlight/version.rb +0 -3
  404. package/lib/ruby/3.4.11/error_highlight.rb +0 -2
  405. package/lib/ruby/3.4.11/fileutils.gemspec +0 -31
  406. package/lib/ruby/3.4.11/fileutils.rb +0 -2696
  407. package/lib/ruby/3.4.11/find.gemspec +0 -29
  408. package/lib/ruby/3.4.11/find.rb +0 -90
  409. package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +0 -26
  410. package/lib/ruby/3.4.11/forwardable/impl.rb +0 -17
  411. package/lib/ruby/3.4.11/forwardable.rb +0 -321
  412. package/lib/ruby/3.4.11/ipaddr.gemspec +0 -36
  413. package/lib/ruby/3.4.11/ipaddr.rb +0 -841
  414. package/lib/ruby/3.4.11/irb/cmd/nop.rb +0 -4
  415. package/lib/ruby/3.4.11/irb/color.rb +0 -262
  416. package/lib/ruby/3.4.11/irb/color_printer.rb +0 -55
  417. package/lib/ruby/3.4.11/irb/command/backtrace.rb +0 -17
  418. package/lib/ruby/3.4.11/irb/command/base.rb +0 -60
  419. package/lib/ruby/3.4.11/irb/command/break.rb +0 -17
  420. package/lib/ruby/3.4.11/irb/command/catch.rb +0 -17
  421. package/lib/ruby/3.4.11/irb/command/cd.rb +0 -51
  422. package/lib/ruby/3.4.11/irb/command/chws.rb +0 -40
  423. package/lib/ruby/3.4.11/irb/command/context.rb +0 -16
  424. package/lib/ruby/3.4.11/irb/command/continue.rb +0 -17
  425. package/lib/ruby/3.4.11/irb/command/debug.rb +0 -73
  426. package/lib/ruby/3.4.11/irb/command/delete.rb +0 -17
  427. package/lib/ruby/3.4.11/irb/command/disable_irb.rb +0 -19
  428. package/lib/ruby/3.4.11/irb/command/edit.rb +0 -63
  429. package/lib/ruby/3.4.11/irb/command/exit.rb +0 -18
  430. package/lib/ruby/3.4.11/irb/command/finish.rb +0 -17
  431. package/lib/ruby/3.4.11/irb/command/force_exit.rb +0 -18
  432. package/lib/ruby/3.4.11/irb/command/help.rb +0 -83
  433. package/lib/ruby/3.4.11/irb/command/history.rb +0 -45
  434. package/lib/ruby/3.4.11/irb/command/info.rb +0 -17
  435. package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +0 -27
  436. package/lib/ruby/3.4.11/irb/command/irb_info.rb +0 -33
  437. package/lib/ruby/3.4.11/irb/command/load.rb +0 -91
  438. package/lib/ruby/3.4.11/irb/command/ls.rb +0 -167
  439. package/lib/ruby/3.4.11/irb/command/measure.rb +0 -49
  440. package/lib/ruby/3.4.11/irb/command/next.rb +0 -17
  441. package/lib/ruby/3.4.11/irb/command/pushws.rb +0 -65
  442. package/lib/ruby/3.4.11/irb/command/show_doc.rb +0 -51
  443. package/lib/ruby/3.4.11/irb/command/show_source.rb +0 -74
  444. package/lib/ruby/3.4.11/irb/command/step.rb +0 -17
  445. package/lib/ruby/3.4.11/irb/command/subirb.rb +0 -123
  446. package/lib/ruby/3.4.11/irb/command/whereami.rb +0 -23
  447. package/lib/ruby/3.4.11/irb/command.rb +0 -23
  448. package/lib/ruby/3.4.11/irb/completion.rb +0 -504
  449. package/lib/ruby/3.4.11/irb/context.rb +0 -716
  450. package/lib/ruby/3.4.11/irb/debug/ui.rb +0 -101
  451. package/lib/ruby/3.4.11/irb/debug.rb +0 -127
  452. package/lib/ruby/3.4.11/irb/default_commands.rb +0 -276
  453. package/lib/ruby/3.4.11/irb/easter-egg.rb +0 -152
  454. package/lib/ruby/3.4.11/irb/ext/change-ws.rb +0 -37
  455. package/lib/ruby/3.4.11/irb/ext/eval_history.rb +0 -149
  456. package/lib/ruby/3.4.11/irb/ext/loader.rb +0 -127
  457. package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +0 -258
  458. package/lib/ruby/3.4.11/irb/ext/tracer.rb +0 -39
  459. package/lib/ruby/3.4.11/irb/ext/use-loader.rb +0 -67
  460. package/lib/ruby/3.4.11/irb/ext/workspaces.rb +0 -36
  461. package/lib/ruby/3.4.11/irb/frame.rb +0 -80
  462. package/lib/ruby/3.4.11/irb/help.rb +0 -28
  463. package/lib/ruby/3.4.11/irb/helper_method/base.rb +0 -16
  464. package/lib/ruby/3.4.11/irb/helper_method/conf.rb +0 -11
  465. package/lib/ruby/3.4.11/irb/helper_method.rb +0 -29
  466. package/lib/ruby/3.4.11/irb/history.rb +0 -112
  467. package/lib/ruby/3.4.11/irb/init.rb +0 -538
  468. package/lib/ruby/3.4.11/irb/input-method.rb +0 -515
  469. package/lib/ruby/3.4.11/irb/inspector.rb +0 -131
  470. package/lib/ruby/3.4.11/irb/irb.gemspec +0 -46
  471. package/lib/ruby/3.4.11/irb/lc/error.rb +0 -52
  472. package/lib/ruby/3.4.11/irb/lc/help-message +0 -55
  473. package/lib/ruby/3.4.11/irb/lc/ja/error.rb +0 -53
  474. package/lib/ruby/3.4.11/irb/lc/ja/help-message +0 -58
  475. package/lib/ruby/3.4.11/irb/locale.rb +0 -153
  476. package/lib/ruby/3.4.11/irb/nesting_parser.rb +0 -239
  477. package/lib/ruby/3.4.11/irb/notifier.rb +0 -230
  478. package/lib/ruby/3.4.11/irb/output-method.rb +0 -80
  479. package/lib/ruby/3.4.11/irb/pager.rb +0 -100
  480. package/lib/ruby/3.4.11/irb/ruby-lex.rb +0 -476
  481. package/lib/ruby/3.4.11/irb/ruby_logo.aa +0 -118
  482. package/lib/ruby/3.4.11/irb/source_finder.rb +0 -138
  483. package/lib/ruby/3.4.11/irb/statement.rb +0 -80
  484. package/lib/ruby/3.4.11/irb/version.rb +0 -11
  485. package/lib/ruby/3.4.11/irb/workspace.rb +0 -171
  486. package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +0 -9
  487. package/lib/ruby/3.4.11/irb/xmp.rb +0 -164
  488. package/lib/ruby/3.4.11/irb.rb +0 -1593
  489. package/lib/ruby/3.4.11/logger/errors.rb +0 -9
  490. package/lib/ruby/3.4.11/logger/formatter.rb +0 -36
  491. package/lib/ruby/3.4.11/logger/log_device.rb +0 -236
  492. package/lib/ruby/3.4.11/logger/logger.gemspec +0 -22
  493. package/lib/ruby/3.4.11/logger/period.rb +0 -47
  494. package/lib/ruby/3.4.11/logger/severity.rb +0 -38
  495. package/lib/ruby/3.4.11/logger/version.rb +0 -5
  496. package/lib/ruby/3.4.11/logger.rb +0 -761
  497. package/lib/ruby/3.4.11/mkmf.rb +0 -3045
  498. package/lib/ruby/3.4.11/net/http/exceptions.rb +0 -34
  499. package/lib/ruby/3.4.11/net/http/generic_request.rb +0 -414
  500. package/lib/ruby/3.4.11/net/http/header.rb +0 -981
  501. package/lib/ruby/3.4.11/net/http/net-http.gemspec +0 -39
  502. package/lib/ruby/3.4.11/net/http/proxy_delta.rb +0 -17
  503. package/lib/ruby/3.4.11/net/http/request.rb +0 -88
  504. package/lib/ruby/3.4.11/net/http/requests.rb +0 -430
  505. package/lib/ruby/3.4.11/net/http/response.rb +0 -738
  506. package/lib/ruby/3.4.11/net/http/responses.rb +0 -1174
  507. package/lib/ruby/3.4.11/net/http/status.rb +0 -84
  508. package/lib/ruby/3.4.11/net/http.rb +0 -2574
  509. package/lib/ruby/3.4.11/net/https.rb +0 -23
  510. package/lib/ruby/3.4.11/net/net-protocol.gemspec +0 -34
  511. package/lib/ruby/3.4.11/net/protocol.rb +0 -544
  512. package/lib/ruby/3.4.11/open-uri.gemspec +0 -32
  513. package/lib/ruby/3.4.11/open-uri.rb +0 -895
  514. package/lib/ruby/3.4.11/open3/open3.gemspec +0 -33
  515. package/lib/ruby/3.4.11/open3/version.rb +0 -3
  516. package/lib/ruby/3.4.11/open3.rb +0 -1410
  517. package/lib/ruby/3.4.11/optionparser.rb +0 -2
  518. package/lib/ruby/3.4.11/optparse/ac.rb +0 -70
  519. package/lib/ruby/3.4.11/optparse/date.rb +0 -18
  520. package/lib/ruby/3.4.11/optparse/kwargs.rb +0 -27
  521. package/lib/ruby/3.4.11/optparse/optparse.gemspec +0 -31
  522. package/lib/ruby/3.4.11/optparse/shellwords.rb +0 -7
  523. package/lib/ruby/3.4.11/optparse/time.rb +0 -11
  524. package/lib/ruby/3.4.11/optparse/uri.rb +0 -7
  525. package/lib/ruby/3.4.11/optparse/version.rb +0 -80
  526. package/lib/ruby/3.4.11/optparse.rb +0 -2429
  527. package/lib/ruby/3.4.11/ostruct.gemspec +0 -24
  528. package/lib/ruby/3.4.11/ostruct.rb +0 -489
  529. package/lib/ruby/3.4.11/pp.gemspec +0 -35
  530. package/lib/ruby/3.4.11/pp.rb +0 -699
  531. package/lib/ruby/3.4.11/prettyprint.gemspec +0 -29
  532. package/lib/ruby/3.4.11/prettyprint.rb +0 -558
  533. package/lib/ruby/3.4.11/prism/compiler.rb +0 -801
  534. package/lib/ruby/3.4.11/prism/desugar_compiler.rb +0 -392
  535. package/lib/ruby/3.4.11/prism/dispatcher.rb +0 -2210
  536. package/lib/ruby/3.4.11/prism/dsl.rb +0 -1003
  537. package/lib/ruby/3.4.11/prism/ffi.rb +0 -570
  538. package/lib/ruby/3.4.11/prism/inspect_visitor.rb +0 -2392
  539. package/lib/ruby/3.4.11/prism/lex_compat.rb +0 -928
  540. package/lib/ruby/3.4.11/prism/mutation_compiler.rb +0 -772
  541. package/lib/ruby/3.4.11/prism/node.rb +0 -18816
  542. package/lib/ruby/3.4.11/prism/node_ext.rb +0 -511
  543. package/lib/ruby/3.4.11/prism/pack.rb +0 -230
  544. package/lib/ruby/3.4.11/prism/parse_result/comments.rb +0 -188
  545. package/lib/ruby/3.4.11/prism/parse_result/errors.rb +0 -66
  546. package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +0 -155
  547. package/lib/ruby/3.4.11/prism/parse_result.rb +0 -911
  548. package/lib/ruby/3.4.11/prism/pattern.rb +0 -269
  549. package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +0 -15
  550. package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +0 -13
  551. package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +0 -14
  552. package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +0 -14
  553. package/lib/ruby/3.4.11/prism/polyfill/warn.rb +0 -36
  554. package/lib/ruby/3.4.11/prism/prism.gemspec +0 -174
  555. package/lib/ruby/3.4.11/prism/reflection.rb +0 -416
  556. package/lib/ruby/3.4.11/prism/relocation.rb +0 -505
  557. package/lib/ruby/3.4.11/prism/serialize.rb +0 -2400
  558. package/lib/ruby/3.4.11/prism/string_query.rb +0 -31
  559. package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +0 -62
  560. package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +0 -2234
  561. package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +0 -820
  562. package/lib/ruby/3.4.11/prism/translation/parser.rb +0 -374
  563. package/lib/ruby/3.4.11/prism/translation/parser33.rb +0 -13
  564. package/lib/ruby/3.4.11/prism/translation/parser34.rb +0 -13
  565. package/lib/ruby/3.4.11/prism/translation/parser35.rb +0 -13
  566. package/lib/ruby/3.4.11/prism/translation/parser_current.rb +0 -24
  567. package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +0 -126
  568. package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +0 -5
  569. package/lib/ruby/3.4.11/prism/translation/ripper.rb +0 -3474
  570. package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +0 -1929
  571. package/lib/ruby/3.4.11/prism/translation.rb +0 -16
  572. package/lib/ruby/3.4.11/prism/visitor.rb +0 -813
  573. package/lib/ruby/3.4.11/prism.rb +0 -91
  574. package/lib/ruby/3.4.11/pstore.gemspec +0 -32
  575. package/lib/ruby/3.4.11/pstore.rb +0 -736
  576. package/lib/ruby/3.4.11/random/formatter.rb +0 -372
  577. package/lib/ruby/3.4.11/rdoc/.document +0 -2
  578. package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +0 -104
  579. package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +0 -10
  580. package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +0 -374
  581. package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +0 -172
  582. package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +0 -888
  583. package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +0 -186
  584. package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +0 -175
  585. package/lib/ruby/3.4.11/rdoc/code_object/context.rb +0 -1222
  586. package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +0 -9
  587. package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +0 -6
  588. package/lib/ruby/3.4.11/rdoc/code_object/include.rb +0 -9
  589. package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +0 -6
  590. package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +0 -410
  591. package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +0 -120
  592. package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +0 -92
  593. package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +0 -73
  594. package/lib/ruby/3.4.11/rdoc/code_object/require.rb +0 -51
  595. package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +0 -30
  596. package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +0 -273
  597. package/lib/ruby/3.4.11/rdoc/code_object.rb +0 -395
  598. package/lib/ruby/3.4.11/rdoc/code_objects.rb +0 -5
  599. package/lib/ruby/3.4.11/rdoc/comment.rb +0 -236
  600. package/lib/ruby/3.4.11/rdoc/cross_reference.rb +0 -228
  601. package/lib/ruby/3.4.11/rdoc/encoding.rb +0 -120
  602. package/lib/ruby/3.4.11/rdoc/erb_partial.rb +0 -18
  603. package/lib/ruby/3.4.11/rdoc/erbio.rb +0 -37
  604. package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +0 -812
  605. package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +0 -284
  606. package/lib/ruby/3.4.11/rdoc/generator/markup.rb +0 -171
  607. package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +0 -68
  608. package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +0 -84
  609. package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +0 -141
  610. package/lib/ruby/3.4.11/rdoc/generator/pot.rb +0 -94
  611. package/lib/ruby/3.4.11/rdoc/generator/ri.rb +0 -30
  612. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
  613. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_footer.rhtml +0 -5
  614. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +0 -48
  615. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +0 -5
  616. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +0 -15
  617. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +0 -15
  618. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +0 -15
  619. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +0 -21
  620. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +0 -11
  621. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +0 -32
  622. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +0 -6
  623. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +0 -14
  624. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +0 -11
  625. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +0 -39
  626. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +0 -3
  627. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +0 -221
  628. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +0 -167
  629. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +0 -683
  630. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
  631. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
  632. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
  633. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
  634. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  635. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  636. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/add.png +0 -0
  637. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
  638. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick.png +0 -0
  639. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  640. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bug.png +0 -0
  641. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  642. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  643. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  644. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/date.png +0 -0
  645. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/delete.png +0 -0
  646. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/find.png +0 -0
  647. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  648. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  649. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/package.png +0 -0
  650. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  651. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  652. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  653. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  654. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  655. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  656. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  657. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  658. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  659. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  660. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  661. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/index.rhtml +0 -23
  662. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +0 -120
  663. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +0 -110
  664. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +0 -18
  665. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +0 -20
  666. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +0 -65
  667. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +0 -70
  668. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +0 -1
  669. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +0 -105
  670. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +0 -229
  671. package/lib/ruby/3.4.11/rdoc/generator.rb +0 -51
  672. package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +0 -102
  673. package/lib/ruby/3.4.11/rdoc/i18n/text.rb +0 -126
  674. package/lib/ruby/3.4.11/rdoc/i18n.rb +0 -10
  675. package/lib/ruby/3.4.11/rdoc/known_classes.rb +0 -74
  676. package/lib/ruby/3.4.11/rdoc/markdown/.document +0 -1
  677. package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +0 -2131
  678. package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +0 -454
  679. package/lib/ruby/3.4.11/rdoc/markdown.rb +0 -16806
  680. package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +0 -22
  681. package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +0 -35
  682. package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +0 -405
  683. package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +0 -70
  684. package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +0 -27
  685. package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +0 -14
  686. package/lib/ruby/3.4.11/rdoc/markup/document.rb +0 -164
  687. package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +0 -272
  688. package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +0 -31
  689. package/lib/ruby/3.4.11/rdoc/markup/heading.rb +0 -84
  690. package/lib/ruby/3.4.11/rdoc/markup/include.rb +0 -42
  691. package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +0 -47
  692. package/lib/ruby/3.4.11/rdoc/markup/list.rb +0 -101
  693. package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +0 -99
  694. package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +0 -28
  695. package/lib/ruby/3.4.11/rdoc/markup/parser.rb +0 -585
  696. package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +0 -318
  697. package/lib/ruby/3.4.11/rdoc/markup/raw.rb +0 -69
  698. package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +0 -40
  699. package/lib/ruby/3.4.11/rdoc/markup/rule.rb +0 -20
  700. package/lib/ruby/3.4.11/rdoc/markup/table.rb +0 -56
  701. package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +0 -93
  702. package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +0 -102
  703. package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +0 -462
  704. package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +0 -226
  705. package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +0 -287
  706. package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +0 -46
  707. package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +0 -74
  708. package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +0 -191
  709. package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +0 -353
  710. package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +0 -88
  711. package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +0 -69
  712. package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +0 -120
  713. package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +0 -83
  714. package/lib/ruby/3.4.11/rdoc/markup.rb +0 -240
  715. package/lib/ruby/3.4.11/rdoc/options.rb +0 -1416
  716. package/lib/ruby/3.4.11/rdoc/parser/c.rb +0 -1257
  717. package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +0 -350
  718. package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +0 -22
  719. package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +0 -1092
  720. package/lib/ruby/3.4.11/rdoc/parser/rd.rb +0 -22
  721. package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +0 -302
  722. package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +0 -2378
  723. package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +0 -165
  724. package/lib/ruby/3.4.11/rdoc/parser/simple.rb +0 -61
  725. package/lib/ruby/3.4.11/rdoc/parser/text.rb +0 -11
  726. package/lib/ruby/3.4.11/rdoc/parser.rb +0 -297
  727. package/lib/ruby/3.4.11/rdoc/rd/.document +0 -1
  728. package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +0 -1706
  729. package/lib/ruby/3.4.11/rdoc/rd/inline.rb +0 -71
  730. package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +0 -1854
  731. package/lib/ruby/3.4.11/rdoc/rd.rb +0 -99
  732. package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +0 -68
  733. package/lib/ruby/3.4.11/rdoc/rdoc.rb +0 -551
  734. package/lib/ruby/3.4.11/rdoc/ri/driver.rb +0 -1566
  735. package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +0 -6
  736. package/lib/ruby/3.4.11/rdoc/ri/paths.rb +0 -171
  737. package/lib/ruby/3.4.11/rdoc/ri/store.rb +0 -6
  738. package/lib/ruby/3.4.11/rdoc/ri/task.rb +0 -71
  739. package/lib/ruby/3.4.11/rdoc/ri.rb +0 -20
  740. package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +0 -327
  741. package/lib/ruby/3.4.11/rdoc/servlet.rb +0 -452
  742. package/lib/ruby/3.4.11/rdoc/stats/normal.rb +0 -58
  743. package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +0 -59
  744. package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +0 -44
  745. package/lib/ruby/3.4.11/rdoc/stats.rb +0 -461
  746. package/lib/ruby/3.4.11/rdoc/store.rb +0 -997
  747. package/lib/ruby/3.4.11/rdoc/task.rb +0 -354
  748. package/lib/ruby/3.4.11/rdoc/text.rb +0 -322
  749. package/lib/ruby/3.4.11/rdoc/token_stream.rb +0 -118
  750. package/lib/ruby/3.4.11/rdoc/tom_doc.rb +0 -257
  751. package/lib/ruby/3.4.11/rdoc/version.rb +0 -10
  752. package/lib/ruby/3.4.11/rdoc.rb +0 -211
  753. package/lib/ruby/3.4.11/readline.gemspec +0 -33
  754. package/lib/ruby/3.4.11/readline.rb +0 -7
  755. package/lib/ruby/3.4.11/reline/config.rb +0 -373
  756. package/lib/ruby/3.4.11/reline/face.rb +0 -199
  757. package/lib/ruby/3.4.11/reline/history.rb +0 -76
  758. package/lib/ruby/3.4.11/reline/io/ansi.rb +0 -325
  759. package/lib/ruby/3.4.11/reline/io/dumb.rb +0 -120
  760. package/lib/ruby/3.4.11/reline/io/windows.rb +0 -530
  761. package/lib/ruby/3.4.11/reline/io.rb +0 -55
  762. package/lib/ruby/3.4.11/reline/key_actor/base.rb +0 -37
  763. package/lib/ruby/3.4.11/reline/key_actor/composite.rb +0 -17
  764. package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +0 -517
  765. package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +0 -518
  766. package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +0 -517
  767. package/lib/ruby/3.4.11/reline/key_actor.rb +0 -8
  768. package/lib/ruby/3.4.11/reline/key_stroke.rb +0 -119
  769. package/lib/ruby/3.4.11/reline/kill_ring.rb +0 -125
  770. package/lib/ruby/3.4.11/reline/line_editor.rb +0 -2382
  771. package/lib/ruby/3.4.11/reline/reline.gemspec +0 -30
  772. package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +0 -1267
  773. package/lib/ruby/3.4.11/reline/unicode.rb +0 -415
  774. package/lib/ruby/3.4.11/reline/version.rb +0 -3
  775. package/lib/ruby/3.4.11/reline.rb +0 -519
  776. package/lib/ruby/3.4.11/resolv.gemspec +0 -30
  777. package/lib/ruby/3.4.11/resolv.rb +0 -3587
  778. package/lib/ruby/3.4.11/ruby2_keywords.gemspec +0 -23
  779. package/lib/ruby/3.4.11/ruby_vm/rjit/.document +0 -1
  780. package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +0 -1160
  781. package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +0 -11
  782. package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +0 -24
  783. package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +0 -394
  784. package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +0 -99
  785. package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +0 -91
  786. package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +0 -518
  787. package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +0 -377
  788. package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +0 -7
  789. package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +0 -164
  790. package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +0 -36
  791. package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +0 -6046
  792. package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +0 -1326
  793. package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +0 -155
  794. package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +0 -65
  795. package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +0 -191
  796. package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +0 -221
  797. package/lib/ruby/3.4.11/rubygems/available_set.rb +0 -165
  798. package/lib/ruby/3.4.11/rubygems/basic_specification.rb +0 -383
  799. package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +0 -77
  800. package/lib/ruby/3.4.11/rubygems/ci_detector.rb +0 -75
  801. package/lib/ruby/3.4.11/rubygems/command.rb +0 -664
  802. package/lib/ruby/3.4.11/rubygems/command_manager.rb +0 -255
  803. package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +0 -127
  804. package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +0 -325
  805. package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +0 -97
  806. package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +0 -178
  807. package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +0 -196
  808. package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +0 -206
  809. package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +0 -181
  810. package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +0 -256
  811. package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +0 -109
  812. package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +0 -51
  813. package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +0 -375
  814. package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +0 -38
  815. package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +0 -269
  816. package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +0 -42
  817. package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +0 -109
  818. package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +0 -26
  819. package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +0 -83
  820. package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +0 -33
  821. package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +0 -124
  822. package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +0 -217
  823. package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +0 -135
  824. package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +0 -43
  825. package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +0 -90
  826. package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +0 -262
  827. package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +0 -41
  828. package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +0 -26
  829. package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +0 -663
  830. package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +0 -34
  831. package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +0 -32
  832. package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +0 -227
  833. package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +0 -156
  834. package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +0 -40
  835. package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +0 -204
  836. package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +0 -168
  837. package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +0 -326
  838. package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +0 -88
  839. package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +0 -99
  840. package/lib/ruby/3.4.11/rubygems/compatibility.rb +0 -41
  841. package/lib/ruby/3.4.11/rubygems/config_file.rb +0 -618
  842. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +0 -68
  843. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +0 -149
  844. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +0 -45
  845. package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +0 -54
  846. package/lib/ruby/3.4.11/rubygems/defaults.rb +0 -308
  847. package/lib/ruby/3.4.11/rubygems/dependency.rb +0 -348
  848. package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +0 -335
  849. package/lib/ruby/3.4.11/rubygems/dependency_list.rb +0 -243
  850. package/lib/ruby/3.4.11/rubygems/deprecate.rb +0 -169
  851. package/lib/ruby/3.4.11/rubygems/doctor.rb +0 -132
  852. package/lib/ruby/3.4.11/rubygems/errors.rb +0 -177
  853. package/lib/ruby/3.4.11/rubygems/exceptions.rb +0 -293
  854. package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +0 -9
  855. package/lib/ruby/3.4.11/rubygems/ext/builder.rb +0 -260
  856. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +0 -27
  857. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +0 -346
  858. package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +0 -21
  859. package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +0 -26
  860. package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +0 -77
  861. package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +0 -37
  862. package/lib/ruby/3.4.11/rubygems/ext.rb +0 -20
  863. package/lib/ruby/3.4.11/rubygems/gem_runner.rb +0 -89
  864. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +0 -163
  865. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +0 -105
  866. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +0 -80
  867. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +0 -397
  868. package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +0 -19
  869. package/lib/ruby/3.4.11/rubygems/install_default_message.rb +0 -13
  870. package/lib/ruby/3.4.11/rubygems/install_message.rb +0 -13
  871. package/lib/ruby/3.4.11/rubygems/install_update_options.rb +0 -204
  872. package/lib/ruby/3.4.11/rubygems/installer.rb +0 -1031
  873. package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +0 -27
  874. package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +0 -146
  875. package/lib/ruby/3.4.11/rubygems/name_tuple.rb +0 -119
  876. package/lib/ruby/3.4.11/rubygems/openssl.rb +0 -7
  877. package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +0 -63
  878. package/lib/ruby/3.4.11/rubygems/package/file_source.rb +0 -32
  879. package/lib/ruby/3.4.11/rubygems/package/io_source.rb +0 -48
  880. package/lib/ruby/3.4.11/rubygems/package/old.rb +0 -169
  881. package/lib/ruby/3.4.11/rubygems/package/source.rb +0 -4
  882. package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +0 -277
  883. package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +0 -244
  884. package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +0 -101
  885. package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +0 -332
  886. package/lib/ruby/3.4.11/rubygems/package.rb +0 -742
  887. package/lib/ruby/3.4.11/rubygems/package_task.rb +0 -123
  888. package/lib/ruby/3.4.11/rubygems/path_support.rb +0 -85
  889. package/lib/ruby/3.4.11/rubygems/platform.rb +0 -269
  890. package/lib/ruby/3.4.11/rubygems/psych_tree.rb +0 -37
  891. package/lib/ruby/3.4.11/rubygems/query_utils.rb +0 -349
  892. package/lib/ruby/3.4.11/rubygems/rdoc.rb +0 -26
  893. package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +0 -341
  894. package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +0 -95
  895. package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +0 -47
  896. package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +0 -10
  897. package/lib/ruby/3.4.11/rubygems/request.rb +0 -298
  898. package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +0 -841
  899. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +0 -344
  900. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +0 -122
  901. package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +0 -235
  902. package/lib/ruby/3.4.11/rubygems/request_set.rb +0 -468
  903. package/lib/ruby/3.4.11/rubygems/requirement.rb +0 -298
  904. package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +0 -159
  905. package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +0 -21
  906. package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +0 -139
  907. package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +0 -105
  908. package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +0 -49
  909. package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +0 -65
  910. package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +0 -146
  911. package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +0 -12
  912. package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +0 -119
  913. package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +0 -120
  914. package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +0 -57
  915. package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +0 -79
  916. package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +0 -101
  917. package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +0 -57
  918. package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +0 -271
  919. package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +0 -40
  920. package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +0 -81
  921. package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +0 -86
  922. package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +0 -82
  923. package/lib/ruby/3.4.11/rubygems/resolver/set.rb +0 -55
  924. package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +0 -47
  925. package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +0 -76
  926. package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +0 -126
  927. package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +0 -46
  928. package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +0 -86
  929. package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +0 -23
  930. package/lib/ruby/3.4.11/rubygems/resolver.rb +0 -341
  931. package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +0 -177
  932. package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +0 -146
  933. package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +0 -325
  934. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +0 -31
  935. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +0 -428
  936. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +0 -74
  937. package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +0 -74
  938. package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +0 -45
  939. package/lib/ruby/3.4.11/rubygems/security/policies.rb +0 -114
  940. package/lib/ruby/3.4.11/rubygems/security/policy.rb +0 -288
  941. package/lib/ruby/3.4.11/rubygems/security/signer.rb +0 -212
  942. package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +0 -117
  943. package/lib/ruby/3.4.11/rubygems/security.rb +0 -615
  944. package/lib/ruby/3.4.11/rubygems/security_option.rb +0 -43
  945. package/lib/ruby/3.4.11/rubygems/source/git.rb +0 -244
  946. package/lib/ruby/3.4.11/rubygems/source/installed.rb +0 -39
  947. package/lib/ruby/3.4.11/rubygems/source/local.rb +0 -131
  948. package/lib/ruby/3.4.11/rubygems/source/lock.rb +0 -49
  949. package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +0 -73
  950. package/lib/ruby/3.4.11/rubygems/source/vendor.rb +0 -24
  951. package/lib/ruby/3.4.11/rubygems/source.rb +0 -247
  952. package/lib/ruby/3.4.11/rubygems/source_list.rb +0 -146
  953. package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +0 -290
  954. package/lib/ruby/3.4.11/rubygems/specification.rb +0 -2666
  955. package/lib/ruby/3.4.11/rubygems/specification_policy.rb +0 -558
  956. package/lib/ruby/3.4.11/rubygems/specification_record.rb +0 -212
  957. package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +0 -1
  958. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +0 -21
  959. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +0 -21
  960. package/lib/ruby/3.4.11/rubygems/stub_specification.rb +0 -235
  961. package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +0 -50
  962. package/lib/ruby/3.4.11/rubygems/text.rb +0 -85
  963. package/lib/ruby/3.4.11/rubygems/uninstaller.rb +0 -429
  964. package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +0 -21
  965. package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +0 -56
  966. package/lib/ruby/3.4.11/rubygems/uri.rb +0 -126
  967. package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +0 -47
  968. package/lib/ruby/3.4.11/rubygems/user_interaction.rb +0 -650
  969. package/lib/ruby/3.4.11/rubygems/util/licenses.rb +0 -834
  970. package/lib/ruby/3.4.11/rubygems/util/list.rb +0 -40
  971. package/lib/ruby/3.4.11/rubygems/util.rb +0 -118
  972. package/lib/ruby/3.4.11/rubygems/validator.rb +0 -144
  973. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +0 -1
  974. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -57
  975. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +0 -88
  976. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +0 -36
  977. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +0 -66
  978. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +0 -62
  979. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +0 -63
  980. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +0 -61
  981. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +0 -126
  982. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +0 -46
  983. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +0 -36
  984. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +0 -164
  985. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +0 -255
  986. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +0 -149
  987. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +0 -6
  988. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +0 -112
  989. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +0 -67
  990. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +0 -839
  991. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +0 -46
  992. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +0 -58
  993. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +0 -11
  994. package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +0 -1
  995. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +0 -34
  996. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +0 -414
  997. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +0 -981
  998. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +0 -17
  999. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +0 -88
  1000. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +0 -430
  1001. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +0 -738
  1002. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +0 -1174
  1003. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +0 -84
  1004. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +0 -2580
  1005. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +0 -23
  1006. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +0 -1
  1007. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +0 -544
  1008. package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +0 -1
  1009. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +0 -2
  1010. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +0 -70
  1011. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +0 -18
  1012. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +0 -27
  1013. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +0 -7
  1014. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +0 -11
  1015. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +0 -7
  1016. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +0 -80
  1017. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +0 -2426
  1018. package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +0 -1
  1019. package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +0 -3455
  1020. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +0 -1
  1021. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +0 -102
  1022. package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +0 -1
  1023. package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +0 -198
  1024. package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +0 -1
  1025. package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +0 -455
  1026. package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +0 -1
  1027. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +0 -880
  1028. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +0 -100
  1029. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +0 -267
  1030. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +0 -1592
  1031. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +0 -125
  1032. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +0 -23
  1033. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +0 -261
  1034. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +0 -22
  1035. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +0 -293
  1036. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +0 -546
  1037. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +0 -206
  1038. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +0 -6
  1039. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +0 -83
  1040. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +0 -23
  1041. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +0 -104
  1042. package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +0 -3
  1043. package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +0 -5
  1044. package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +0 -3
  1045. package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +0 -3
  1046. package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +0 -5
  1047. package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +0 -3
  1048. package/lib/ruby/3.4.11/rubygems/version.rb +0 -441
  1049. package/lib/ruby/3.4.11/rubygems/version_option.rb +0 -80
  1050. package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +0 -98
  1051. package/lib/ruby/3.4.11/rubygems.rb +0 -1417
  1052. package/lib/ruby/3.4.11/securerandom.gemspec +0 -34
  1053. package/lib/ruby/3.4.11/securerandom.rb +0 -102
  1054. package/lib/ruby/3.4.11/set/set.gemspec +0 -30
  1055. package/lib/ruby/3.4.11/set/sorted_set.rb +0 -6
  1056. package/lib/ruby/3.4.11/set.rb +0 -855
  1057. package/lib/ruby/3.4.11/shellwords.gemspec +0 -31
  1058. package/lib/ruby/3.4.11/shellwords.rb +0 -254
  1059. package/lib/ruby/3.4.11/singleton.gemspec +0 -30
  1060. package/lib/ruby/3.4.11/singleton.rb +0 -239
  1061. package/lib/ruby/3.4.11/syntax_suggest/api.rb +0 -233
  1062. package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +0 -232
  1063. package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +0 -165
  1064. package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +0 -85
  1065. package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +0 -71
  1066. package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +0 -245
  1067. package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +0 -306
  1068. package/lib/ruby/3.4.11/syntax_suggest/cli.rb +0 -130
  1069. package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +0 -100
  1070. package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +0 -178
  1071. package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +0 -243
  1072. package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +0 -139
  1073. package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +0 -96
  1074. package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +0 -70
  1075. package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +0 -83
  1076. package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +0 -117
  1077. package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +0 -168
  1078. package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +0 -74
  1079. package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +0 -70
  1080. package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +0 -30
  1081. package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +0 -60
  1082. package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +0 -59
  1083. package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +0 -63
  1084. package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +0 -105
  1085. package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +0 -39
  1086. package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +0 -134
  1087. package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +0 -32
  1088. package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +0 -36
  1089. package/lib/ruby/3.4.11/syntax_suggest/version.rb +0 -5
  1090. package/lib/ruby/3.4.11/syntax_suggest.rb +0 -3
  1091. package/lib/ruby/3.4.11/tempfile.gemspec +0 -33
  1092. package/lib/ruby/3.4.11/tempfile.rb +0 -640
  1093. package/lib/ruby/3.4.11/time.gemspec +0 -35
  1094. package/lib/ruby/3.4.11/time.rb +0 -731
  1095. package/lib/ruby/3.4.11/timeout.gemspec +0 -33
  1096. package/lib/ruby/3.4.11/timeout.rb +0 -200
  1097. package/lib/ruby/3.4.11/tmpdir.gemspec +0 -30
  1098. package/lib/ruby/3.4.11/tmpdir.rb +0 -189
  1099. package/lib/ruby/3.4.11/tsort.gemspec +0 -29
  1100. package/lib/ruby/3.4.11/tsort.rb +0 -455
  1101. package/lib/ruby/3.4.11/un.gemspec +0 -31
  1102. package/lib/ruby/3.4.11/un.rb +0 -441
  1103. package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +0 -181
  1104. package/lib/ruby/3.4.11/unicode_normalize/tables.rb +0 -9259
  1105. package/lib/ruby/3.4.11/uri/common.rb +0 -880
  1106. package/lib/ruby/3.4.11/uri/file.rb +0 -100
  1107. package/lib/ruby/3.4.11/uri/ftp.rb +0 -267
  1108. package/lib/ruby/3.4.11/uri/generic.rb +0 -1592
  1109. package/lib/ruby/3.4.11/uri/http.rb +0 -125
  1110. package/lib/ruby/3.4.11/uri/https.rb +0 -23
  1111. package/lib/ruby/3.4.11/uri/ldap.rb +0 -261
  1112. package/lib/ruby/3.4.11/uri/ldaps.rb +0 -22
  1113. package/lib/ruby/3.4.11/uri/mailto.rb +0 -293
  1114. package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +0 -546
  1115. package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +0 -206
  1116. package/lib/ruby/3.4.11/uri/uri.gemspec +0 -42
  1117. package/lib/ruby/3.4.11/uri/version.rb +0 -6
  1118. package/lib/ruby/3.4.11/uri/ws.rb +0 -83
  1119. package/lib/ruby/3.4.11/uri/wss.rb +0 -23
  1120. package/lib/ruby/3.4.11/uri.rb +0 -104
  1121. package/lib/ruby/3.4.11/weakref.gemspec +0 -34
  1122. package/lib/ruby/3.4.11/weakref.rb +0 -58
  1123. package/lib/ruby/3.4.11/yaml/dbm.rb +0 -295
  1124. package/lib/ruby/3.4.11/yaml/store.rb +0 -98
  1125. package/lib/ruby/3.4.11/yaml/yaml.gemspec +0 -30
  1126. package/lib/ruby/3.4.11/yaml.rb +0 -70
@@ -1,1592 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # = uri/generic.rb
4
- #
5
- # Author:: Akira Yamada <akira@ruby-lang.org>
6
- # License:: You can redistribute it and/or modify it under the same term as Ruby.
7
- #
8
- # See Gem::URI for general documentation
9
- #
10
-
11
- require_relative 'common'
12
- autoload :IPSocket, 'socket'
13
- autoload :IPAddr, 'ipaddr'
14
-
15
- module Gem::URI
16
-
17
- #
18
- # Base class for all Gem::URI classes.
19
- # Implements generic Gem::URI syntax as per RFC 2396.
20
- #
21
- class Generic
22
- include Gem::URI
23
-
24
- #
25
- # A Default port of nil for Gem::URI::Generic.
26
- #
27
- DEFAULT_PORT = nil
28
-
29
- #
30
- # Returns default port.
31
- #
32
- def self.default_port
33
- self::DEFAULT_PORT
34
- end
35
-
36
- #
37
- # Returns default port.
38
- #
39
- def default_port
40
- self.class.default_port
41
- end
42
-
43
- #
44
- # An Array of the available components for Gem::URI::Generic.
45
- #
46
- COMPONENT = [
47
- :scheme,
48
- :userinfo, :host, :port, :registry,
49
- :path, :opaque,
50
- :query,
51
- :fragment
52
- ].freeze
53
-
54
- #
55
- # Components of the Gem::URI in the order.
56
- #
57
- def self.component
58
- self::COMPONENT
59
- end
60
-
61
- USE_REGISTRY = false # :nodoc:
62
-
63
- def self.use_registry # :nodoc:
64
- self::USE_REGISTRY
65
- end
66
-
67
- #
68
- # == Synopsis
69
- #
70
- # See ::new.
71
- #
72
- # == Description
73
- #
74
- # At first, tries to create a new Gem::URI::Generic instance using
75
- # Gem::URI::Generic::build. But, if exception Gem::URI::InvalidComponentError is raised,
76
- # then it does Gem::URI::Escape.escape all Gem::URI components and tries again.
77
- #
78
- def self.build2(args)
79
- begin
80
- return self.build(args)
81
- rescue InvalidComponentError
82
- if args.kind_of?(Array)
83
- return self.build(args.collect{|x|
84
- if x.is_a?(String)
85
- Gem::URI::RFC2396_PARSER.escape(x)
86
- else
87
- x
88
- end
89
- })
90
- elsif args.kind_of?(Hash)
91
- tmp = {}
92
- args.each do |key, value|
93
- tmp[key] = if value
94
- Gem::URI::RFC2396_PARSER.escape(value)
95
- else
96
- value
97
- end
98
- end
99
- return self.build(tmp)
100
- end
101
- end
102
- end
103
-
104
- #
105
- # == Synopsis
106
- #
107
- # See ::new.
108
- #
109
- # == Description
110
- #
111
- # Creates a new Gem::URI::Generic instance from components of Gem::URI::Generic
112
- # with check. Components are: scheme, userinfo, host, port, registry, path,
113
- # opaque, query, and fragment. You can provide arguments either by an Array or a Hash.
114
- # See ::new for hash keys to use or for order of array items.
115
- #
116
- def self.build(args)
117
- if args.kind_of?(Array) &&
118
- args.size == ::Gem::URI::Generic::COMPONENT.size
119
- tmp = args.dup
120
- elsif args.kind_of?(Hash)
121
- tmp = ::Gem::URI::Generic::COMPONENT.collect do |c|
122
- if args.include?(c)
123
- args[c]
124
- else
125
- nil
126
- end
127
- end
128
- else
129
- component = self.class.component rescue ::Gem::URI::Generic::COMPONENT
130
- raise ArgumentError,
131
- "expected Array of or Hash of components of #{self.class} (#{component.join(', ')})"
132
- end
133
-
134
- tmp << nil
135
- tmp << true
136
- return self.new(*tmp)
137
- end
138
-
139
- #
140
- # == Args
141
- #
142
- # +scheme+::
143
- # Protocol scheme, i.e. 'http','ftp','mailto' and so on.
144
- # +userinfo+::
145
- # User name and password, i.e. 'sdmitry:bla'.
146
- # +host+::
147
- # Server host name.
148
- # +port+::
149
- # Server port.
150
- # +registry+::
151
- # Registry of naming authorities.
152
- # +path+::
153
- # Path on server.
154
- # +opaque+::
155
- # Opaque part.
156
- # +query+::
157
- # Query data.
158
- # +fragment+::
159
- # Part of the Gem::URI after '#' character.
160
- # +parser+::
161
- # Parser for internal use [Gem::URI::DEFAULT_PARSER by default].
162
- # +arg_check+::
163
- # Check arguments [false by default].
164
- #
165
- # == Description
166
- #
167
- # Creates a new Gem::URI::Generic instance from ``generic'' components without check.
168
- #
169
- def initialize(scheme,
170
- userinfo, host, port, registry,
171
- path, opaque,
172
- query,
173
- fragment,
174
- parser = DEFAULT_PARSER,
175
- arg_check = false)
176
- @scheme = nil
177
- @user = nil
178
- @password = nil
179
- @host = nil
180
- @port = nil
181
- @path = nil
182
- @query = nil
183
- @opaque = nil
184
- @fragment = nil
185
- @parser = parser == DEFAULT_PARSER ? nil : parser
186
-
187
- if arg_check
188
- self.scheme = scheme
189
- self.hostname = host
190
- self.port = port
191
- self.userinfo = userinfo
192
- self.path = path
193
- self.query = query
194
- self.opaque = opaque
195
- self.fragment = fragment
196
- else
197
- self.set_scheme(scheme)
198
- self.set_host(host)
199
- self.set_port(port)
200
- self.set_userinfo(userinfo)
201
- self.set_path(path)
202
- self.query = query
203
- self.set_opaque(opaque)
204
- self.fragment=(fragment)
205
- end
206
- if registry
207
- raise InvalidURIError,
208
- "the scheme #{@scheme} does not accept registry part: #{registry} (or bad hostname?)"
209
- end
210
-
211
- @scheme&.freeze
212
- self.set_path('') if !@path && !@opaque # (see RFC2396 Section 5.2)
213
- self.set_port(self.default_port) if self.default_port && !@port
214
- end
215
-
216
- #
217
- # Returns the scheme component of the Gem::URI.
218
- #
219
- # Gem::URI("http://foo/bar/baz").scheme #=> "http"
220
- #
221
- attr_reader :scheme
222
-
223
- # Returns the host component of the Gem::URI.
224
- #
225
- # Gem::URI("http://foo/bar/baz").host #=> "foo"
226
- #
227
- # It returns nil if no host component exists.
228
- #
229
- # Gem::URI("mailto:foo@example.org").host #=> nil
230
- #
231
- # The component does not contain the port number.
232
- #
233
- # Gem::URI("http://foo:8080/bar/baz").host #=> "foo"
234
- #
235
- # Since IPv6 addresses are wrapped with brackets in URIs,
236
- # this method returns IPv6 addresses wrapped with brackets.
237
- # This form is not appropriate to pass to socket methods such as TCPSocket.open.
238
- # If unwrapped host names are required, use the #hostname method.
239
- #
240
- # Gem::URI("http://[::1]/bar/baz").host #=> "[::1]"
241
- # Gem::URI("http://[::1]/bar/baz").hostname #=> "::1"
242
- #
243
- attr_reader :host
244
-
245
- # Returns the port component of the Gem::URI.
246
- #
247
- # Gem::URI("http://foo/bar/baz").port #=> 80
248
- # Gem::URI("http://foo:8080/bar/baz").port #=> 8080
249
- #
250
- attr_reader :port
251
-
252
- def registry # :nodoc:
253
- nil
254
- end
255
-
256
- # Returns the path component of the Gem::URI.
257
- #
258
- # Gem::URI("http://foo/bar/baz").path #=> "/bar/baz"
259
- #
260
- attr_reader :path
261
-
262
- # Returns the query component of the Gem::URI.
263
- #
264
- # Gem::URI("http://foo/bar/baz?search=FooBar").query #=> "search=FooBar"
265
- #
266
- attr_reader :query
267
-
268
- # Returns the opaque part of the Gem::URI.
269
- #
270
- # Gem::URI("mailto:foo@example.org").opaque #=> "foo@example.org"
271
- # Gem::URI("http://foo/bar/baz").opaque #=> nil
272
- #
273
- # The portion of the path that does not make use of the slash '/'.
274
- # The path typically refers to an absolute path or an opaque part.
275
- # (See RFC2396 Section 3 and 5.2.)
276
- #
277
- attr_reader :opaque
278
-
279
- # Returns the fragment component of the Gem::URI.
280
- #
281
- # Gem::URI("http://foo/bar/baz?search=FooBar#ponies").fragment #=> "ponies"
282
- #
283
- attr_reader :fragment
284
-
285
- # Returns the parser to be used.
286
- #
287
- # Unless a Gem::URI::Parser is defined, DEFAULT_PARSER is used.
288
- #
289
- def parser
290
- if !defined?(@parser) || !@parser
291
- DEFAULT_PARSER
292
- else
293
- @parser || DEFAULT_PARSER
294
- end
295
- end
296
-
297
- # Replaces self by other Gem::URI object.
298
- #
299
- def replace!(oth)
300
- if self.class != oth.class
301
- raise ArgumentError, "expected #{self.class} object"
302
- end
303
-
304
- component.each do |c|
305
- self.__send__("#{c}=", oth.__send__(c))
306
- end
307
- end
308
- private :replace!
309
-
310
- #
311
- # Components of the Gem::URI in the order.
312
- #
313
- def component
314
- self.class.component
315
- end
316
-
317
- #
318
- # Checks the scheme +v+ component against the Gem::URI::Parser Regexp for :SCHEME.
319
- #
320
- def check_scheme(v)
321
- if v && parser.regexp[:SCHEME] !~ v
322
- raise InvalidComponentError,
323
- "bad component(expected scheme component): #{v}"
324
- end
325
-
326
- return true
327
- end
328
- private :check_scheme
329
-
330
- # Protected setter for the scheme component +v+.
331
- #
332
- # See also Gem::URI::Generic.scheme=.
333
- #
334
- def set_scheme(v)
335
- @scheme = v&.downcase
336
- end
337
- protected :set_scheme
338
-
339
- #
340
- # == Args
341
- #
342
- # +v+::
343
- # String
344
- #
345
- # == Description
346
- #
347
- # Public setter for the scheme component +v+
348
- # (with validation).
349
- #
350
- # See also Gem::URI::Generic.check_scheme.
351
- #
352
- # == Usage
353
- #
354
- # require 'rubygems/vendor/uri/lib/uri'
355
- #
356
- # uri = Gem::URI.parse("http://my.example.com")
357
- # uri.scheme = "https"
358
- # uri.to_s #=> "https://my.example.com"
359
- #
360
- def scheme=(v)
361
- check_scheme(v)
362
- set_scheme(v)
363
- v
364
- end
365
-
366
- #
367
- # Checks the +user+ and +password+.
368
- #
369
- # If +password+ is not provided, then +user+ is
370
- # split, using Gem::URI::Generic.split_userinfo, to
371
- # pull +user+ and +password.
372
- #
373
- # See also Gem::URI::Generic.check_user, Gem::URI::Generic.check_password.
374
- #
375
- def check_userinfo(user, password = nil)
376
- if !password
377
- user, password = split_userinfo(user)
378
- end
379
- check_user(user)
380
- check_password(password, user)
381
-
382
- return true
383
- end
384
- private :check_userinfo
385
-
386
- #
387
- # Checks the user +v+ component for RFC2396 compliance
388
- # and against the Gem::URI::Parser Regexp for :USERINFO.
389
- #
390
- # Can not have a registry or opaque component defined,
391
- # with a user component defined.
392
- #
393
- def check_user(v)
394
- if @opaque
395
- raise InvalidURIError,
396
- "cannot set user with opaque"
397
- end
398
-
399
- return v unless v
400
-
401
- if parser.regexp[:USERINFO] !~ v
402
- raise InvalidComponentError,
403
- "bad component(expected userinfo component or user component): #{v}"
404
- end
405
-
406
- return true
407
- end
408
- private :check_user
409
-
410
- #
411
- # Checks the password +v+ component for RFC2396 compliance
412
- # and against the Gem::URI::Parser Regexp for :USERINFO.
413
- #
414
- # Can not have a registry or opaque component defined,
415
- # with a user component defined.
416
- #
417
- def check_password(v, user = @user)
418
- if @opaque
419
- raise InvalidURIError,
420
- "cannot set password with opaque"
421
- end
422
- return v unless v
423
-
424
- if !user
425
- raise InvalidURIError,
426
- "password component depends user component"
427
- end
428
-
429
- if parser.regexp[:USERINFO] !~ v
430
- raise InvalidComponentError,
431
- "bad password component"
432
- end
433
-
434
- return true
435
- end
436
- private :check_password
437
-
438
- #
439
- # Sets userinfo, argument is string like 'name:pass'.
440
- #
441
- def userinfo=(userinfo)
442
- if userinfo.nil?
443
- return nil
444
- end
445
- check_userinfo(*userinfo)
446
- set_userinfo(*userinfo)
447
- # returns userinfo
448
- end
449
-
450
- #
451
- # == Args
452
- #
453
- # +v+::
454
- # String
455
- #
456
- # == Description
457
- #
458
- # Public setter for the +user+ component
459
- # (with validation).
460
- #
461
- # See also Gem::URI::Generic.check_user.
462
- #
463
- # == Usage
464
- #
465
- # require 'rubygems/vendor/uri/lib/uri'
466
- #
467
- # uri = Gem::URI.parse("http://john:S3nsit1ve@my.example.com")
468
- # uri.user = "sam"
469
- # uri.to_s #=> "http://sam:V3ry_S3nsit1ve@my.example.com"
470
- #
471
- def user=(user)
472
- check_user(user)
473
- set_user(user)
474
- # returns user
475
- end
476
-
477
- #
478
- # == Args
479
- #
480
- # +v+::
481
- # String
482
- #
483
- # == Description
484
- #
485
- # Public setter for the +password+ component
486
- # (with validation).
487
- #
488
- # See also Gem::URI::Generic.check_password.
489
- #
490
- # == Usage
491
- #
492
- # require 'rubygems/vendor/uri/lib/uri'
493
- #
494
- # uri = Gem::URI.parse("http://john:S3nsit1ve@my.example.com")
495
- # uri.password = "V3ry_S3nsit1ve"
496
- # uri.to_s #=> "http://john:V3ry_S3nsit1ve@my.example.com"
497
- #
498
- def password=(password)
499
- check_password(password)
500
- set_password(password)
501
- # returns password
502
- end
503
-
504
- # Protected setter for the +user+ component, and +password+ if available
505
- # (with validation).
506
- #
507
- # See also Gem::URI::Generic.userinfo=.
508
- #
509
- def set_userinfo(user, password = nil)
510
- unless password
511
- user, password = split_userinfo(user)
512
- end
513
- @user = user
514
- @password = password
515
-
516
- [@user, @password]
517
- end
518
- protected :set_userinfo
519
-
520
- # Protected setter for the user component +v+.
521
- #
522
- # See also Gem::URI::Generic.user=.
523
- #
524
- def set_user(v)
525
- set_userinfo(v, nil)
526
- v
527
- end
528
- protected :set_user
529
-
530
- # Protected setter for the password component +v+.
531
- #
532
- # See also Gem::URI::Generic.password=.
533
- #
534
- def set_password(v)
535
- @password = v
536
- # returns v
537
- end
538
- protected :set_password
539
-
540
- # Returns the userinfo +ui+ as <code>[user, password]</code>
541
- # if properly formatted as 'user:password'.
542
- def split_userinfo(ui)
543
- return nil, nil unless ui
544
- user, password = ui.split(':', 2)
545
-
546
- return user, password
547
- end
548
- private :split_userinfo
549
-
550
- # Escapes 'user:password' +v+ based on RFC 1738 section 3.1.
551
- def escape_userpass(v)
552
- parser.escape(v, /[@:\/]/o) # RFC 1738 section 3.1 #/
553
- end
554
- private :escape_userpass
555
-
556
- # Returns the userinfo, either as 'user' or 'user:password'.
557
- def userinfo
558
- if @user.nil?
559
- nil
560
- elsif @password.nil?
561
- @user
562
- else
563
- @user + ':' + @password
564
- end
565
- end
566
-
567
- # Returns the user component (without Gem::URI decoding).
568
- def user
569
- @user
570
- end
571
-
572
- # Returns the password component (without Gem::URI decoding).
573
- def password
574
- @password
575
- end
576
-
577
- # Returns the authority info (array of user, password, host and
578
- # port), if any is set. Or returns +nil+.
579
- def authority
580
- return @user, @password, @host, @port if @user || @password || @host || @port
581
- end
582
-
583
- # Returns the user component after Gem::URI decoding.
584
- def decoded_user
585
- Gem::URI.decode_uri_component(@user) if @user
586
- end
587
-
588
- # Returns the password component after Gem::URI decoding.
589
- def decoded_password
590
- Gem::URI.decode_uri_component(@password) if @password
591
- end
592
-
593
- #
594
- # Checks the host +v+ component for RFC2396 compliance
595
- # and against the Gem::URI::Parser Regexp for :HOST.
596
- #
597
- # Can not have a registry or opaque component defined,
598
- # with a host component defined.
599
- #
600
- def check_host(v)
601
- return v unless v
602
-
603
- if @opaque
604
- raise InvalidURIError,
605
- "cannot set host with registry or opaque"
606
- elsif parser.regexp[:HOST] !~ v
607
- raise InvalidComponentError,
608
- "bad component(expected host component): #{v}"
609
- end
610
-
611
- return true
612
- end
613
- private :check_host
614
-
615
- # Protected setter for the host component +v+.
616
- #
617
- # See also Gem::URI::Generic.host=.
618
- #
619
- def set_host(v)
620
- @host = v
621
- end
622
- protected :set_host
623
-
624
- # Protected setter for the authority info (+user+, +password+, +host+
625
- # and +port+). If +port+ is +nil+, +default_port+ will be set.
626
- #
627
- protected def set_authority(user, password, host, port = nil)
628
- @user, @password, @host, @port = user, password, host, port || self.default_port
629
- end
630
-
631
- #
632
- # == Args
633
- #
634
- # +v+::
635
- # String
636
- #
637
- # == Description
638
- #
639
- # Public setter for the host component +v+
640
- # (with validation).
641
- #
642
- # See also Gem::URI::Generic.check_host.
643
- #
644
- # == Usage
645
- #
646
- # require 'rubygems/vendor/uri/lib/uri'
647
- #
648
- # uri = Gem::URI.parse("http://my.example.com")
649
- # uri.host = "foo.com"
650
- # uri.to_s #=> "http://foo.com"
651
- #
652
- def host=(v)
653
- check_host(v)
654
- set_host(v)
655
- set_userinfo(nil)
656
- v
657
- end
658
-
659
- # Extract the host part of the Gem::URI and unwrap brackets for IPv6 addresses.
660
- #
661
- # This method is the same as Gem::URI::Generic#host except
662
- # brackets for IPv6 (and future IP) addresses are removed.
663
- #
664
- # uri = Gem::URI("http://[::1]/bar")
665
- # uri.hostname #=> "::1"
666
- # uri.host #=> "[::1]"
667
- #
668
- def hostname
669
- v = self.host
670
- v&.start_with?('[') && v.end_with?(']') ? v[1..-2] : v
671
- end
672
-
673
- # Sets the host part of the Gem::URI as the argument with brackets for IPv6 addresses.
674
- #
675
- # This method is the same as Gem::URI::Generic#host= except
676
- # the argument can be a bare IPv6 address.
677
- #
678
- # uri = Gem::URI("http://foo/bar")
679
- # uri.hostname = "::1"
680
- # uri.to_s #=> "http://[::1]/bar"
681
- #
682
- # If the argument seems to be an IPv6 address,
683
- # it is wrapped with brackets.
684
- #
685
- def hostname=(v)
686
- v = "[#{v}]" if !(v&.start_with?('[') && v&.end_with?(']')) && v&.index(':')
687
- self.host = v
688
- end
689
-
690
- #
691
- # Checks the port +v+ component for RFC2396 compliance
692
- # and against the Gem::URI::Parser Regexp for :PORT.
693
- #
694
- # Can not have a registry or opaque component defined,
695
- # with a port component defined.
696
- #
697
- def check_port(v)
698
- return v unless v
699
-
700
- if @opaque
701
- raise InvalidURIError,
702
- "cannot set port with registry or opaque"
703
- elsif !v.kind_of?(Integer) && parser.regexp[:PORT] !~ v
704
- raise InvalidComponentError,
705
- "bad component(expected port component): #{v.inspect}"
706
- end
707
-
708
- return true
709
- end
710
- private :check_port
711
-
712
- # Protected setter for the port component +v+.
713
- #
714
- # See also Gem::URI::Generic.port=.
715
- #
716
- def set_port(v)
717
- v = v.empty? ? nil : v.to_i unless !v || v.kind_of?(Integer)
718
- @port = v
719
- end
720
- protected :set_port
721
-
722
- #
723
- # == Args
724
- #
725
- # +v+::
726
- # String
727
- #
728
- # == Description
729
- #
730
- # Public setter for the port component +v+
731
- # (with validation).
732
- #
733
- # See also Gem::URI::Generic.check_port.
734
- #
735
- # == Usage
736
- #
737
- # require 'rubygems/vendor/uri/lib/uri'
738
- #
739
- # uri = Gem::URI.parse("http://my.example.com")
740
- # uri.port = 8080
741
- # uri.to_s #=> "http://my.example.com:8080"
742
- #
743
- def port=(v)
744
- check_port(v)
745
- set_port(v)
746
- set_userinfo(nil)
747
- port
748
- end
749
-
750
- def check_registry(v) # :nodoc:
751
- raise InvalidURIError, "cannot set registry"
752
- end
753
- private :check_registry
754
-
755
- def set_registry(v) # :nodoc:
756
- raise InvalidURIError, "cannot set registry"
757
- end
758
- protected :set_registry
759
-
760
- def registry=(v) # :nodoc:
761
- raise InvalidURIError, "cannot set registry"
762
- end
763
-
764
- #
765
- # Checks the path +v+ component for RFC2396 compliance
766
- # and against the Gem::URI::Parser Regexp
767
- # for :ABS_PATH and :REL_PATH.
768
- #
769
- # Can not have a opaque component defined,
770
- # with a path component defined.
771
- #
772
- def check_path(v)
773
- # raise if both hier and opaque are not nil, because:
774
- # absoluteURI = scheme ":" ( hier_part | opaque_part )
775
- # hier_part = ( net_path | abs_path ) [ "?" query ]
776
- if v && @opaque
777
- raise InvalidURIError,
778
- "path conflicts with opaque"
779
- end
780
-
781
- # If scheme is ftp, path may be relative.
782
- # See RFC 1738 section 3.2.2, and RFC 2396.
783
- if @scheme && @scheme != "ftp"
784
- if v && v != '' && parser.regexp[:ABS_PATH] !~ v
785
- raise InvalidComponentError,
786
- "bad component(expected absolute path component): #{v}"
787
- end
788
- else
789
- if v && v != '' && parser.regexp[:ABS_PATH] !~ v &&
790
- parser.regexp[:REL_PATH] !~ v
791
- raise InvalidComponentError,
792
- "bad component(expected relative path component): #{v}"
793
- end
794
- end
795
-
796
- return true
797
- end
798
- private :check_path
799
-
800
- # Protected setter for the path component +v+.
801
- #
802
- # See also Gem::URI::Generic.path=.
803
- #
804
- def set_path(v)
805
- @path = v
806
- end
807
- protected :set_path
808
-
809
- #
810
- # == Args
811
- #
812
- # +v+::
813
- # String
814
- #
815
- # == Description
816
- #
817
- # Public setter for the path component +v+
818
- # (with validation).
819
- #
820
- # See also Gem::URI::Generic.check_path.
821
- #
822
- # == Usage
823
- #
824
- # require 'rubygems/vendor/uri/lib/uri'
825
- #
826
- # uri = Gem::URI.parse("http://my.example.com/pub/files")
827
- # uri.path = "/faq/"
828
- # uri.to_s #=> "http://my.example.com/faq/"
829
- #
830
- def path=(v)
831
- check_path(v)
832
- set_path(v)
833
- v
834
- end
835
-
836
- #
837
- # == Args
838
- #
839
- # +v+::
840
- # String
841
- #
842
- # == Description
843
- #
844
- # Public setter for the query component +v+.
845
- #
846
- # == Usage
847
- #
848
- # require 'rubygems/vendor/uri/lib/uri'
849
- #
850
- # uri = Gem::URI.parse("http://my.example.com/?id=25")
851
- # uri.query = "id=1"
852
- # uri.to_s #=> "http://my.example.com/?id=1"
853
- #
854
- def query=(v)
855
- return @query = nil unless v
856
- raise InvalidURIError, "query conflicts with opaque" if @opaque
857
-
858
- x = v.to_str
859
- v = x.dup if x.equal? v
860
- v.encode!(Encoding::UTF_8) rescue nil
861
- v.delete!("\t\r\n")
862
- v.force_encoding(Encoding::ASCII_8BIT)
863
- raise InvalidURIError, "invalid percent escape: #{$1}" if /(%\H\H)/n.match(v)
864
- v.gsub!(/(?!%\h\h|[!$-&(-;=?-_a-~])./n.freeze){'%%%02X' % $&.ord}
865
- v.force_encoding(Encoding::US_ASCII)
866
- @query = v
867
- end
868
-
869
- #
870
- # Checks the opaque +v+ component for RFC2396 compliance and
871
- # against the Gem::URI::Parser Regexp for :OPAQUE.
872
- #
873
- # Can not have a host, port, user, or path component defined,
874
- # with an opaque component defined.
875
- #
876
- def check_opaque(v)
877
- return v unless v
878
-
879
- # raise if both hier and opaque are not nil, because:
880
- # absoluteURI = scheme ":" ( hier_part | opaque_part )
881
- # hier_part = ( net_path | abs_path ) [ "?" query ]
882
- if @host || @port || @user || @path # userinfo = @user + ':' + @password
883
- raise InvalidURIError,
884
- "cannot set opaque with host, port, userinfo or path"
885
- elsif v && parser.regexp[:OPAQUE] !~ v
886
- raise InvalidComponentError,
887
- "bad component(expected opaque component): #{v}"
888
- end
889
-
890
- return true
891
- end
892
- private :check_opaque
893
-
894
- # Protected setter for the opaque component +v+.
895
- #
896
- # See also Gem::URI::Generic.opaque=.
897
- #
898
- def set_opaque(v)
899
- @opaque = v
900
- end
901
- protected :set_opaque
902
-
903
- #
904
- # == Args
905
- #
906
- # +v+::
907
- # String
908
- #
909
- # == Description
910
- #
911
- # Public setter for the opaque component +v+
912
- # (with validation).
913
- #
914
- # See also Gem::URI::Generic.check_opaque.
915
- #
916
- def opaque=(v)
917
- check_opaque(v)
918
- set_opaque(v)
919
- v
920
- end
921
-
922
- #
923
- # Checks the fragment +v+ component against the Gem::URI::Parser Regexp for :FRAGMENT.
924
- #
925
- #
926
- # == Args
927
- #
928
- # +v+::
929
- # String
930
- #
931
- # == Description
932
- #
933
- # Public setter for the fragment component +v+
934
- # (with validation).
935
- #
936
- # == Usage
937
- #
938
- # require 'rubygems/vendor/uri/lib/uri'
939
- #
940
- # uri = Gem::URI.parse("http://my.example.com/?id=25#time=1305212049")
941
- # uri.fragment = "time=1305212086"
942
- # uri.to_s #=> "http://my.example.com/?id=25#time=1305212086"
943
- #
944
- def fragment=(v)
945
- return @fragment = nil unless v
946
-
947
- x = v.to_str
948
- v = x.dup if x.equal? v
949
- v.encode!(Encoding::UTF_8) rescue nil
950
- v.delete!("\t\r\n")
951
- v.force_encoding(Encoding::ASCII_8BIT)
952
- v.gsub!(/(?!%\h\h|[!-~])./n){'%%%02X' % $&.ord}
953
- v.force_encoding(Encoding::US_ASCII)
954
- @fragment = v
955
- end
956
-
957
- #
958
- # Returns true if Gem::URI is hierarchical.
959
- #
960
- # == Description
961
- #
962
- # Gem::URI has components listed in order of decreasing significance from left to right,
963
- # see RFC3986 https://www.rfc-editor.org/rfc/rfc3986 1.2.3.
964
- #
965
- # == Usage
966
- #
967
- # require 'rubygems/vendor/uri/lib/uri'
968
- #
969
- # uri = Gem::URI.parse("http://my.example.com/")
970
- # uri.hierarchical?
971
- # #=> true
972
- # uri = Gem::URI.parse("mailto:joe@example.com")
973
- # uri.hierarchical?
974
- # #=> false
975
- #
976
- def hierarchical?
977
- if @path
978
- true
979
- else
980
- false
981
- end
982
- end
983
-
984
- #
985
- # Returns true if Gem::URI has a scheme (e.g. http:// or https://) specified.
986
- #
987
- def absolute?
988
- if @scheme
989
- true
990
- else
991
- false
992
- end
993
- end
994
- alias absolute absolute?
995
-
996
- #
997
- # Returns true if Gem::URI does not have a scheme (e.g. http:// or https://) specified.
998
- #
999
- def relative?
1000
- !absolute?
1001
- end
1002
-
1003
- #
1004
- # Returns an Array of the path split on '/'.
1005
- #
1006
- def split_path(path)
1007
- path.split("/", -1)
1008
- end
1009
- private :split_path
1010
-
1011
- #
1012
- # Merges a base path +base+, with relative path +rel+,
1013
- # returns a modified base path.
1014
- #
1015
- def merge_path(base, rel)
1016
-
1017
- # RFC2396, Section 5.2, 5)
1018
- # RFC2396, Section 5.2, 6)
1019
- base_path = split_path(base)
1020
- rel_path = split_path(rel)
1021
-
1022
- # RFC2396, Section 5.2, 6), a)
1023
- base_path << '' if base_path.last == '..'
1024
- while i = base_path.index('..')
1025
- base_path.slice!(i - 1, 2)
1026
- end
1027
-
1028
- if (first = rel_path.first) and first.empty?
1029
- base_path.clear
1030
- rel_path.shift
1031
- end
1032
-
1033
- # RFC2396, Section 5.2, 6), c)
1034
- # RFC2396, Section 5.2, 6), d)
1035
- rel_path.push('') if rel_path.last == '.' || rel_path.last == '..'
1036
- rel_path.delete('.')
1037
-
1038
- # RFC2396, Section 5.2, 6), e)
1039
- tmp = []
1040
- rel_path.each do |x|
1041
- if x == '..' &&
1042
- !(tmp.empty? || tmp.last == '..')
1043
- tmp.pop
1044
- else
1045
- tmp << x
1046
- end
1047
- end
1048
-
1049
- add_trailer_slash = !tmp.empty?
1050
- if base_path.empty?
1051
- base_path = [''] # keep '/' for root directory
1052
- elsif add_trailer_slash
1053
- base_path.pop
1054
- end
1055
- while x = tmp.shift
1056
- if x == '..'
1057
- # RFC2396, Section 4
1058
- # a .. or . in an absolute path has no special meaning
1059
- base_path.pop if base_path.size > 1
1060
- else
1061
- # if x == '..'
1062
- # valid absolute (but abnormal) path "/../..."
1063
- # else
1064
- # valid absolute path
1065
- # end
1066
- base_path << x
1067
- tmp.each {|t| base_path << t}
1068
- add_trailer_slash = false
1069
- break
1070
- end
1071
- end
1072
- base_path.push('') if add_trailer_slash
1073
-
1074
- return base_path.join('/')
1075
- end
1076
- private :merge_path
1077
-
1078
- #
1079
- # == Args
1080
- #
1081
- # +oth+::
1082
- # Gem::URI or String
1083
- #
1084
- # == Description
1085
- #
1086
- # Destructive form of #merge.
1087
- #
1088
- # == Usage
1089
- #
1090
- # require 'rubygems/vendor/uri/lib/uri'
1091
- #
1092
- # uri = Gem::URI.parse("http://my.example.com")
1093
- # uri.merge!("/main.rbx?page=1")
1094
- # uri.to_s # => "http://my.example.com/main.rbx?page=1"
1095
- #
1096
- def merge!(oth)
1097
- t = merge(oth)
1098
- if self == t
1099
- nil
1100
- else
1101
- replace!(t)
1102
- self
1103
- end
1104
- end
1105
-
1106
- #
1107
- # == Args
1108
- #
1109
- # +oth+::
1110
- # Gem::URI or String
1111
- #
1112
- # == Description
1113
- #
1114
- # Merges two URIs.
1115
- #
1116
- # == Usage
1117
- #
1118
- # require 'rubygems/vendor/uri/lib/uri'
1119
- #
1120
- # uri = Gem::URI.parse("http://my.example.com")
1121
- # uri.merge("/main.rbx?page=1")
1122
- # # => "http://my.example.com/main.rbx?page=1"
1123
- #
1124
- def merge(oth)
1125
- rel = parser.__send__(:convert_to_uri, oth)
1126
-
1127
- if rel.absolute?
1128
- #raise BadURIError, "both Gem::URI are absolute" if absolute?
1129
- # hmm... should return oth for usability?
1130
- return rel
1131
- end
1132
-
1133
- unless self.absolute?
1134
- raise BadURIError, "both Gem::URI are relative"
1135
- end
1136
-
1137
- base = self.dup
1138
-
1139
- authority = rel.authority
1140
-
1141
- # RFC2396, Section 5.2, 2)
1142
- if (rel.path.nil? || rel.path.empty?) && !authority && !rel.query
1143
- base.fragment=(rel.fragment) if rel.fragment
1144
- return base
1145
- end
1146
-
1147
- base.query = nil
1148
- base.fragment=(nil)
1149
-
1150
- # RFC2396, Section 5.2, 4)
1151
- if authority
1152
- base.set_authority(*authority)
1153
- base.set_path(rel.path)
1154
- elsif base.path && rel.path
1155
- base.set_path(merge_path(base.path, rel.path))
1156
- end
1157
-
1158
- # RFC2396, Section 5.2, 7)
1159
- base.query = rel.query if rel.query
1160
- base.fragment=(rel.fragment) if rel.fragment
1161
-
1162
- return base
1163
- end # merge
1164
- alias + merge
1165
-
1166
- # :stopdoc:
1167
- def route_from_path(src, dst)
1168
- case dst
1169
- when src
1170
- # RFC2396, Section 4.2
1171
- return ''
1172
- when %r{(?:\A|/)\.\.?(?:/|\z)}
1173
- # dst has abnormal absolute path,
1174
- # like "/./", "/../", "/x/../", ...
1175
- return dst.dup
1176
- end
1177
-
1178
- src_path = src.scan(%r{[^/]*/})
1179
- dst_path = dst.scan(%r{[^/]*/?})
1180
-
1181
- # discard same parts
1182
- while !dst_path.empty? && dst_path.first == src_path.first
1183
- src_path.shift
1184
- dst_path.shift
1185
- end
1186
-
1187
- tmp = dst_path.join
1188
-
1189
- # calculate
1190
- if src_path.empty?
1191
- if tmp.empty?
1192
- return './'
1193
- elsif dst_path.first.include?(':') # (see RFC2396 Section 5)
1194
- return './' + tmp
1195
- else
1196
- return tmp
1197
- end
1198
- end
1199
-
1200
- return '../' * src_path.size + tmp
1201
- end
1202
- private :route_from_path
1203
- # :startdoc:
1204
-
1205
- # :stopdoc:
1206
- def route_from0(oth)
1207
- oth = parser.__send__(:convert_to_uri, oth)
1208
- if self.relative?
1209
- raise BadURIError,
1210
- "relative Gem::URI: #{self}"
1211
- end
1212
- if oth.relative?
1213
- raise BadURIError,
1214
- "relative Gem::URI: #{oth}"
1215
- end
1216
-
1217
- if self.scheme != oth.scheme
1218
- return self, self.dup
1219
- end
1220
- rel = Gem::URI::Generic.new(nil, # it is relative Gem::URI
1221
- self.userinfo, self.host, self.port,
1222
- nil, self.path, self.opaque,
1223
- self.query, self.fragment, parser)
1224
-
1225
- if rel.userinfo != oth.userinfo ||
1226
- rel.host.to_s.downcase != oth.host.to_s.downcase ||
1227
- rel.port != oth.port
1228
-
1229
- if self.userinfo.nil? && self.host.nil?
1230
- return self, self.dup
1231
- end
1232
-
1233
- rel.set_port(nil) if rel.port == oth.default_port
1234
- return rel, rel
1235
- end
1236
- rel.set_userinfo(nil)
1237
- rel.set_host(nil)
1238
- rel.set_port(nil)
1239
-
1240
- if rel.path && rel.path == oth.path
1241
- rel.set_path('')
1242
- rel.query = nil if rel.query == oth.query
1243
- return rel, rel
1244
- elsif rel.opaque && rel.opaque == oth.opaque
1245
- rel.set_opaque('')
1246
- rel.query = nil if rel.query == oth.query
1247
- return rel, rel
1248
- end
1249
-
1250
- # you can modify `rel', but cannot `oth'.
1251
- return oth, rel
1252
- end
1253
- private :route_from0
1254
- # :startdoc:
1255
-
1256
- #
1257
- # == Args
1258
- #
1259
- # +oth+::
1260
- # Gem::URI or String
1261
- #
1262
- # == Description
1263
- #
1264
- # Calculates relative path from oth to self.
1265
- #
1266
- # == Usage
1267
- #
1268
- # require 'rubygems/vendor/uri/lib/uri'
1269
- #
1270
- # uri = Gem::URI.parse('http://my.example.com/main.rbx?page=1')
1271
- # uri.route_from('http://my.example.com')
1272
- # #=> #<Gem::URI::Generic /main.rbx?page=1>
1273
- #
1274
- def route_from(oth)
1275
- # you can modify `rel', but cannot `oth'.
1276
- begin
1277
- oth, rel = route_from0(oth)
1278
- rescue
1279
- raise $!.class, $!.message
1280
- end
1281
- if oth == rel
1282
- return rel
1283
- end
1284
-
1285
- rel.set_path(route_from_path(oth.path, self.path))
1286
- if rel.path == './' && self.query
1287
- # "./?foo" -> "?foo"
1288
- rel.set_path('')
1289
- end
1290
-
1291
- return rel
1292
- end
1293
-
1294
- alias - route_from
1295
-
1296
- #
1297
- # == Args
1298
- #
1299
- # +oth+::
1300
- # Gem::URI or String
1301
- #
1302
- # == Description
1303
- #
1304
- # Calculates relative path to oth from self.
1305
- #
1306
- # == Usage
1307
- #
1308
- # require 'rubygems/vendor/uri/lib/uri'
1309
- #
1310
- # uri = Gem::URI.parse('http://my.example.com')
1311
- # uri.route_to('http://my.example.com/main.rbx?page=1')
1312
- # #=> #<Gem::URI::Generic /main.rbx?page=1>
1313
- #
1314
- def route_to(oth)
1315
- parser.__send__(:convert_to_uri, oth).route_from(self)
1316
- end
1317
-
1318
- #
1319
- # Returns normalized Gem::URI.
1320
- #
1321
- # require 'rubygems/vendor/uri/lib/uri'
1322
- #
1323
- # Gem::URI("HTTP://my.EXAMPLE.com").normalize
1324
- # #=> #<Gem::URI::HTTP http://my.example.com/>
1325
- #
1326
- # Normalization here means:
1327
- #
1328
- # * scheme and host are converted to lowercase,
1329
- # * an empty path component is set to "/".
1330
- #
1331
- def normalize
1332
- uri = dup
1333
- uri.normalize!
1334
- uri
1335
- end
1336
-
1337
- #
1338
- # Destructive version of #normalize.
1339
- #
1340
- def normalize!
1341
- if path&.empty?
1342
- set_path('/')
1343
- end
1344
- if scheme && scheme != scheme.downcase
1345
- set_scheme(self.scheme.downcase)
1346
- end
1347
- if host && host != host.downcase
1348
- set_host(self.host.downcase)
1349
- end
1350
- end
1351
-
1352
- #
1353
- # Constructs String from Gem::URI.
1354
- #
1355
- def to_s
1356
- str = ''.dup
1357
- if @scheme
1358
- str << @scheme
1359
- str << ':'
1360
- end
1361
-
1362
- if @opaque
1363
- str << @opaque
1364
- else
1365
- if @host || %w[file postgres].include?(@scheme)
1366
- str << '//'
1367
- end
1368
- if self.userinfo
1369
- str << self.userinfo
1370
- str << '@'
1371
- end
1372
- if @host
1373
- str << @host
1374
- end
1375
- if @port && @port != self.default_port
1376
- str << ':'
1377
- str << @port.to_s
1378
- end
1379
- if (@host || @port) && !@path.empty? && !@path.start_with?('/')
1380
- str << '/'
1381
- end
1382
- str << @path
1383
- if @query
1384
- str << '?'
1385
- str << @query
1386
- end
1387
- end
1388
- if @fragment
1389
- str << '#'
1390
- str << @fragment
1391
- end
1392
- str
1393
- end
1394
- alias to_str to_s
1395
-
1396
- #
1397
- # Compares two URIs.
1398
- #
1399
- def ==(oth)
1400
- if self.class == oth.class
1401
- self.normalize.component_ary == oth.normalize.component_ary
1402
- else
1403
- false
1404
- end
1405
- end
1406
-
1407
- # Returns the hash value.
1408
- def hash
1409
- self.component_ary.hash
1410
- end
1411
-
1412
- # Compares with _oth_ for Hash.
1413
- def eql?(oth)
1414
- self.class == oth.class &&
1415
- parser == oth.parser &&
1416
- self.component_ary.eql?(oth.component_ary)
1417
- end
1418
-
1419
- # Returns an Array of the components defined from the COMPONENT Array.
1420
- def component_ary
1421
- component.collect do |x|
1422
- self.__send__(x)
1423
- end
1424
- end
1425
- protected :component_ary
1426
-
1427
- # == Args
1428
- #
1429
- # +components+::
1430
- # Multiple Symbol arguments defined in Gem::URI::HTTP.
1431
- #
1432
- # == Description
1433
- #
1434
- # Selects specified components from Gem::URI.
1435
- #
1436
- # == Usage
1437
- #
1438
- # require 'rubygems/vendor/uri/lib/uri'
1439
- #
1440
- # uri = Gem::URI.parse('http://myuser:mypass@my.example.com/test.rbx')
1441
- # uri.select(:userinfo, :host, :path)
1442
- # # => ["myuser:mypass", "my.example.com", "/test.rbx"]
1443
- #
1444
- def select(*components)
1445
- components.collect do |c|
1446
- if component.include?(c)
1447
- self.__send__(c)
1448
- else
1449
- raise ArgumentError,
1450
- "expected of components of #{self.class} (#{self.class.component.join(', ')})"
1451
- end
1452
- end
1453
- end
1454
-
1455
- def inspect # :nodoc:
1456
- "#<#{self.class} #{self}>"
1457
- end
1458
-
1459
- #
1460
- # == Args
1461
- #
1462
- # +v+::
1463
- # Gem::URI or String
1464
- #
1465
- # == Description
1466
- #
1467
- # Attempts to parse other Gem::URI +oth+,
1468
- # returns [parsed_oth, self].
1469
- #
1470
- # == Usage
1471
- #
1472
- # require 'rubygems/vendor/uri/lib/uri'
1473
- #
1474
- # uri = Gem::URI.parse("http://my.example.com")
1475
- # uri.coerce("http://foo.com")
1476
- # #=> [#<Gem::URI::HTTP http://foo.com>, #<Gem::URI::HTTP http://my.example.com>]
1477
- #
1478
- def coerce(oth)
1479
- case oth
1480
- when String
1481
- oth = parser.parse(oth)
1482
- else
1483
- super
1484
- end
1485
-
1486
- return oth, self
1487
- end
1488
-
1489
- # Returns a proxy Gem::URI.
1490
- # The proxy Gem::URI is obtained from environment variables such as http_proxy,
1491
- # ftp_proxy, no_proxy, etc.
1492
- # If there is no proper proxy, nil is returned.
1493
- #
1494
- # If the optional parameter +env+ is specified, it is used instead of ENV.
1495
- #
1496
- # Note that capitalized variables (HTTP_PROXY, FTP_PROXY, NO_PROXY, etc.)
1497
- # are examined, too.
1498
- #
1499
- # But http_proxy and HTTP_PROXY is treated specially under CGI environment.
1500
- # It's because HTTP_PROXY may be set by Proxy: header.
1501
- # So HTTP_PROXY is not used.
1502
- # http_proxy is not used too if the variable is case insensitive.
1503
- # CGI_HTTP_PROXY can be used instead.
1504
- def find_proxy(env=ENV)
1505
- raise BadURIError, "relative Gem::URI: #{self}" if self.relative?
1506
- name = self.scheme.downcase + '_proxy'
1507
- proxy_uri = nil
1508
- if name == 'http_proxy' && env.include?('REQUEST_METHOD') # CGI?
1509
- # HTTP_PROXY conflicts with *_proxy for proxy settings and
1510
- # HTTP_* for header information in CGI.
1511
- # So it should be careful to use it.
1512
- pairs = env.reject {|k, v| /\Ahttp_proxy\z/i !~ k }
1513
- case pairs.length
1514
- when 0 # no proxy setting anyway.
1515
- proxy_uri = nil
1516
- when 1
1517
- k, _ = pairs.shift
1518
- if k == 'http_proxy' && env[k.upcase] == nil
1519
- # http_proxy is safe to use because ENV is case sensitive.
1520
- proxy_uri = env[name]
1521
- else
1522
- proxy_uri = nil
1523
- end
1524
- else # http_proxy is safe to use because ENV is case sensitive.
1525
- proxy_uri = env.to_hash[name]
1526
- end
1527
- if !proxy_uri
1528
- # Use CGI_HTTP_PROXY. cf. libwww-perl.
1529
- proxy_uri = env["CGI_#{name.upcase}"]
1530
- end
1531
- elsif name == 'http_proxy'
1532
- if RUBY_ENGINE == 'jruby' && p_addr = ENV_JAVA['http.proxyHost']
1533
- p_port = ENV_JAVA['http.proxyPort']
1534
- if p_user = ENV_JAVA['http.proxyUser']
1535
- p_pass = ENV_JAVA['http.proxyPass']
1536
- proxy_uri = "http://#{p_user}:#{p_pass}@#{p_addr}:#{p_port}"
1537
- else
1538
- proxy_uri = "http://#{p_addr}:#{p_port}"
1539
- end
1540
- else
1541
- unless proxy_uri = env[name]
1542
- if proxy_uri = env[name.upcase]
1543
- warn 'The environment variable HTTP_PROXY is discouraged. Use http_proxy.', uplevel: 1
1544
- end
1545
- end
1546
- end
1547
- else
1548
- proxy_uri = env[name] || env[name.upcase]
1549
- end
1550
-
1551
- if proxy_uri.nil? || proxy_uri.empty?
1552
- return nil
1553
- end
1554
-
1555
- if self.hostname
1556
- begin
1557
- addr = IPSocket.getaddress(self.hostname)
1558
- return nil if /\A127\.|\A::1\z/ =~ addr
1559
- rescue SocketError
1560
- end
1561
- end
1562
-
1563
- name = 'no_proxy'
1564
- if no_proxy = env[name] || env[name.upcase]
1565
- return nil unless Gem::URI::Generic.use_proxy?(self.hostname, addr, self.port, no_proxy)
1566
- end
1567
- Gem::URI.parse(proxy_uri)
1568
- end
1569
-
1570
- def self.use_proxy?(hostname, addr, port, no_proxy) # :nodoc:
1571
- hostname = hostname.downcase
1572
- dothostname = ".#{hostname}"
1573
- no_proxy.scan(/([^:,\s]+)(?::(\d+))?/) {|p_host, p_port|
1574
- if !p_port || port == p_port.to_i
1575
- if p_host.start_with?('.')
1576
- return false if hostname.end_with?(p_host.downcase)
1577
- else
1578
- return false if dothostname.end_with?(".#{p_host.downcase}")
1579
- end
1580
- if addr
1581
- begin
1582
- return false if IPAddr.new(p_host).include?(addr)
1583
- rescue IPAddr::InvalidAddressError
1584
- next
1585
- end
1586
- end
1587
- end
1588
- }
1589
- true
1590
- end
1591
- end
1592
- end