@ai-ecoverse/wasix-ruby 3.4.11-3 → 3.4.11-4
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.
- package/PRESTAGE.md +22 -38
- package/bin/bundle +1 -1
- package/bin/bundler +1 -1
- package/bin/erb +1 -1
- package/bin/gem +1 -1
- package/bin/irb +1 -1
- package/bin/rake +1 -1
- package/bin/ruby.wasm +0 -0
- package/lib/ruby/3.4.0/expect.rb +71 -0
- package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +1 -1
- package/package.json +8 -6
- package/lib/ruby/3.4.11/English.gemspec +0 -22
- package/lib/ruby/3.4.11/English.rb +0 -164
- package/lib/ruby/3.4.11/benchmark.gemspec +0 -32
- package/lib/ruby/3.4.11/benchmark.rb +0 -594
- package/lib/ruby/3.4.11/bundled_gems.rb +0 -248
- package/lib/ruby/3.4.11/bundler/.document +0 -1
- package/lib/ruby/3.4.11/bundler/build_metadata.rb +0 -43
- package/lib/ruby/3.4.11/bundler/bundler.gemspec +0 -45
- package/lib/ruby/3.4.11/bundler/capistrano.rb +0 -22
- package/lib/ruby/3.4.11/bundler/checksum.rb +0 -264
- package/lib/ruby/3.4.11/bundler/ci_detector.rb +0 -75
- package/lib/ruby/3.4.11/bundler/cli/add.rb +0 -49
- package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +0 -57
- package/lib/ruby/3.4.11/bundler/cli/cache.rb +0 -43
- package/lib/ruby/3.4.11/bundler/cli/check.rb +0 -40
- package/lib/ruby/3.4.11/bundler/cli/clean.rb +0 -25
- package/lib/ruby/3.4.11/bundler/cli/common.rb +0 -138
- package/lib/ruby/3.4.11/bundler/cli/config.rb +0 -204
- package/lib/ruby/3.4.11/bundler/cli/console.rb +0 -42
- package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +0 -167
- package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +0 -249
- package/lib/ruby/3.4.11/bundler/cli/doctor.rb +0 -33
- package/lib/ruby/3.4.11/bundler/cli/exec.rb +0 -89
- package/lib/ruby/3.4.11/bundler/cli/fund.rb +0 -36
- package/lib/ruby/3.4.11/bundler/cli/gem.rb +0 -467
- package/lib/ruby/3.4.11/bundler/cli/info.rb +0 -83
- package/lib/ruby/3.4.11/bundler/cli/init.rb +0 -51
- package/lib/ruby/3.4.11/bundler/cli/inject.rb +0 -60
- package/lib/ruby/3.4.11/bundler/cli/install.rb +0 -199
- package/lib/ruby/3.4.11/bundler/cli/issue.rb +0 -41
- package/lib/ruby/3.4.11/bundler/cli/list.rb +0 -66
- package/lib/ruby/3.4.11/bundler/cli/lock.rb +0 -94
- package/lib/ruby/3.4.11/bundler/cli/open.rb +0 -29
- package/lib/ruby/3.4.11/bundler/cli/outdated.rb +0 -297
- package/lib/ruby/3.4.11/bundler/cli/platform.rb +0 -48
- package/lib/ruby/3.4.11/bundler/cli/plugin.rb +0 -35
- package/lib/ruby/3.4.11/bundler/cli/pristine.rb +0 -60
- package/lib/ruby/3.4.11/bundler/cli/remove.rb +0 -17
- package/lib/ruby/3.4.11/bundler/cli/show.rb +0 -75
- package/lib/ruby/3.4.11/bundler/cli/update.rb +0 -123
- package/lib/ruby/3.4.11/bundler/cli/viz.rb +0 -31
- package/lib/ruby/3.4.11/bundler/cli.rb +0 -790
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +0 -96
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +0 -148
- package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +0 -84
- package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +0 -105
- package/lib/ruby/3.4.11/bundler/compact_index_client.rb +0 -97
- package/lib/ruby/3.4.11/bundler/constants.rb +0 -14
- package/lib/ruby/3.4.11/bundler/current_ruby.rb +0 -82
- package/lib/ruby/3.4.11/bundler/definition.rb +0 -1187
- package/lib/ruby/3.4.11/bundler/dependency.rb +0 -151
- package/lib/ruby/3.4.11/bundler/deployment.rb +0 -69
- package/lib/ruby/3.4.11/bundler/deprecate.rb +0 -44
- package/lib/ruby/3.4.11/bundler/digest.rb +0 -71
- package/lib/ruby/3.4.11/bundler/dsl.rb +0 -638
- package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +0 -174
- package/lib/ruby/3.4.11/bundler/env.rb +0 -148
- package/lib/ruby/3.4.11/bundler/environment_preserver.rb +0 -68
- package/lib/ruby/3.4.11/bundler/errors.rb +0 -281
- package/lib/ruby/3.4.11/bundler/feature_flag.rb +0 -50
- package/lib/ruby/3.4.11/bundler/fetcher/base.rb +0 -52
- package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +0 -120
- package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +0 -78
- package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +0 -91
- package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +0 -16
- package/lib/ruby/3.4.11/bundler/fetcher/index.rb +0 -25
- package/lib/ruby/3.4.11/bundler/fetcher.rb +0 -331
- package/lib/ruby/3.4.11/bundler/force_platform.rb +0 -16
- package/lib/ruby/3.4.11/bundler/friendly_errors.rb +0 -126
- package/lib/ruby/3.4.11/bundler/gem_helper.rb +0 -237
- package/lib/ruby/3.4.11/bundler/gem_helpers.rb +0 -144
- package/lib/ruby/3.4.11/bundler/gem_tasks.rb +0 -7
- package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +0 -147
- package/lib/ruby/3.4.11/bundler/graph.rb +0 -152
- package/lib/ruby/3.4.11/bundler/index.rb +0 -205
- package/lib/ruby/3.4.11/bundler/injector.rb +0 -285
- package/lib/ruby/3.4.11/bundler/inline.rb +0 -98
- package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +0 -85
- package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +0 -203
- package/lib/ruby/3.4.11/bundler/installer/standalone.rb +0 -113
- package/lib/ruby/3.4.11/bundler/installer.rb +0 -243
- package/lib/ruby/3.4.11/bundler/lazy_specification.rb +0 -243
- package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +0 -104
- package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +0 -300
- package/lib/ruby/3.4.11/bundler/man/.document +0 -1
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +0 -76
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +0 -87
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +0 -33
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +0 -44
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +0 -68
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +0 -108
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +0 -24
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +0 -31
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +0 -17
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +0 -18
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +0 -317
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +0 -408
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +0 -33
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +0 -39
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +0 -30
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +0 -33
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +0 -9
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +0 -10
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +0 -107
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +0 -154
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +0 -22
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +0 -25
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +0 -87
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +0 -149
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +0 -9
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +0 -12
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +0 -17
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +0 -21
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +0 -20
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +0 -32
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +0 -31
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +0 -32
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +0 -218
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +0 -387
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +0 -45
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +0 -37
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +0 -9
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +0 -10
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +0 -35
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +0 -36
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +0 -75
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +0 -115
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +0 -32
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +0 -28
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +0 -103
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +0 -110
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +0 -49
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +0 -49
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +0 -58
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +0 -63
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +0 -23
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +0 -34
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +0 -21
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +0 -23
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +0 -19
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +0 -25
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +0 -281
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +0 -359
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +0 -22
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +0 -24
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +0 -30
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +0 -36
- package/lib/ruby/3.4.11/bundler/man/bundle.1 +0 -102
- package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +0 -116
- package/lib/ruby/3.4.11/bundler/man/gemfile.5 +0 -472
- package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +0 -558
- package/lib/ruby/3.4.11/bundler/man/index.txt +0 -33
- package/lib/ruby/3.4.11/bundler/match_metadata.rb +0 -30
- package/lib/ruby/3.4.11/bundler/match_platform.rb +0 -23
- package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +0 -29
- package/lib/ruby/3.4.11/bundler/materialization.rb +0 -59
- package/lib/ruby/3.4.11/bundler/mirror.rb +0 -221
- package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +0 -322
- package/lib/ruby/3.4.11/bundler/plugin/api.rb +0 -81
- package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +0 -53
- package/lib/ruby/3.4.11/bundler/plugin/events.rb +0 -85
- package/lib/ruby/3.4.11/bundler/plugin/index.rb +0 -197
- package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +0 -34
- package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +0 -26
- package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +0 -19
- package/lib/ruby/3.4.11/bundler/plugin/installer.rb +0 -132
- package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +0 -31
- package/lib/ruby/3.4.11/bundler/plugin.rb +0 -378
- package/lib/ruby/3.4.11/bundler/process_lock.rb +0 -20
- package/lib/ruby/3.4.11/bundler/remote_specification.rb +0 -126
- package/lib/ruby/3.4.11/bundler/resolver/base.rb +0 -118
- package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +0 -85
- package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +0 -15
- package/lib/ruby/3.4.11/bundler/resolver/package.rb +0 -94
- package/lib/ruby/3.4.11/bundler/resolver/root.rb +0 -25
- package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +0 -74
- package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +0 -40
- package/lib/ruby/3.4.11/bundler/resolver.rb +0 -526
- package/lib/ruby/3.4.11/bundler/retry.rb +0 -66
- package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +0 -62
- package/lib/ruby/3.4.11/bundler/ruby_version.rb +0 -137
- package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +0 -485
- package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +0 -172
- package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +0 -455
- package/lib/ruby/3.4.11/bundler/runtime.rb +0 -320
- package/lib/ruby/3.4.11/bundler/safe_marshal.rb +0 -31
- package/lib/ruby/3.4.11/bundler/self_manager.rb +0 -206
- package/lib/ruby/3.4.11/bundler/settings/validator.rb +0 -102
- package/lib/ruby/3.4.11/bundler/settings.rb +0 -599
- package/lib/ruby/3.4.11/bundler/setup.rb +0 -39
- package/lib/ruby/3.4.11/bundler/shared_helpers.rb +0 -398
- package/lib/ruby/3.4.11/bundler/similarity_detector.rb +0 -63
- package/lib/ruby/3.4.11/bundler/source/gemspec.rb +0 -15
- package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +0 -472
- package/lib/ruby/3.4.11/bundler/source/git.rb +0 -452
- package/lib/ruby/3.4.11/bundler/source/metadata.rb +0 -63
- package/lib/ruby/3.4.11/bundler/source/path/installer.rb +0 -53
- package/lib/ruby/3.4.11/bundler/source/path.rb +0 -250
- package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +0 -76
- package/lib/ruby/3.4.11/bundler/source/rubygems.rb +0 -522
- package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +0 -68
- package/lib/ruby/3.4.11/bundler/source.rb +0 -118
- package/lib/ruby/3.4.11/bundler/source_list.rb +0 -273
- package/lib/ruby/3.4.11/bundler/source_map.rb +0 -71
- package/lib/ruby/3.4.11/bundler/spec_set.rb +0 -395
- package/lib/ruby/3.4.11/bundler/stub_specification.rb +0 -146
- package/lib/ruby/3.4.11/bundler/templates/.document +0 -1
- package/lib/ruby/3.4.11/bundler/templates/Executable +0 -27
- package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +0 -109
- package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +0 -14
- package/lib/ruby/3.4.11/bundler/templates/Gemfile +0 -5
- package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +0 -5
- package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +0 -132
- package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +0 -7
- package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +0 -24
- package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +0 -21
- package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +0 -49
- package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +0 -67
- package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +0 -11
- package/lib/ruby/3.4.11/bundler/templates/newgem/bin/setup.tt +0 -8
- package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +0 -25
- package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +0 -3
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +0 -10
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +0 -6
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +0 -9
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +0 -6
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +0 -12
- package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +0 -37
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +0 -23
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +0 -18
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +0 -9
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +0 -52
- package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +0 -3
- package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +0 -8
- package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +0 -8
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -11
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +0 -3
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +0 -6
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +0 -13
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +0 -6
- package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +0 -19
- package/lib/ruby/3.4.11/bundler/ui/shell.rb +0 -187
- package/lib/ruby/3.4.11/bundler/ui/silent.rb +0 -96
- package/lib/ruby/3.4.11/bundler/ui.rb +0 -9
- package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +0 -43
- package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendor/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +0 -224
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +0 -3
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +0 -56
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +0 -186
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +0 -2696
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +0 -41
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +0 -65
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +0 -79
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +0 -1111
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +0 -20
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +0 -169
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +0 -182
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +0 -150
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +0 -43
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +0 -121
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +0 -45
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +0 -19
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +0 -61
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +0 -42
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +0 -105
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +0 -3
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +0 -129
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +0 -423
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +0 -236
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +0 -178
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +0 -31
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +0 -102
- package/lib/ruby/3.4.11/bundler/vendor/thor/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +0 -105
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +0 -61
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +0 -108
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +0 -143
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +0 -371
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +0 -130
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +0 -340
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +0 -825
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +0 -151
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -107
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +0 -106
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +0 -292
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +0 -178
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +0 -37
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +0 -88
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +0 -17
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +0 -29
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +0 -86
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +0 -195
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +0 -178
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +0 -294
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +0 -72
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +0 -335
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +0 -388
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +0 -112
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +0 -29
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +0 -81
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +0 -118
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +0 -42
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +0 -38
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +0 -81
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +0 -285
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +0 -3
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +0 -674
- package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +0 -455
- package/lib/ruby/3.4.11/bundler/vendor/uri/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +0 -880
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +0 -100
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +0 -267
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +0 -1592
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +0 -125
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +0 -261
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +0 -22
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +0 -293
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +0 -546
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +0 -206
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +0 -6
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +0 -83
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +0 -104
- package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +0 -11
- package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +0 -12
- package/lib/ruby/3.4.11/bundler/vendored_thor.rb +0 -8
- package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +0 -12
- package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendored_uri.rb +0 -21
- package/lib/ruby/3.4.11/bundler/version.rb +0 -13
- package/lib/ruby/3.4.11/bundler/vlad.rb +0 -17
- package/lib/ruby/3.4.11/bundler/worker.rb +0 -117
- package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +0 -98
- package/lib/ruby/3.4.11/bundler.rb +0 -701
- package/lib/ruby/3.4.11/cgi/cgi.gemspec +0 -43
- package/lib/ruby/3.4.11/cgi/cookie.rb +0 -210
- package/lib/ruby/3.4.11/cgi/core.rb +0 -900
- package/lib/ruby/3.4.11/cgi/html.rb +0 -1035
- package/lib/ruby/3.4.11/cgi/session/pstore.rb +0 -91
- package/lib/ruby/3.4.11/cgi/session.rb +0 -562
- package/lib/ruby/3.4.11/cgi/util.rb +0 -258
- package/lib/ruby/3.4.11/cgi.rb +0 -297
- package/lib/ruby/3.4.11/delegate.gemspec +0 -29
- package/lib/ruby/3.4.11/delegate.rb +0 -444
- package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +0 -57
- package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +0 -25
- package/lib/ruby/3.4.11/did_you_mean/experimental.rb +0 -2
- package/lib/ruby/3.4.11/did_you_mean/formatter.rb +0 -44
- package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +0 -4
- package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +0 -10
- package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +0 -84
- package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +0 -57
- package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +0 -46
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +0 -28
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +0 -79
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +0 -49
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +0 -85
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +0 -20
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +0 -6
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +0 -28
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +0 -39
- package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +0 -109
- package/lib/ruby/3.4.11/did_you_mean/verbose.rb +0 -2
- package/lib/ruby/3.4.11/did_you_mean/version.rb +0 -3
- package/lib/ruby/3.4.11/did_you_mean.rb +0 -131
- package/lib/ruby/3.4.11/erb/compiler.rb +0 -472
- package/lib/ruby/3.4.11/erb/def_method.rb +0 -47
- package/lib/ruby/3.4.11/erb/util.rb +0 -63
- package/lib/ruby/3.4.11/erb/version.rb +0 -5
- package/lib/ruby/3.4.11/erb.gemspec +0 -38
- package/lib/ruby/3.4.11/erb.rb +0 -509
- package/lib/ruby/3.4.11/error_highlight/base.rb +0 -830
- package/lib/ruby/3.4.11/error_highlight/core_ext.rb +0 -47
- package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +0 -27
- package/lib/ruby/3.4.11/error_highlight/formatter.rb +0 -74
- package/lib/ruby/3.4.11/error_highlight/version.rb +0 -3
- package/lib/ruby/3.4.11/error_highlight.rb +0 -2
- package/lib/ruby/3.4.11/fileutils.gemspec +0 -31
- package/lib/ruby/3.4.11/fileutils.rb +0 -2696
- package/lib/ruby/3.4.11/find.gemspec +0 -29
- package/lib/ruby/3.4.11/find.rb +0 -90
- package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +0 -26
- package/lib/ruby/3.4.11/forwardable/impl.rb +0 -17
- package/lib/ruby/3.4.11/forwardable.rb +0 -321
- package/lib/ruby/3.4.11/ipaddr.gemspec +0 -36
- package/lib/ruby/3.4.11/ipaddr.rb +0 -841
- package/lib/ruby/3.4.11/irb/cmd/nop.rb +0 -4
- package/lib/ruby/3.4.11/irb/color.rb +0 -262
- package/lib/ruby/3.4.11/irb/color_printer.rb +0 -55
- package/lib/ruby/3.4.11/irb/command/backtrace.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/base.rb +0 -60
- package/lib/ruby/3.4.11/irb/command/break.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/catch.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/cd.rb +0 -51
- package/lib/ruby/3.4.11/irb/command/chws.rb +0 -40
- package/lib/ruby/3.4.11/irb/command/context.rb +0 -16
- package/lib/ruby/3.4.11/irb/command/continue.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/debug.rb +0 -73
- package/lib/ruby/3.4.11/irb/command/delete.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/disable_irb.rb +0 -19
- package/lib/ruby/3.4.11/irb/command/edit.rb +0 -63
- package/lib/ruby/3.4.11/irb/command/exit.rb +0 -18
- package/lib/ruby/3.4.11/irb/command/finish.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/force_exit.rb +0 -18
- package/lib/ruby/3.4.11/irb/command/help.rb +0 -83
- package/lib/ruby/3.4.11/irb/command/history.rb +0 -45
- package/lib/ruby/3.4.11/irb/command/info.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +0 -27
- package/lib/ruby/3.4.11/irb/command/irb_info.rb +0 -33
- package/lib/ruby/3.4.11/irb/command/load.rb +0 -91
- package/lib/ruby/3.4.11/irb/command/ls.rb +0 -167
- package/lib/ruby/3.4.11/irb/command/measure.rb +0 -49
- package/lib/ruby/3.4.11/irb/command/next.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/pushws.rb +0 -65
- package/lib/ruby/3.4.11/irb/command/show_doc.rb +0 -51
- package/lib/ruby/3.4.11/irb/command/show_source.rb +0 -74
- package/lib/ruby/3.4.11/irb/command/step.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/subirb.rb +0 -123
- package/lib/ruby/3.4.11/irb/command/whereami.rb +0 -23
- package/lib/ruby/3.4.11/irb/command.rb +0 -23
- package/lib/ruby/3.4.11/irb/completion.rb +0 -504
- package/lib/ruby/3.4.11/irb/context.rb +0 -716
- package/lib/ruby/3.4.11/irb/debug/ui.rb +0 -101
- package/lib/ruby/3.4.11/irb/debug.rb +0 -127
- package/lib/ruby/3.4.11/irb/default_commands.rb +0 -276
- package/lib/ruby/3.4.11/irb/easter-egg.rb +0 -152
- package/lib/ruby/3.4.11/irb/ext/change-ws.rb +0 -37
- package/lib/ruby/3.4.11/irb/ext/eval_history.rb +0 -149
- package/lib/ruby/3.4.11/irb/ext/loader.rb +0 -127
- package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +0 -258
- package/lib/ruby/3.4.11/irb/ext/tracer.rb +0 -39
- package/lib/ruby/3.4.11/irb/ext/use-loader.rb +0 -67
- package/lib/ruby/3.4.11/irb/ext/workspaces.rb +0 -36
- package/lib/ruby/3.4.11/irb/frame.rb +0 -80
- package/lib/ruby/3.4.11/irb/help.rb +0 -28
- package/lib/ruby/3.4.11/irb/helper_method/base.rb +0 -16
- package/lib/ruby/3.4.11/irb/helper_method/conf.rb +0 -11
- package/lib/ruby/3.4.11/irb/helper_method.rb +0 -29
- package/lib/ruby/3.4.11/irb/history.rb +0 -112
- package/lib/ruby/3.4.11/irb/init.rb +0 -538
- package/lib/ruby/3.4.11/irb/input-method.rb +0 -515
- package/lib/ruby/3.4.11/irb/inspector.rb +0 -131
- package/lib/ruby/3.4.11/irb/irb.gemspec +0 -46
- package/lib/ruby/3.4.11/irb/lc/error.rb +0 -52
- package/lib/ruby/3.4.11/irb/lc/help-message +0 -55
- package/lib/ruby/3.4.11/irb/lc/ja/error.rb +0 -53
- package/lib/ruby/3.4.11/irb/lc/ja/help-message +0 -58
- package/lib/ruby/3.4.11/irb/locale.rb +0 -153
- package/lib/ruby/3.4.11/irb/nesting_parser.rb +0 -239
- package/lib/ruby/3.4.11/irb/notifier.rb +0 -230
- package/lib/ruby/3.4.11/irb/output-method.rb +0 -80
- package/lib/ruby/3.4.11/irb/pager.rb +0 -100
- package/lib/ruby/3.4.11/irb/ruby-lex.rb +0 -476
- package/lib/ruby/3.4.11/irb/ruby_logo.aa +0 -118
- package/lib/ruby/3.4.11/irb/source_finder.rb +0 -138
- package/lib/ruby/3.4.11/irb/statement.rb +0 -80
- package/lib/ruby/3.4.11/irb/version.rb +0 -11
- package/lib/ruby/3.4.11/irb/workspace.rb +0 -171
- package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +0 -9
- package/lib/ruby/3.4.11/irb/xmp.rb +0 -164
- package/lib/ruby/3.4.11/irb.rb +0 -1593
- package/lib/ruby/3.4.11/logger/errors.rb +0 -9
- package/lib/ruby/3.4.11/logger/formatter.rb +0 -36
- package/lib/ruby/3.4.11/logger/log_device.rb +0 -236
- package/lib/ruby/3.4.11/logger/logger.gemspec +0 -22
- package/lib/ruby/3.4.11/logger/period.rb +0 -47
- package/lib/ruby/3.4.11/logger/severity.rb +0 -38
- package/lib/ruby/3.4.11/logger/version.rb +0 -5
- package/lib/ruby/3.4.11/logger.rb +0 -761
- package/lib/ruby/3.4.11/mkmf.rb +0 -3045
- package/lib/ruby/3.4.11/net/http/exceptions.rb +0 -34
- package/lib/ruby/3.4.11/net/http/generic_request.rb +0 -414
- package/lib/ruby/3.4.11/net/http/header.rb +0 -981
- package/lib/ruby/3.4.11/net/http/net-http.gemspec +0 -39
- package/lib/ruby/3.4.11/net/http/proxy_delta.rb +0 -17
- package/lib/ruby/3.4.11/net/http/request.rb +0 -88
- package/lib/ruby/3.4.11/net/http/requests.rb +0 -430
- package/lib/ruby/3.4.11/net/http/response.rb +0 -738
- package/lib/ruby/3.4.11/net/http/responses.rb +0 -1174
- package/lib/ruby/3.4.11/net/http/status.rb +0 -84
- package/lib/ruby/3.4.11/net/http.rb +0 -2574
- package/lib/ruby/3.4.11/net/https.rb +0 -23
- package/lib/ruby/3.4.11/net/net-protocol.gemspec +0 -34
- package/lib/ruby/3.4.11/net/protocol.rb +0 -544
- package/lib/ruby/3.4.11/open-uri.gemspec +0 -32
- package/lib/ruby/3.4.11/open-uri.rb +0 -895
- package/lib/ruby/3.4.11/open3/open3.gemspec +0 -33
- package/lib/ruby/3.4.11/open3/version.rb +0 -3
- package/lib/ruby/3.4.11/open3.rb +0 -1410
- package/lib/ruby/3.4.11/optionparser.rb +0 -2
- package/lib/ruby/3.4.11/optparse/ac.rb +0 -70
- package/lib/ruby/3.4.11/optparse/date.rb +0 -18
- package/lib/ruby/3.4.11/optparse/kwargs.rb +0 -27
- package/lib/ruby/3.4.11/optparse/optparse.gemspec +0 -31
- package/lib/ruby/3.4.11/optparse/shellwords.rb +0 -7
- package/lib/ruby/3.4.11/optparse/time.rb +0 -11
- package/lib/ruby/3.4.11/optparse/uri.rb +0 -7
- package/lib/ruby/3.4.11/optparse/version.rb +0 -80
- package/lib/ruby/3.4.11/optparse.rb +0 -2429
- package/lib/ruby/3.4.11/ostruct.gemspec +0 -24
- package/lib/ruby/3.4.11/ostruct.rb +0 -489
- package/lib/ruby/3.4.11/pp.gemspec +0 -35
- package/lib/ruby/3.4.11/pp.rb +0 -699
- package/lib/ruby/3.4.11/prettyprint.gemspec +0 -29
- package/lib/ruby/3.4.11/prettyprint.rb +0 -558
- package/lib/ruby/3.4.11/prism/compiler.rb +0 -801
- package/lib/ruby/3.4.11/prism/desugar_compiler.rb +0 -392
- package/lib/ruby/3.4.11/prism/dispatcher.rb +0 -2210
- package/lib/ruby/3.4.11/prism/dsl.rb +0 -1003
- package/lib/ruby/3.4.11/prism/ffi.rb +0 -570
- package/lib/ruby/3.4.11/prism/inspect_visitor.rb +0 -2392
- package/lib/ruby/3.4.11/prism/lex_compat.rb +0 -928
- package/lib/ruby/3.4.11/prism/mutation_compiler.rb +0 -772
- package/lib/ruby/3.4.11/prism/node.rb +0 -18816
- package/lib/ruby/3.4.11/prism/node_ext.rb +0 -511
- package/lib/ruby/3.4.11/prism/pack.rb +0 -230
- package/lib/ruby/3.4.11/prism/parse_result/comments.rb +0 -188
- package/lib/ruby/3.4.11/prism/parse_result/errors.rb +0 -66
- package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +0 -155
- package/lib/ruby/3.4.11/prism/parse_result.rb +0 -911
- package/lib/ruby/3.4.11/prism/pattern.rb +0 -269
- package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +0 -15
- package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +0 -13
- package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +0 -14
- package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +0 -14
- package/lib/ruby/3.4.11/prism/polyfill/warn.rb +0 -36
- package/lib/ruby/3.4.11/prism/prism.gemspec +0 -174
- package/lib/ruby/3.4.11/prism/reflection.rb +0 -416
- package/lib/ruby/3.4.11/prism/relocation.rb +0 -505
- package/lib/ruby/3.4.11/prism/serialize.rb +0 -2400
- package/lib/ruby/3.4.11/prism/string_query.rb +0 -31
- package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +0 -62
- package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +0 -2234
- package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +0 -820
- package/lib/ruby/3.4.11/prism/translation/parser.rb +0 -374
- package/lib/ruby/3.4.11/prism/translation/parser33.rb +0 -13
- package/lib/ruby/3.4.11/prism/translation/parser34.rb +0 -13
- package/lib/ruby/3.4.11/prism/translation/parser35.rb +0 -13
- package/lib/ruby/3.4.11/prism/translation/parser_current.rb +0 -24
- package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +0 -126
- package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +0 -5
- package/lib/ruby/3.4.11/prism/translation/ripper.rb +0 -3474
- package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +0 -1929
- package/lib/ruby/3.4.11/prism/translation.rb +0 -16
- package/lib/ruby/3.4.11/prism/visitor.rb +0 -813
- package/lib/ruby/3.4.11/prism.rb +0 -91
- package/lib/ruby/3.4.11/pstore.gemspec +0 -32
- package/lib/ruby/3.4.11/pstore.rb +0 -736
- package/lib/ruby/3.4.11/random/formatter.rb +0 -372
- package/lib/ruby/3.4.11/rdoc/.document +0 -2
- package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +0 -104
- package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +0 -10
- package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +0 -374
- package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +0 -172
- package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +0 -888
- package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +0 -186
- package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +0 -175
- package/lib/ruby/3.4.11/rdoc/code_object/context.rb +0 -1222
- package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +0 -9
- package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/code_object/include.rb +0 -9
- package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +0 -410
- package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +0 -120
- package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +0 -92
- package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +0 -73
- package/lib/ruby/3.4.11/rdoc/code_object/require.rb +0 -51
- package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +0 -30
- package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +0 -273
- package/lib/ruby/3.4.11/rdoc/code_object.rb +0 -395
- package/lib/ruby/3.4.11/rdoc/code_objects.rb +0 -5
- package/lib/ruby/3.4.11/rdoc/comment.rb +0 -236
- package/lib/ruby/3.4.11/rdoc/cross_reference.rb +0 -228
- package/lib/ruby/3.4.11/rdoc/encoding.rb +0 -120
- package/lib/ruby/3.4.11/rdoc/erb_partial.rb +0 -18
- package/lib/ruby/3.4.11/rdoc/erbio.rb +0 -37
- package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +0 -812
- package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +0 -284
- package/lib/ruby/3.4.11/rdoc/generator/markup.rb +0 -171
- package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +0 -68
- package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +0 -84
- package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +0 -141
- package/lib/ruby/3.4.11/rdoc/generator/pot.rb +0 -94
- package/lib/ruby/3.4.11/rdoc/generator/ri.rb +0 -30
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_footer.rhtml +0 -5
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +0 -48
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +0 -5
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +0 -15
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +0 -15
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +0 -15
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +0 -21
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +0 -11
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +0 -32
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +0 -6
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +0 -14
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +0 -11
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +0 -39
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +0 -3
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +0 -221
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +0 -167
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +0 -683
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/add.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bug.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/date.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/delete.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/find.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/package.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/index.rhtml +0 -23
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +0 -120
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +0 -110
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +0 -18
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +0 -20
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +0 -65
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +0 -70
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +0 -105
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +0 -229
- package/lib/ruby/3.4.11/rdoc/generator.rb +0 -51
- package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +0 -102
- package/lib/ruby/3.4.11/rdoc/i18n/text.rb +0 -126
- package/lib/ruby/3.4.11/rdoc/i18n.rb +0 -10
- package/lib/ruby/3.4.11/rdoc/known_classes.rb +0 -74
- package/lib/ruby/3.4.11/rdoc/markdown/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +0 -2131
- package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +0 -454
- package/lib/ruby/3.4.11/rdoc/markdown.rb +0 -16806
- package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +0 -22
- package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +0 -35
- package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +0 -405
- package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +0 -70
- package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +0 -27
- package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +0 -14
- package/lib/ruby/3.4.11/rdoc/markup/document.rb +0 -164
- package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +0 -272
- package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +0 -31
- package/lib/ruby/3.4.11/rdoc/markup/heading.rb +0 -84
- package/lib/ruby/3.4.11/rdoc/markup/include.rb +0 -42
- package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +0 -47
- package/lib/ruby/3.4.11/rdoc/markup/list.rb +0 -101
- package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +0 -99
- package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +0 -28
- package/lib/ruby/3.4.11/rdoc/markup/parser.rb +0 -585
- package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +0 -318
- package/lib/ruby/3.4.11/rdoc/markup/raw.rb +0 -69
- package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +0 -40
- package/lib/ruby/3.4.11/rdoc/markup/rule.rb +0 -20
- package/lib/ruby/3.4.11/rdoc/markup/table.rb +0 -56
- package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +0 -93
- package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +0 -102
- package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +0 -462
- package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +0 -226
- package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +0 -287
- package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +0 -46
- package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +0 -74
- package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +0 -191
- package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +0 -353
- package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +0 -88
- package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +0 -69
- package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +0 -120
- package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +0 -83
- package/lib/ruby/3.4.11/rdoc/markup.rb +0 -240
- package/lib/ruby/3.4.11/rdoc/options.rb +0 -1416
- package/lib/ruby/3.4.11/rdoc/parser/c.rb +0 -1257
- package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +0 -350
- package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +0 -22
- package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +0 -1092
- package/lib/ruby/3.4.11/rdoc/parser/rd.rb +0 -22
- package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +0 -302
- package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +0 -2378
- package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +0 -165
- package/lib/ruby/3.4.11/rdoc/parser/simple.rb +0 -61
- package/lib/ruby/3.4.11/rdoc/parser/text.rb +0 -11
- package/lib/ruby/3.4.11/rdoc/parser.rb +0 -297
- package/lib/ruby/3.4.11/rdoc/rd/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +0 -1706
- package/lib/ruby/3.4.11/rdoc/rd/inline.rb +0 -71
- package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +0 -1854
- package/lib/ruby/3.4.11/rdoc/rd.rb +0 -99
- package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +0 -68
- package/lib/ruby/3.4.11/rdoc/rdoc.rb +0 -551
- package/lib/ruby/3.4.11/rdoc/ri/driver.rb +0 -1566
- package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/ri/paths.rb +0 -171
- package/lib/ruby/3.4.11/rdoc/ri/store.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/ri/task.rb +0 -71
- package/lib/ruby/3.4.11/rdoc/ri.rb +0 -20
- package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +0 -327
- package/lib/ruby/3.4.11/rdoc/servlet.rb +0 -452
- package/lib/ruby/3.4.11/rdoc/stats/normal.rb +0 -58
- package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +0 -59
- package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +0 -44
- package/lib/ruby/3.4.11/rdoc/stats.rb +0 -461
- package/lib/ruby/3.4.11/rdoc/store.rb +0 -997
- package/lib/ruby/3.4.11/rdoc/task.rb +0 -354
- package/lib/ruby/3.4.11/rdoc/text.rb +0 -322
- package/lib/ruby/3.4.11/rdoc/token_stream.rb +0 -118
- package/lib/ruby/3.4.11/rdoc/tom_doc.rb +0 -257
- package/lib/ruby/3.4.11/rdoc/version.rb +0 -10
- package/lib/ruby/3.4.11/rdoc.rb +0 -211
- package/lib/ruby/3.4.11/readline.gemspec +0 -33
- package/lib/ruby/3.4.11/readline.rb +0 -7
- package/lib/ruby/3.4.11/reline/config.rb +0 -373
- package/lib/ruby/3.4.11/reline/face.rb +0 -199
- package/lib/ruby/3.4.11/reline/history.rb +0 -76
- package/lib/ruby/3.4.11/reline/io/ansi.rb +0 -325
- package/lib/ruby/3.4.11/reline/io/dumb.rb +0 -120
- package/lib/ruby/3.4.11/reline/io/windows.rb +0 -530
- package/lib/ruby/3.4.11/reline/io.rb +0 -55
- package/lib/ruby/3.4.11/reline/key_actor/base.rb +0 -37
- package/lib/ruby/3.4.11/reline/key_actor/composite.rb +0 -17
- package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +0 -517
- package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +0 -518
- package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +0 -517
- package/lib/ruby/3.4.11/reline/key_actor.rb +0 -8
- package/lib/ruby/3.4.11/reline/key_stroke.rb +0 -119
- package/lib/ruby/3.4.11/reline/kill_ring.rb +0 -125
- package/lib/ruby/3.4.11/reline/line_editor.rb +0 -2382
- package/lib/ruby/3.4.11/reline/reline.gemspec +0 -30
- package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +0 -1267
- package/lib/ruby/3.4.11/reline/unicode.rb +0 -415
- package/lib/ruby/3.4.11/reline/version.rb +0 -3
- package/lib/ruby/3.4.11/reline.rb +0 -519
- package/lib/ruby/3.4.11/resolv.gemspec +0 -30
- package/lib/ruby/3.4.11/resolv.rb +0 -3587
- package/lib/ruby/3.4.11/ruby2_keywords.gemspec +0 -23
- package/lib/ruby/3.4.11/ruby_vm/rjit/.document +0 -1
- package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +0 -1160
- package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +0 -11
- package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +0 -24
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +0 -394
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +0 -99
- package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +0 -91
- package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +0 -518
- package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +0 -377
- package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +0 -7
- package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +0 -164
- package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +0 -36
- package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +0 -6046
- package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +0 -1326
- package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +0 -155
- package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +0 -65
- package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +0 -191
- package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +0 -221
- package/lib/ruby/3.4.11/rubygems/available_set.rb +0 -165
- package/lib/ruby/3.4.11/rubygems/basic_specification.rb +0 -383
- package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +0 -77
- package/lib/ruby/3.4.11/rubygems/ci_detector.rb +0 -75
- package/lib/ruby/3.4.11/rubygems/command.rb +0 -664
- package/lib/ruby/3.4.11/rubygems/command_manager.rb +0 -255
- package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +0 -127
- package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +0 -325
- package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +0 -97
- package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +0 -178
- package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +0 -196
- package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +0 -206
- package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +0 -181
- package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +0 -256
- package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +0 -109
- package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +0 -51
- package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +0 -375
- package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +0 -38
- package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +0 -269
- package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +0 -42
- package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +0 -109
- package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +0 -83
- package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +0 -33
- package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +0 -124
- package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +0 -217
- package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +0 -135
- package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +0 -43
- package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +0 -90
- package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +0 -262
- package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +0 -41
- package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +0 -663
- package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +0 -34
- package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +0 -32
- package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +0 -227
- package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +0 -156
- package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +0 -40
- package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +0 -204
- package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +0 -168
- package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +0 -326
- package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +0 -88
- package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +0 -99
- package/lib/ruby/3.4.11/rubygems/compatibility.rb +0 -41
- package/lib/ruby/3.4.11/rubygems/config_file.rb +0 -618
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +0 -68
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +0 -149
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +0 -45
- package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +0 -54
- package/lib/ruby/3.4.11/rubygems/defaults.rb +0 -308
- package/lib/ruby/3.4.11/rubygems/dependency.rb +0 -348
- package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +0 -335
- package/lib/ruby/3.4.11/rubygems/dependency_list.rb +0 -243
- package/lib/ruby/3.4.11/rubygems/deprecate.rb +0 -169
- package/lib/ruby/3.4.11/rubygems/doctor.rb +0 -132
- package/lib/ruby/3.4.11/rubygems/errors.rb +0 -177
- package/lib/ruby/3.4.11/rubygems/exceptions.rb +0 -293
- package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +0 -9
- package/lib/ruby/3.4.11/rubygems/ext/builder.rb +0 -260
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +0 -27
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +0 -346
- package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +0 -21
- package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +0 -77
- package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +0 -37
- package/lib/ruby/3.4.11/rubygems/ext.rb +0 -20
- package/lib/ruby/3.4.11/rubygems/gem_runner.rb +0 -89
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +0 -163
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +0 -105
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +0 -80
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +0 -397
- package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +0 -19
- package/lib/ruby/3.4.11/rubygems/install_default_message.rb +0 -13
- package/lib/ruby/3.4.11/rubygems/install_message.rb +0 -13
- package/lib/ruby/3.4.11/rubygems/install_update_options.rb +0 -204
- package/lib/ruby/3.4.11/rubygems/installer.rb +0 -1031
- package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +0 -27
- package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/name_tuple.rb +0 -119
- package/lib/ruby/3.4.11/rubygems/openssl.rb +0 -7
- package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +0 -63
- package/lib/ruby/3.4.11/rubygems/package/file_source.rb +0 -32
- package/lib/ruby/3.4.11/rubygems/package/io_source.rb +0 -48
- package/lib/ruby/3.4.11/rubygems/package/old.rb +0 -169
- package/lib/ruby/3.4.11/rubygems/package/source.rb +0 -4
- package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +0 -277
- package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +0 -244
- package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +0 -101
- package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +0 -332
- package/lib/ruby/3.4.11/rubygems/package.rb +0 -742
- package/lib/ruby/3.4.11/rubygems/package_task.rb +0 -123
- package/lib/ruby/3.4.11/rubygems/path_support.rb +0 -85
- package/lib/ruby/3.4.11/rubygems/platform.rb +0 -269
- package/lib/ruby/3.4.11/rubygems/psych_tree.rb +0 -37
- package/lib/ruby/3.4.11/rubygems/query_utils.rb +0 -349
- package/lib/ruby/3.4.11/rubygems/rdoc.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +0 -341
- package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +0 -95
- package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +0 -47
- package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +0 -10
- package/lib/ruby/3.4.11/rubygems/request.rb +0 -298
- package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +0 -841
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +0 -344
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +0 -122
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +0 -235
- package/lib/ruby/3.4.11/rubygems/request_set.rb +0 -468
- package/lib/ruby/3.4.11/rubygems/requirement.rb +0 -298
- package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +0 -159
- package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +0 -21
- package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +0 -139
- package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +0 -105
- package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +0 -49
- package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +0 -65
- package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +0 -12
- package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +0 -119
- package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +0 -120
- package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +0 -57
- package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +0 -79
- package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +0 -101
- package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +0 -57
- package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +0 -271
- package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +0 -40
- package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +0 -81
- package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +0 -86
- package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +0 -82
- package/lib/ruby/3.4.11/rubygems/resolver/set.rb +0 -55
- package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +0 -47
- package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +0 -76
- package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +0 -126
- package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +0 -46
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +0 -86
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/resolver.rb +0 -341
- package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +0 -177
- package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +0 -325
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +0 -31
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +0 -428
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +0 -74
- package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +0 -74
- package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +0 -45
- package/lib/ruby/3.4.11/rubygems/security/policies.rb +0 -114
- package/lib/ruby/3.4.11/rubygems/security/policy.rb +0 -288
- package/lib/ruby/3.4.11/rubygems/security/signer.rb +0 -212
- package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +0 -117
- package/lib/ruby/3.4.11/rubygems/security.rb +0 -615
- package/lib/ruby/3.4.11/rubygems/security_option.rb +0 -43
- package/lib/ruby/3.4.11/rubygems/source/git.rb +0 -244
- package/lib/ruby/3.4.11/rubygems/source/installed.rb +0 -39
- package/lib/ruby/3.4.11/rubygems/source/local.rb +0 -131
- package/lib/ruby/3.4.11/rubygems/source/lock.rb +0 -49
- package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +0 -73
- package/lib/ruby/3.4.11/rubygems/source/vendor.rb +0 -24
- package/lib/ruby/3.4.11/rubygems/source.rb +0 -247
- package/lib/ruby/3.4.11/rubygems/source_list.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +0 -290
- package/lib/ruby/3.4.11/rubygems/specification.rb +0 -2666
- package/lib/ruby/3.4.11/rubygems/specification_policy.rb +0 -558
- package/lib/ruby/3.4.11/rubygems/specification_record.rb +0 -212
- package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +0 -21
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +0 -21
- package/lib/ruby/3.4.11/rubygems/stub_specification.rb +0 -235
- package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +0 -50
- package/lib/ruby/3.4.11/rubygems/text.rb +0 -85
- package/lib/ruby/3.4.11/rubygems/uninstaller.rb +0 -429
- package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +0 -21
- package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +0 -56
- package/lib/ruby/3.4.11/rubygems/uri.rb +0 -126
- package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +0 -47
- package/lib/ruby/3.4.11/rubygems/user_interaction.rb +0 -650
- package/lib/ruby/3.4.11/rubygems/util/licenses.rb +0 -834
- package/lib/ruby/3.4.11/rubygems/util/list.rb +0 -40
- package/lib/ruby/3.4.11/rubygems/util.rb +0 -118
- package/lib/ruby/3.4.11/rubygems/validator.rb +0 -144
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -57
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +0 -88
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +0 -36
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +0 -66
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +0 -62
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +0 -63
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +0 -61
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +0 -126
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +0 -46
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +0 -36
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +0 -164
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +0 -255
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +0 -149
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +0 -6
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +0 -112
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +0 -67
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +0 -839
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +0 -46
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +0 -58
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +0 -11
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +0 -34
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +0 -414
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +0 -981
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +0 -17
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +0 -88
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +0 -430
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +0 -738
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +0 -1174
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +0 -84
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +0 -2580
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +0 -544
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +0 -2
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +0 -70
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +0 -18
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +0 -27
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +0 -7
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +0 -11
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +0 -7
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +0 -80
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +0 -2426
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +0 -3455
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +0 -102
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +0 -198
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +0 -455
- package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +0 -880
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +0 -100
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +0 -267
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +0 -1592
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +0 -125
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +0 -261
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +0 -22
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +0 -293
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +0 -546
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +0 -206
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +0 -6
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +0 -83
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +0 -104
- package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +0 -5
- package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +0 -5
- package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/version.rb +0 -441
- package/lib/ruby/3.4.11/rubygems/version_option.rb +0 -80
- package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +0 -98
- package/lib/ruby/3.4.11/rubygems.rb +0 -1417
- package/lib/ruby/3.4.11/securerandom.gemspec +0 -34
- package/lib/ruby/3.4.11/securerandom.rb +0 -102
- package/lib/ruby/3.4.11/set/set.gemspec +0 -30
- package/lib/ruby/3.4.11/set/sorted_set.rb +0 -6
- package/lib/ruby/3.4.11/set.rb +0 -855
- package/lib/ruby/3.4.11/shellwords.gemspec +0 -31
- package/lib/ruby/3.4.11/shellwords.rb +0 -254
- package/lib/ruby/3.4.11/singleton.gemspec +0 -30
- package/lib/ruby/3.4.11/singleton.rb +0 -239
- package/lib/ruby/3.4.11/syntax_suggest/api.rb +0 -233
- package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +0 -232
- package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +0 -165
- package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +0 -85
- package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +0 -71
- package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +0 -245
- package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +0 -306
- package/lib/ruby/3.4.11/syntax_suggest/cli.rb +0 -130
- package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +0 -100
- package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +0 -178
- package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +0 -243
- package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +0 -139
- package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +0 -96
- package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +0 -70
- package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +0 -83
- package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +0 -117
- package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +0 -168
- package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +0 -74
- package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +0 -70
- package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +0 -30
- package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +0 -60
- package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +0 -59
- package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +0 -63
- package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +0 -105
- package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +0 -39
- package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +0 -134
- package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +0 -32
- package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +0 -36
- package/lib/ruby/3.4.11/syntax_suggest/version.rb +0 -5
- package/lib/ruby/3.4.11/syntax_suggest.rb +0 -3
- package/lib/ruby/3.4.11/tempfile.gemspec +0 -33
- package/lib/ruby/3.4.11/tempfile.rb +0 -640
- package/lib/ruby/3.4.11/time.gemspec +0 -35
- package/lib/ruby/3.4.11/time.rb +0 -731
- package/lib/ruby/3.4.11/timeout.gemspec +0 -33
- package/lib/ruby/3.4.11/timeout.rb +0 -200
- package/lib/ruby/3.4.11/tmpdir.gemspec +0 -30
- package/lib/ruby/3.4.11/tmpdir.rb +0 -189
- package/lib/ruby/3.4.11/tsort.gemspec +0 -29
- package/lib/ruby/3.4.11/tsort.rb +0 -455
- package/lib/ruby/3.4.11/un.gemspec +0 -31
- package/lib/ruby/3.4.11/un.rb +0 -441
- package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +0 -181
- package/lib/ruby/3.4.11/unicode_normalize/tables.rb +0 -9259
- package/lib/ruby/3.4.11/uri/common.rb +0 -880
- package/lib/ruby/3.4.11/uri/file.rb +0 -100
- package/lib/ruby/3.4.11/uri/ftp.rb +0 -267
- package/lib/ruby/3.4.11/uri/generic.rb +0 -1592
- package/lib/ruby/3.4.11/uri/http.rb +0 -125
- package/lib/ruby/3.4.11/uri/https.rb +0 -23
- package/lib/ruby/3.4.11/uri/ldap.rb +0 -261
- package/lib/ruby/3.4.11/uri/ldaps.rb +0 -22
- package/lib/ruby/3.4.11/uri/mailto.rb +0 -293
- package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +0 -546
- package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +0 -206
- package/lib/ruby/3.4.11/uri/uri.gemspec +0 -42
- package/lib/ruby/3.4.11/uri/version.rb +0 -6
- package/lib/ruby/3.4.11/uri/ws.rb +0 -83
- package/lib/ruby/3.4.11/uri/wss.rb +0 -23
- package/lib/ruby/3.4.11/uri.rb +0 -104
- package/lib/ruby/3.4.11/weakref.gemspec +0 -34
- package/lib/ruby/3.4.11/weakref.rb +0 -58
- package/lib/ruby/3.4.11/yaml/dbm.rb +0 -295
- package/lib/ruby/3.4.11/yaml/store.rb +0 -98
- package/lib/ruby/3.4.11/yaml/yaml.gemspec +0 -30
- package/lib/ruby/3.4.11/yaml.rb +0 -70
|
@@ -1,1566 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
require 'optparse'
|
|
3
|
-
|
|
4
|
-
require_relative '../../rdoc'
|
|
5
|
-
|
|
6
|
-
require_relative 'formatter' # For RubyGems backwards compatibility
|
|
7
|
-
# TODO: Fix weird documentation with `require_relative`
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
# The RI driver implements the command-line ri tool.
|
|
11
|
-
#
|
|
12
|
-
# The driver supports:
|
|
13
|
-
# * loading RI data from:
|
|
14
|
-
# * Ruby's standard library
|
|
15
|
-
# * RubyGems
|
|
16
|
-
# * ~/.rdoc
|
|
17
|
-
# * A user-supplied directory
|
|
18
|
-
# * Paging output (uses RI_PAGER environment variable, PAGER environment
|
|
19
|
-
# variable or the less, more and pager programs)
|
|
20
|
-
# * Interactive mode with tab-completion
|
|
21
|
-
# * Abbreviated names (ri Zl shows Zlib documentation)
|
|
22
|
-
# * Colorized output
|
|
23
|
-
# * Merging output from multiple RI data sources
|
|
24
|
-
|
|
25
|
-
class RDoc::RI::Driver
|
|
26
|
-
|
|
27
|
-
##
|
|
28
|
-
# Base Driver error class
|
|
29
|
-
|
|
30
|
-
class Error < RDoc::RI::Error; end
|
|
31
|
-
|
|
32
|
-
##
|
|
33
|
-
# Raised when a name isn't found in the ri data stores
|
|
34
|
-
|
|
35
|
-
class NotFoundError < Error
|
|
36
|
-
|
|
37
|
-
def initialize(klass, suggestion_proc = nil) # :nodoc:
|
|
38
|
-
@klass = klass
|
|
39
|
-
@suggestion_proc = suggestion_proc
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
##
|
|
43
|
-
# Name that wasn't found
|
|
44
|
-
|
|
45
|
-
def name
|
|
46
|
-
@klass
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
def message # :nodoc:
|
|
50
|
-
str = "Nothing known about #{@klass}"
|
|
51
|
-
suggestions = @suggestion_proc&.call
|
|
52
|
-
if suggestions and !suggestions.empty?
|
|
53
|
-
str += "\nDid you mean? #{suggestions.join("\n ")}"
|
|
54
|
-
end
|
|
55
|
-
str
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
##
|
|
60
|
-
# Show all method documentation following a class or module
|
|
61
|
-
|
|
62
|
-
attr_accessor :show_all
|
|
63
|
-
|
|
64
|
-
##
|
|
65
|
-
# An RDoc::RI::Store for each entry in the RI path
|
|
66
|
-
|
|
67
|
-
attr_accessor :stores
|
|
68
|
-
|
|
69
|
-
##
|
|
70
|
-
# Controls the user of the pager vs $stdout
|
|
71
|
-
|
|
72
|
-
attr_accessor :use_stdout
|
|
73
|
-
|
|
74
|
-
##
|
|
75
|
-
# Default options for ri
|
|
76
|
-
|
|
77
|
-
def self.default_options
|
|
78
|
-
options = {}
|
|
79
|
-
options[:interactive] = false
|
|
80
|
-
options[:profile] = false
|
|
81
|
-
options[:show_all] = false
|
|
82
|
-
options[:expand_refs] = true
|
|
83
|
-
options[:use_stdout] = !$stdout.tty?
|
|
84
|
-
options[:width] = 72
|
|
85
|
-
|
|
86
|
-
# By default all standard paths are used.
|
|
87
|
-
options[:use_system] = true
|
|
88
|
-
options[:use_site] = true
|
|
89
|
-
options[:use_home] = true
|
|
90
|
-
options[:use_gems] = true
|
|
91
|
-
options[:extra_doc_dirs] = []
|
|
92
|
-
|
|
93
|
-
return options
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
##
|
|
97
|
-
# Dump +data_path+ using pp
|
|
98
|
-
|
|
99
|
-
def self.dump(data_path)
|
|
100
|
-
require 'pp'
|
|
101
|
-
|
|
102
|
-
File.open data_path, 'rb' do |io|
|
|
103
|
-
pp Marshal.load(io.read)
|
|
104
|
-
end
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
##
|
|
108
|
-
# Parses +argv+ and returns a Hash of options
|
|
109
|
-
|
|
110
|
-
def self.process_args(argv)
|
|
111
|
-
options = default_options
|
|
112
|
-
|
|
113
|
-
opts = OptionParser.new do |opt|
|
|
114
|
-
opt.program_name = File.basename $0
|
|
115
|
-
opt.version = RDoc::VERSION
|
|
116
|
-
opt.release = nil
|
|
117
|
-
opt.summary_indent = ' ' * 4
|
|
118
|
-
|
|
119
|
-
opt.banner = <<-EOT
|
|
120
|
-
Usage: #{opt.program_name} [options] [name ...]
|
|
121
|
-
|
|
122
|
-
Where name can be:
|
|
123
|
-
|
|
124
|
-
Class | Module | Module::Class
|
|
125
|
-
|
|
126
|
-
Class::method | Class#method | Class.method | method
|
|
127
|
-
|
|
128
|
-
gem_name: | gem_name:README | gem_name:History
|
|
129
|
-
|
|
130
|
-
ruby: | ruby:NEWS | ruby:globals
|
|
131
|
-
|
|
132
|
-
All class names may be abbreviated to their minimum unambiguous form.
|
|
133
|
-
If a name is ambiguous, all valid options will be listed.
|
|
134
|
-
|
|
135
|
-
A '.' matches either class or instance methods, while #method
|
|
136
|
-
matches only instance and ::method matches only class methods.
|
|
137
|
-
|
|
138
|
-
README and other files may be displayed by prefixing them with the gem name
|
|
139
|
-
they're contained in. If the gem name is followed by a ':' all files in the
|
|
140
|
-
gem will be shown. The file name extension may be omitted where it is
|
|
141
|
-
unambiguous.
|
|
142
|
-
|
|
143
|
-
'ruby' can be used as a pseudo gem name to display files from the Ruby
|
|
144
|
-
core documentation. Use 'ruby:' by itself to get a list of all available
|
|
145
|
-
core documentation files.
|
|
146
|
-
|
|
147
|
-
For example:
|
|
148
|
-
|
|
149
|
-
#{opt.program_name} Fil
|
|
150
|
-
#{opt.program_name} File
|
|
151
|
-
#{opt.program_name} File.new
|
|
152
|
-
#{opt.program_name} zip
|
|
153
|
-
#{opt.program_name} rdoc:README
|
|
154
|
-
#{opt.program_name} ruby:comments
|
|
155
|
-
|
|
156
|
-
Note that shell quoting or escaping may be required for method names
|
|
157
|
-
containing punctuation:
|
|
158
|
-
|
|
159
|
-
#{opt.program_name} 'Array.[]'
|
|
160
|
-
#{opt.program_name} compact\\!
|
|
161
|
-
|
|
162
|
-
To see the default directories #{opt.program_name} will search, run:
|
|
163
|
-
|
|
164
|
-
#{opt.program_name} --list-doc-dirs
|
|
165
|
-
|
|
166
|
-
Specifying the --system, --site, --home, --gems, or --doc-dir options
|
|
167
|
-
will limit ri to searching only the specified directories.
|
|
168
|
-
|
|
169
|
-
ri options may be set in the RI environment variable.
|
|
170
|
-
|
|
171
|
-
The ri pager can be set with the RI_PAGER environment variable
|
|
172
|
-
or the PAGER environment variable.
|
|
173
|
-
EOT
|
|
174
|
-
|
|
175
|
-
opt.separator nil
|
|
176
|
-
opt.separator "Options:"
|
|
177
|
-
|
|
178
|
-
opt.separator nil
|
|
179
|
-
|
|
180
|
-
opt.on("--[no-]interactive", "-i",
|
|
181
|
-
"In interactive mode you can repeatedly",
|
|
182
|
-
"look up methods with autocomplete.") do |interactive|
|
|
183
|
-
options[:interactive] = interactive
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
opt.separator nil
|
|
187
|
-
|
|
188
|
-
opt.on("--[no-]all", "-a",
|
|
189
|
-
"Show all documentation for a class or",
|
|
190
|
-
"module.") do |show_all|
|
|
191
|
-
options[:show_all] = show_all
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
opt.separator nil
|
|
195
|
-
|
|
196
|
-
opt.on("--[no-]list", "-l",
|
|
197
|
-
"List classes ri knows about.") do |list|
|
|
198
|
-
options[:list] = list
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
opt.separator nil
|
|
202
|
-
|
|
203
|
-
opt.on("--[no-]pager",
|
|
204
|
-
"Send output to a pager,",
|
|
205
|
-
"rather than directly to stdout.") do |use_pager|
|
|
206
|
-
options[:use_stdout] = !use_pager
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
opt.separator nil
|
|
210
|
-
|
|
211
|
-
opt.on("-T",
|
|
212
|
-
"Synonym for --no-pager.") do
|
|
213
|
-
options[:use_stdout] = true
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
opt.separator nil
|
|
217
|
-
|
|
218
|
-
opt.on("--width=WIDTH", "-w", OptionParser::DecimalInteger,
|
|
219
|
-
"Set the width of the output.") do |width|
|
|
220
|
-
options[:width] = width
|
|
221
|
-
end
|
|
222
|
-
|
|
223
|
-
opt.separator nil
|
|
224
|
-
|
|
225
|
-
opt.on("--server[=PORT]", Integer,
|
|
226
|
-
"Run RDoc server on the given port.",
|
|
227
|
-
"The default port is 8214.") do |port|
|
|
228
|
-
options[:server] = port || 8214
|
|
229
|
-
end
|
|
230
|
-
|
|
231
|
-
opt.separator nil
|
|
232
|
-
|
|
233
|
-
formatters = RDoc::Markup.constants.grep(/^To[A-Z][a-z]+$/).sort
|
|
234
|
-
formatters = formatters.sort.map do |formatter|
|
|
235
|
-
formatter.to_s.sub('To', '').downcase
|
|
236
|
-
end
|
|
237
|
-
formatters -= %w[html label test] # remove useless output formats
|
|
238
|
-
|
|
239
|
-
opt.on("--format=NAME", "-f",
|
|
240
|
-
"Use the selected formatter. The default",
|
|
241
|
-
"formatter is bs for paged output and ansi",
|
|
242
|
-
"otherwise. Valid formatters are:",
|
|
243
|
-
"#{formatters.join(', ')}.", formatters) do |value|
|
|
244
|
-
options[:formatter] = RDoc::Markup.const_get "To#{value.capitalize}"
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
opt.separator nil
|
|
248
|
-
|
|
249
|
-
opt.on("--[no-]expand-refs", "Expand rdoc-refs at the end of output") do |value|
|
|
250
|
-
options[:expand_refs] = value
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
opt.separator nil
|
|
254
|
-
|
|
255
|
-
opt.on("--help", "-h",
|
|
256
|
-
"Show help and exit.") do
|
|
257
|
-
puts opts
|
|
258
|
-
exit
|
|
259
|
-
end
|
|
260
|
-
|
|
261
|
-
opt.separator nil
|
|
262
|
-
|
|
263
|
-
opt.on("--version", "-v",
|
|
264
|
-
"Output version information and exit.") do
|
|
265
|
-
puts "#{opts.program_name} #{opts.version}"
|
|
266
|
-
exit
|
|
267
|
-
end
|
|
268
|
-
|
|
269
|
-
opt.separator nil
|
|
270
|
-
opt.separator "Data source options:"
|
|
271
|
-
opt.separator nil
|
|
272
|
-
|
|
273
|
-
opt.on("--[no-]list-doc-dirs",
|
|
274
|
-
"List the directories from which ri will",
|
|
275
|
-
"source documentation on stdout and exit.") do |list_doc_dirs|
|
|
276
|
-
options[:list_doc_dirs] = list_doc_dirs
|
|
277
|
-
end
|
|
278
|
-
|
|
279
|
-
opt.separator nil
|
|
280
|
-
|
|
281
|
-
opt.on("--doc-dir=DIRNAME", "-d", Array,
|
|
282
|
-
"List of directories from which to source",
|
|
283
|
-
"documentation in addition to the standard",
|
|
284
|
-
"directories. May be repeated.") do |value|
|
|
285
|
-
value.each do |dir|
|
|
286
|
-
unless File.directory? dir then
|
|
287
|
-
raise OptionParser::InvalidArgument, "#{dir} is not a directory"
|
|
288
|
-
end
|
|
289
|
-
|
|
290
|
-
options[:extra_doc_dirs] << File.expand_path(dir)
|
|
291
|
-
end
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
opt.separator nil
|
|
295
|
-
|
|
296
|
-
opt.on("--no-standard-docs",
|
|
297
|
-
"Do not include documentation from",
|
|
298
|
-
"the Ruby standard library, site_lib,",
|
|
299
|
-
"installed gems, or ~/.rdoc.",
|
|
300
|
-
"Use with --doc-dir.") do
|
|
301
|
-
options[:use_system] = false
|
|
302
|
-
options[:use_site] = false
|
|
303
|
-
options[:use_gems] = false
|
|
304
|
-
options[:use_home] = false
|
|
305
|
-
end
|
|
306
|
-
|
|
307
|
-
opt.separator nil
|
|
308
|
-
|
|
309
|
-
opt.on("--[no-]system",
|
|
310
|
-
"Include documentation from Ruby's",
|
|
311
|
-
"standard library. Defaults to true.") do |value|
|
|
312
|
-
options[:use_system] = value
|
|
313
|
-
end
|
|
314
|
-
|
|
315
|
-
opt.separator nil
|
|
316
|
-
|
|
317
|
-
opt.on("--[no-]site",
|
|
318
|
-
"Include documentation from libraries",
|
|
319
|
-
"installed in site_lib.",
|
|
320
|
-
"Defaults to true.") do |value|
|
|
321
|
-
options[:use_site] = value
|
|
322
|
-
end
|
|
323
|
-
|
|
324
|
-
opt.separator nil
|
|
325
|
-
|
|
326
|
-
opt.on("--[no-]gems",
|
|
327
|
-
"Include documentation from RubyGems.",
|
|
328
|
-
"Defaults to true.") do |value|
|
|
329
|
-
options[:use_gems] = value
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
opt.separator nil
|
|
333
|
-
|
|
334
|
-
opt.on("--[no-]home",
|
|
335
|
-
"Include documentation stored in ~/.rdoc.",
|
|
336
|
-
"Defaults to true.") do |value|
|
|
337
|
-
options[:use_home] = value
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
opt.separator nil
|
|
341
|
-
opt.separator "Debug options:"
|
|
342
|
-
opt.separator nil
|
|
343
|
-
|
|
344
|
-
opt.on("--[no-]profile",
|
|
345
|
-
"Run with the ruby profiler.") do |value|
|
|
346
|
-
options[:profile] = value
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
opt.separator nil
|
|
350
|
-
|
|
351
|
-
opt.on("--dump=CACHE",
|
|
352
|
-
"Dump data from an ri cache or data file.") do |value|
|
|
353
|
-
unless File.readable?(value)
|
|
354
|
-
abort "#{value.inspect} is not readable"
|
|
355
|
-
end
|
|
356
|
-
|
|
357
|
-
if File.directory?(value)
|
|
358
|
-
abort "#{value.inspect} is a directory"
|
|
359
|
-
end
|
|
360
|
-
|
|
361
|
-
options[:dump_path] = File.new(value)
|
|
362
|
-
end
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
argv = ENV['RI'].to_s.split(' ').concat argv
|
|
366
|
-
|
|
367
|
-
opts.parse! argv
|
|
368
|
-
|
|
369
|
-
options[:names] = argv
|
|
370
|
-
|
|
371
|
-
options[:use_stdout] ||= !$stdout.tty?
|
|
372
|
-
options[:use_stdout] ||= options[:interactive]
|
|
373
|
-
options[:width] ||= 72
|
|
374
|
-
|
|
375
|
-
options
|
|
376
|
-
|
|
377
|
-
rescue OptionParser::InvalidArgument, OptionParser::InvalidOption => e
|
|
378
|
-
puts opts
|
|
379
|
-
puts
|
|
380
|
-
puts e
|
|
381
|
-
exit 1
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
##
|
|
385
|
-
# Runs the ri command line executable using +argv+
|
|
386
|
-
|
|
387
|
-
def self.run(argv = ARGV)
|
|
388
|
-
options = process_args argv
|
|
389
|
-
|
|
390
|
-
if options[:dump_path] then
|
|
391
|
-
dump options[:dump_path]
|
|
392
|
-
return
|
|
393
|
-
end
|
|
394
|
-
|
|
395
|
-
ri = new options
|
|
396
|
-
ri.run
|
|
397
|
-
end
|
|
398
|
-
|
|
399
|
-
##
|
|
400
|
-
# Creates a new driver using +initial_options+ from ::process_args
|
|
401
|
-
|
|
402
|
-
def initialize(initial_options = {})
|
|
403
|
-
@paging = false
|
|
404
|
-
@classes = nil
|
|
405
|
-
|
|
406
|
-
options = self.class.default_options.update(initial_options)
|
|
407
|
-
|
|
408
|
-
@formatter_klass = options[:formatter]
|
|
409
|
-
|
|
410
|
-
require 'profile' if options[:profile]
|
|
411
|
-
|
|
412
|
-
@names = options[:names]
|
|
413
|
-
@list = options[:list]
|
|
414
|
-
|
|
415
|
-
@doc_dirs = []
|
|
416
|
-
@stores = []
|
|
417
|
-
|
|
418
|
-
RDoc::RI::Paths.each(options[:use_system], options[:use_site],
|
|
419
|
-
options[:use_home], options[:use_gems],
|
|
420
|
-
*options[:extra_doc_dirs]) do |path, type|
|
|
421
|
-
@doc_dirs << path
|
|
422
|
-
|
|
423
|
-
store = RDoc::RI::Store.new(RDoc::Options.new, path: path, type: type)
|
|
424
|
-
store.load_cache
|
|
425
|
-
@stores << store
|
|
426
|
-
end
|
|
427
|
-
|
|
428
|
-
@list_doc_dirs = options[:list_doc_dirs]
|
|
429
|
-
|
|
430
|
-
@interactive = options[:interactive]
|
|
431
|
-
@server = options[:server]
|
|
432
|
-
@use_stdout = options[:use_stdout]
|
|
433
|
-
@show_all = options[:show_all]
|
|
434
|
-
@width = options[:width]
|
|
435
|
-
@expand_refs = options[:expand_refs]
|
|
436
|
-
end
|
|
437
|
-
|
|
438
|
-
##
|
|
439
|
-
# Adds paths for undocumented classes +also_in+ to +out+
|
|
440
|
-
|
|
441
|
-
def add_also_in(out, also_in)
|
|
442
|
-
return if also_in.empty?
|
|
443
|
-
|
|
444
|
-
out << RDoc::Markup::Rule.new(1)
|
|
445
|
-
out << RDoc::Markup::Paragraph.new("Also found in:")
|
|
446
|
-
|
|
447
|
-
paths = RDoc::Markup::Verbatim.new
|
|
448
|
-
also_in.each do |store|
|
|
449
|
-
paths.parts.push store.friendly_path, "\n"
|
|
450
|
-
end
|
|
451
|
-
out << paths
|
|
452
|
-
end
|
|
453
|
-
|
|
454
|
-
##
|
|
455
|
-
# Adds a class header to +out+ for class +name+ which is described in
|
|
456
|
-
# +classes+.
|
|
457
|
-
|
|
458
|
-
def add_class(out, name, classes)
|
|
459
|
-
heading = if classes.all? { |klass| klass.module? } then
|
|
460
|
-
name
|
|
461
|
-
else
|
|
462
|
-
superclass = classes.map do |klass|
|
|
463
|
-
klass.superclass unless klass.module?
|
|
464
|
-
end.compact.shift || 'Object'
|
|
465
|
-
|
|
466
|
-
superclass = superclass.full_name unless String === superclass
|
|
467
|
-
|
|
468
|
-
"#{name} < #{superclass}"
|
|
469
|
-
end
|
|
470
|
-
|
|
471
|
-
out << RDoc::Markup::Heading.new(1, heading)
|
|
472
|
-
out << RDoc::Markup::BlankLine.new
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
##
|
|
476
|
-
# Adds "(from ...)" to +out+ for +store+
|
|
477
|
-
|
|
478
|
-
def add_from(out, store)
|
|
479
|
-
out << RDoc::Markup::Paragraph.new("(from #{store.friendly_path})")
|
|
480
|
-
end
|
|
481
|
-
|
|
482
|
-
##
|
|
483
|
-
# Adds +extends+ to +out+
|
|
484
|
-
|
|
485
|
-
def add_extends(out, extends)
|
|
486
|
-
add_extension_modules out, 'Extended by', extends
|
|
487
|
-
end
|
|
488
|
-
|
|
489
|
-
##
|
|
490
|
-
# Adds a list of +extensions+ to this module of the given +type+ to +out+.
|
|
491
|
-
# add_includes and add_extends call this, so you should use those directly.
|
|
492
|
-
|
|
493
|
-
def add_extension_modules(out, type, extensions)
|
|
494
|
-
return if extensions.empty?
|
|
495
|
-
|
|
496
|
-
out << RDoc::Markup::Rule.new(1)
|
|
497
|
-
out << RDoc::Markup::Heading.new(1, "#{type}:")
|
|
498
|
-
|
|
499
|
-
extensions.each do |modules, store|
|
|
500
|
-
if modules.length == 1 then
|
|
501
|
-
add_extension_modules_single out, store, modules.first
|
|
502
|
-
else
|
|
503
|
-
add_extension_modules_multiple out, store, modules
|
|
504
|
-
end
|
|
505
|
-
end
|
|
506
|
-
end
|
|
507
|
-
|
|
508
|
-
##
|
|
509
|
-
# Renders multiple included +modules+ from +store+ to +out+.
|
|
510
|
-
|
|
511
|
-
def add_extension_modules_multiple(out, store, modules) # :nodoc:
|
|
512
|
-
out << RDoc::Markup::Paragraph.new("(from #{store.friendly_path})")
|
|
513
|
-
|
|
514
|
-
wout, with = modules.partition { |incl| incl.comment.empty? }
|
|
515
|
-
|
|
516
|
-
out << RDoc::Markup::BlankLine.new unless with.empty?
|
|
517
|
-
|
|
518
|
-
with.each do |incl|
|
|
519
|
-
out << RDoc::Markup::Paragraph.new(incl.name)
|
|
520
|
-
out << RDoc::Markup::BlankLine.new
|
|
521
|
-
out << incl.comment.parse
|
|
522
|
-
end
|
|
523
|
-
|
|
524
|
-
unless wout.empty? then
|
|
525
|
-
verb = RDoc::Markup::Verbatim.new
|
|
526
|
-
|
|
527
|
-
wout.each do |incl|
|
|
528
|
-
verb.push incl.name, "\n"
|
|
529
|
-
end
|
|
530
|
-
|
|
531
|
-
out << verb
|
|
532
|
-
end
|
|
533
|
-
end
|
|
534
|
-
|
|
535
|
-
##
|
|
536
|
-
# Adds a single extension module +include+ from +store+ to +out+
|
|
537
|
-
|
|
538
|
-
def add_extension_modules_single(out, store, include) # :nodoc:
|
|
539
|
-
name = include.name
|
|
540
|
-
path = store.friendly_path
|
|
541
|
-
out << RDoc::Markup::Paragraph.new("#{name} (from #{path})")
|
|
542
|
-
|
|
543
|
-
if include.comment then
|
|
544
|
-
out << RDoc::Markup::BlankLine.new
|
|
545
|
-
out << include.comment.parse
|
|
546
|
-
end
|
|
547
|
-
end
|
|
548
|
-
|
|
549
|
-
##
|
|
550
|
-
# Adds +includes+ to +out+
|
|
551
|
-
|
|
552
|
-
def add_includes(out, includes)
|
|
553
|
-
add_extension_modules out, 'Includes', includes
|
|
554
|
-
end
|
|
555
|
-
|
|
556
|
-
##
|
|
557
|
-
# Looks up the method +name+ and adds it to +out+
|
|
558
|
-
|
|
559
|
-
def add_method(out, name)
|
|
560
|
-
filtered = lookup_method name
|
|
561
|
-
method_document out, name, filtered
|
|
562
|
-
end
|
|
563
|
-
|
|
564
|
-
##
|
|
565
|
-
# Adds documentation for all methods in +klass+ to +out+
|
|
566
|
-
|
|
567
|
-
def add_method_documentation(out, klass)
|
|
568
|
-
klass.method_list.each do |method|
|
|
569
|
-
begin
|
|
570
|
-
add_method out, method.full_name
|
|
571
|
-
rescue NotFoundError
|
|
572
|
-
next
|
|
573
|
-
end
|
|
574
|
-
end
|
|
575
|
-
end
|
|
576
|
-
|
|
577
|
-
##
|
|
578
|
-
# Adds a list of +methods+ to +out+ with a heading of +name+
|
|
579
|
-
|
|
580
|
-
def add_method_list(out, methods, name)
|
|
581
|
-
return if methods.empty?
|
|
582
|
-
|
|
583
|
-
out << RDoc::Markup::Heading.new(1, "#{name}:")
|
|
584
|
-
out << RDoc::Markup::BlankLine.new
|
|
585
|
-
|
|
586
|
-
if @use_stdout and !@interactive then
|
|
587
|
-
out.concat methods.map { |method|
|
|
588
|
-
RDoc::Markup::Verbatim.new method
|
|
589
|
-
}
|
|
590
|
-
else
|
|
591
|
-
out << RDoc::Markup::IndentedParagraph.new(2, methods.join(', '))
|
|
592
|
-
end
|
|
593
|
-
|
|
594
|
-
out << RDoc::Markup::BlankLine.new
|
|
595
|
-
end
|
|
596
|
-
|
|
597
|
-
##
|
|
598
|
-
# Returns ancestor classes of +klass+
|
|
599
|
-
|
|
600
|
-
def ancestors_of(klass)
|
|
601
|
-
ancestors = []
|
|
602
|
-
|
|
603
|
-
unexamined = [klass]
|
|
604
|
-
seen = []
|
|
605
|
-
|
|
606
|
-
loop do
|
|
607
|
-
break if unexamined.empty?
|
|
608
|
-
current = unexamined.shift
|
|
609
|
-
seen << current
|
|
610
|
-
|
|
611
|
-
stores = classes[current]
|
|
612
|
-
|
|
613
|
-
next unless stores and not stores.empty?
|
|
614
|
-
|
|
615
|
-
klasses = stores.flat_map do |store|
|
|
616
|
-
store.ancestors[current] || []
|
|
617
|
-
end.uniq
|
|
618
|
-
|
|
619
|
-
klasses = klasses - seen
|
|
620
|
-
|
|
621
|
-
ancestors.concat klasses
|
|
622
|
-
unexamined.concat klasses
|
|
623
|
-
end
|
|
624
|
-
|
|
625
|
-
ancestors.reverse
|
|
626
|
-
end
|
|
627
|
-
|
|
628
|
-
##
|
|
629
|
-
# For RubyGems backwards compatibility
|
|
630
|
-
|
|
631
|
-
def class_cache # :nodoc:
|
|
632
|
-
end
|
|
633
|
-
|
|
634
|
-
##
|
|
635
|
-
# Builds a RDoc::Markup::Document from +found+, +klasess+ and +includes+
|
|
636
|
-
|
|
637
|
-
def class_document(name, found, klasses, includes, extends)
|
|
638
|
-
also_in = []
|
|
639
|
-
|
|
640
|
-
out = RDoc::Markup::Document.new
|
|
641
|
-
|
|
642
|
-
add_class out, name, klasses
|
|
643
|
-
|
|
644
|
-
add_includes out, includes
|
|
645
|
-
add_extends out, extends
|
|
646
|
-
|
|
647
|
-
found.each do |store, klass|
|
|
648
|
-
render_class out, store, klass, also_in
|
|
649
|
-
end
|
|
650
|
-
|
|
651
|
-
add_also_in out, also_in
|
|
652
|
-
|
|
653
|
-
expand_rdoc_refs_at_the_bottom(out)
|
|
654
|
-
out
|
|
655
|
-
end
|
|
656
|
-
|
|
657
|
-
##
|
|
658
|
-
# Adds the class +comment+ to +out+.
|
|
659
|
-
|
|
660
|
-
def class_document_comment(out, document) # :nodoc:
|
|
661
|
-
unless document.empty? then
|
|
662
|
-
out << RDoc::Markup::Rule.new(1)
|
|
663
|
-
|
|
664
|
-
if document.merged? then
|
|
665
|
-
parts = document.parts
|
|
666
|
-
parts = parts.zip [RDoc::Markup::BlankLine.new] * parts.length
|
|
667
|
-
parts.flatten!
|
|
668
|
-
parts.pop
|
|
669
|
-
|
|
670
|
-
out.concat parts
|
|
671
|
-
else
|
|
672
|
-
out << comment
|
|
673
|
-
end
|
|
674
|
-
end
|
|
675
|
-
end
|
|
676
|
-
|
|
677
|
-
##
|
|
678
|
-
# Adds the constants from +klass+ to the Document +out+.
|
|
679
|
-
|
|
680
|
-
def class_document_constants(out, klass) # :nodoc:
|
|
681
|
-
return if klass.constants.empty?
|
|
682
|
-
|
|
683
|
-
out << RDoc::Markup::Heading.new(1, "Constants:")
|
|
684
|
-
out << RDoc::Markup::BlankLine.new
|
|
685
|
-
list = RDoc::Markup::List.new :NOTE
|
|
686
|
-
|
|
687
|
-
constants = klass.constants.sort_by { |constant| constant.name }
|
|
688
|
-
|
|
689
|
-
list.items.concat constants.map { |constant|
|
|
690
|
-
parts = constant.comment.parse.parts
|
|
691
|
-
parts << RDoc::Markup::Paragraph.new('[not documented]') if
|
|
692
|
-
parts.empty?
|
|
693
|
-
|
|
694
|
-
RDoc::Markup::ListItem.new(constant.name, *parts)
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
out << list
|
|
698
|
-
out << RDoc::Markup::BlankLine.new
|
|
699
|
-
end
|
|
700
|
-
|
|
701
|
-
##
|
|
702
|
-
# Hash mapping a known class or module to the stores it can be loaded from
|
|
703
|
-
|
|
704
|
-
def classes
|
|
705
|
-
return @classes if @classes
|
|
706
|
-
|
|
707
|
-
@classes = {}
|
|
708
|
-
|
|
709
|
-
@stores.each do |store|
|
|
710
|
-
store.cache[:modules].each do |mod|
|
|
711
|
-
# using default block causes searched-for modules to be added
|
|
712
|
-
@classes[mod] ||= []
|
|
713
|
-
@classes[mod] << store
|
|
714
|
-
end
|
|
715
|
-
end
|
|
716
|
-
|
|
717
|
-
@classes
|
|
718
|
-
end
|
|
719
|
-
|
|
720
|
-
##
|
|
721
|
-
# Returns the stores wherein +name+ is found along with the classes,
|
|
722
|
-
# extends and includes that match it
|
|
723
|
-
|
|
724
|
-
def classes_and_includes_and_extends_for(name)
|
|
725
|
-
klasses = []
|
|
726
|
-
extends = []
|
|
727
|
-
includes = []
|
|
728
|
-
|
|
729
|
-
found = @stores.map do |store|
|
|
730
|
-
begin
|
|
731
|
-
klass = store.load_class name
|
|
732
|
-
klasses << klass
|
|
733
|
-
extends << [klass.extends, store] if klass.extends
|
|
734
|
-
includes << [klass.includes, store] if klass.includes
|
|
735
|
-
[store, klass]
|
|
736
|
-
rescue RDoc::Store::MissingFileError
|
|
737
|
-
end
|
|
738
|
-
end.compact
|
|
739
|
-
|
|
740
|
-
extends.reject! do |modules,| modules.empty? end
|
|
741
|
-
includes.reject! do |modules,| modules.empty? end
|
|
742
|
-
|
|
743
|
-
[found, klasses, includes, extends]
|
|
744
|
-
end
|
|
745
|
-
|
|
746
|
-
##
|
|
747
|
-
# Completes +name+ based on the caches. For Readline
|
|
748
|
-
|
|
749
|
-
def complete(name)
|
|
750
|
-
completions = []
|
|
751
|
-
|
|
752
|
-
klass, selector, method = parse_name name
|
|
753
|
-
|
|
754
|
-
complete_klass name, klass, selector, method, completions
|
|
755
|
-
complete_method name, klass, selector, completions
|
|
756
|
-
|
|
757
|
-
completions.uniq.select {|s| s.start_with? name }.sort
|
|
758
|
-
end
|
|
759
|
-
|
|
760
|
-
def complete_klass(name, klass, selector, method, completions) # :nodoc:
|
|
761
|
-
klasses = classes.keys
|
|
762
|
-
|
|
763
|
-
# may need to include Foo when given Foo::
|
|
764
|
-
klass_name = method ? name : klass
|
|
765
|
-
|
|
766
|
-
if name !~ /#|\./ then
|
|
767
|
-
completions.replace klasses.grep(/^#{Regexp.escape klass_name}[^:]*$/)
|
|
768
|
-
completions.concat klasses.grep(/^#{Regexp.escape name}[^:]*$/) if
|
|
769
|
-
name =~ /::$/
|
|
770
|
-
|
|
771
|
-
completions << klass if classes.key? klass # to complete a method name
|
|
772
|
-
elsif selector then
|
|
773
|
-
completions << klass if classes.key? klass
|
|
774
|
-
elsif classes.key? klass_name then
|
|
775
|
-
completions << klass_name
|
|
776
|
-
end
|
|
777
|
-
end
|
|
778
|
-
|
|
779
|
-
def complete_method(name, klass, selector, completions) # :nodoc:
|
|
780
|
-
if completions.include? klass and name =~ /#|\.|::/ then
|
|
781
|
-
methods = list_methods_matching name
|
|
782
|
-
|
|
783
|
-
if not methods.empty? then
|
|
784
|
-
# remove Foo if given Foo:: and a method was found
|
|
785
|
-
completions.delete klass
|
|
786
|
-
elsif selector then
|
|
787
|
-
# replace Foo with Foo:: as given
|
|
788
|
-
completions.delete klass
|
|
789
|
-
completions << "#{klass}#{selector}"
|
|
790
|
-
end
|
|
791
|
-
|
|
792
|
-
methods.each do |klass_sel_method|
|
|
793
|
-
match = klass_sel_method.match(/^(.+)(#|\.|::)([^#.:]+)$/)
|
|
794
|
-
# match[2] is `::` for class method and `#` for instance method.
|
|
795
|
-
# To be consistent with old completion that completes `['Foo#i', 'Foo::c']` for `Foo.`,
|
|
796
|
-
# `.` should be a wildcard for both `#` and `::` here.
|
|
797
|
-
if match && match[2] == selector || selector == '.'
|
|
798
|
-
completions << match[1] + selector + match[3]
|
|
799
|
-
end
|
|
800
|
-
end
|
|
801
|
-
end
|
|
802
|
-
end
|
|
803
|
-
|
|
804
|
-
##
|
|
805
|
-
# Converts +document+ to text and writes it to the pager
|
|
806
|
-
|
|
807
|
-
def display(document)
|
|
808
|
-
page do |io|
|
|
809
|
-
f = formatter(io)
|
|
810
|
-
f.width = @width if @width and f.respond_to?(:width)
|
|
811
|
-
text = document.accept f
|
|
812
|
-
|
|
813
|
-
io.write text
|
|
814
|
-
end
|
|
815
|
-
end
|
|
816
|
-
|
|
817
|
-
##
|
|
818
|
-
# Outputs formatted RI data for class +name+. Groups undocumented classes
|
|
819
|
-
|
|
820
|
-
def display_class(name)
|
|
821
|
-
return if name =~ /#|\./
|
|
822
|
-
|
|
823
|
-
found, klasses, includes, extends =
|
|
824
|
-
classes_and_includes_and_extends_for name
|
|
825
|
-
|
|
826
|
-
return if found.empty?
|
|
827
|
-
|
|
828
|
-
out = class_document name, found, klasses, includes, extends
|
|
829
|
-
|
|
830
|
-
display out
|
|
831
|
-
end
|
|
832
|
-
|
|
833
|
-
##
|
|
834
|
-
# Outputs formatted RI data for method +name+
|
|
835
|
-
|
|
836
|
-
def display_method(name)
|
|
837
|
-
out = RDoc::Markup::Document.new
|
|
838
|
-
|
|
839
|
-
add_method out, name
|
|
840
|
-
|
|
841
|
-
expand_rdoc_refs_at_the_bottom(out)
|
|
842
|
-
|
|
843
|
-
display out
|
|
844
|
-
end
|
|
845
|
-
|
|
846
|
-
##
|
|
847
|
-
# Outputs formatted RI data for the class or method +name+.
|
|
848
|
-
#
|
|
849
|
-
# Returns true if +name+ was found, false if it was not an alternative could
|
|
850
|
-
# be guessed, raises an error if +name+ couldn't be guessed.
|
|
851
|
-
|
|
852
|
-
def display_name(name)
|
|
853
|
-
if name =~ /\w:(\w|$)/ then
|
|
854
|
-
display_page name
|
|
855
|
-
return true
|
|
856
|
-
end
|
|
857
|
-
|
|
858
|
-
return true if display_class name
|
|
859
|
-
|
|
860
|
-
display_method name if name =~ /::|#|\./
|
|
861
|
-
|
|
862
|
-
true
|
|
863
|
-
rescue NotFoundError
|
|
864
|
-
matches = list_methods_matching name if name =~ /::|#|\./
|
|
865
|
-
matches = classes.keys.grep(/^#{Regexp.escape name}/) if matches.empty?
|
|
866
|
-
|
|
867
|
-
raise if matches.empty?
|
|
868
|
-
|
|
869
|
-
page do |io|
|
|
870
|
-
io.puts "#{name} not found, maybe you meant:"
|
|
871
|
-
io.puts
|
|
872
|
-
io.puts matches.sort.join("\n")
|
|
873
|
-
end
|
|
874
|
-
|
|
875
|
-
false
|
|
876
|
-
end
|
|
877
|
-
|
|
878
|
-
##
|
|
879
|
-
# Displays each name in +name+
|
|
880
|
-
|
|
881
|
-
def display_names(names)
|
|
882
|
-
names.each do |name|
|
|
883
|
-
name = expand_name name
|
|
884
|
-
|
|
885
|
-
display_name name
|
|
886
|
-
end
|
|
887
|
-
end
|
|
888
|
-
|
|
889
|
-
##
|
|
890
|
-
# Outputs formatted RI data for page +name+.
|
|
891
|
-
|
|
892
|
-
def display_page(name)
|
|
893
|
-
store_name, page_name = name.split ':', 2
|
|
894
|
-
|
|
895
|
-
store = @stores.find { |s| s.source == store_name }
|
|
896
|
-
|
|
897
|
-
return display_page_list store if page_name.empty?
|
|
898
|
-
|
|
899
|
-
pages = store.cache[:pages]
|
|
900
|
-
|
|
901
|
-
unless pages.include? page_name then
|
|
902
|
-
found_names = pages.select do |n|
|
|
903
|
-
n =~ /#{Regexp.escape page_name}\.[^.]+$/
|
|
904
|
-
end
|
|
905
|
-
|
|
906
|
-
if found_names.length.zero? then
|
|
907
|
-
return display_page_list store, pages
|
|
908
|
-
elsif found_names.length > 1 then
|
|
909
|
-
return display_page_list store, found_names, page_name
|
|
910
|
-
end
|
|
911
|
-
|
|
912
|
-
page_name = found_names.first
|
|
913
|
-
end
|
|
914
|
-
|
|
915
|
-
page = store.load_page page_name
|
|
916
|
-
|
|
917
|
-
display page.comment.parse
|
|
918
|
-
end
|
|
919
|
-
|
|
920
|
-
##
|
|
921
|
-
# Outputs a formatted RI page list for the pages in +store+.
|
|
922
|
-
|
|
923
|
-
def display_page_list(store, pages = store.cache[:pages], search = nil)
|
|
924
|
-
out = RDoc::Markup::Document.new
|
|
925
|
-
|
|
926
|
-
title = if search then
|
|
927
|
-
"#{search} pages"
|
|
928
|
-
else
|
|
929
|
-
'Pages'
|
|
930
|
-
end
|
|
931
|
-
|
|
932
|
-
out << RDoc::Markup::Heading.new(1, "#{title} in #{store.friendly_path}")
|
|
933
|
-
out << RDoc::Markup::BlankLine.new
|
|
934
|
-
|
|
935
|
-
list = RDoc::Markup::List.new(:BULLET)
|
|
936
|
-
|
|
937
|
-
pages.each do |page|
|
|
938
|
-
list << RDoc::Markup::Paragraph.new(page)
|
|
939
|
-
end
|
|
940
|
-
|
|
941
|
-
out << list
|
|
942
|
-
|
|
943
|
-
display out
|
|
944
|
-
end
|
|
945
|
-
|
|
946
|
-
def check_did_you_mean # :nodoc:
|
|
947
|
-
if defined? DidYouMean::SpellChecker
|
|
948
|
-
true
|
|
949
|
-
else
|
|
950
|
-
begin
|
|
951
|
-
require 'did_you_mean'
|
|
952
|
-
if defined? DidYouMean::SpellChecker
|
|
953
|
-
true
|
|
954
|
-
else
|
|
955
|
-
false
|
|
956
|
-
end
|
|
957
|
-
rescue LoadError
|
|
958
|
-
false
|
|
959
|
-
end
|
|
960
|
-
end
|
|
961
|
-
end
|
|
962
|
-
|
|
963
|
-
##
|
|
964
|
-
# Expands abbreviated klass +klass+ into a fully-qualified class. "Zl::Da"
|
|
965
|
-
# will be expanded to Zlib::DataError.
|
|
966
|
-
|
|
967
|
-
def expand_class(klass)
|
|
968
|
-
class_names = classes.keys
|
|
969
|
-
ary = class_names.grep(Regexp.new("\\A#{klass.gsub(/(?=::|\z)/, '[^:]*')}\\z"))
|
|
970
|
-
if ary.length != 1 && ary.first != klass
|
|
971
|
-
if check_did_you_mean
|
|
972
|
-
suggestion_proc = -> { DidYouMean::SpellChecker.new(dictionary: class_names).correct(klass) }
|
|
973
|
-
raise NotFoundError.new(klass, suggestion_proc)
|
|
974
|
-
else
|
|
975
|
-
raise NotFoundError, klass
|
|
976
|
-
end
|
|
977
|
-
end
|
|
978
|
-
ary.first
|
|
979
|
-
end
|
|
980
|
-
|
|
981
|
-
##
|
|
982
|
-
# Expands the class portion of +name+ into a fully-qualified class. See
|
|
983
|
-
# #expand_class.
|
|
984
|
-
|
|
985
|
-
def expand_name(name)
|
|
986
|
-
klass, selector, method = parse_name name
|
|
987
|
-
|
|
988
|
-
return [selector, method].join if klass.empty?
|
|
989
|
-
|
|
990
|
-
case selector
|
|
991
|
-
when ':' then
|
|
992
|
-
[find_store(klass), selector, method]
|
|
993
|
-
else
|
|
994
|
-
[expand_class(klass), selector, method]
|
|
995
|
-
end.join
|
|
996
|
-
end
|
|
997
|
-
|
|
998
|
-
##
|
|
999
|
-
# Filters the methods in +found+ trying to find a match for +name+.
|
|
1000
|
-
|
|
1001
|
-
def filter_methods(found, name)
|
|
1002
|
-
regexp = name_regexp name
|
|
1003
|
-
|
|
1004
|
-
filtered = found.find_all do |store, methods|
|
|
1005
|
-
methods.any? { |method| method.full_name =~ regexp }
|
|
1006
|
-
end
|
|
1007
|
-
|
|
1008
|
-
return filtered unless filtered.empty?
|
|
1009
|
-
|
|
1010
|
-
found
|
|
1011
|
-
end
|
|
1012
|
-
|
|
1013
|
-
##
|
|
1014
|
-
# Yields items matching +name+ including the store they were found in, the
|
|
1015
|
-
# class being searched for, the class they were found in (an ancestor) the
|
|
1016
|
-
# types of methods to look up (from #method_type), and the method name being
|
|
1017
|
-
# searched for
|
|
1018
|
-
|
|
1019
|
-
def find_methods(name)
|
|
1020
|
-
klass, selector, method = parse_name name
|
|
1021
|
-
|
|
1022
|
-
types = method_type selector
|
|
1023
|
-
|
|
1024
|
-
klasses = nil
|
|
1025
|
-
ambiguous = klass.empty?
|
|
1026
|
-
|
|
1027
|
-
if ambiguous then
|
|
1028
|
-
klasses = classes.keys
|
|
1029
|
-
else
|
|
1030
|
-
klasses = ancestors_of klass
|
|
1031
|
-
klasses.unshift klass
|
|
1032
|
-
end
|
|
1033
|
-
|
|
1034
|
-
methods = []
|
|
1035
|
-
|
|
1036
|
-
klasses.each do |ancestor|
|
|
1037
|
-
ancestors = classes[ancestor]
|
|
1038
|
-
|
|
1039
|
-
next unless ancestors
|
|
1040
|
-
|
|
1041
|
-
klass = ancestor if ambiguous
|
|
1042
|
-
|
|
1043
|
-
ancestors.each do |store|
|
|
1044
|
-
methods << [store, klass, ancestor, types, method]
|
|
1045
|
-
end
|
|
1046
|
-
end
|
|
1047
|
-
|
|
1048
|
-
methods = methods.sort_by do |_, k, a, _, m|
|
|
1049
|
-
[k, a, m].compact
|
|
1050
|
-
end
|
|
1051
|
-
|
|
1052
|
-
methods.each do |item|
|
|
1053
|
-
yield(*item) # :yields: store, klass, ancestor, types, method
|
|
1054
|
-
end
|
|
1055
|
-
|
|
1056
|
-
self
|
|
1057
|
-
end
|
|
1058
|
-
|
|
1059
|
-
##
|
|
1060
|
-
# Finds a store that matches +name+ which can be the name of a gem, "ruby",
|
|
1061
|
-
# "home" or "site".
|
|
1062
|
-
#
|
|
1063
|
-
# See also RDoc::Store#source
|
|
1064
|
-
|
|
1065
|
-
def find_store(name)
|
|
1066
|
-
@stores.each do |store|
|
|
1067
|
-
source = store.source
|
|
1068
|
-
|
|
1069
|
-
return source if source == name
|
|
1070
|
-
|
|
1071
|
-
return source if
|
|
1072
|
-
store.type == :gem and source =~ /^#{Regexp.escape name}-\d/
|
|
1073
|
-
end
|
|
1074
|
-
|
|
1075
|
-
raise RDoc::RI::Driver::NotFoundError, name
|
|
1076
|
-
end
|
|
1077
|
-
|
|
1078
|
-
##
|
|
1079
|
-
# Creates a new RDoc::Markup::Formatter. If a formatter is given with -f,
|
|
1080
|
-
# use it. If we're outputting to a pager, use bs, otherwise ansi.
|
|
1081
|
-
|
|
1082
|
-
def formatter(io)
|
|
1083
|
-
if @formatter_klass then
|
|
1084
|
-
@formatter_klass.new
|
|
1085
|
-
elsif paging? or !io.tty? then
|
|
1086
|
-
RDoc::Markup::ToBs.new
|
|
1087
|
-
else
|
|
1088
|
-
RDoc::Markup::ToAnsi.new
|
|
1089
|
-
end
|
|
1090
|
-
end
|
|
1091
|
-
|
|
1092
|
-
##
|
|
1093
|
-
# Runs ri interactively using Readline if it is available.
|
|
1094
|
-
|
|
1095
|
-
def interactive
|
|
1096
|
-
puts "\nEnter the method name you want to look up."
|
|
1097
|
-
|
|
1098
|
-
begin
|
|
1099
|
-
require 'readline'
|
|
1100
|
-
rescue LoadError
|
|
1101
|
-
end
|
|
1102
|
-
if defined? Readline then
|
|
1103
|
-
Readline.completion_proc = method :complete
|
|
1104
|
-
puts "You can use tab to autocomplete."
|
|
1105
|
-
end
|
|
1106
|
-
|
|
1107
|
-
puts "Enter a blank line to exit.\n\n"
|
|
1108
|
-
|
|
1109
|
-
loop do
|
|
1110
|
-
name = if defined? Readline then
|
|
1111
|
-
Readline.readline ">> ", true
|
|
1112
|
-
else
|
|
1113
|
-
print ">> "
|
|
1114
|
-
$stdin.gets
|
|
1115
|
-
end
|
|
1116
|
-
|
|
1117
|
-
return if name.nil? or name.empty?
|
|
1118
|
-
|
|
1119
|
-
begin
|
|
1120
|
-
display_name expand_name(name.strip)
|
|
1121
|
-
rescue NotFoundError => e
|
|
1122
|
-
puts e.message
|
|
1123
|
-
end
|
|
1124
|
-
end
|
|
1125
|
-
|
|
1126
|
-
rescue Interrupt
|
|
1127
|
-
exit
|
|
1128
|
-
end
|
|
1129
|
-
|
|
1130
|
-
##
|
|
1131
|
-
# Lists classes known to ri starting with +names+. If +names+ is empty all
|
|
1132
|
-
# known classes are shown.
|
|
1133
|
-
|
|
1134
|
-
def list_known_classes(names = [])
|
|
1135
|
-
classes = []
|
|
1136
|
-
|
|
1137
|
-
stores.each do |store|
|
|
1138
|
-
classes << store.module_names
|
|
1139
|
-
end
|
|
1140
|
-
|
|
1141
|
-
classes = classes.flatten.uniq.sort
|
|
1142
|
-
|
|
1143
|
-
unless names.empty? then
|
|
1144
|
-
filter = Regexp.union names.map { |name| /^#{name}/ }
|
|
1145
|
-
|
|
1146
|
-
classes = classes.grep filter
|
|
1147
|
-
end
|
|
1148
|
-
|
|
1149
|
-
page do |io|
|
|
1150
|
-
if paging? or io.tty? then
|
|
1151
|
-
if names.empty? then
|
|
1152
|
-
io.puts "Classes and Modules known to ri:"
|
|
1153
|
-
else
|
|
1154
|
-
io.puts "Classes and Modules starting with #{names.join ', '}:"
|
|
1155
|
-
end
|
|
1156
|
-
io.puts
|
|
1157
|
-
end
|
|
1158
|
-
|
|
1159
|
-
io.puts classes.join("\n")
|
|
1160
|
-
end
|
|
1161
|
-
end
|
|
1162
|
-
|
|
1163
|
-
##
|
|
1164
|
-
# Returns an Array of methods matching +name+
|
|
1165
|
-
|
|
1166
|
-
def list_methods_matching(name)
|
|
1167
|
-
found = []
|
|
1168
|
-
|
|
1169
|
-
find_methods name do |store, klass, ancestor, types, method|
|
|
1170
|
-
if types == :instance or types == :both then
|
|
1171
|
-
methods = store.instance_methods[ancestor]
|
|
1172
|
-
|
|
1173
|
-
if methods then
|
|
1174
|
-
matches = methods.grep(/^#{Regexp.escape method.to_s}/)
|
|
1175
|
-
|
|
1176
|
-
matches = matches.map do |match|
|
|
1177
|
-
"#{klass}##{match}"
|
|
1178
|
-
end
|
|
1179
|
-
|
|
1180
|
-
found.concat matches
|
|
1181
|
-
end
|
|
1182
|
-
end
|
|
1183
|
-
|
|
1184
|
-
if types == :class or types == :both then
|
|
1185
|
-
methods = store.class_methods[ancestor]
|
|
1186
|
-
|
|
1187
|
-
next unless methods
|
|
1188
|
-
matches = methods.grep(/^#{Regexp.escape method.to_s}/)
|
|
1189
|
-
|
|
1190
|
-
matches = matches.map do |match|
|
|
1191
|
-
"#{klass}::#{match}"
|
|
1192
|
-
end
|
|
1193
|
-
|
|
1194
|
-
found.concat matches
|
|
1195
|
-
end
|
|
1196
|
-
end
|
|
1197
|
-
|
|
1198
|
-
found.uniq
|
|
1199
|
-
end
|
|
1200
|
-
|
|
1201
|
-
##
|
|
1202
|
-
# Loads RI data for method +name+ on +klass+ from +store+. +type+ and
|
|
1203
|
-
# +cache+ indicate if it is a class or instance method.
|
|
1204
|
-
|
|
1205
|
-
def load_method(store, cache, klass, type, name)
|
|
1206
|
-
methods = store.public_send(cache)[klass]
|
|
1207
|
-
|
|
1208
|
-
return unless methods
|
|
1209
|
-
|
|
1210
|
-
method = methods.find do |method_name|
|
|
1211
|
-
method_name == name
|
|
1212
|
-
end
|
|
1213
|
-
|
|
1214
|
-
return unless method
|
|
1215
|
-
|
|
1216
|
-
store.load_method klass, "#{type}#{method}"
|
|
1217
|
-
rescue RDoc::Store::MissingFileError => e
|
|
1218
|
-
comment = RDoc::Comment.new("missing documentation at #{e.file}")
|
|
1219
|
-
comment.parse
|
|
1220
|
-
|
|
1221
|
-
method = RDoc::AnyMethod.new nil, name
|
|
1222
|
-
method.comment = comment
|
|
1223
|
-
method
|
|
1224
|
-
end
|
|
1225
|
-
|
|
1226
|
-
##
|
|
1227
|
-
# Returns an Array of RI data for methods matching +name+
|
|
1228
|
-
|
|
1229
|
-
def load_methods_matching(name)
|
|
1230
|
-
found = []
|
|
1231
|
-
|
|
1232
|
-
find_methods name do |store, klass, ancestor, types, method|
|
|
1233
|
-
methods = []
|
|
1234
|
-
|
|
1235
|
-
methods << load_method(store, :class_methods, ancestor, '::', method) if
|
|
1236
|
-
[:class, :both].include? types
|
|
1237
|
-
|
|
1238
|
-
methods << load_method(store, :instance_methods, ancestor, '#', method) if
|
|
1239
|
-
[:instance, :both].include? types
|
|
1240
|
-
|
|
1241
|
-
found << [store, methods.compact]
|
|
1242
|
-
end
|
|
1243
|
-
|
|
1244
|
-
found.reject do |path, methods| methods.empty? end
|
|
1245
|
-
end
|
|
1246
|
-
|
|
1247
|
-
##
|
|
1248
|
-
# Returns a filtered list of methods matching +name+
|
|
1249
|
-
|
|
1250
|
-
def lookup_method(name)
|
|
1251
|
-
found = load_methods_matching name
|
|
1252
|
-
|
|
1253
|
-
if found.empty?
|
|
1254
|
-
if check_did_you_mean
|
|
1255
|
-
methods = []
|
|
1256
|
-
_, _, method_name = parse_name name
|
|
1257
|
-
find_methods name do |store, klass, ancestor, types, method|
|
|
1258
|
-
methods.push(*store.class_methods[klass]) if [:class, :both].include? types
|
|
1259
|
-
methods.push(*store.instance_methods[klass]) if [:instance, :both].include? types
|
|
1260
|
-
end
|
|
1261
|
-
methods = methods.uniq
|
|
1262
|
-
suggestion_proc = -> { DidYouMean::SpellChecker.new(dictionary: methods).correct(method_name) }
|
|
1263
|
-
raise NotFoundError.new(name, suggestion_proc)
|
|
1264
|
-
else
|
|
1265
|
-
raise NotFoundError, name
|
|
1266
|
-
end
|
|
1267
|
-
end
|
|
1268
|
-
|
|
1269
|
-
filter_methods found, name
|
|
1270
|
-
end
|
|
1271
|
-
|
|
1272
|
-
##
|
|
1273
|
-
# Builds a RDoc::Markup::Document from +found+, +klasses+ and +includes+
|
|
1274
|
-
|
|
1275
|
-
def method_document(out, name, filtered)
|
|
1276
|
-
out << RDoc::Markup::Heading.new(1, name)
|
|
1277
|
-
out << RDoc::Markup::BlankLine.new
|
|
1278
|
-
|
|
1279
|
-
filtered.each do |store, methods|
|
|
1280
|
-
methods.each do |method|
|
|
1281
|
-
render_method out, store, method, name
|
|
1282
|
-
end
|
|
1283
|
-
end
|
|
1284
|
-
|
|
1285
|
-
out
|
|
1286
|
-
end
|
|
1287
|
-
|
|
1288
|
-
##
|
|
1289
|
-
# Returns the type of method (:both, :instance, :class) for +selector+
|
|
1290
|
-
|
|
1291
|
-
def method_type(selector)
|
|
1292
|
-
case selector
|
|
1293
|
-
when '.', nil then :both
|
|
1294
|
-
when '#' then :instance
|
|
1295
|
-
else :class
|
|
1296
|
-
end
|
|
1297
|
-
end
|
|
1298
|
-
|
|
1299
|
-
##
|
|
1300
|
-
# Returns a regular expression for +name+ that will match an
|
|
1301
|
-
# RDoc::AnyMethod's name.
|
|
1302
|
-
|
|
1303
|
-
def name_regexp(name)
|
|
1304
|
-
klass, type, name = parse_name name
|
|
1305
|
-
|
|
1306
|
-
case type
|
|
1307
|
-
when '#', '::' then
|
|
1308
|
-
/^#{klass}#{type}#{Regexp.escape name}$/
|
|
1309
|
-
else
|
|
1310
|
-
/^#{klass}(#|::)#{Regexp.escape name}$/
|
|
1311
|
-
end
|
|
1312
|
-
end
|
|
1313
|
-
|
|
1314
|
-
##
|
|
1315
|
-
# Paginates output through a pager program.
|
|
1316
|
-
|
|
1317
|
-
def page
|
|
1318
|
-
if pager = setup_pager then
|
|
1319
|
-
begin
|
|
1320
|
-
yield pager
|
|
1321
|
-
ensure
|
|
1322
|
-
pager.close
|
|
1323
|
-
end
|
|
1324
|
-
else
|
|
1325
|
-
yield $stdout
|
|
1326
|
-
end
|
|
1327
|
-
rescue Errno::EPIPE
|
|
1328
|
-
ensure
|
|
1329
|
-
@paging = false
|
|
1330
|
-
end
|
|
1331
|
-
|
|
1332
|
-
##
|
|
1333
|
-
# Are we using a pager?
|
|
1334
|
-
|
|
1335
|
-
def paging?
|
|
1336
|
-
@paging
|
|
1337
|
-
end
|
|
1338
|
-
|
|
1339
|
-
##
|
|
1340
|
-
# Extracts the class, selector and method name parts from +name+ like
|
|
1341
|
-
# Foo::Bar#baz.
|
|
1342
|
-
#
|
|
1343
|
-
# NOTE: Given Foo::Bar, Bar is considered a class even though it may be a
|
|
1344
|
-
# method
|
|
1345
|
-
|
|
1346
|
-
def parse_name(name)
|
|
1347
|
-
parts = name.split(/(::?|#|\.)/)
|
|
1348
|
-
|
|
1349
|
-
if parts.length == 1 then
|
|
1350
|
-
if parts.first =~ /^[a-z]|^([%&*+\/<>^`|~-]|\+@|-@|<<|<=>?|===?|=>|=~|>>|\[\]=?|~@)$/ then
|
|
1351
|
-
type = '.'
|
|
1352
|
-
meth = parts.pop
|
|
1353
|
-
else
|
|
1354
|
-
type = nil
|
|
1355
|
-
meth = nil
|
|
1356
|
-
end
|
|
1357
|
-
elsif parts.length == 2 or parts.last =~ /::|#|\./ then
|
|
1358
|
-
type = parts.pop
|
|
1359
|
-
meth = nil
|
|
1360
|
-
elsif parts[1] == ':' then
|
|
1361
|
-
klass = parts.shift
|
|
1362
|
-
type = parts.shift
|
|
1363
|
-
meth = parts.join
|
|
1364
|
-
elsif parts[-2] != '::' or parts.last !~ /^[A-Z]/ then
|
|
1365
|
-
meth = parts.pop
|
|
1366
|
-
type = parts.pop
|
|
1367
|
-
end
|
|
1368
|
-
|
|
1369
|
-
klass ||= parts.join
|
|
1370
|
-
|
|
1371
|
-
[klass, type, meth]
|
|
1372
|
-
end
|
|
1373
|
-
|
|
1374
|
-
##
|
|
1375
|
-
# Renders the +klass+ from +store+ to +out+. If the klass has no
|
|
1376
|
-
# documentable items the class is added to +also_in+ instead.
|
|
1377
|
-
|
|
1378
|
-
def render_class(out, store, klass, also_in) # :nodoc:
|
|
1379
|
-
document = klass.comment.parse
|
|
1380
|
-
# TODO the store's cache should always return an empty Array
|
|
1381
|
-
class_methods = store.class_methods[klass.full_name] || []
|
|
1382
|
-
instance_methods = store.instance_methods[klass.full_name] || []
|
|
1383
|
-
attributes = store.attributes[klass.full_name] || []
|
|
1384
|
-
|
|
1385
|
-
if document.empty? and
|
|
1386
|
-
instance_methods.empty? and class_methods.empty? then
|
|
1387
|
-
also_in << store
|
|
1388
|
-
return
|
|
1389
|
-
end
|
|
1390
|
-
|
|
1391
|
-
add_from out, store
|
|
1392
|
-
|
|
1393
|
-
class_document_comment out, document
|
|
1394
|
-
|
|
1395
|
-
if class_methods or instance_methods or not klass.constants.empty? then
|
|
1396
|
-
out << RDoc::Markup::Rule.new(1)
|
|
1397
|
-
end
|
|
1398
|
-
|
|
1399
|
-
class_document_constants out, klass
|
|
1400
|
-
|
|
1401
|
-
add_method_list out, class_methods, 'Class methods'
|
|
1402
|
-
add_method_list out, instance_methods, 'Instance methods'
|
|
1403
|
-
add_method_list out, attributes, 'Attributes'
|
|
1404
|
-
|
|
1405
|
-
add_method_documentation out, klass if @show_all
|
|
1406
|
-
end
|
|
1407
|
-
|
|
1408
|
-
def render_method(out, store, method, name) # :nodoc:
|
|
1409
|
-
out << RDoc::Markup::Paragraph.new("(from #{store.friendly_path})")
|
|
1410
|
-
|
|
1411
|
-
unless name =~ /^#{Regexp.escape method.parent_name}/ then
|
|
1412
|
-
out << RDoc::Markup::Heading.new(3, "Implementation from #{method.parent_name}")
|
|
1413
|
-
end
|
|
1414
|
-
|
|
1415
|
-
out << RDoc::Markup::Rule.new(1)
|
|
1416
|
-
|
|
1417
|
-
render_method_arguments out, method.arglists
|
|
1418
|
-
render_method_superclass out, method
|
|
1419
|
-
if method.is_alias_for
|
|
1420
|
-
al = method.is_alias_for
|
|
1421
|
-
alias_for = store.load_method al.parent_name, "#{al.name_prefix}#{al.name}"
|
|
1422
|
-
render_method_comment out, method, alias_for
|
|
1423
|
-
else
|
|
1424
|
-
render_method_comment out, method
|
|
1425
|
-
end
|
|
1426
|
-
end
|
|
1427
|
-
|
|
1428
|
-
def render_method_arguments(out, arglists) # :nodoc:
|
|
1429
|
-
return unless arglists
|
|
1430
|
-
|
|
1431
|
-
arglists = arglists.chomp.split "\n"
|
|
1432
|
-
arglists = arglists.map { |line| line + "\n" }
|
|
1433
|
-
out << RDoc::Markup::Verbatim.new(*arglists)
|
|
1434
|
-
out << RDoc::Markup::Rule.new(1)
|
|
1435
|
-
end
|
|
1436
|
-
|
|
1437
|
-
def render_method_comment(out, method, alias_for = nil)# :nodoc:
|
|
1438
|
-
if alias_for
|
|
1439
|
-
unless method.comment.nil? or method.comment.empty?
|
|
1440
|
-
out << RDoc::Markup::BlankLine.new
|
|
1441
|
-
out << method.comment.parse
|
|
1442
|
-
end
|
|
1443
|
-
out << RDoc::Markup::BlankLine.new
|
|
1444
|
-
out << RDoc::Markup::Paragraph.new("(This method is an alias for #{alias_for.full_name}.)")
|
|
1445
|
-
out << RDoc::Markup::BlankLine.new
|
|
1446
|
-
out << alias_for.comment.parse
|
|
1447
|
-
out << RDoc::Markup::BlankLine.new
|
|
1448
|
-
else
|
|
1449
|
-
out << RDoc::Markup::BlankLine.new
|
|
1450
|
-
out << method.comment.parse
|
|
1451
|
-
out << RDoc::Markup::BlankLine.new
|
|
1452
|
-
end
|
|
1453
|
-
end
|
|
1454
|
-
|
|
1455
|
-
def render_method_superclass(out, method) # :nodoc:
|
|
1456
|
-
return unless
|
|
1457
|
-
method.respond_to?(:superclass_method) and method.superclass_method
|
|
1458
|
-
|
|
1459
|
-
out << RDoc::Markup::BlankLine.new
|
|
1460
|
-
out << RDoc::Markup::Heading.new(4, "(Uses superclass method #{method.superclass_method})")
|
|
1461
|
-
out << RDoc::Markup::Rule.new(1)
|
|
1462
|
-
end
|
|
1463
|
-
|
|
1464
|
-
##
|
|
1465
|
-
# Looks up and displays ri data according to the options given.
|
|
1466
|
-
|
|
1467
|
-
def run
|
|
1468
|
-
if @list_doc_dirs then
|
|
1469
|
-
puts @doc_dirs
|
|
1470
|
-
elsif @list then
|
|
1471
|
-
list_known_classes @names
|
|
1472
|
-
elsif @server then
|
|
1473
|
-
start_server
|
|
1474
|
-
elsif @interactive or @names.empty? then
|
|
1475
|
-
interactive
|
|
1476
|
-
else
|
|
1477
|
-
display_names @names
|
|
1478
|
-
end
|
|
1479
|
-
rescue NotFoundError => e
|
|
1480
|
-
abort e.message
|
|
1481
|
-
end
|
|
1482
|
-
|
|
1483
|
-
##
|
|
1484
|
-
# Sets up a pager program to pass output through. Tries the RI_PAGER and
|
|
1485
|
-
# PAGER environment variables followed by pager, less then more.
|
|
1486
|
-
|
|
1487
|
-
def setup_pager
|
|
1488
|
-
return if @use_stdout
|
|
1489
|
-
|
|
1490
|
-
pagers = [ENV['RI_PAGER'], ENV['PAGER'], 'pager', 'less', 'more']
|
|
1491
|
-
|
|
1492
|
-
require 'shellwords'
|
|
1493
|
-
pagers.compact.uniq.each do |pager|
|
|
1494
|
-
pager = Shellwords.split(pager)
|
|
1495
|
-
next if pager.empty?
|
|
1496
|
-
|
|
1497
|
-
io = IO.popen(pager, 'w') rescue next
|
|
1498
|
-
next if $? and $?.pid == io.pid and $?.exited? # pager didn't work
|
|
1499
|
-
|
|
1500
|
-
@paging = true
|
|
1501
|
-
|
|
1502
|
-
return io
|
|
1503
|
-
end
|
|
1504
|
-
|
|
1505
|
-
@use_stdout = true
|
|
1506
|
-
|
|
1507
|
-
nil
|
|
1508
|
-
end
|
|
1509
|
-
|
|
1510
|
-
##
|
|
1511
|
-
# Starts a WEBrick server for ri.
|
|
1512
|
-
|
|
1513
|
-
def start_server
|
|
1514
|
-
begin
|
|
1515
|
-
require 'webrick'
|
|
1516
|
-
rescue LoadError
|
|
1517
|
-
abort "webrick is not found. You may need to `gem install webrick` to install webrick."
|
|
1518
|
-
end
|
|
1519
|
-
|
|
1520
|
-
server = WEBrick::HTTPServer.new :Port => @server
|
|
1521
|
-
|
|
1522
|
-
extra_doc_dirs = @stores.map {|s| s.type == :extra ? s.path : nil}.compact
|
|
1523
|
-
|
|
1524
|
-
server.mount '/', RDoc::Servlet, nil, extra_doc_dirs
|
|
1525
|
-
|
|
1526
|
-
trap 'INT' do server.shutdown end
|
|
1527
|
-
trap 'TERM' do server.shutdown end
|
|
1528
|
-
|
|
1529
|
-
server.start
|
|
1530
|
-
end
|
|
1531
|
-
|
|
1532
|
-
RDOC_REFS_REGEXP = /\[rdoc-ref:([\w.]+)(@.*)?\]/
|
|
1533
|
-
|
|
1534
|
-
def expand_rdoc_refs_at_the_bottom(out)
|
|
1535
|
-
return unless @expand_refs
|
|
1536
|
-
|
|
1537
|
-
extracted_rdoc_refs = []
|
|
1538
|
-
|
|
1539
|
-
out.each do |part|
|
|
1540
|
-
content = if part.respond_to?(:text)
|
|
1541
|
-
part.text
|
|
1542
|
-
else
|
|
1543
|
-
next
|
|
1544
|
-
end
|
|
1545
|
-
|
|
1546
|
-
rdoc_refs = content.scan(RDOC_REFS_REGEXP).uniq.map do |file_name, _anchor|
|
|
1547
|
-
file_name
|
|
1548
|
-
end
|
|
1549
|
-
|
|
1550
|
-
extracted_rdoc_refs.concat(rdoc_refs)
|
|
1551
|
-
end
|
|
1552
|
-
|
|
1553
|
-
found_pages = extracted_rdoc_refs.map do |ref|
|
|
1554
|
-
begin
|
|
1555
|
-
@stores.first.load_page(ref)
|
|
1556
|
-
rescue RDoc::Store::MissingFileError
|
|
1557
|
-
end
|
|
1558
|
-
end.compact
|
|
1559
|
-
|
|
1560
|
-
found_pages.each do |page|
|
|
1561
|
-
out << RDoc::Markup::Heading.new(4, "Expanded from #{page.full_name}")
|
|
1562
|
-
out << RDoc::Markup::BlankLine.new
|
|
1563
|
-
out << page.comment.parse
|
|
1564
|
-
end
|
|
1565
|
-
end
|
|
1566
|
-
end
|