@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,1417 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- #--
4
- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
5
- # All rights reserved.
6
- # See LICENSE.txt for permissions.
7
- #++
8
-
9
- require "rbconfig"
10
-
11
- module Gem
12
- VERSION = "3.6.9"
13
- end
14
-
15
- # Must be first since it unloads the prelude from 1.9.2
16
- require_relative "rubygems/compatibility"
17
-
18
- require_relative "rubygems/defaults"
19
- require_relative "rubygems/deprecate"
20
- require_relative "rubygems/errors"
21
- require_relative "rubygems/target_rbconfig"
22
-
23
- ##
24
- # RubyGems is the Ruby standard for publishing and managing third party
25
- # libraries.
26
- #
27
- # For user documentation, see:
28
- #
29
- # * <tt>gem help</tt> and <tt>gem help [command]</tt>
30
- # * {RubyGems User Guide}[https://guides.rubygems.org/]
31
- # * {Frequently Asked Questions}[https://guides.rubygems.org/faqs]
32
- #
33
- # For gem developer documentation see:
34
- #
35
- # * {Creating Gems}[https://guides.rubygems.org/make-your-own-gem]
36
- # * Gem::Specification
37
- # * Gem::Version for version dependency notes
38
- #
39
- # Further RubyGems documentation can be found at:
40
- #
41
- # * {RubyGems Guides}[https://guides.rubygems.org]
42
- # * {RubyGems API}[https://www.rubydoc.info/github/rubygems/rubygems] (also available from
43
- # <tt>gem server</tt>)
44
- #
45
- # == RubyGems Plugins
46
- #
47
- # RubyGems will load plugins in the latest version of each installed gem or
48
- # $LOAD_PATH. Plugins must be named 'rubygems_plugin' (.rb, .so, etc) and
49
- # placed at the root of your gem's #require_path. Plugins are installed at a
50
- # special location and loaded on boot.
51
- #
52
- # For an example plugin, see the {Graph gem}[https://github.com/seattlerb/graph]
53
- # which adds a <tt>gem graph</tt> command.
54
- #
55
- # == RubyGems Defaults, Packaging
56
- #
57
- # RubyGems defaults are stored in lib/rubygems/defaults.rb. If you're packaging
58
- # RubyGems or implementing Ruby you can change RubyGems' defaults.
59
- #
60
- # For RubyGems packagers, provide lib/rubygems/defaults/operating_system.rb
61
- # and override any defaults from lib/rubygems/defaults.rb.
62
- #
63
- # For Ruby implementers, provide lib/rubygems/defaults/#{RUBY_ENGINE}.rb and
64
- # override any defaults from lib/rubygems/defaults.rb.
65
- #
66
- # If you need RubyGems to perform extra work on install or uninstall, your
67
- # defaults override file can set pre/post install and uninstall hooks.
68
- # See Gem::pre_install, Gem::pre_uninstall, Gem::post_install,
69
- # Gem::post_uninstall.
70
- #
71
- # == Bugs
72
- #
73
- # You can submit bugs to the
74
- # {RubyGems bug tracker}[https://github.com/rubygems/rubygems/issues]
75
- # on GitHub
76
- #
77
- # == Credits
78
- #
79
- # RubyGems is currently maintained by Eric Hodel.
80
- #
81
- # RubyGems was originally developed at RubyConf 2003 by:
82
- #
83
- # * Rich Kilmer -- rich(at)infoether.com
84
- # * Chad Fowler -- chad(at)chadfowler.com
85
- # * David Black -- dblack(at)wobblini.net
86
- # * Paul Brannan -- paul(at)atdesk.com
87
- # * Jim Weirich -- jim(at)weirichhouse.org
88
- #
89
- # Contributors:
90
- #
91
- # * Gavin Sinclair -- gsinclair(at)soyabean.com.au
92
- # * George Marrows -- george.marrows(at)ntlworld.com
93
- # * Dick Davies -- rasputnik(at)hellooperator.net
94
- # * Mauricio Fernandez -- batsman.geo(at)yahoo.com
95
- # * Simon Strandgaard -- neoneye(at)adslhome.dk
96
- # * Dave Glasser -- glasser(at)mit.edu
97
- # * Paul Duncan -- pabs(at)pablotron.org
98
- # * Ville Aine -- vaine(at)cs.helsinki.fi
99
- # * Eric Hodel -- drbrain(at)segment7.net
100
- # * Daniel Berger -- djberg96(at)gmail.com
101
- # * Phil Hagelberg -- technomancy(at)gmail.com
102
- # * Ryan Davis -- ryand-ruby(at)zenspider.com
103
- # * Evan Phoenix -- evan(at)fallingsnow.net
104
- # * Steve Klabnik -- steve(at)steveklabnik.com
105
- #
106
- # (If your name is missing, PLEASE let us know!)
107
- #
108
- # == License
109
- #
110
- # See {LICENSE.txt}[https://github.com/rubygems/rubygems/blob/master/LICENSE.txt] for permissions.
111
- #
112
- # Thanks!
113
- #
114
- # -The RubyGems Team
115
-
116
- module Gem
117
- RUBYGEMS_DIR = __dir__
118
-
119
- ##
120
- # An Array of Regexps that match windows Ruby platforms.
121
-
122
- WIN_PATTERNS = [
123
- /bccwin/i,
124
- /cygwin/i,
125
- /djgpp/i,
126
- /mingw/i,
127
- /mswin/i,
128
- /wince/i,
129
- ].freeze
130
-
131
- GEM_DEP_FILES = %w[
132
- gem.deps.rb
133
- gems.rb
134
- Gemfile
135
- Isolate
136
- ].freeze
137
-
138
- ##
139
- # Subdirectories in a gem repository
140
-
141
- REPOSITORY_SUBDIRECTORIES = %w[
142
- build_info
143
- cache
144
- doc
145
- extensions
146
- gems
147
- plugins
148
- specifications
149
- ].freeze
150
-
151
- ##
152
- # Subdirectories in a gem repository for default gems
153
-
154
- REPOSITORY_DEFAULT_GEM_SUBDIRECTORIES = %w[
155
- gems
156
- specifications/default
157
- ].freeze
158
-
159
- ##
160
- # The default value for SOURCE_DATE_EPOCH if not specified.
161
- # We want a date after 1980-01-01, to prevent issues with Zip files.
162
- # This particular timestamp is for 1980-01-02 00:00:00 GMT.
163
-
164
- DEFAULT_SOURCE_DATE_EPOCH = 315_619_200
165
-
166
- @@win_platform = nil
167
-
168
- @configuration = nil
169
- @gemdeps = nil
170
- @loaded_specs = {}
171
- LOADED_SPECS_MUTEX = Thread::Mutex.new
172
- @path_to_default_spec_map = {}
173
- @platforms = []
174
- @ruby = nil
175
- @ruby_api_version = nil
176
- @sources = nil
177
-
178
- @post_build_hooks ||= []
179
- @post_install_hooks ||= []
180
- @post_uninstall_hooks ||= []
181
- @pre_uninstall_hooks ||= []
182
- @pre_install_hooks ||= []
183
- @pre_reset_hooks ||= []
184
- @post_reset_hooks ||= []
185
-
186
- @default_source_date_epoch = nil
187
-
188
- @discover_gems_on_require = true
189
-
190
- @target_rbconfig = nil
191
-
192
- ##
193
- # Try to activate a gem containing +path+. Returns true if
194
- # activation succeeded or wasn't needed because it was already
195
- # activated. Returns false if it can't find the path in a gem.
196
-
197
- def self.try_activate(path)
198
- # finds the _latest_ version... regardless of loaded specs and their deps
199
- # if another gem had a requirement that would mean we shouldn't
200
- # activate the latest version, then either it would already be activated
201
- # or if it was ambiguous (and thus unresolved) the code in our custom
202
- # require will try to activate the more specific version.
203
-
204
- spec = Gem::Specification.find_by_path path
205
- return false unless spec
206
- return true if spec.activated?
207
-
208
- begin
209
- spec.activate
210
- rescue Gem::LoadError => e # this could fail due to gem dep collisions, go lax
211
- spec_by_name = Gem::Specification.find_by_name(spec.name)
212
- if spec_by_name.nil?
213
- raise e
214
- else
215
- spec_by_name.activate
216
- end
217
- end
218
-
219
- true
220
- end
221
-
222
- def self.needs
223
- rs = Gem::RequestSet.new
224
-
225
- yield rs
226
-
227
- finish_resolve rs
228
- end
229
-
230
- def self.finish_resolve(request_set=Gem::RequestSet.new)
231
- request_set.import Gem::Specification.unresolved_deps.values
232
- request_set.import Gem.loaded_specs.values.map {|s| Gem::Dependency.new(s.name, s.version) }
233
-
234
- request_set.resolve_current.each do |s|
235
- s.full_spec.activate
236
- end
237
- end
238
-
239
- ##
240
- # Find the full path to the executable for gem +name+. If the +exec_name+
241
- # is not given, an exception will be raised, otherwise the
242
- # specified executable's path is returned. +requirements+ allows
243
- # you to specify specific gem versions.
244
-
245
- def self.bin_path(name, exec_name = nil, *requirements)
246
- requirements = Gem::Requirement.default if
247
- requirements.empty?
248
-
249
- find_spec_for_exe(name, exec_name, requirements).bin_file exec_name
250
- end
251
-
252
- def self.find_spec_for_exe(name, exec_name, requirements)
253
- raise ArgumentError, "you must supply exec_name" unless exec_name
254
-
255
- dep = Gem::Dependency.new name, requirements
256
-
257
- loaded = Gem.loaded_specs[name]
258
-
259
- return loaded if loaded && dep.matches_spec?(loaded)
260
-
261
- specs = dep.matching_specs(true)
262
-
263
- specs = specs.find_all do |spec|
264
- spec.executables.include? exec_name
265
- end if exec_name
266
-
267
- unless spec = specs.first
268
- msg = "can't find gem #{dep} with executable #{exec_name}"
269
- raise Gem::GemNotFoundException, msg
270
- end
271
-
272
- spec
273
- end
274
- private_class_method :find_spec_for_exe
275
-
276
- ##
277
- # Find the full path to the executable for gem +name+. If the +exec_name+
278
- # is not given, an exception will be raised, otherwise the
279
- # specified executable's path is returned. +requirements+ allows
280
- # you to specify specific gem versions.
281
- #
282
- # A side effect of this method is that it will activate the gem that
283
- # contains the executable.
284
- #
285
- # This method should *only* be used in bin stub files.
286
-
287
- def self.activate_bin_path(name, exec_name = nil, *requirements) # :nodoc:
288
- spec = find_spec_for_exe name, exec_name, requirements
289
- Gem::LOADED_SPECS_MUTEX.synchronize do
290
- spec.activate
291
- finish_resolve
292
- end
293
- spec.bin_file exec_name
294
- end
295
-
296
- ##
297
- # The mode needed to read a file as straight binary.
298
-
299
- def self.binary_mode
300
- "rb"
301
- end
302
-
303
- ##
304
- # The path where gem executables are to be installed.
305
-
306
- def self.bindir(install_dir=Gem.dir)
307
- return File.join install_dir, "bin" unless
308
- install_dir.to_s == Gem.default_dir.to_s
309
- Gem.default_bindir
310
- end
311
-
312
- ##
313
- # The path were rubygems plugins are to be installed.
314
-
315
- def self.plugindir(install_dir=Gem.dir)
316
- File.join install_dir, "plugins"
317
- end
318
-
319
- ##
320
- # Reset the +dir+ and +path+ values. The next time +dir+ or +path+
321
- # is requested, the values will be calculated from scratch. This is
322
- # mainly used by the unit tests to provide test isolation.
323
-
324
- def self.clear_paths
325
- @paths = nil
326
- @user_home = nil
327
- Gem::Specification.reset
328
- Gem::Security.reset if defined?(Gem::Security)
329
- end
330
-
331
- ##
332
- # The standard configuration object for gems.
333
-
334
- def self.configuration
335
- @configuration ||= Gem::ConfigFile.new []
336
- end
337
-
338
- ##
339
- # Use the given configuration object (which implements the ConfigFile
340
- # protocol) as the standard configuration object.
341
-
342
- def self.configuration=(config)
343
- @configuration = config
344
- end
345
-
346
- ##
347
- # A Zlib::Deflate.deflate wrapper
348
-
349
- def self.deflate(data)
350
- require "zlib"
351
- Zlib::Deflate.deflate data
352
- end
353
-
354
- # Retrieve the PathSupport object that RubyGems uses to
355
- # lookup files.
356
-
357
- def self.paths
358
- @paths ||= Gem::PathSupport.new(ENV)
359
- end
360
-
361
- # Initialize the filesystem paths to use from +env+.
362
- # +env+ is a hash-like object (typically ENV) that
363
- # is queried for 'GEM_HOME', 'GEM_PATH', and 'GEM_SPEC_CACHE'
364
- # Keys for the +env+ hash should be Strings, and values of the hash should
365
- # be Strings or +nil+.
366
-
367
- def self.paths=(env)
368
- clear_paths
369
- target = {}
370
- env.each_pair do |k,v|
371
- case k
372
- when "GEM_HOME", "GEM_PATH", "GEM_SPEC_CACHE"
373
- case v
374
- when nil, String
375
- target[k] = v
376
- when Array
377
- unless Gem::Deprecate.skip
378
- warn <<-EOWARN
379
- Array values in the parameter to `Gem.paths=` are deprecated.
380
- Please use a String or nil.
381
- An Array (#{env.inspect}) was passed in from #{caller[3]}
382
- EOWARN
383
- end
384
- target[k] = v.join File::PATH_SEPARATOR
385
- end
386
- else
387
- target[k] = v
388
- end
389
- end
390
- @paths = Gem::PathSupport.new ENV.to_hash.merge(target)
391
- Gem::Specification.dirs = @paths.path
392
- end
393
-
394
- ##
395
- # The path where gems are to be installed.
396
-
397
- def self.dir
398
- paths.home
399
- end
400
-
401
- def self.path
402
- paths.path
403
- end
404
-
405
- def self.spec_cache_dir
406
- paths.spec_cache_dir
407
- end
408
-
409
- ##
410
- # The RbConfig object for the deployment target platform.
411
- #
412
- # This is usually the same as the running platform, but may be
413
- # different if you are cross-compiling.
414
-
415
- def self.target_rbconfig
416
- @target_rbconfig || Gem::TargetRbConfig.for_running_ruby
417
- end
418
-
419
- def self.set_target_rbconfig(rbconfig_path)
420
- @target_rbconfig = Gem::TargetRbConfig.from_path(rbconfig_path)
421
- Gem::Platform.local(refresh: true)
422
- Gem.platforms << Gem::Platform.local unless Gem.platforms.include? Gem::Platform.local
423
- @target_rbconfig
424
- end
425
-
426
- ##
427
- # Quietly ensure the Gem directory +dir+ contains all the proper
428
- # subdirectories. If we can't create a directory due to a permission
429
- # problem, then we will silently continue.
430
- #
431
- # If +mode+ is given, missing directories are created with this mode.
432
- #
433
- # World-writable directories will never be created.
434
-
435
- def self.ensure_gem_subdirectories(dir = Gem.dir, mode = nil)
436
- ensure_subdirectories(dir, mode, REPOSITORY_SUBDIRECTORIES)
437
- end
438
-
439
- ##
440
- # Quietly ensure the Gem directory +dir+ contains all the proper
441
- # subdirectories for handling default gems. If we can't create a
442
- # directory due to a permission problem, then we will silently continue.
443
- #
444
- # If +mode+ is given, missing directories are created with this mode.
445
- #
446
- # World-writable directories will never be created.
447
-
448
- def self.ensure_default_gem_subdirectories(dir = Gem.dir, mode = nil)
449
- ensure_subdirectories(dir, mode, REPOSITORY_DEFAULT_GEM_SUBDIRECTORIES)
450
- end
451
-
452
- def self.ensure_subdirectories(dir, mode, subdirs) # :nodoc:
453
- old_umask = File.umask
454
- File.umask old_umask | 0o002
455
-
456
- options = {}
457
-
458
- options[:mode] = mode if mode
459
-
460
- subdirs.each do |name|
461
- subdir = File.join dir, name
462
- next if File.exist? subdir
463
-
464
- require "fileutils"
465
-
466
- begin
467
- FileUtils.mkdir_p subdir, **options
468
- rescue SystemCallError
469
- end
470
- end
471
- ensure
472
- File.umask old_umask
473
- end
474
-
475
- ##
476
- # The extension API version of ruby. This includes the static vs non-static
477
- # distinction as extensions cannot be shared between the two.
478
-
479
- def self.extension_api_version # :nodoc:
480
- if target_rbconfig["ENABLE_SHARED"] == "no"
481
- "#{ruby_api_version}-static"
482
- else
483
- ruby_api_version
484
- end
485
- end
486
-
487
- ##
488
- # Returns a list of paths matching +glob+ that can be used by a gem to pick
489
- # up features from other gems. For example:
490
- #
491
- # Gem.find_files('rdoc/discover').each do |path| load path end
492
- #
493
- # if +check_load_path+ is true (the default), then find_files also searches
494
- # $LOAD_PATH for files as well as gems.
495
- #
496
- # Note that find_files will return all files even if they are from different
497
- # versions of the same gem. See also find_latest_files
498
-
499
- def self.find_files(glob, check_load_path=true)
500
- files = []
501
-
502
- files = find_files_from_load_path glob if check_load_path
503
-
504
- gem_specifications = @gemdeps ? Gem.loaded_specs.values : Gem::Specification.stubs
505
-
506
- files.concat gem_specifications.flat_map {|spec|
507
- spec.matches_for_glob("#{glob}#{Gem.suffix_pattern}")
508
- }
509
-
510
- # $LOAD_PATH might contain duplicate entries or reference
511
- # the spec dirs directly, so we prune.
512
- files.uniq! if check_load_path
513
-
514
- files
515
- end
516
-
517
- def self.find_files_from_load_path(glob) # :nodoc:
518
- glob_with_suffixes = "#{glob}#{Gem.suffix_pattern}"
519
- $LOAD_PATH.flat_map do |load_path|
520
- Gem::Util.glob_files_in_dir(glob_with_suffixes, load_path)
521
- end.select {|file| File.file? file }
522
- end
523
-
524
- ##
525
- # Returns a list of paths matching +glob+ from the latest gems that can be
526
- # used by a gem to pick up features from other gems. For example:
527
- #
528
- # Gem.find_latest_files('rdoc/discover').each do |path| load path end
529
- #
530
- # if +check_load_path+ is true (the default), then find_latest_files also
531
- # searches $LOAD_PATH for files as well as gems.
532
- #
533
- # Unlike find_files, find_latest_files will return only files from the
534
- # latest version of a gem.
535
-
536
- def self.find_latest_files(glob, check_load_path=true)
537
- files = []
538
-
539
- files = find_files_from_load_path glob if check_load_path
540
-
541
- files.concat Gem::Specification.latest_specs(true).flat_map {|spec|
542
- spec.matches_for_glob("#{glob}#{Gem.suffix_pattern}")
543
- }
544
-
545
- # $LOAD_PATH might contain duplicate entries or reference
546
- # the spec dirs directly, so we prune.
547
- files.uniq! if check_load_path
548
-
549
- files
550
- end
551
-
552
- ##
553
- # Top level install helper method. Allows you to install gems interactively:
554
- #
555
- # % irb
556
- # >> Gem.install "minitest"
557
- # Fetching: minitest-5.14.0.gem (100%)
558
- # => [#<Gem::Specification:0x1013b4528 @name="minitest", ...>]
559
-
560
- def self.install(name, version = Gem::Requirement.default, *options)
561
- require_relative "rubygems/dependency_installer"
562
- inst = Gem::DependencyInstaller.new(*options)
563
- inst.install name, version
564
- inst.installed_gems
565
- end
566
-
567
- ##
568
- # Get the default RubyGems API host. This is normally
569
- # <tt>https://rubygems.org</tt>.
570
-
571
- def self.host
572
- @host ||= Gem::DEFAULT_HOST
573
- end
574
-
575
- ## Set the default RubyGems API host.
576
-
577
- def self.host=(host)
578
- @host = host
579
- end
580
-
581
- ##
582
- # The index to insert activated gem paths into the $LOAD_PATH. The activated
583
- # gem's paths are inserted before site lib directory by default.
584
-
585
- def self.load_path_insert_index
586
- $LOAD_PATH.each_with_index do |path, i|
587
- return i if path.instance_variable_defined?(:@gem_prelude_index)
588
- end
589
-
590
- index = $LOAD_PATH.index RbConfig::CONFIG["sitelibdir"]
591
-
592
- index || 0
593
- end
594
-
595
- ##
596
- # The number of paths in the +$LOAD_PATH+ from activated gems. Used to
597
- # prioritize +-I+ and <code>ENV['RUBYLIB']</code> entries during +require+.
598
-
599
- def self.activated_gem_paths
600
- @activated_gem_paths ||= 0
601
- end
602
-
603
- ##
604
- # Add a list of paths to the $LOAD_PATH at the proper place.
605
-
606
- def self.add_to_load_path(*paths)
607
- @activated_gem_paths = activated_gem_paths + paths.size
608
-
609
- # gem directories must come after -I and ENV['RUBYLIB']
610
- $LOAD_PATH.insert(Gem.load_path_insert_index, *paths)
611
- end
612
-
613
- @yaml_loaded = false
614
-
615
- ##
616
- # Loads YAML, preferring Psych
617
-
618
- def self.load_yaml
619
- return if @yaml_loaded
620
-
621
- require "psych"
622
- require_relative "rubygems/psych_tree"
623
-
624
- require_relative "rubygems/safe_yaml"
625
-
626
- @yaml_loaded = true
627
- end
628
-
629
- @safe_marshal_loaded = false
630
-
631
- def self.load_safe_marshal
632
- return if @safe_marshal_loaded
633
-
634
- require_relative "rubygems/safe_marshal"
635
-
636
- @safe_marshal_loaded = true
637
- end
638
-
639
- ##
640
- # The file name and line number of the caller of the caller of this method.
641
- #
642
- # +depth+ is how many layers up the call stack it should go.
643
- #
644
- # e.g.,
645
- #
646
- # def a; Gem.location_of_caller; end
647
- # a #=> ["x.rb", 2] # (it'll vary depending on file name and line number)
648
- #
649
- # def b; c; end
650
- # def c; Gem.location_of_caller(2); end
651
- # b #=> ["x.rb", 6] # (it'll vary depending on file name and line number)
652
-
653
- def self.location_of_caller(depth = 1)
654
- caller[depth] =~ /(.*?):(\d+).*?$/i
655
- file = $1
656
- lineno = $2.to_i
657
-
658
- [file, lineno]
659
- end
660
-
661
- ##
662
- # The version of the Marshal format for your Ruby.
663
-
664
- def self.marshal_version
665
- "#{Marshal::MAJOR_VERSION}.#{Marshal::MINOR_VERSION}"
666
- end
667
-
668
- ##
669
- # Set array of platforms this RubyGems supports (primarily for testing).
670
-
671
- def self.platforms=(platforms)
672
- @platforms = platforms
673
- end
674
-
675
- ##
676
- # Array of platforms this RubyGems supports.
677
-
678
- def self.platforms
679
- @platforms ||= []
680
- if @platforms.empty?
681
- @platforms = [Gem::Platform::RUBY, Gem::Platform.local]
682
- end
683
- @platforms
684
- end
685
-
686
- ##
687
- # Adds a post-build hook that will be passed an Gem::Installer instance
688
- # when Gem::Installer#install is called. The hook is called after the gem
689
- # has been extracted and extensions have been built but before the
690
- # executables or gemspec has been written. If the hook returns +false+ then
691
- # the gem's files will be removed and the install will be aborted.
692
-
693
- def self.post_build(&hook)
694
- @post_build_hooks << hook
695
- end
696
-
697
- ##
698
- # Adds a post-install hook that will be passed an Gem::Installer instance
699
- # when Gem::Installer#install is called
700
-
701
- def self.post_install(&hook)
702
- @post_install_hooks << hook
703
- end
704
-
705
- ##
706
- # Adds a post-installs hook that will be passed a Gem::DependencyInstaller
707
- # and a list of installed specifications when
708
- # Gem::DependencyInstaller#install is complete
709
-
710
- def self.done_installing(&hook)
711
- @done_installing_hooks << hook
712
- end
713
-
714
- ##
715
- # Adds a hook that will get run after Gem::Specification.reset is
716
- # run.
717
-
718
- def self.post_reset(&hook)
719
- @post_reset_hooks << hook
720
- end
721
-
722
- ##
723
- # Adds a post-uninstall hook that will be passed a Gem::Uninstaller instance
724
- # and the spec that was uninstalled when Gem::Uninstaller#uninstall is
725
- # called
726
-
727
- def self.post_uninstall(&hook)
728
- @post_uninstall_hooks << hook
729
- end
730
-
731
- ##
732
- # Adds a pre-install hook that will be passed an Gem::Installer instance
733
- # when Gem::Installer#install is called. If the hook returns +false+ then
734
- # the install will be aborted.
735
-
736
- def self.pre_install(&hook)
737
- @pre_install_hooks << hook
738
- end
739
-
740
- ##
741
- # Adds a hook that will get run before Gem::Specification.reset is
742
- # run.
743
-
744
- def self.pre_reset(&hook)
745
- @pre_reset_hooks << hook
746
- end
747
-
748
- ##
749
- # Adds a pre-uninstall hook that will be passed an Gem::Uninstaller instance
750
- # and the spec that will be uninstalled when Gem::Uninstaller#uninstall is
751
- # called
752
-
753
- def self.pre_uninstall(&hook)
754
- @pre_uninstall_hooks << hook
755
- end
756
-
757
- ##
758
- # The directory prefix this RubyGems was installed at. If your
759
- # prefix is in a standard location (ie, rubygems is installed where
760
- # you'd expect it to be), then prefix returns nil.
761
-
762
- def self.prefix
763
- prefix = File.dirname RUBYGEMS_DIR
764
-
765
- if prefix != File.expand_path(RbConfig::CONFIG["sitelibdir"]) &&
766
- prefix != File.expand_path(RbConfig::CONFIG["libdir"]) &&
767
- File.basename(RUBYGEMS_DIR) == "lib"
768
- prefix
769
- end
770
- end
771
-
772
- ##
773
- # Refresh available gems from disk.
774
-
775
- def self.refresh
776
- Gem::Specification.reset
777
- end
778
-
779
- ##
780
- # Safely read a file in binary mode on all platforms.
781
-
782
- def self.read_binary(path)
783
- File.binread(path)
784
- end
785
-
786
- ##
787
- # Safely write a file in binary mode on all platforms.
788
-
789
- def self.write_binary(path, data)
790
- File.binwrite(path, data)
791
- rescue Errno::ENOSPC
792
- # If we ran out of space but the file exists, it's *guaranteed* to be corrupted.
793
- File.delete(path) if File.exist?(path)
794
- raise
795
- end
796
-
797
- ##
798
- # Open a file with given flags
799
-
800
- def self.open_file(path, flags, &block)
801
- File.open(path, flags, &block)
802
- end
803
-
804
- ##
805
- # Open a file with given flags, and protect access with a file lock
806
-
807
- def self.open_file_with_lock(path, &block)
808
- file_lock = "#{path}.lock"
809
- open_file_with_flock(file_lock, &block)
810
- ensure
811
- require "fileutils"
812
- FileUtils.rm_f file_lock
813
- end
814
-
815
- ##
816
- # Open a file with given flags, and protect access with flock
817
-
818
- def self.open_file_with_flock(path, &block)
819
- # read-write mode is used rather than read-only in order to support NFS
820
- mode = IO::RDWR | IO::APPEND | IO::CREAT | IO::BINARY
821
- mode |= IO::SHARE_DELETE if IO.const_defined?(:SHARE_DELETE)
822
-
823
- File.open(path, mode) do |io|
824
- begin
825
- # Try to get a lock without blocking.
826
- # If we do, the file is locked.
827
- # Otherwise, explain why we're waiting and get a lock, but block this time.
828
- if io.flock(File::LOCK_EX | File::LOCK_NB) != 0
829
- warn "Waiting for another process to let go of lock: #{path}"
830
- io.flock(File::LOCK_EX)
831
- end
832
- io.puts(Process.pid)
833
- rescue Errno::ENOSYS, Errno::ENOTSUP
834
- end
835
- yield io
836
- end
837
- end
838
-
839
- ##
840
- # The path to the running Ruby interpreter.
841
-
842
- def self.ruby
843
- if @ruby.nil?
844
- @ruby = RbConfig.ruby
845
-
846
- @ruby = "\"#{@ruby}\"" if /\s/.match?(@ruby)
847
- end
848
-
849
- @ruby
850
- end
851
-
852
- ##
853
- # Returns a String containing the API compatibility version of Ruby
854
-
855
- def self.ruby_api_version
856
- @ruby_api_version ||= target_rbconfig["ruby_version"].dup
857
- end
858
-
859
- def self.env_requirement(gem_name)
860
- @env_requirements_by_name ||= {}
861
- @env_requirements_by_name[gem_name] ||= begin
862
- req = ENV["GEM_REQUIREMENT_#{gem_name.upcase}"] || ">= 0"
863
- Gem::Requirement.create(req)
864
- end
865
- end
866
- post_reset { @env_requirements_by_name = {} }
867
-
868
- ##
869
- # Returns the latest release-version specification for the gem +name+.
870
-
871
- def self.latest_spec_for(name)
872
- dependency = Gem::Dependency.new name
873
- fetcher = Gem::SpecFetcher.fetcher
874
- spec_tuples, = fetcher.spec_for_dependency dependency
875
-
876
- spec, = spec_tuples.last
877
-
878
- spec
879
- end
880
-
881
- ##
882
- # Returns the latest release version of RubyGems.
883
-
884
- def self.latest_rubygems_version
885
- latest_version_for("rubygems-update") ||
886
- raise("Can't find 'rubygems-update' in any repo. Check `gem source list`.")
887
- end
888
-
889
- ##
890
- # Returns the version of the latest release-version of gem +name+
891
-
892
- def self.latest_version_for(name)
893
- latest_spec_for(name)&.version
894
- end
895
-
896
- ##
897
- # A Gem::Version for the currently running Ruby.
898
-
899
- def self.ruby_version
900
- return @ruby_version if defined? @ruby_version
901
- version = RUBY_VERSION.dup
902
-
903
- if RUBY_PATCHLEVEL == -1
904
- if RUBY_ENGINE == "ruby"
905
- desc = RUBY_DESCRIPTION[/\Aruby #{Regexp.quote(RUBY_VERSION)}([^ ]+) /, 1]
906
- else
907
- desc = RUBY_DESCRIPTION[/\A#{RUBY_ENGINE} #{Regexp.quote(RUBY_ENGINE_VERSION)} \(#{RUBY_VERSION}([^ ]+)\) /, 1]
908
- end
909
- version << ".#{desc}" if desc
910
- end
911
-
912
- @ruby_version = Gem::Version.new version
913
- end
914
-
915
- ##
916
- # A Gem::Version for the currently running RubyGems
917
-
918
- def self.rubygems_version
919
- return @rubygems_version if defined? @rubygems_version
920
- @rubygems_version = Gem::Version.new Gem::VERSION
921
- end
922
-
923
- ##
924
- # Returns an Array of sources to fetch remote gems from. Uses
925
- # default_sources if the sources list is empty.
926
-
927
- def self.sources
928
- source_list = configuration.sources || default_sources
929
- @sources ||= Gem::SourceList.from(source_list)
930
- end
931
-
932
- ##
933
- # Need to be able to set the sources without calling
934
- # Gem.sources.replace since that would cause an infinite loop.
935
- #
936
- # DOC: This comment is not documentation about the method itself, it's
937
- # more of a code comment about the implementation.
938
-
939
- def self.sources=(new_sources)
940
- if !new_sources
941
- @sources = nil
942
- else
943
- @sources = Gem::SourceList.from(new_sources)
944
- end
945
- end
946
-
947
- ##
948
- # Glob pattern for require-able path suffixes.
949
-
950
- def self.suffix_pattern
951
- @suffix_pattern ||= "{#{suffixes.join(",")}}"
952
- end
953
-
954
- ##
955
- # Regexp for require-able path suffixes.
956
-
957
- def self.suffix_regexp
958
- @suffix_regexp ||= /#{Regexp.union(suffixes)}\z/
959
- end
960
-
961
- ##
962
- # Glob pattern for require-able plugin suffixes.
963
-
964
- def self.plugin_suffix_pattern
965
- @plugin_suffix_pattern ||= "_plugin#{suffix_pattern}"
966
- end
967
-
968
- ##
969
- # Regexp for require-able plugin suffixes.
970
-
971
- def self.plugin_suffix_regexp
972
- @plugin_suffix_regexp ||= /_plugin#{suffix_regexp}\z/
973
- end
974
-
975
- ##
976
- # Suffixes for require-able paths.
977
-
978
- def self.suffixes
979
- @suffixes ||= ["",
980
- ".rb",
981
- *%w[DLEXT DLEXT2].map do |key|
982
- val = RbConfig::CONFIG[key]
983
- next unless val && !val.empty?
984
- ".#{val}"
985
- end].compact.uniq
986
- end
987
-
988
- ##
989
- # Suffixes for dynamic library require-able paths.
990
-
991
- def self.dynamic_library_suffixes
992
- @dynamic_library_suffixes ||= suffixes - [".rb"]
993
- end
994
-
995
- ##
996
- # Prints the amount of time the supplied block takes to run using the debug
997
- # UI output.
998
-
999
- def self.time(msg, width = 0, display = Gem.configuration.verbose)
1000
- now = Time.now
1001
-
1002
- value = yield
1003
-
1004
- elapsed = Time.now - now
1005
-
1006
- ui.say format("%2$*1$s: %3$3.3fs", -width, msg, elapsed) if display
1007
-
1008
- value
1009
- end
1010
-
1011
- ##
1012
- # Lazily loads DefaultUserInteraction and returns the default UI.
1013
-
1014
- def self.ui
1015
- require_relative "rubygems/user_interaction"
1016
-
1017
- Gem::DefaultUserInteraction.ui
1018
- end
1019
-
1020
- ##
1021
- # Use the +home+ and +paths+ values for Gem.dir and Gem.path. Used mainly
1022
- # by the unit tests to provide environment isolation.
1023
-
1024
- def self.use_paths(home, *paths)
1025
- paths.flatten!
1026
- paths.compact!
1027
- hash = { "GEM_HOME" => home, "GEM_PATH" => paths.empty? ? home : paths.join(File::PATH_SEPARATOR) }
1028
- hash.delete_if {|_, v| v.nil? }
1029
- self.paths = hash
1030
- end
1031
-
1032
- ##
1033
- # Is this a windows platform?
1034
-
1035
- def self.win_platform?
1036
- if @@win_platform.nil?
1037
- ruby_platform = RbConfig::CONFIG["host_os"]
1038
- @@win_platform = !WIN_PATTERNS.find {|r| ruby_platform =~ r }.nil?
1039
- end
1040
-
1041
- @@win_platform
1042
- end
1043
-
1044
- ##
1045
- # Is this a java platform?
1046
-
1047
- def self.java_platform?
1048
- RUBY_PLATFORM == "java"
1049
- end
1050
-
1051
- ##
1052
- # Is this platform Solaris?
1053
-
1054
- def self.solaris_platform?
1055
- RUBY_PLATFORM.include?("solaris")
1056
- end
1057
-
1058
- ##
1059
- # Is this platform FreeBSD
1060
-
1061
- def self.freebsd_platform?
1062
- RbConfig::CONFIG["host_os"].to_s.include?("bsd")
1063
- end
1064
-
1065
- ##
1066
- # Load +plugins+ as Ruby files
1067
-
1068
- def self.load_plugin_files(plugins) # :nodoc:
1069
- plugins.each do |plugin|
1070
- # Skip older versions of the GemCutter plugin: Its commands are in
1071
- # RubyGems proper now.
1072
-
1073
- next if /gemcutter-0\.[0-3]/.match?(plugin)
1074
-
1075
- begin
1076
- load plugin
1077
- rescue ScriptError, StandardError => e
1078
- details = "#{plugin.inspect}: #{e.message} (#{e.class})"
1079
- warn "Error loading RubyGems plugin #{details}"
1080
- end
1081
- end
1082
- end
1083
-
1084
- ##
1085
- # Find rubygems plugin files in the standard location and load them
1086
-
1087
- def self.load_plugins
1088
- Gem.path.each do |gem_path|
1089
- load_plugin_files Gem::Util.glob_files_in_dir("*#{Gem.plugin_suffix_pattern}", plugindir(gem_path))
1090
- end
1091
- end
1092
-
1093
- ##
1094
- # Find all 'rubygems_plugin' files in $LOAD_PATH and load them
1095
-
1096
- def self.load_env_plugins
1097
- load_plugin_files find_files_from_load_path("rubygems_plugin")
1098
- end
1099
-
1100
- ##
1101
- # Looks for a gem dependency file at +path+ and activates the gems in the
1102
- # file if found. If the file is not found an ArgumentError is raised.
1103
- #
1104
- # If +path+ is not given the RUBYGEMS_GEMDEPS environment variable is used,
1105
- # but if no file is found no exception is raised.
1106
- #
1107
- # If '-' is given for +path+ RubyGems searches up from the current working
1108
- # directory for gem dependency files (gem.deps.rb, Gemfile, Isolate) and
1109
- # activates the gems in the first one found.
1110
- #
1111
- # You can run this automatically when rubygems starts. To enable, set
1112
- # the <code>RUBYGEMS_GEMDEPS</code> environment variable to either the path
1113
- # of your gem dependencies file or "-" to auto-discover in parent
1114
- # directories.
1115
- #
1116
- # NOTE: Enabling automatic discovery on multiuser systems can lead to
1117
- # execution of arbitrary code when used from directories outside your
1118
- # control.
1119
-
1120
- def self.use_gemdeps(path = nil)
1121
- raise_exception = path
1122
-
1123
- path ||= ENV["RUBYGEMS_GEMDEPS"]
1124
- return unless path
1125
-
1126
- path = path.dup
1127
-
1128
- if path == "-"
1129
- Gem::Util.traverse_parents Dir.pwd do |directory|
1130
- dep_file = GEM_DEP_FILES.find {|f| File.file?(f) }
1131
-
1132
- next unless dep_file
1133
-
1134
- path = File.join directory, dep_file
1135
- break
1136
- end
1137
- end
1138
-
1139
- unless File.file? path
1140
- return unless raise_exception
1141
-
1142
- raise ArgumentError, "Unable to find gem dependencies file at #{path}"
1143
- end
1144
-
1145
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path(path)
1146
- require_relative "rubygems/user_interaction"
1147
- require "bundler"
1148
- begin
1149
- Gem::DefaultUserInteraction.use_ui(ui) do
1150
- Bundler.ui.silence do
1151
- @gemdeps = Bundler.setup
1152
- end
1153
- ensure
1154
- Gem::DefaultUserInteraction.ui.close
1155
- end
1156
- rescue Bundler::BundlerError => e
1157
- warn e.message
1158
- warn "You may need to `bundle install` to install missing gems"
1159
- warn ""
1160
- end
1161
- end
1162
-
1163
- ##
1164
- # If the SOURCE_DATE_EPOCH environment variable is set, returns it's value.
1165
- # Otherwise, returns DEFAULT_SOURCE_DATE_EPOCH as a string.
1166
- #
1167
- # NOTE(@duckinator): The implementation is a tad weird because we want to:
1168
- # 1. Make builds reproducible by default, by having this function always
1169
- # return the same result during a given run.
1170
- # 2. Allow changing ENV['SOURCE_DATE_EPOCH'] at runtime, since multiple
1171
- # tests that set this variable will be run in a single process.
1172
- #
1173
- # If you simplify this function and a lot of tests fail, that is likely
1174
- # due to #2 above.
1175
- #
1176
- # Details on SOURCE_DATE_EPOCH:
1177
- # https://reproducible-builds.org/specs/source-date-epoch/
1178
-
1179
- def self.source_date_epoch_string
1180
- specified_epoch = ENV["SOURCE_DATE_EPOCH"]
1181
-
1182
- # If it's empty or just whitespace, treat it like it wasn't set at all.
1183
- specified_epoch = nil if !specified_epoch.nil? && specified_epoch.strip.empty?
1184
-
1185
- epoch = specified_epoch || DEFAULT_SOURCE_DATE_EPOCH.to_s
1186
-
1187
- epoch.strip
1188
- end
1189
-
1190
- ##
1191
- # Returns the value of Gem.source_date_epoch_string, as a Time object.
1192
- #
1193
- # This is used throughout RubyGems for enabling reproducible builds.
1194
-
1195
- def self.source_date_epoch
1196
- Time.at(source_date_epoch_string.to_i).utc.freeze
1197
- end
1198
-
1199
- # FIX: Almost everywhere else we use the `def self.` way of defining class
1200
- # methods, and then we switch over to `class << self` here. Pick one or the
1201
- # other.
1202
- class << self
1203
- ##
1204
- # RubyGems distributors (like operating system package managers) can
1205
- # disable RubyGems update by setting this to error message printed to
1206
- # end-users on gem update --system instead of actual update.
1207
-
1208
- attr_accessor :disable_system_update_message
1209
-
1210
- ##
1211
- # Whether RubyGems should enhance builtin `require` to automatically
1212
- # check whether the path required is present in installed gems, and
1213
- # automatically activate them and add them to `$LOAD_PATH`.
1214
-
1215
- attr_accessor :discover_gems_on_require
1216
-
1217
- ##
1218
- # Hash of loaded Gem::Specification keyed by name
1219
-
1220
- attr_reader :loaded_specs
1221
-
1222
- ##
1223
- # GemDependencyAPI object, which is set when .use_gemdeps is called.
1224
- # This contains all the information from the Gemfile.
1225
-
1226
- attr_reader :gemdeps
1227
-
1228
- ##
1229
- # Register a Gem::Specification for default gem.
1230
- #
1231
- # Two formats for the specification are supported:
1232
- #
1233
- # * MRI 2.0 style, where spec.files contains unprefixed require names.
1234
- # The spec's filenames will be registered as-is.
1235
- # * New style, where spec.files contains files prefixed with paths
1236
- # from spec.require_paths. The prefixes are stripped before
1237
- # registering the spec's filenames. Unprefixed files are omitted.
1238
- #
1239
-
1240
- def register_default_spec(spec)
1241
- extended_require_paths = spec.require_paths.map {|f| f + "/" }
1242
- new_format = extended_require_paths.any? {|path| spec.files.any? {|f| f.start_with? path } }
1243
-
1244
- if new_format
1245
- prefix_group = extended_require_paths.join("|")
1246
- prefix_pattern = /^(#{prefix_group})/
1247
- end
1248
-
1249
- spec.files.each do |file|
1250
- if new_format
1251
- file = file.sub(prefix_pattern, "")
1252
- next unless $~
1253
- end
1254
-
1255
- spec.activate if already_loaded?(file)
1256
-
1257
- @path_to_default_spec_map[file] = spec
1258
- @path_to_default_spec_map[file.sub(suffix_regexp, "")] = spec
1259
- end
1260
- end
1261
-
1262
- ##
1263
- # Find a Gem::Specification of default gem from +path+
1264
-
1265
- def find_default_spec(path)
1266
- @path_to_default_spec_map[path]
1267
- end
1268
-
1269
- ##
1270
- # Find an unresolved Gem::Specification of default gem from +path+
1271
-
1272
- def find_unresolved_default_spec(path)
1273
- default_spec = @path_to_default_spec_map[path]
1274
- default_spec if default_spec && loaded_specs[default_spec.name] != default_spec
1275
- end
1276
-
1277
- ##
1278
- # Clear default gem related variables. It is for test
1279
-
1280
- def clear_default_specs
1281
- @path_to_default_spec_map.clear
1282
- end
1283
-
1284
- ##
1285
- # The list of hooks to be run after Gem::Installer#install extracts files
1286
- # and builds extensions
1287
-
1288
- attr_reader :post_build_hooks
1289
-
1290
- ##
1291
- # The list of hooks to be run after Gem::Installer#install completes
1292
- # installation
1293
-
1294
- attr_reader :post_install_hooks
1295
-
1296
- ##
1297
- # The list of hooks to be run after Gem::DependencyInstaller installs a
1298
- # set of gems
1299
-
1300
- attr_reader :done_installing_hooks
1301
-
1302
- ##
1303
- # The list of hooks to be run after Gem::Specification.reset is run.
1304
-
1305
- attr_reader :post_reset_hooks
1306
-
1307
- ##
1308
- # The list of hooks to be run after Gem::Uninstaller#uninstall completes
1309
- # installation
1310
-
1311
- attr_reader :post_uninstall_hooks
1312
-
1313
- ##
1314
- # The list of hooks to be run before Gem::Installer#install does any work
1315
-
1316
- attr_reader :pre_install_hooks
1317
-
1318
- ##
1319
- # The list of hooks to be run before Gem::Specification.reset is run.
1320
-
1321
- attr_reader :pre_reset_hooks
1322
-
1323
- ##
1324
- # The list of hooks to be run before Gem::Uninstaller#uninstall does any
1325
- # work
1326
-
1327
- attr_reader :pre_uninstall_hooks
1328
-
1329
- private
1330
-
1331
- def already_loaded?(file)
1332
- $LOADED_FEATURES.any? do |feature_path|
1333
- feature_path.end_with?(file) && default_gem_load_paths.any? {|load_path_entry| feature_path == "#{load_path_entry}/#{file}" }
1334
- end
1335
- end
1336
-
1337
- def default_gem_load_paths
1338
- @default_gem_load_paths ||= $LOAD_PATH[load_path_insert_index..-1].map do |lp|
1339
- expanded = File.expand_path(lp)
1340
- next expanded unless File.exist?(expanded)
1341
-
1342
- File.realpath(expanded)
1343
- end
1344
- end
1345
- end
1346
-
1347
- ##
1348
- # Location of Marshal quick gemspecs on remote repositories
1349
-
1350
- MARSHAL_SPEC_DIR = "quick/Marshal.#{Gem.marshal_version}/".freeze
1351
-
1352
- autoload :ConfigFile, File.expand_path("rubygems/config_file", __dir__)
1353
- autoload :CIDetector, File.expand_path("rubygems/ci_detector", __dir__)
1354
- autoload :Dependency, File.expand_path("rubygems/dependency", __dir__)
1355
- autoload :DependencyList, File.expand_path("rubygems/dependency_list", __dir__)
1356
- autoload :Installer, File.expand_path("rubygems/installer", __dir__)
1357
- autoload :Licenses, File.expand_path("rubygems/util/licenses", __dir__)
1358
- autoload :NameTuple, File.expand_path("rubygems/name_tuple", __dir__)
1359
- autoload :PathSupport, File.expand_path("rubygems/path_support", __dir__)
1360
- autoload :RequestSet, File.expand_path("rubygems/request_set", __dir__)
1361
- autoload :Requirement, File.expand_path("rubygems/requirement", __dir__)
1362
- autoload :Resolver, File.expand_path("rubygems/resolver", __dir__)
1363
- autoload :Source, File.expand_path("rubygems/source", __dir__)
1364
- autoload :SourceList, File.expand_path("rubygems/source_list", __dir__)
1365
- autoload :SpecFetcher, File.expand_path("rubygems/spec_fetcher", __dir__)
1366
- autoload :SpecificationPolicy, File.expand_path("rubygems/specification_policy", __dir__)
1367
- autoload :Util, File.expand_path("rubygems/util", __dir__)
1368
- autoload :Version, File.expand_path("rubygems/version", __dir__)
1369
- end
1370
-
1371
- require_relative "rubygems/exceptions"
1372
- require_relative "rubygems/specification"
1373
-
1374
- # REFACTOR: This should be pulled out into some kind of hacks file.
1375
- begin
1376
- ##
1377
- # Defaults the operating system (or packager) wants to provide for RubyGems.
1378
-
1379
- require "rubygems/defaults/operating_system"
1380
- rescue LoadError
1381
- # Ignored
1382
- rescue StandardError => e
1383
- path = e.backtrace_locations.reverse.find {|l| l.path.end_with?("rubygems/defaults/operating_system.rb") }.path
1384
- msg = "#{e.message}\n" \
1385
- "Loading the #{path} file caused an error. " \
1386
- "This file is owned by your OS, not by rubygems upstream. " \
1387
- "Please find out which OS package this file belongs to and follow the guidelines from your OS to report " \
1388
- "the problem and ask for help."
1389
- raise e.class, msg
1390
- end
1391
-
1392
- begin
1393
- ##
1394
- # Defaults the Ruby implementation wants to provide for RubyGems
1395
-
1396
- require "rubygems/defaults/#{RUBY_ENGINE}"
1397
- rescue LoadError
1398
- end
1399
-
1400
- ##
1401
- # Loads the default specs.
1402
- Gem::Specification.load_defaults
1403
-
1404
- require_relative "rubygems/core_ext/kernel_gem"
1405
-
1406
- path = File.join(__dir__, "rubygems/core_ext/kernel_require.rb")
1407
- # When https://bugs.ruby-lang.org/issues/17259 is available, there is no need to override Kernel#warn
1408
- if RUBY_ENGINE == "truffleruby" ||
1409
- RUBY_ENGINE == "ruby"
1410
- file = "<internal:#{path}>"
1411
- else
1412
- require_relative "rubygems/core_ext/kernel_warn"
1413
- file = path
1414
- end
1415
- eval File.read(path), nil, file
1416
-
1417
- require ENV["BUNDLER_SETUP"] if ENV["BUNDLER_SETUP"] && !defined?(Bundler)