@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,1593 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # :markup: markdown
4
- # irb.rb - irb main module
5
- # by Keiju ISHITSUKA(keiju@ruby-lang.org)
6
- #
7
-
8
- require "ripper"
9
- require "reline"
10
-
11
- require_relative "irb/init"
12
- require_relative "irb/context"
13
- require_relative "irb/default_commands"
14
-
15
- require_relative "irb/ruby-lex"
16
- require_relative "irb/statement"
17
- require_relative "irb/history"
18
- require_relative "irb/input-method"
19
- require_relative "irb/locale"
20
- require_relative "irb/color"
21
-
22
- require_relative "irb/version"
23
- require_relative "irb/easter-egg"
24
- require_relative "irb/debug"
25
- require_relative "irb/pager"
26
-
27
- # ## IRB
28
- #
29
- # Module IRB ("Interactive Ruby") provides a shell-like interface that supports
30
- # user interaction with the Ruby interpreter.
31
- #
32
- # It operates as a *read-eval-print loop*
33
- # ([REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop))
34
- # that:
35
- #
36
- # * ***Reads*** each character as you type. You can modify the IRB context to
37
- # change the way input works. See [Input](rdoc-ref:IRB@Input).
38
- # * ***Evaluates*** the code each time it has read a syntactically complete
39
- # passage.
40
- # * ***Prints*** after evaluating. You can modify the IRB context to change
41
- # the way output works. See [Output](rdoc-ref:IRB@Output).
42
- #
43
- #
44
- # Example:
45
- #
46
- # $ irb
47
- # irb(main):001> File.basename(Dir.pwd)
48
- # => "irb"
49
- # irb(main):002> Dir.entries('.').size
50
- # => 25
51
- # irb(main):003* Dir.entries('.').select do |entry|
52
- # irb(main):004* entry.start_with?('R')
53
- # irb(main):005> end
54
- # => ["README.md", "Rakefile"]
55
- #
56
- # The typed input may also include [\IRB-specific
57
- # commands](rdoc-ref:IRB@IRB-Specific+Commands).
58
- #
59
- # As seen above, you can start IRB by using the shell command `irb`.
60
- #
61
- # You can stop an IRB session by typing command `exit`:
62
- #
63
- # irb(main):006> exit
64
- # $
65
- #
66
- # At that point, IRB calls any hooks found in array `IRB.conf[:AT_EXIT]`, then
67
- # exits.
68
- #
69
- # ## Startup
70
- #
71
- # At startup, IRB:
72
- #
73
- # 1. Interprets (as Ruby code) the content of the [configuration
74
- # file](rdoc-ref:IRB@Configuration+File) (if given).
75
- # 2. Constructs the initial session context from [hash
76
- # IRB.conf](rdoc-ref:IRB@Hash+IRB.conf) and from default values; the hash
77
- # content may have been affected by [command-line
78
- # options](rdoc-ref:IRB@Command-Line+Options), and by direct assignments in
79
- # the configuration file.
80
- # 3. Assigns the context to variable `conf`.
81
- # 4. Assigns command-line arguments to variable `ARGV`.
82
- # 5. Prints the [prompt](rdoc-ref:IRB@Prompt+and+Return+Formats).
83
- # 6. Puts the content of the [initialization
84
- # script](rdoc-ref:IRB@Initialization+Script) onto the IRB shell, just as if
85
- # it were user-typed commands.
86
- #
87
- #
88
- # ### The Command Line
89
- #
90
- # On the command line, all options precede all arguments; the first item that is
91
- # not recognized as an option is treated as an argument, as are all items that
92
- # follow.
93
- #
94
- # #### Command-Line Options
95
- #
96
- # Many command-line options affect entries in hash `IRB.conf`, which in turn
97
- # affect the initial configuration of the IRB session.
98
- #
99
- # Details of the options are described in the relevant subsections below.
100
- #
101
- # A cursory list of the IRB command-line options may be seen in the [help
102
- # message](https://raw.githubusercontent.com/ruby/irb/master/lib/irb/lc/help-message),
103
- # which is also displayed if you use command-line option `--help`.
104
- #
105
- # If you are interested in a specific option, consult the
106
- # [index](rdoc-ref:doc/irb/indexes.md@Index+of+Command-Line+Options).
107
- #
108
- # #### Command-Line Arguments
109
- #
110
- # Command-line arguments are passed to IRB in array `ARGV`:
111
- #
112
- # $ irb --noscript Foo Bar Baz
113
- # irb(main):001> ARGV
114
- # => ["Foo", "Bar", "Baz"]
115
- # irb(main):002> exit
116
- # $
117
- #
118
- # Command-line option `--` causes everything that follows to be treated as
119
- # arguments, even those that look like options:
120
- #
121
- # $ irb --noscript -- --noscript -- Foo Bar Baz
122
- # irb(main):001> ARGV
123
- # => ["--noscript", "--", "Foo", "Bar", "Baz"]
124
- # irb(main):002> exit
125
- # $
126
- #
127
- # ### Configuration File
128
- #
129
- # You can initialize IRB via a *configuration file*.
130
- #
131
- # If command-line option `-f` is given, no configuration file is looked for.
132
- #
133
- # Otherwise, IRB reads and interprets a configuration file if one is available.
134
- #
135
- # The configuration file can contain any Ruby code, and can usefully include
136
- # user code that:
137
- #
138
- # * Can then be debugged in IRB.
139
- # * Configures IRB itself.
140
- # * Requires or loads files.
141
- #
142
- #
143
- # The path to the configuration file is the first found among:
144
- #
145
- # * The value of variable `$IRBRC`, if defined.
146
- # * The value of variable `$XDG_CONFIG_HOME/irb/irbrc`, if defined.
147
- # * File `$HOME/.irbrc`, if it exists.
148
- # * File `$HOME/.config/irb/irbrc`, if it exists.
149
- # * File `.irbrc` in the current directory, if it exists.
150
- # * File `irb.rc` in the current directory, if it exists.
151
- # * File `_irbrc` in the current directory, if it exists.
152
- # * File `$irbrc` in the current directory, if it exists.
153
- #
154
- #
155
- # If the search fails, there is no configuration file.
156
- #
157
- # If the search succeeds, the configuration file is read as Ruby code, and so
158
- # can contain any Ruby programming you like.
159
- #
160
- # Method `conf.rc?` returns `true` if a configuration file was read, `false`
161
- # otherwise. Hash entry `IRB.conf[:RC]` also contains that value.
162
- #
163
- # ### Hash `IRB.conf`
164
- #
165
- # The initial entries in hash `IRB.conf` are determined by:
166
- #
167
- # * Default values.
168
- # * Command-line options, which may override defaults.
169
- # * Direct assignments in the configuration file.
170
- #
171
- #
172
- # You can see the hash by typing `IRB.conf`.
173
- #
174
- # Details of the entries' meanings are described in the relevant subsections
175
- # below.
176
- #
177
- # If you are interested in a specific entry, consult the
178
- # [index](rdoc-ref:doc/irb/indexes.md@Index+of+IRB.conf+Entries).
179
- #
180
- # ### Notes on Initialization Precedence
181
- #
182
- # * Any conflict between an entry in hash `IRB.conf` and a command-line option
183
- # is resolved in favor of the hash entry.
184
- # * Hash `IRB.conf` affects the context only once, when the configuration file
185
- # is interpreted; any subsequent changes to it do not affect the context and
186
- # are therefore essentially meaningless.
187
- #
188
- #
189
- # ### Initialization Script
190
- #
191
- # By default, the first command-line argument (after any options) is the path to
192
- # a Ruby initialization script.
193
- #
194
- # IRB reads the initialization script and puts its content onto the IRB shell,
195
- # just as if it were user-typed commands.
196
- #
197
- # Command-line option `--noscript` causes the first command-line argument to be
198
- # treated as an ordinary argument (instead of an initialization script);
199
- # `--script` is the default.
200
- #
201
- # ## Input
202
- #
203
- # This section describes the features that allow you to change the way IRB input
204
- # works; see also [Input and Output](rdoc-ref:IRB@Input+and+Output).
205
- #
206
- # ### Input Command History
207
- #
208
- # By default, IRB stores a history of up to 1000 input commands in a file named
209
- # `.irb_history`. The history file will be in the same directory as the
210
- # [configuration file](rdoc-ref:IRB@Configuration+File) if one is found, or in
211
- # `~/` otherwise.
212
- #
213
- # A new IRB session creates the history file if it does not exist, and appends
214
- # to the file if it does exist.
215
- #
216
- # You can change the filepath by adding to your configuration file:
217
- # `IRB.conf[:HISTORY_FILE] = *filepath*`, where *filepath* is a string filepath.
218
- #
219
- # During the session, method `conf.history_file` returns the filepath, and
220
- # method `conf.history_file = *new_filepath*` copies the history to the file at
221
- # *new_filepath*, which becomes the history file for the session.
222
- #
223
- # You can change the number of commands saved by adding to your configuration
224
- # file: `IRB.conf[:SAVE_HISTORY] = *n*`, where *n* is one of:
225
- #
226
- # * Positive integer: the number of commands to be saved.
227
- # * Negative integer: all commands are to be saved.
228
- # * Zero or `nil`: no commands are to be saved.
229
- #
230
- #
231
- # During the session, you can use methods `conf.save_history` or
232
- # `conf.save_history=` to retrieve or change the count.
233
- #
234
- # ### Command Aliases
235
- #
236
- # By default, IRB defines several command aliases:
237
- #
238
- # irb(main):001> conf.command_aliases
239
- # => {:"$"=>:show_source, :"@"=>:whereami}
240
- #
241
- # You can change the initial aliases in the configuration file with:
242
- #
243
- # IRB.conf[:COMMAND_ALIASES] = {foo: :show_source, bar: :whereami}
244
- #
245
- # You can replace the current aliases at any time with configuration method
246
- # `conf.command_aliases=`; Because `conf.command_aliases` is a hash, you can
247
- # modify it.
248
- #
249
- # ### End-of-File
250
- #
251
- # By default, `IRB.conf[:IGNORE_EOF]` is `false`, which means that typing the
252
- # end-of-file character `Ctrl-D` causes the session to exit.
253
- #
254
- # You can reverse that behavior by adding `IRB.conf[:IGNORE_EOF] = true` to the
255
- # configuration file.
256
- #
257
- # During the session, method `conf.ignore_eof?` returns the setting, and method
258
- # `conf.ignore_eof = *boolean*` sets it.
259
- #
260
- # ### SIGINT
261
- #
262
- # By default, `IRB.conf[:IGNORE_SIGINT]` is `true`, which means that typing the
263
- # interrupt character `Ctrl-C` causes the session to exit.
264
- #
265
- # You can reverse that behavior by adding `IRB.conf[:IGNORE_SIGING] = false` to
266
- # the configuration file.
267
- #
268
- # During the session, method `conf.ignore_siging?` returns the setting, and
269
- # method `conf.ignore_sigint = *boolean*` sets it.
270
- #
271
- # ### Automatic Completion
272
- #
273
- # By default, IRB enables [automatic
274
- # completion](https://en.wikipedia.org/wiki/Autocomplete#In_command-line_interpr
275
- # eters):
276
- #
277
- # You can disable it by either of these:
278
- #
279
- # * Adding `IRB.conf[:USE_AUTOCOMPLETE] = false` to the configuration file.
280
- # * Giving command-line option `--noautocomplete` (`--autocomplete` is the
281
- # default).
282
- #
283
- #
284
- # Method `conf.use_autocomplete?` returns `true` if automatic completion is
285
- # enabled, `false` otherwise.
286
- #
287
- # The setting may not be changed during the session.
288
- #
289
- # ### Automatic Indentation
290
- #
291
- # By default, IRB automatically indents lines of code to show structure (e.g.,
292
- # it indent the contents of a block).
293
- #
294
- # The current setting is returned by the configuration method
295
- # `conf.auto_indent_mode`.
296
- #
297
- # The default initial setting is `true`:
298
- #
299
- # irb(main):001> conf.auto_indent_mode
300
- # => true
301
- # irb(main):002* Dir.entries('.').select do |entry|
302
- # irb(main):003* entry.start_with?('R')
303
- # irb(main):004> end
304
- # => ["README.md", "Rakefile"]
305
- #
306
- # You can change the initial setting in the configuration file with:
307
- #
308
- # IRB.conf[:AUTO_INDENT] = false
309
- #
310
- # Note that the *current* setting *may not* be changed in the IRB session.
311
- #
312
- # ### Input Method
313
- #
314
- # The IRB input method determines how command input is to be read; by default,
315
- # the input method for a session is IRB::RelineInputMethod. Unless the
316
- # value of the TERM environment variable is 'dumb', in which case the
317
- # most simplistic input method is used.
318
- #
319
- # You can set the input method by:
320
- #
321
- # * Adding to the configuration file:
322
- #
323
- # * `IRB.conf[:USE_SINGLELINE] = true` or `IRB.conf[:USE_MULTILINE]=
324
- # false` sets the input method to IRB::ReadlineInputMethod.
325
- # * `IRB.conf[:USE_SINGLELINE] = false` or `IRB.conf[:USE_MULTILINE] =
326
- # true` sets the input method to IRB::RelineInputMethod.
327
- #
328
- #
329
- # * Giving command-line options:
330
- #
331
- # * `--singleline` or `--nomultiline` sets the input method to
332
- # IRB::ReadlineInputMethod.
333
- # * `--nosingleline` or `--multiline` sets the input method to
334
- # IRB::RelineInputMethod.
335
- # * `--nosingleline` together with `--nomultiline` sets the
336
- # input to IRB::StdioInputMethod.
337
- #
338
- #
339
- # Method `conf.use_multiline?` and its synonym `conf.use_reline` return:
340
- #
341
- # * `true` if option `--multiline` was given.
342
- # * `false` if option `--nomultiline` was given.
343
- # * `nil` if neither was given.
344
- #
345
- #
346
- # Method `conf.use_singleline?` and its synonym `conf.use_readline` return:
347
- #
348
- # * `true` if option `--singleline` was given.
349
- # * `false` if option `--nosingleline` was given.
350
- # * `nil` if neither was given.
351
- #
352
- #
353
- # ## Output
354
- #
355
- # This section describes the features that allow you to change the way IRB
356
- # output works; see also [Input and Output](rdoc-ref:IRB@Input+and+Output).
357
- #
358
- # ### Return-Value Printing (Echoing)
359
- #
360
- # By default, IRB prints (echoes) the values returned by all input commands.
361
- #
362
- # You can change the initial behavior and suppress all echoing by:
363
- #
364
- # * Adding to the configuration file: `IRB.conf[:ECHO] = false`. (The default
365
- # value for this entry is `nil`, which means the same as `true`.)
366
- # * Giving command-line option `--noecho`. (The default is `--echo`.)
367
- #
368
- #
369
- # During the session, you can change the current setting with configuration
370
- # method `conf.echo=` (set to `true` or `false`).
371
- #
372
- # As stated above, by default IRB prints the values returned by all input
373
- # commands; but IRB offers special treatment for values returned by assignment
374
- # statements, which may be:
375
- #
376
- # * Printed with truncation (to fit on a single line of output), which is the
377
- # default; an ellipsis (`...` is suffixed, to indicate the truncation):
378
- #
379
- # irb(main):001> x = 'abc' * 100
380
- #
381
- #
382
- # > "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc...
383
- #
384
- # * Printed in full (regardless of the length).
385
- # * Suppressed (not printed at all)
386
- #
387
- #
388
- # You can change the initial behavior by:
389
- #
390
- # * Adding to the configuration file: `IRB.conf[:ECHO_ON_ASSIGNMENT] = false`.
391
- # (The default value for this entry is `niL`, which means the same as
392
- # `:truncate`.)
393
- # * Giving command-line option `--noecho-on-assignment` or
394
- # `--echo-on-assignment`. (The default is `--truncate-echo-on-assignment`.)
395
- #
396
- #
397
- # During the session, you can change the current setting with configuration
398
- # method `conf.echo_on_assignment=` (set to `true`, `false`, or `:truncate`).
399
- #
400
- # By default, IRB formats returned values by calling method `inspect`.
401
- #
402
- # You can change the initial behavior by:
403
- #
404
- # * Adding to the configuration file: `IRB.conf[:INSPECT_MODE] = false`. (The
405
- # default value for this entry is `true`.)
406
- # * Giving command-line option `--noinspect`. (The default is `--inspect`.)
407
- #
408
- #
409
- # During the session, you can change the setting using method
410
- # `conf.inspect_mode=`.
411
- #
412
- # ### Multiline Output
413
- #
414
- # By default, IRB prefixes a newline to a multiline response.
415
- #
416
- # You can change the initial default value by adding to the configuration file:
417
- #
418
- # IRB.conf[:NEWLINE_BEFORE_MULTILINE_OUTPUT] = false
419
- #
420
- # During a session, you can retrieve or set the value using methods
421
- # `conf.newline_before_multiline_output?` and
422
- # `conf.newline_before_multiline_output=`.
423
- #
424
- # Examples:
425
- #
426
- # irb(main):001> conf.inspect_mode = false
427
- # => false
428
- # irb(main):002> "foo\nbar"
429
- # =>
430
- # foo
431
- # bar
432
- # irb(main):003> conf.newline_before_multiline_output = false
433
- # => false
434
- # irb(main):004> "foo\nbar"
435
- # => foo
436
- # bar
437
- #
438
- # ### Evaluation History
439
- #
440
- # By default, IRB saves no history of evaluations (returned values), and the
441
- # related methods `conf.eval_history`, `_`, and `__` are undefined.
442
- #
443
- # You can turn on that history, and set the maximum number of evaluations to be
444
- # stored:
445
- #
446
- # * In the configuration file: add `IRB.conf[:EVAL_HISTORY] = *n*`. (Examples
447
- # below assume that we've added `IRB.conf[:EVAL_HISTORY] = 5`.)
448
- # * In the session (at any time): `conf.eval_history = *n*`.
449
- #
450
- #
451
- # If `n` is zero, all evaluation history is stored.
452
- #
453
- # Doing either of the above:
454
- #
455
- # * Sets the maximum size of the evaluation history; defines method
456
- # `conf.eval_history`, which returns the maximum size `n` of the evaluation
457
- # history:
458
- #
459
- # irb(main):001> conf.eval_history = 5
460
- # => 5
461
- # irb(main):002> conf.eval_history
462
- # => 5
463
- #
464
- # * Defines variable `_`, which contains the most recent evaluation, or `nil`
465
- # if none; same as method `conf.last_value`:
466
- #
467
- # irb(main):003> _
468
- # => 5
469
- # irb(main):004> :foo
470
- # => :foo
471
- # irb(main):005> :bar
472
- # => :bar
473
- # irb(main):006> _
474
- # => :bar
475
- # irb(main):007> _
476
- # => :bar
477
- #
478
- # * Defines variable `__`:
479
- #
480
- # * `__` unadorned: contains all evaluation history:
481
- #
482
- # irb(main):008> :foo
483
- # => :foo
484
- # irb(main):009> :bar
485
- # => :bar
486
- # irb(main):010> :baz
487
- # => :baz
488
- # irb(main):011> :bat
489
- # => :bat
490
- # irb(main):012> :bam
491
- # => :bam
492
- # irb(main):013> __
493
- # =>
494
- # 9 :bar
495
- # 10 :baz
496
- # 11 :bat
497
- # 12 :bam
498
- # irb(main):014> __
499
- # =>
500
- # 10 :baz
501
- # 11 :bat
502
- # 12 :bam
503
- # 13 ...self-history...
504
- #
505
- # Note that when the evaluation is multiline, it is displayed
506
- # differently.
507
- #
508
- # * `__[`*m*`]`:
509
- #
510
- # * Positive *m*: contains the evaluation for the given line number,
511
- # or `nil` if that line number is not in the evaluation history:
512
- #
513
- # irb(main):015> __[12]
514
- # => :bam
515
- # irb(main):016> __[1]
516
- # => nil
517
- #
518
- # * Negative *m*: contains the `mth`-from-end evaluation, or `nil` if
519
- # that evaluation is not in the evaluation history:
520
- #
521
- # irb(main):017> __[-3]
522
- # => :bam
523
- # irb(main):018> __[-13]
524
- # => nil
525
- #
526
- # * Zero *m*: contains `nil`:
527
- #
528
- # irb(main):019> __[0]
529
- # => nil
530
- #
531
- #
532
- #
533
- #
534
- # ### Prompt and Return Formats
535
- #
536
- # By default, IRB uses the prompt and return value formats defined in its
537
- # `:DEFAULT` prompt mode.
538
- #
539
- # #### The Default Prompt and Return Format
540
- #
541
- # The default prompt and return values look like this:
542
- #
543
- # irb(main):001> 1 + 1
544
- # => 2
545
- # irb(main):002> 2 + 2
546
- # => 4
547
- #
548
- # The prompt includes:
549
- #
550
- # * The name of the running program (`irb`); see [IRB
551
- # Name](rdoc-ref:IRB@IRB+Name).
552
- # * The name of the current session (`main`); See [IRB
553
- # Sessions](rdoc-ref:IRB@IRB+Sessions).
554
- # * A 3-digit line number (1-based).
555
- #
556
- #
557
- # The default prompt actually defines three formats:
558
- #
559
- # * One for most situations (as above):
560
- #
561
- # irb(main):003> Dir
562
- # => Dir
563
- #
564
- # * One for when the typed command is a statement continuation (adds trailing
565
- # asterisk):
566
- #
567
- # irb(main):004* Dir.
568
- #
569
- # * One for when the typed command is a string continuation (adds trailing
570
- # single-quote):
571
- #
572
- # irb(main):005' Dir.entries('.
573
- #
574
- #
575
- # You can see the prompt change as you type the characters in the following:
576
- #
577
- # irb(main):001* Dir.entries('.').select do |entry|
578
- # irb(main):002* entry.start_with?('R')
579
- # irb(main):003> end
580
- # => ["README.md", "Rakefile"]
581
- #
582
- # #### Pre-Defined Prompts
583
- #
584
- # IRB has several pre-defined prompts, stored in hash `IRB.conf[:PROMPT]`:
585
- #
586
- # irb(main):001> IRB.conf[:PROMPT].keys
587
- # => [:NULL, :DEFAULT, :CLASSIC, :SIMPLE, :INF_RUBY, :XMP]
588
- #
589
- # To see the full data for these, type `IRB.conf[:PROMPT]`.
590
- #
591
- # Most of these prompt definitions include specifiers that represent values like
592
- # the IRB name, session name, and line number; see [Prompt
593
- # Specifiers](rdoc-ref:IRB@Prompt+Specifiers).
594
- #
595
- # You can change the initial prompt and return format by:
596
- #
597
- # * Adding to the configuration file: `IRB.conf[:PROMPT] = *mode*` where
598
- # *mode* is the symbol name of a prompt mode.
599
- # * Giving a command-line option:
600
- #
601
- # * `--prompt *mode*`: sets the prompt mode to *mode*. where *mode* is the
602
- # symbol name of a prompt mode.
603
- # * `--simple-prompt` or `--sample-book-mode`: sets the prompt mode to
604
- # `:SIMPLE`.
605
- # * `--inf-ruby-mode`: sets the prompt mode to `:INF_RUBY` and suppresses
606
- # both `--multiline` and `--singleline`.
607
- # * `--noprompt`: suppresses prompting; does not affect echoing.
608
- #
609
- #
610
- #
611
- # You can retrieve or set the current prompt mode with methods
612
- #
613
- # `conf.prompt_mode` and `conf.prompt_mode=`.
614
- #
615
- # If you're interested in prompts and return formats other than the defaults,
616
- # you might experiment by trying some of the others.
617
- #
618
- # #### Custom Prompts
619
- #
620
- # You can also define custom prompts and return formats, which may be done
621
- # either in an IRB session or in the configuration file.
622
- #
623
- # A prompt in IRB actually defines three prompts, as seen above. For simple
624
- # custom data, we'll make all three the same:
625
- #
626
- # irb(main):001* IRB.conf[:PROMPT][:MY_PROMPT] = {
627
- # irb(main):002* PROMPT_I: ': ',
628
- # irb(main):003* PROMPT_C: ': ',
629
- # irb(main):004* PROMPT_S: ': ',
630
- # irb(main):005* RETURN: '=> '
631
- # irb(main):006> }
632
- # => {:PROMPT_I=>": ", :PROMPT_C=>": ", :PROMPT_S=>": ", :RETURN=>"=> "}
633
- #
634
- # If you define the custom prompt in the configuration file, you can also make
635
- # it the current prompt by adding:
636
- #
637
- # IRB.conf[:PROMPT_MODE] = :MY_PROMPT
638
- #
639
- # Regardless of where it's defined, you can make it the current prompt in a
640
- # session:
641
- #
642
- # conf.prompt_mode = :MY_PROMPT
643
- #
644
- # You can view or modify the current prompt data with various configuration
645
- # methods:
646
- #
647
- # * `conf.prompt_mode`, `conf.prompt_mode=`.
648
- # * `conf.prompt_c`, `conf.c=`.
649
- # * `conf.prompt_i`, `conf.i=`.
650
- # * `conf.prompt_s`, `conf.s=`.
651
- # * `conf.return_format`, `return_format=`.
652
- #
653
- #
654
- # #### Prompt Specifiers
655
- #
656
- # A prompt's definition can include specifiers for which certain values are
657
- # substituted:
658
- #
659
- # * `%N`: the name of the running program.
660
- # * `%m`: the value of `self.to_s`.
661
- # * `%M`: the value of `self.inspect`.
662
- # * `%l`: an indication of the type of string; one of `"`, `'`, `/`, `]`.
663
- # * `%NNi`: Indentation level. NN is a 2-digit number that specifies the number
664
- # of digits of the indentation level (03 will result in 001).
665
- # * `%NNn`: Line number. NN is a 2-digit number that specifies the number
666
- # of digits of the line number (03 will result in 001).
667
- # * `%%`: Literal `%`.
668
- #
669
- #
670
- # ### Verbosity
671
- #
672
- # By default, IRB verbosity is disabled, which means that output is smaller
673
- # rather than larger.
674
- #
675
- # You can enable verbosity by:
676
- #
677
- # * Adding to the configuration file: `IRB.conf[:VERBOSE] = true` (the default
678
- # is `nil`).
679
- # * Giving command-line options `--verbose` (the default is `--noverbose`).
680
- #
681
- #
682
- # During a session, you can retrieve or set verbosity with methods
683
- # `conf.verbose` and `conf.verbose=`.
684
- #
685
- # ### Help
686
- #
687
- # Command-line option `--version` causes IRB to print its help text and exit.
688
- #
689
- # ### Version
690
- #
691
- # Command-line option `--version` causes IRB to print its version text and exit.
692
- #
693
- # ## Input and Output
694
- #
695
- # ### Color Highlighting
696
- #
697
- # By default, IRB color highlighting is enabled, and is used for both:
698
- #
699
- # * Input: As you type, IRB reads the typed characters and highlights elements
700
- # that it recognizes; it also highlights errors such as mismatched
701
- # parentheses.
702
- # * Output: IRB highlights syntactical elements.
703
- #
704
- #
705
- # You can disable color highlighting by:
706
- #
707
- # * Adding to the configuration file: `IRB.conf[:USE_COLORIZE] = false` (the
708
- # default value is `true`).
709
- # * Giving command-line option `--nocolorize`
710
- #
711
- #
712
- # ## Debugging
713
- #
714
- # Command-line option `-d` sets variables `$VERBOSE` and `$DEBUG` to `true`;
715
- # these have no effect on IRB output.
716
- #
717
- # ### Warnings
718
- #
719
- # Command-line option `-w` suppresses warnings.
720
- #
721
- # Command-line option `-W[*level*]` sets warning level;
722
- #
723
- # * 0=silence
724
- # * 1=medium
725
- # * 2=verbose
726
- #
727
- # ## Other Features
728
- #
729
- # ### Load Modules
730
- #
731
- # You can specify the names of modules that are to be required at startup.
732
- #
733
- # Array `conf.load_modules` determines the modules (if any) that are to be
734
- # required during session startup. The array is used only during session
735
- # startup, so the initial value is the only one that counts.
736
- #
737
- # The default initial value is `[]` (load no modules):
738
- #
739
- # irb(main):001> conf.load_modules
740
- # => []
741
- #
742
- # You can set the default initial value via:
743
- #
744
- # * Command-line option `-r`
745
- #
746
- # $ irb -r csv -r json
747
- # irb(main):001> conf.load_modules
748
- # => ["csv", "json"]
749
- #
750
- # * Hash entry `IRB.conf[:LOAD_MODULES] = *array*`:
751
- #
752
- # IRB.conf[:LOAD_MODULES] = %w[csv, json]
753
- #
754
- #
755
- # Note that the configuration file entry overrides the command-line options.
756
- #
757
- # ### RI Documentation Directories
758
- #
759
- # You can specify the paths to RI documentation directories that are to be
760
- # loaded (in addition to the default directories) at startup; see details about
761
- # RI by typing `ri --help`.
762
- #
763
- # Array `conf.extra_doc_dirs` determines the directories (if any) that are to be
764
- # loaded during session startup. The array is used only during session startup,
765
- # so the initial value is the only one that counts.
766
- #
767
- # The default initial value is `[]` (load no extra documentation):
768
- #
769
- # irb(main):001> conf.extra_doc_dirs
770
- # => []
771
- #
772
- # You can set the default initial value via:
773
- #
774
- # * Command-line option `--extra_doc_dir`
775
- #
776
- # $ irb --extra-doc-dir your_doc_dir --extra-doc-dir my_doc_dir
777
- # irb(main):001> conf.extra_doc_dirs
778
- # => ["your_doc_dir", "my_doc_dir"]
779
- #
780
- # * Hash entry `IRB.conf[:EXTRA_DOC_DIRS] = *array*`:
781
- #
782
- # IRB.conf[:EXTRA_DOC_DIRS] = %w[your_doc_dir my_doc_dir]
783
- #
784
- #
785
- # Note that the configuration file entry overrides the command-line options.
786
- #
787
- # ### IRB Name
788
- #
789
- # You can specify a name for IRB.
790
- #
791
- # The default initial value is `'irb'`:
792
- #
793
- # irb(main):001> conf.irb_name
794
- # => "irb"
795
- #
796
- # You can set the default initial value via hash entry `IRB.conf[:IRB_NAME] =
797
- # *string*`:
798
- #
799
- # IRB.conf[:IRB_NAME] = 'foo'
800
- #
801
- # ### Application Name
802
- #
803
- # You can specify an application name for the IRB session.
804
- #
805
- # The default initial value is `'irb'`:
806
- #
807
- # irb(main):001> conf.ap_name
808
- # => "irb"
809
- #
810
- # You can set the default initial value via hash entry `IRB.conf[:AP_NAME] =
811
- # *string*`:
812
- #
813
- # IRB.conf[:AP_NAME] = 'my_ap_name'
814
- #
815
- # ### Configuration Monitor
816
- #
817
- # You can monitor changes to the configuration by assigning a proc to
818
- # `IRB.conf[:IRB_RC]` in the configuration file:
819
- #
820
- # IRB.conf[:IRB_RC] = proc {|conf| puts conf.class }
821
- #
822
- # Each time the configuration is changed, that proc is called with argument
823
- # `conf`:
824
- #
825
- # ### Encodings
826
- #
827
- # Command-line option `-E *ex*[:*in*]` sets initial external (ex) and internal
828
- # (in) encodings.
829
- #
830
- # Command-line option `-U` sets both to UTF-8.
831
- #
832
- # ### Commands
833
- #
834
- # Please use the `help` command to see the list of available commands.
835
- #
836
- # ### IRB Sessions
837
- #
838
- # IRB has a special feature, that allows you to manage many sessions at once.
839
- #
840
- # You can create new sessions with Irb.irb, and get a list of current sessions
841
- # with the `jobs` command in the prompt.
842
- #
843
- # #### Configuration
844
- #
845
- # The command line options, or IRB.conf, specify the default behavior of
846
- # Irb.irb.
847
- #
848
- # On the other hand, each conf in IRB@Command-Line+Options is used to
849
- # individually configure IRB.irb.
850
- #
851
- # If a proc is set for `IRB.conf[:IRB_RC]`, its will be invoked after execution
852
- # of that proc with the context of the current session as its argument. Each
853
- # session can be configured using this mechanism.
854
- #
855
- # #### Session variables
856
- #
857
- # There are a few variables in every Irb session that can come in handy:
858
- #
859
- # `_`
860
- # : The value command executed, as a local variable
861
- # `__`
862
- # : The history of evaluated commands. Available only if
863
- # `IRB.conf[:EVAL_HISTORY]` is not `nil` (which is the default). See also
864
- # IRB::Context#eval_history= and IRB::History.
865
- # `__[line_no]`
866
- # : Returns the evaluation value at the given line number, `line_no`. If
867
- # `line_no` is a negative, the return value `line_no` many lines before the
868
- # most recent return value.
869
- #
870
- #
871
- # ## Restrictions
872
- #
873
- # Ruby code typed into IRB behaves the same as Ruby code in a file, except that:
874
- #
875
- # * Because IRB evaluates input immediately after it is syntactically
876
- # complete, some results may be slightly different.
877
- # * Forking may not be well behaved.
878
- #
879
- module IRB
880
-
881
- # An exception raised by IRB.irb_abort
882
- class Abort < Exception;end # :nodoc:
883
-
884
- class << self
885
- # The current IRB::Context of the session, see IRB.conf
886
- #
887
- # irb
888
- # irb(main):001:0> IRB.CurrentContext.irb_name = "foo"
889
- # foo(main):002:0> IRB.conf[:MAIN_CONTEXT].irb_name #=> "foo"
890
- def CurrentContext # :nodoc:
891
- conf[:MAIN_CONTEXT]
892
- end
893
-
894
- # Initializes IRB and creates a new Irb.irb object at the `TOPLEVEL_BINDING`
895
- def start(ap_path = nil)
896
- STDOUT.sync = true
897
- $0 = File::basename(ap_path, ".rb") if ap_path
898
-
899
- setup(ap_path)
900
-
901
- if @CONF[:SCRIPT]
902
- irb = Irb.new(nil, @CONF[:SCRIPT])
903
- else
904
- irb = Irb.new
905
- end
906
- irb.run(@CONF)
907
- end
908
-
909
- # Quits irb
910
- def irb_exit(*) # :nodoc:
911
- throw :IRB_EXIT, false
912
- end
913
-
914
- # Aborts then interrupts irb.
915
- #
916
- # Will raise an Abort exception, or the given `exception`.
917
- def irb_abort(irb, exception = Abort) # :nodoc:
918
- irb.context.thread.raise exception, "abort then interrupt!"
919
- end
920
- end
921
-
922
- class Irb
923
- # Note: instance and index assignment expressions could also be written like:
924
- # "foo.bar=(1)" and "foo.[]=(1, bar)", when expressed that way, the former be
925
- # parsed as :assign and echo will be suppressed, but the latter is parsed as a
926
- # :method_add_arg and the output won't be suppressed
927
-
928
- PROMPT_MAIN_TRUNCATE_LENGTH = 32
929
- PROMPT_MAIN_TRUNCATE_OMISSION = '...'
930
- CONTROL_CHARACTERS_PATTERN = "\x00-\x1F"
931
-
932
- # Returns the current context of this irb session
933
- attr_reader :context
934
- # The lexer used by this irb session
935
- attr_accessor :scanner
936
-
937
- attr_reader :from_binding
938
-
939
- # Creates a new irb session
940
- def initialize(workspace = nil, input_method = nil, from_binding: false)
941
- @from_binding = from_binding
942
- @context = Context.new(self, workspace, input_method)
943
- @context.workspace.load_helper_methods_to_main
944
- @signal_status = :IN_IRB
945
- @scanner = RubyLex.new
946
- @line_no = 1
947
- end
948
-
949
- # A hook point for `debug` command's breakpoint after :IRB_EXIT as well as its
950
- # clean-up
951
- def debug_break
952
- # it means the debug integration has been activated
953
- if defined?(DEBUGGER__) && DEBUGGER__.respond_to?(:capture_frames_without_irb)
954
- # after leaving this initial breakpoint, revert the capture_frames patch
955
- DEBUGGER__.singleton_class.send(:alias_method, :capture_frames, :capture_frames_without_irb)
956
- # and remove the redundant method
957
- DEBUGGER__.singleton_class.send(:undef_method, :capture_frames_without_irb)
958
- end
959
- end
960
-
961
- def debug_readline(binding)
962
- workspace = IRB::WorkSpace.new(binding)
963
- context.replace_workspace(workspace)
964
- context.workspace.load_helper_methods_to_main
965
- @line_no += 1
966
-
967
- # When users run:
968
- # 1. Debugging commands, like `step 2`
969
- # 2. Any input that's not irb-command, like `foo = 123`
970
- #
971
- #
972
- # Irb#eval_input will simply return the input, and we need to pass it to the
973
- # debugger.
974
- input = nil
975
- forced_exit = catch(:IRB_EXIT) do
976
- if History.save_history? && context.io.support_history_saving?
977
- # Previous IRB session's history has been saved when `Irb#run` is exited We need
978
- # to make sure the saved history is not saved again by resetting the counter
979
- context.io.reset_history_counter
980
-
981
- begin
982
- input = eval_input
983
- ensure
984
- context.io.save_history
985
- end
986
- else
987
- input = eval_input
988
- end
989
- false
990
- end
991
-
992
- Kernel.exit if forced_exit
993
-
994
- if input&.include?("\n")
995
- @line_no += input.count("\n") - 1
996
- end
997
-
998
- input
999
- end
1000
-
1001
- def run(conf = IRB.conf)
1002
- in_nested_session = !!conf[:MAIN_CONTEXT]
1003
- conf[:IRB_RC].call(context) if conf[:IRB_RC]
1004
- prev_context = conf[:MAIN_CONTEXT]
1005
- conf[:MAIN_CONTEXT] = context
1006
-
1007
- load_history = !in_nested_session && context.io.support_history_saving?
1008
- save_history = load_history && History.save_history?
1009
-
1010
- if load_history
1011
- context.io.load_history
1012
- end
1013
-
1014
- prev_trap = trap("SIGINT") do
1015
- signal_handle
1016
- end
1017
-
1018
- begin
1019
- if defined?(RubyVM.keep_script_lines)
1020
- keep_script_lines_backup = RubyVM.keep_script_lines
1021
- RubyVM.keep_script_lines = true
1022
- end
1023
-
1024
- forced_exit = catch(:IRB_EXIT) do
1025
- eval_input
1026
- end
1027
- ensure
1028
- # Do not restore to nil. It will cause IRB crash when used with threads.
1029
- IRB.conf[:MAIN_CONTEXT] = prev_context if prev_context
1030
-
1031
- RubyVM.keep_script_lines = keep_script_lines_backup if defined?(RubyVM.keep_script_lines)
1032
- trap("SIGINT", prev_trap)
1033
- conf[:AT_EXIT].each{|hook| hook.call}
1034
-
1035
- context.io.save_history if save_history
1036
- Kernel.exit if forced_exit
1037
- end
1038
- end
1039
-
1040
- # Evaluates input for this session.
1041
- def eval_input
1042
- configure_io
1043
-
1044
- each_top_level_statement do |statement, line_no|
1045
- signal_status(:IN_EVAL) do
1046
- begin
1047
- # If the integration with debugger is activated, we return certain input if it
1048
- # should be dealt with by debugger
1049
- if @context.with_debugger && statement.should_be_handled_by_debugger?
1050
- return statement.code
1051
- end
1052
-
1053
- @context.evaluate(statement, line_no)
1054
-
1055
- if @context.echo? && !statement.suppresses_echo?
1056
- if statement.is_assignment?
1057
- if @context.echo_on_assignment?
1058
- output_value(@context.echo_on_assignment? == :truncate)
1059
- end
1060
- else
1061
- output_value
1062
- end
1063
- end
1064
- rescue SystemExit, SignalException
1065
- raise
1066
- rescue Interrupt, Exception => exc
1067
- handle_exception(exc)
1068
- @context.workspace.local_variable_set(:_, exc)
1069
- end
1070
- end
1071
- end
1072
- end
1073
-
1074
- def read_input(prompt)
1075
- signal_status(:IN_INPUT) do
1076
- @context.io.prompt = prompt
1077
- if l = @context.io.gets
1078
- print l if @context.verbose?
1079
- else
1080
- if @context.ignore_eof? and @context.io.readable_after_eof?
1081
- l = "\n"
1082
- if @context.verbose?
1083
- printf "Use \"exit\" to leave %s\n", @context.ap_name
1084
- end
1085
- else
1086
- print "\n" if @context.prompting?
1087
- end
1088
- end
1089
- l
1090
- end
1091
- end
1092
-
1093
- def readmultiline
1094
- prompt = generate_prompt([], false, 0)
1095
-
1096
- # multiline
1097
- return read_input(prompt) if @context.io.respond_to?(:check_termination)
1098
-
1099
- # nomultiline
1100
- code = +''
1101
- line_offset = 0
1102
- loop do
1103
- line = read_input(prompt)
1104
- unless line
1105
- return code.empty? ? nil : code
1106
- end
1107
-
1108
- code << line
1109
- return code if command?(code)
1110
-
1111
- tokens, opens, terminated = @scanner.check_code_state(code, local_variables: @context.local_variables)
1112
- return code if terminated
1113
-
1114
- line_offset += 1
1115
- continue = @scanner.should_continue?(tokens)
1116
- prompt = generate_prompt(opens, continue, line_offset)
1117
- end
1118
- end
1119
-
1120
- def each_top_level_statement
1121
- loop do
1122
- code = readmultiline
1123
- break unless code
1124
- yield build_statement(code), @line_no
1125
- @line_no += code.count("\n")
1126
- rescue RubyLex::TerminateLineInput
1127
- end
1128
- end
1129
-
1130
- def build_statement(code)
1131
- if code.match?(/\A\n*\z/)
1132
- return Statement::EmptyInput.new
1133
- end
1134
-
1135
- code = code.dup.force_encoding(@context.io.encoding)
1136
- if (command, arg = @context.parse_command(code))
1137
- command_class = Command.load_command(command)
1138
- Statement::Command.new(code, command_class, arg)
1139
- else
1140
- is_assignment_expression = @scanner.assignment_expression?(code, local_variables: @context.local_variables)
1141
- Statement::Expression.new(code, is_assignment_expression)
1142
- end
1143
- end
1144
-
1145
- def command?(code)
1146
- !!@context.parse_command(code)
1147
- end
1148
-
1149
- def configure_io
1150
- if @context.io.respond_to?(:check_termination)
1151
- @context.io.check_termination do |code|
1152
- if Reline::IOGate.in_pasting?
1153
- rest = @scanner.check_termination_in_prev_line(code, local_variables: @context.local_variables)
1154
- if rest
1155
- Reline.delete_text
1156
- rest.bytes.reverse_each do |c|
1157
- Reline.ungetc(c)
1158
- end
1159
- true
1160
- else
1161
- false
1162
- end
1163
- else
1164
- next true if command?(code)
1165
-
1166
- _tokens, _opens, terminated = @scanner.check_code_state(code, local_variables: @context.local_variables)
1167
- terminated
1168
- end
1169
- end
1170
- end
1171
- if @context.io.respond_to?(:dynamic_prompt)
1172
- @context.io.dynamic_prompt do |lines|
1173
- tokens = RubyLex.ripper_lex_without_warning(lines.map{ |l| l + "\n" }.join, local_variables: @context.local_variables)
1174
- line_results = IRB::NestingParser.parse_by_line(tokens)
1175
- tokens_until_line = []
1176
- line_results.map.with_index do |(line_tokens, _prev_opens, next_opens, _min_depth), line_num_offset|
1177
- line_tokens.each do |token, _s|
1178
- # Avoid appending duplicated token. Tokens that include "n" like multiline
1179
- # tstring_content can exist in multiple lines.
1180
- tokens_until_line << token if token != tokens_until_line.last
1181
- end
1182
- continue = @scanner.should_continue?(tokens_until_line)
1183
- generate_prompt(next_opens, continue, line_num_offset)
1184
- end
1185
- end
1186
- end
1187
-
1188
- if @context.io.respond_to?(:auto_indent) and @context.auto_indent_mode
1189
- @context.io.auto_indent do |lines, line_index, byte_pointer, is_newline|
1190
- next nil if lines == [nil] # Workaround for exit IRB with CTRL+d
1191
- next nil if !is_newline && lines[line_index]&.byteslice(0, byte_pointer)&.match?(/\A\s*\z/)
1192
-
1193
- code = lines[0..line_index].map { |l| "#{l}\n" }.join
1194
- tokens = RubyLex.ripper_lex_without_warning(code, local_variables: @context.local_variables)
1195
- @scanner.process_indent_level(tokens, lines, line_index, is_newline)
1196
- end
1197
- end
1198
- end
1199
-
1200
- def convert_invalid_byte_sequence(str, enc)
1201
- str.force_encoding(enc)
1202
- str.scrub { |c|
1203
- c.bytes.map{ |b| "\\x#{b.to_s(16).upcase}" }.join
1204
- }
1205
- end
1206
-
1207
- def encode_with_invalid_byte_sequence(str, enc)
1208
- conv = Encoding::Converter.new(str.encoding, enc)
1209
- dst = String.new
1210
- begin
1211
- ret = conv.primitive_convert(str, dst)
1212
- case ret
1213
- when :invalid_byte_sequence
1214
- conv.insert_output(conv.primitive_errinfo[3].dump[1..-2])
1215
- redo
1216
- when :undefined_conversion
1217
- c = conv.primitive_errinfo[3].dup.force_encoding(conv.primitive_errinfo[1])
1218
- conv.insert_output(c.dump[1..-2])
1219
- redo
1220
- when :incomplete_input
1221
- conv.insert_output(conv.primitive_errinfo[3].dump[1..-2])
1222
- when :finished
1223
- end
1224
- break
1225
- end while nil
1226
- dst
1227
- end
1228
-
1229
- def handle_exception(exc)
1230
- if exc.backtrace[0] =~ /\/irb(2)?(\/.*|-.*|\.rb)?:/ && exc.class.to_s !~ /^IRB/ &&
1231
- !(SyntaxError === exc) && !(EncodingError === exc)
1232
- # The backtrace of invalid encoding hash (ex. {"\xAE": 1}) raises EncodingError without lineno.
1233
- irb_bug = true
1234
- else
1235
- irb_bug = false
1236
- # To support backtrace filtering while utilizing Exception#full_message, we need to clone
1237
- # the exception to avoid modifying the original exception's backtrace.
1238
- exc = exc.clone
1239
- filtered_backtrace = exc.backtrace.map { |l| @context.workspace.filter_backtrace(l) }.compact
1240
- backtrace_filter = IRB.conf[:BACKTRACE_FILTER]
1241
-
1242
- if backtrace_filter
1243
- if backtrace_filter.respond_to?(:call)
1244
- filtered_backtrace = backtrace_filter.call(filtered_backtrace)
1245
- else
1246
- warn "IRB.conf[:BACKTRACE_FILTER] #{backtrace_filter} should respond to `call` method"
1247
- end
1248
- end
1249
-
1250
- exc.set_backtrace(filtered_backtrace)
1251
- end
1252
-
1253
- highlight = Color.colorable?
1254
-
1255
- order =
1256
- if RUBY_VERSION < '3.0.0'
1257
- STDOUT.tty? ? :bottom : :top
1258
- else # '3.0.0' <= RUBY_VERSION
1259
- :top
1260
- end
1261
-
1262
- message = exc.full_message(order: order, highlight: highlight)
1263
- message = convert_invalid_byte_sequence(message, exc.message.encoding)
1264
- message = encode_with_invalid_byte_sequence(message, IRB.conf[:LC_MESSAGES].encoding) unless message.encoding.to_s.casecmp?(IRB.conf[:LC_MESSAGES].encoding.to_s)
1265
- message = message.gsub(/((?:^\t.+$\n)+)/) { |m|
1266
- case order
1267
- when :top
1268
- lines = m.split("\n")
1269
- when :bottom
1270
- lines = m.split("\n").reverse
1271
- end
1272
- unless irb_bug
1273
- if lines.size > @context.back_trace_limit
1274
- omit = lines.size - @context.back_trace_limit
1275
- lines = lines[0..(@context.back_trace_limit - 1)]
1276
- lines << "\t... %d levels..." % omit
1277
- end
1278
- end
1279
- lines = lines.reverse if order == :bottom
1280
- lines.map{ |l| l + "\n" }.join
1281
- }
1282
- # The "<top (required)>" in "(irb)" may be the top level of IRB so imitate the main object.
1283
- message = message.gsub(/\(irb\):(?<num>\d+):in (?<open_quote>[`'])<(?<frame>top \(required\))>'/) { "(irb):#{$~[:num]}:in #{$~[:open_quote]}<main>'" }
1284
- puts message
1285
- puts 'Maybe IRB bug!' if irb_bug
1286
- rescue Exception => handler_exc
1287
- begin
1288
- puts exc.inspect
1289
- puts "backtraces are hidden because #{handler_exc} was raised when processing them"
1290
- rescue Exception
1291
- puts 'Uninspectable exception occurred'
1292
- end
1293
- end
1294
-
1295
- # Evaluates the given block using the given `path` as the Context#irb_path and
1296
- # `name` as the Context#irb_name.
1297
- #
1298
- # Used by the irb command `source`, see IRB@IRB+Sessions for more information.
1299
- def suspend_name(path = nil, name = nil)
1300
- @context.irb_path, back_path = path, @context.irb_path if path
1301
- @context.irb_name, back_name = name, @context.irb_name if name
1302
- begin
1303
- yield back_path, back_name
1304
- ensure
1305
- @context.irb_path = back_path if path
1306
- @context.irb_name = back_name if name
1307
- end
1308
- end
1309
-
1310
- # Evaluates the given block using the given `workspace` as the
1311
- # Context#workspace.
1312
- #
1313
- # Used by the irb command `irb_load`, see IRB@IRB+Sessions for more information.
1314
- def suspend_workspace(workspace)
1315
- current_workspace = @context.workspace
1316
- @context.replace_workspace(workspace)
1317
- yield
1318
- ensure
1319
- @context.replace_workspace current_workspace
1320
- end
1321
-
1322
- # Evaluates the given block using the given `input_method` as the Context#io.
1323
- #
1324
- # Used by the irb commands `source` and `irb_load`, see IRB@IRB+Sessions for
1325
- # more information.
1326
- def suspend_input_method(input_method)
1327
- back_io = @context.io
1328
- @context.instance_eval{@io = input_method}
1329
- begin
1330
- yield back_io
1331
- ensure
1332
- @context.instance_eval{@io = back_io}
1333
- end
1334
- end
1335
-
1336
- # Handler for the signal SIGINT, see Kernel#trap for more information.
1337
- def signal_handle
1338
- unless @context.ignore_sigint?
1339
- print "\nabort!\n" if @context.verbose?
1340
- exit
1341
- end
1342
-
1343
- case @signal_status
1344
- when :IN_INPUT
1345
- print "^C\n"
1346
- raise RubyLex::TerminateLineInput
1347
- when :IN_EVAL
1348
- IRB.irb_abort(self)
1349
- when :IN_LOAD
1350
- IRB.irb_abort(self, LoadAbort)
1351
- when :IN_IRB
1352
- # ignore
1353
- else
1354
- # ignore other cases as well
1355
- end
1356
- end
1357
-
1358
- # Evaluates the given block using the given `status`.
1359
- def signal_status(status)
1360
- return yield if @signal_status == :IN_LOAD
1361
-
1362
- signal_status_back = @signal_status
1363
- @signal_status = status
1364
- begin
1365
- yield
1366
- ensure
1367
- @signal_status = signal_status_back
1368
- end
1369
- end
1370
-
1371
- def output_value(omit = false) # :nodoc:
1372
- str = @context.inspect_last_value
1373
- multiline_p = str.include?("\n")
1374
- if omit
1375
- winwidth = @context.io.winsize.last
1376
- if multiline_p
1377
- first_line = str.split("\n").first
1378
- result = @context.newline_before_multiline_output? ? (@context.return_format % first_line) : first_line
1379
- output_width = Reline::Unicode.calculate_width(result, true)
1380
- diff_size = output_width - Reline::Unicode.calculate_width(first_line, true)
1381
- if diff_size.positive? and output_width > winwidth
1382
- lines, _ = Reline::Unicode.split_by_width(first_line, winwidth - diff_size - 3)
1383
- str = "%s..." % lines.first
1384
- str += "\e[0m" if Color.colorable?
1385
- multiline_p = false
1386
- else
1387
- str = str.gsub(/(\A.*?\n).*/m, "\\1...")
1388
- str += "\e[0m" if Color.colorable?
1389
- end
1390
- else
1391
- output_width = Reline::Unicode.calculate_width(@context.return_format % str, true)
1392
- diff_size = output_width - Reline::Unicode.calculate_width(str, true)
1393
- if diff_size.positive? and output_width > winwidth
1394
- lines, _ = Reline::Unicode.split_by_width(str, winwidth - diff_size - 3)
1395
- str = "%s..." % lines.first
1396
- str += "\e[0m" if Color.colorable?
1397
- end
1398
- end
1399
- end
1400
-
1401
- if multiline_p && @context.newline_before_multiline_output?
1402
- str = "\n" + str
1403
- end
1404
-
1405
- Pager.page_content(format(@context.return_format, str), retain_content: true)
1406
- end
1407
-
1408
- # Outputs the local variables to this current session, including #signal_status
1409
- # and #context, using IRB::Locale.
1410
- def inspect
1411
- ary = []
1412
- for iv in instance_variables
1413
- case (iv = iv.to_s)
1414
- when "@signal_status"
1415
- ary.push format("%s=:%s", iv, @signal_status.id2name)
1416
- when "@context"
1417
- ary.push format("%s=%s", iv, eval(iv).__to_s__)
1418
- else
1419
- ary.push format("%s=%s", iv, eval(iv))
1420
- end
1421
- end
1422
- format("#<%s: %s>", self.class, ary.join(", "))
1423
- end
1424
-
1425
- private
1426
-
1427
- def generate_prompt(opens, continue, line_offset)
1428
- ltype = @scanner.ltype_from_open_tokens(opens)
1429
- indent = @scanner.calc_indent_level(opens)
1430
- continue = opens.any? || continue
1431
- line_no = @line_no + line_offset
1432
-
1433
- if ltype
1434
- f = @context.prompt_s
1435
- elsif continue
1436
- f = @context.prompt_c
1437
- else
1438
- f = @context.prompt_i
1439
- end
1440
- f = "" unless f
1441
- if @context.prompting?
1442
- p = format_prompt(f, ltype, indent, line_no)
1443
- else
1444
- p = ""
1445
- end
1446
- if @context.auto_indent_mode and !@context.io.respond_to?(:auto_indent)
1447
- unless ltype
1448
- prompt_i = @context.prompt_i.nil? ? "" : @context.prompt_i
1449
- ind = format_prompt(prompt_i, ltype, indent, line_no)[/.*\z/].size +
1450
- indent * 2 - p.size
1451
- p += " " * ind if ind > 0
1452
- end
1453
- end
1454
- p
1455
- end
1456
-
1457
- def truncate_prompt_main(str) # :nodoc:
1458
- str = str.tr(CONTROL_CHARACTERS_PATTERN, ' ')
1459
- if str.size <= PROMPT_MAIN_TRUNCATE_LENGTH
1460
- str
1461
- else
1462
- str[0, PROMPT_MAIN_TRUNCATE_LENGTH - PROMPT_MAIN_TRUNCATE_OMISSION.size] + PROMPT_MAIN_TRUNCATE_OMISSION
1463
- end
1464
- end
1465
-
1466
- def format_prompt(format, ltype, indent, line_no) # :nodoc:
1467
- format.gsub(/%([0-9]+)?([a-zA-Z%])/) do
1468
- case $2
1469
- when "N"
1470
- @context.irb_name
1471
- when "m"
1472
- main_str = @context.safe_method_call_on_main(:to_s) rescue "!#{$!.class}"
1473
- truncate_prompt_main(main_str)
1474
- when "M"
1475
- main_str = @context.safe_method_call_on_main(:inspect) rescue "!#{$!.class}"
1476
- truncate_prompt_main(main_str)
1477
- when "l"
1478
- ltype
1479
- when "i"
1480
- if indent < 0
1481
- if $1
1482
- "-".rjust($1.to_i)
1483
- else
1484
- "-"
1485
- end
1486
- else
1487
- if $1
1488
- format("%" + $1 + "d", indent)
1489
- else
1490
- indent.to_s
1491
- end
1492
- end
1493
- when "n"
1494
- if $1
1495
- format("%" + $1 + "d", line_no)
1496
- else
1497
- line_no.to_s
1498
- end
1499
- when "%"
1500
- "%" unless $1
1501
- end
1502
- end
1503
- end
1504
- end
1505
- end
1506
-
1507
- class Binding
1508
- # Opens an IRB session where `binding.irb` is called which allows for
1509
- # interactive debugging. You can call any methods or variables available in the
1510
- # current scope, and mutate state if you need to.
1511
- #
1512
- # Given a Ruby file called `potato.rb` containing the following code:
1513
- #
1514
- # class Potato
1515
- # def initialize
1516
- # @cooked = false
1517
- # binding.irb
1518
- # puts "Cooked potato: #{@cooked}"
1519
- # end
1520
- # end
1521
- #
1522
- # Potato.new
1523
- #
1524
- # Running `ruby potato.rb` will open an IRB session where `binding.irb` is
1525
- # called, and you will see the following:
1526
- #
1527
- # $ ruby potato.rb
1528
- #
1529
- # From: potato.rb @ line 4 :
1530
- #
1531
- # 1: class Potato
1532
- # 2: def initialize
1533
- # 3: @cooked = false
1534
- # => 4: binding.irb
1535
- # 5: puts "Cooked potato: #{@cooked}"
1536
- # 6: end
1537
- # 7: end
1538
- # 8:
1539
- # 9: Potato.new
1540
- #
1541
- # irb(#<Potato:0x00007feea1916670>):001:0>
1542
- #
1543
- # You can type any valid Ruby code and it will be evaluated in the current
1544
- # context. This allows you to debug without having to run your code repeatedly:
1545
- #
1546
- # irb(#<Potato:0x00007feea1916670>):001:0> @cooked
1547
- # => false
1548
- # irb(#<Potato:0x00007feea1916670>):002:0> self.class
1549
- # => Potato
1550
- # irb(#<Potato:0x00007feea1916670>):003:0> caller.first
1551
- # => ".../2.5.1/lib/ruby/2.5.0/irb/workspace.rb:85:in `eval'"
1552
- # irb(#<Potato:0x00007feea1916670>):004:0> @cooked = true
1553
- # => true
1554
- #
1555
- # You can exit the IRB session with the `exit` command. Note that exiting will
1556
- # resume execution where `binding.irb` had paused it, as you can see from the
1557
- # output printed to standard output in this example:
1558
- #
1559
- # irb(#<Potato:0x00007feea1916670>):005:0> exit
1560
- # Cooked potato: true
1561
- #
1562
- # See IRB for more information.
1563
- def irb(show_code: true)
1564
- # Setup IRB with the current file's path and no command line arguments
1565
- IRB.setup(source_location[0], argv: []) unless IRB.initialized?
1566
- # Create a new workspace using the current binding
1567
- workspace = IRB::WorkSpace.new(self)
1568
- # Print the code around the binding if show_code is true
1569
- STDOUT.print(workspace.code_around_binding) if show_code
1570
- # Get the original IRB instance
1571
- debugger_irb = IRB.instance_variable_get(:@debugger_irb)
1572
-
1573
- irb_path = File.expand_path(source_location[0])
1574
-
1575
- if debugger_irb
1576
- # If we're already in a debugger session, set the workspace and irb_path for the original IRB instance
1577
- debugger_irb.context.replace_workspace(workspace)
1578
- debugger_irb.context.irb_path = irb_path
1579
- # If we've started a debugger session and hit another binding.irb, we don't want
1580
- # to start an IRB session instead, we want to resume the irb:rdbg session.
1581
- IRB::Debug.setup(debugger_irb)
1582
- IRB::Debug.insert_debug_break
1583
- debugger_irb.debug_break
1584
- else
1585
- # If we're not in a debugger session, create a new IRB instance with the current
1586
- # workspace
1587
- binding_irb = IRB::Irb.new(workspace, from_binding: true)
1588
- binding_irb.context.irb_path = irb_path
1589
- binding_irb.run(IRB.conf)
1590
- binding_irb.debug_break
1591
- end
1592
- end
1593
- end