@ai-ecoverse/wasix-ruby 3.4.11-2 → 3.4.11-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRESTAGE.md +38 -6
- package/bin/ruby +1 -0
- package/bin/ruby.wasm +0 -0
- package/lib/ruby/3.4.0/socket.rb +1790 -0
- package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +5 -5
- package/lib/ruby/3.4.11/English.gemspec +22 -0
- package/lib/ruby/3.4.11/English.rb +164 -0
- package/lib/ruby/3.4.11/benchmark.gemspec +32 -0
- package/lib/ruby/3.4.11/benchmark.rb +594 -0
- package/lib/ruby/3.4.11/bundled_gems.rb +248 -0
- package/lib/ruby/3.4.11/bundler/.document +1 -0
- package/lib/ruby/3.4.11/bundler/build_metadata.rb +43 -0
- package/lib/ruby/3.4.11/bundler/bundler.gemspec +45 -0
- package/lib/ruby/3.4.11/bundler/capistrano.rb +22 -0
- package/lib/ruby/3.4.11/bundler/checksum.rb +264 -0
- package/lib/ruby/3.4.11/bundler/ci_detector.rb +75 -0
- package/lib/ruby/3.4.11/bundler/cli/add.rb +49 -0
- package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +57 -0
- package/lib/ruby/3.4.11/bundler/cli/cache.rb +43 -0
- package/lib/ruby/3.4.11/bundler/cli/check.rb +40 -0
- package/lib/ruby/3.4.11/bundler/cli/clean.rb +25 -0
- package/lib/ruby/3.4.11/bundler/cli/common.rb +138 -0
- package/lib/ruby/3.4.11/bundler/cli/config.rb +204 -0
- package/lib/ruby/3.4.11/bundler/cli/console.rb +42 -0
- package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +167 -0
- package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +249 -0
- package/lib/ruby/3.4.11/bundler/cli/doctor.rb +33 -0
- package/lib/ruby/3.4.11/bundler/cli/exec.rb +89 -0
- package/lib/ruby/3.4.11/bundler/cli/fund.rb +36 -0
- package/lib/ruby/3.4.11/bundler/cli/gem.rb +467 -0
- package/lib/ruby/3.4.11/bundler/cli/info.rb +83 -0
- package/lib/ruby/3.4.11/bundler/cli/init.rb +51 -0
- package/lib/ruby/3.4.11/bundler/cli/inject.rb +60 -0
- package/lib/ruby/3.4.11/bundler/cli/install.rb +199 -0
- package/lib/ruby/3.4.11/bundler/cli/issue.rb +41 -0
- package/lib/ruby/3.4.11/bundler/cli/list.rb +66 -0
- package/lib/ruby/3.4.11/bundler/cli/lock.rb +94 -0
- package/lib/ruby/3.4.11/bundler/cli/open.rb +29 -0
- package/lib/ruby/3.4.11/bundler/cli/outdated.rb +297 -0
- package/lib/ruby/3.4.11/bundler/cli/platform.rb +48 -0
- package/lib/ruby/3.4.11/bundler/cli/plugin.rb +35 -0
- package/lib/ruby/3.4.11/bundler/cli/pristine.rb +60 -0
- package/lib/ruby/3.4.11/bundler/cli/remove.rb +17 -0
- package/lib/ruby/3.4.11/bundler/cli/show.rb +75 -0
- package/lib/ruby/3.4.11/bundler/cli/update.rb +123 -0
- package/lib/ruby/3.4.11/bundler/cli/viz.rb +31 -0
- package/lib/ruby/3.4.11/bundler/cli.rb +790 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +96 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +148 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +84 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +105 -0
- package/lib/ruby/3.4.11/bundler/compact_index_client.rb +97 -0
- package/lib/ruby/3.4.11/bundler/constants.rb +14 -0
- package/lib/ruby/3.4.11/bundler/current_ruby.rb +82 -0
- package/lib/ruby/3.4.11/bundler/definition.rb +1187 -0
- package/lib/ruby/3.4.11/bundler/dependency.rb +151 -0
- package/lib/ruby/3.4.11/bundler/deployment.rb +69 -0
- package/lib/ruby/3.4.11/bundler/deprecate.rb +44 -0
- package/lib/ruby/3.4.11/bundler/digest.rb +71 -0
- package/lib/ruby/3.4.11/bundler/dsl.rb +638 -0
- package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +174 -0
- package/lib/ruby/3.4.11/bundler/env.rb +148 -0
- package/lib/ruby/3.4.11/bundler/environment_preserver.rb +68 -0
- package/lib/ruby/3.4.11/bundler/errors.rb +281 -0
- package/lib/ruby/3.4.11/bundler/feature_flag.rb +50 -0
- package/lib/ruby/3.4.11/bundler/fetcher/base.rb +52 -0
- package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +120 -0
- package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +78 -0
- package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +91 -0
- package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +16 -0
- package/lib/ruby/3.4.11/bundler/fetcher/index.rb +25 -0
- package/lib/ruby/3.4.11/bundler/fetcher.rb +331 -0
- package/lib/ruby/3.4.11/bundler/force_platform.rb +16 -0
- package/lib/ruby/3.4.11/bundler/friendly_errors.rb +126 -0
- package/lib/ruby/3.4.11/bundler/gem_helper.rb +237 -0
- package/lib/ruby/3.4.11/bundler/gem_helpers.rb +144 -0
- package/lib/ruby/3.4.11/bundler/gem_tasks.rb +7 -0
- package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +147 -0
- package/lib/ruby/3.4.11/bundler/graph.rb +152 -0
- package/lib/ruby/3.4.11/bundler/index.rb +205 -0
- package/lib/ruby/3.4.11/bundler/injector.rb +285 -0
- package/lib/ruby/3.4.11/bundler/inline.rb +98 -0
- package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +85 -0
- package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +203 -0
- package/lib/ruby/3.4.11/bundler/installer/standalone.rb +113 -0
- package/lib/ruby/3.4.11/bundler/installer.rb +243 -0
- package/lib/ruby/3.4.11/bundler/lazy_specification.rb +243 -0
- package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +104 -0
- package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +300 -0
- package/lib/ruby/3.4.11/bundler/man/.document +1 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +76 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +87 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +33 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +44 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +68 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +108 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +24 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +31 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +17 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +18 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +317 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +408 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +33 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +39 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +30 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +33 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +9 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +10 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +107 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +154 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +22 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +25 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +87 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +149 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +9 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +12 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +17 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +21 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +20 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +32 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +31 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +32 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +218 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +387 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +45 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +37 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +9 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +10 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +35 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +36 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +75 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +115 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +32 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +28 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +103 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +110 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +49 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +49 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +58 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +63 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +23 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +34 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +21 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +23 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +19 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +25 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +281 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +359 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +22 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +24 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +30 -0
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +36 -0
- package/lib/ruby/3.4.11/bundler/man/bundle.1 +102 -0
- package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +116 -0
- package/lib/ruby/3.4.11/bundler/man/gemfile.5 +472 -0
- package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +558 -0
- package/lib/ruby/3.4.11/bundler/man/index.txt +33 -0
- package/lib/ruby/3.4.11/bundler/match_metadata.rb +30 -0
- package/lib/ruby/3.4.11/bundler/match_platform.rb +23 -0
- package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +29 -0
- package/lib/ruby/3.4.11/bundler/materialization.rb +59 -0
- package/lib/ruby/3.4.11/bundler/mirror.rb +221 -0
- package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +322 -0
- package/lib/ruby/3.4.11/bundler/plugin/api.rb +81 -0
- package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +53 -0
- package/lib/ruby/3.4.11/bundler/plugin/events.rb +85 -0
- package/lib/ruby/3.4.11/bundler/plugin/index.rb +197 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +34 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +26 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +19 -0
- package/lib/ruby/3.4.11/bundler/plugin/installer.rb +132 -0
- package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +31 -0
- package/lib/ruby/3.4.11/bundler/plugin.rb +378 -0
- package/lib/ruby/3.4.11/bundler/process_lock.rb +20 -0
- package/lib/ruby/3.4.11/bundler/remote_specification.rb +126 -0
- package/lib/ruby/3.4.11/bundler/resolver/base.rb +118 -0
- package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +85 -0
- package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +15 -0
- package/lib/ruby/3.4.11/bundler/resolver/package.rb +94 -0
- package/lib/ruby/3.4.11/bundler/resolver/root.rb +25 -0
- package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +74 -0
- package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +40 -0
- package/lib/ruby/3.4.11/bundler/resolver.rb +526 -0
- package/lib/ruby/3.4.11/bundler/retry.rb +66 -0
- package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +62 -0
- package/lib/ruby/3.4.11/bundler/ruby_version.rb +137 -0
- package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +485 -0
- package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +172 -0
- package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +455 -0
- package/lib/ruby/3.4.11/bundler/runtime.rb +320 -0
- package/lib/ruby/3.4.11/bundler/safe_marshal.rb +31 -0
- package/lib/ruby/3.4.11/bundler/self_manager.rb +206 -0
- package/lib/ruby/3.4.11/bundler/settings/validator.rb +102 -0
- package/lib/ruby/3.4.11/bundler/settings.rb +599 -0
- package/lib/ruby/3.4.11/bundler/setup.rb +39 -0
- package/lib/ruby/3.4.11/bundler/shared_helpers.rb +398 -0
- package/lib/ruby/3.4.11/bundler/similarity_detector.rb +63 -0
- package/lib/ruby/3.4.11/bundler/source/gemspec.rb +15 -0
- package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +472 -0
- package/lib/ruby/3.4.11/bundler/source/git.rb +452 -0
- package/lib/ruby/3.4.11/bundler/source/metadata.rb +63 -0
- package/lib/ruby/3.4.11/bundler/source/path/installer.rb +53 -0
- package/lib/ruby/3.4.11/bundler/source/path.rb +250 -0
- package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +76 -0
- package/lib/ruby/3.4.11/bundler/source/rubygems.rb +522 -0
- package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +68 -0
- package/lib/ruby/3.4.11/bundler/source.rb +118 -0
- package/lib/ruby/3.4.11/bundler/source_list.rb +273 -0
- package/lib/ruby/3.4.11/bundler/source_map.rb +71 -0
- package/lib/ruby/3.4.11/bundler/spec_set.rb +395 -0
- package/lib/ruby/3.4.11/bundler/stub_specification.rb +146 -0
- package/lib/ruby/3.4.11/bundler/templates/.document +1 -0
- package/lib/ruby/3.4.11/bundler/templates/Executable +27 -0
- package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +109 -0
- package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +14 -0
- package/lib/ruby/3.4.11/bundler/templates/Gemfile +5 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +132 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +7 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +24 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +21 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +49 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +67 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +11 -0
- package/lib/ruby/{gems/3.4.0/gems/nkf-0.2.0/bin/setup → 3.4.11/bundler/templates/newgem/bin/setup.tt} +0 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +25 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +3 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +23 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +52 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +3 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +8 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +3 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
- package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +19 -0
- package/lib/ruby/3.4.11/bundler/ui/shell.rb +187 -0
- package/lib/ruby/3.4.11/bundler/ui/silent.rb +96 -0
- package/lib/ruby/3.4.11/bundler/ui.rb +9 -0
- package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +43 -0
- package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendor/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +224 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +186 -0
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +2696 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1111 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +371 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +340 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +825 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +151 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +106 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +292 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +335 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +388 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +81 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +285 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +3 -0
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +674 -0
- package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +455 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/.document +1 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +880 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +100 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +125 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +6 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +83 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +104 -0
- package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +23 -0
- package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +11 -0
- package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +12 -0
- package/lib/ruby/3.4.11/bundler/vendored_thor.rb +8 -0
- package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +12 -0
- package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +4 -0
- package/lib/ruby/3.4.11/bundler/vendored_uri.rb +21 -0
- package/lib/ruby/3.4.11/bundler/version.rb +13 -0
- package/lib/ruby/3.4.11/bundler/vlad.rb +17 -0
- package/lib/ruby/3.4.11/bundler/worker.rb +117 -0
- package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +98 -0
- package/lib/ruby/3.4.11/bundler.rb +701 -0
- package/lib/ruby/3.4.11/cgi/cgi.gemspec +43 -0
- package/lib/ruby/3.4.11/cgi/cookie.rb +210 -0
- package/lib/ruby/3.4.11/cgi/core.rb +900 -0
- package/lib/ruby/3.4.11/cgi/html.rb +1035 -0
- package/lib/ruby/3.4.11/cgi/session/pstore.rb +91 -0
- package/lib/ruby/3.4.11/cgi/session.rb +562 -0
- package/lib/ruby/3.4.11/cgi/util.rb +258 -0
- package/lib/ruby/3.4.11/cgi.rb +297 -0
- package/lib/ruby/3.4.11/delegate.gemspec +29 -0
- package/lib/ruby/3.4.11/delegate.rb +444 -0
- package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +57 -0
- package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +25 -0
- package/lib/ruby/3.4.11/did_you_mean/experimental.rb +2 -0
- package/lib/ruby/3.4.11/did_you_mean/formatter.rb +44 -0
- package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +4 -0
- package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +10 -0
- package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +84 -0
- package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +57 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +46 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +28 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +79 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +49 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +85 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +20 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +6 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +28 -0
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +39 -0
- package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +109 -0
- package/lib/ruby/3.4.11/did_you_mean/verbose.rb +2 -0
- package/lib/ruby/3.4.11/did_you_mean/version.rb +3 -0
- package/lib/ruby/3.4.11/did_you_mean.rb +131 -0
- package/lib/ruby/3.4.11/erb/compiler.rb +472 -0
- package/lib/ruby/3.4.11/erb/def_method.rb +47 -0
- package/lib/ruby/3.4.11/erb/util.rb +63 -0
- package/lib/ruby/3.4.11/erb/version.rb +5 -0
- package/lib/ruby/3.4.11/erb.gemspec +38 -0
- package/lib/ruby/3.4.11/erb.rb +509 -0
- package/lib/ruby/3.4.11/error_highlight/base.rb +830 -0
- package/lib/ruby/3.4.11/error_highlight/core_ext.rb +47 -0
- package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +27 -0
- package/lib/ruby/3.4.11/error_highlight/formatter.rb +74 -0
- package/lib/ruby/3.4.11/error_highlight/version.rb +3 -0
- package/lib/ruby/3.4.11/error_highlight.rb +2 -0
- package/lib/ruby/3.4.11/fileutils.gemspec +31 -0
- package/lib/ruby/3.4.11/fileutils.rb +2696 -0
- package/lib/ruby/3.4.11/find.gemspec +29 -0
- package/lib/ruby/3.4.11/find.rb +90 -0
- package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +26 -0
- package/lib/ruby/3.4.11/forwardable/impl.rb +17 -0
- package/lib/ruby/3.4.11/forwardable.rb +321 -0
- package/lib/ruby/3.4.11/ipaddr.gemspec +36 -0
- package/lib/ruby/3.4.11/ipaddr.rb +841 -0
- package/lib/ruby/3.4.11/irb/cmd/nop.rb +4 -0
- package/lib/ruby/3.4.11/irb/color.rb +262 -0
- package/lib/ruby/3.4.11/irb/color_printer.rb +55 -0
- package/lib/ruby/3.4.11/irb/command/backtrace.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/base.rb +60 -0
- package/lib/ruby/3.4.11/irb/command/break.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/catch.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/cd.rb +51 -0
- package/lib/ruby/3.4.11/irb/command/chws.rb +40 -0
- package/lib/ruby/3.4.11/irb/command/context.rb +16 -0
- package/lib/ruby/3.4.11/irb/command/continue.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/debug.rb +73 -0
- package/lib/ruby/3.4.11/irb/command/delete.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/disable_irb.rb +19 -0
- package/lib/ruby/3.4.11/irb/command/edit.rb +63 -0
- package/lib/ruby/3.4.11/irb/command/exit.rb +18 -0
- package/lib/ruby/3.4.11/irb/command/finish.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/force_exit.rb +18 -0
- package/lib/ruby/3.4.11/irb/command/help.rb +83 -0
- package/lib/ruby/3.4.11/irb/command/history.rb +45 -0
- package/lib/ruby/3.4.11/irb/command/info.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +27 -0
- package/lib/ruby/3.4.11/irb/command/irb_info.rb +33 -0
- package/lib/ruby/3.4.11/irb/command/load.rb +91 -0
- package/lib/ruby/3.4.11/irb/command/ls.rb +167 -0
- package/lib/ruby/3.4.11/irb/command/measure.rb +49 -0
- package/lib/ruby/3.4.11/irb/command/next.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/pushws.rb +65 -0
- package/lib/ruby/3.4.11/irb/command/show_doc.rb +51 -0
- package/lib/ruby/3.4.11/irb/command/show_source.rb +74 -0
- package/lib/ruby/3.4.11/irb/command/step.rb +17 -0
- package/lib/ruby/3.4.11/irb/command/subirb.rb +123 -0
- package/lib/ruby/3.4.11/irb/command/whereami.rb +23 -0
- package/lib/ruby/3.4.11/irb/command.rb +23 -0
- package/lib/ruby/3.4.11/irb/completion.rb +504 -0
- package/lib/ruby/3.4.11/irb/context.rb +716 -0
- package/lib/ruby/3.4.11/irb/debug/ui.rb +101 -0
- package/lib/ruby/3.4.11/irb/debug.rb +127 -0
- package/lib/ruby/3.4.11/irb/default_commands.rb +276 -0
- package/lib/ruby/3.4.11/irb/easter-egg.rb +152 -0
- package/lib/ruby/3.4.11/irb/ext/change-ws.rb +37 -0
- package/lib/ruby/3.4.11/irb/ext/eval_history.rb +149 -0
- package/lib/ruby/3.4.11/irb/ext/loader.rb +127 -0
- package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +258 -0
- package/lib/ruby/3.4.11/irb/ext/tracer.rb +39 -0
- package/lib/ruby/3.4.11/irb/ext/use-loader.rb +67 -0
- package/lib/ruby/3.4.11/irb/ext/workspaces.rb +36 -0
- package/lib/ruby/3.4.11/irb/frame.rb +80 -0
- package/lib/ruby/3.4.11/irb/help.rb +28 -0
- package/lib/ruby/3.4.11/irb/helper_method/base.rb +16 -0
- package/lib/ruby/3.4.11/irb/helper_method/conf.rb +11 -0
- package/lib/ruby/3.4.11/irb/helper_method.rb +29 -0
- package/lib/ruby/3.4.11/irb/history.rb +112 -0
- package/lib/ruby/3.4.11/irb/init.rb +538 -0
- package/lib/ruby/3.4.11/irb/input-method.rb +515 -0
- package/lib/ruby/3.4.11/irb/inspector.rb +131 -0
- package/lib/ruby/3.4.11/irb/irb.gemspec +46 -0
- package/lib/ruby/3.4.11/irb/lc/error.rb +52 -0
- package/lib/ruby/3.4.11/irb/lc/help-message +55 -0
- package/lib/ruby/3.4.11/irb/lc/ja/error.rb +53 -0
- package/lib/ruby/3.4.11/irb/lc/ja/help-message +58 -0
- package/lib/ruby/3.4.11/irb/locale.rb +153 -0
- package/lib/ruby/3.4.11/irb/nesting_parser.rb +239 -0
- package/lib/ruby/3.4.11/irb/notifier.rb +230 -0
- package/lib/ruby/3.4.11/irb/output-method.rb +80 -0
- package/lib/ruby/3.4.11/irb/pager.rb +100 -0
- package/lib/ruby/3.4.11/irb/ruby-lex.rb +476 -0
- package/lib/ruby/3.4.11/irb/ruby_logo.aa +118 -0
- package/lib/ruby/3.4.11/irb/source_finder.rb +138 -0
- package/lib/ruby/3.4.11/irb/statement.rb +80 -0
- package/lib/ruby/3.4.11/irb/version.rb +11 -0
- package/lib/ruby/3.4.11/irb/workspace.rb +171 -0
- package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +9 -0
- package/lib/ruby/3.4.11/irb/xmp.rb +164 -0
- package/lib/ruby/3.4.11/irb.rb +1593 -0
- package/lib/ruby/3.4.11/logger/errors.rb +9 -0
- package/lib/ruby/3.4.11/logger/formatter.rb +36 -0
- package/lib/ruby/3.4.11/logger/log_device.rb +236 -0
- package/lib/ruby/3.4.11/logger/logger.gemspec +22 -0
- package/lib/ruby/3.4.11/logger/period.rb +47 -0
- package/lib/ruby/3.4.11/logger/severity.rb +38 -0
- package/lib/ruby/3.4.11/logger/version.rb +5 -0
- package/lib/ruby/3.4.11/logger.rb +761 -0
- package/lib/ruby/3.4.11/mkmf.rb +3045 -0
- package/lib/ruby/3.4.11/net/http/exceptions.rb +34 -0
- package/lib/ruby/3.4.11/net/http/generic_request.rb +414 -0
- package/lib/ruby/3.4.11/net/http/header.rb +981 -0
- package/lib/ruby/3.4.11/net/http/net-http.gemspec +39 -0
- package/lib/ruby/3.4.11/net/http/proxy_delta.rb +17 -0
- package/lib/ruby/3.4.11/net/http/request.rb +88 -0
- package/lib/ruby/3.4.11/net/http/requests.rb +430 -0
- package/lib/ruby/3.4.11/net/http/response.rb +738 -0
- package/lib/ruby/3.4.11/net/http/responses.rb +1174 -0
- package/lib/ruby/3.4.11/net/http/status.rb +84 -0
- package/lib/ruby/3.4.11/net/http.rb +2574 -0
- package/lib/ruby/3.4.11/net/https.rb +23 -0
- package/lib/ruby/3.4.11/net/net-protocol.gemspec +34 -0
- package/lib/ruby/3.4.11/net/protocol.rb +544 -0
- package/lib/ruby/3.4.11/open-uri.gemspec +32 -0
- package/lib/ruby/3.4.11/open-uri.rb +895 -0
- package/lib/ruby/3.4.11/open3/open3.gemspec +33 -0
- package/lib/ruby/3.4.11/open3/version.rb +3 -0
- package/lib/ruby/3.4.11/open3.rb +1410 -0
- package/lib/ruby/3.4.11/optionparser.rb +2 -0
- package/lib/ruby/3.4.11/optparse/ac.rb +70 -0
- package/lib/ruby/3.4.11/optparse/date.rb +18 -0
- package/lib/ruby/3.4.11/optparse/kwargs.rb +27 -0
- package/lib/ruby/3.4.11/optparse/optparse.gemspec +31 -0
- package/lib/ruby/3.4.11/optparse/shellwords.rb +7 -0
- package/lib/ruby/3.4.11/optparse/time.rb +11 -0
- package/lib/ruby/3.4.11/optparse/uri.rb +7 -0
- package/lib/ruby/3.4.11/optparse/version.rb +80 -0
- package/lib/ruby/3.4.11/optparse.rb +2429 -0
- package/lib/ruby/3.4.11/ostruct.gemspec +24 -0
- package/lib/ruby/3.4.11/ostruct.rb +489 -0
- package/lib/ruby/3.4.11/pp.gemspec +35 -0
- package/lib/ruby/3.4.11/pp.rb +699 -0
- package/lib/ruby/3.4.11/prettyprint.gemspec +29 -0
- package/lib/ruby/3.4.11/prettyprint.rb +558 -0
- package/lib/ruby/3.4.11/prism/compiler.rb +801 -0
- package/lib/ruby/3.4.11/prism/desugar_compiler.rb +392 -0
- package/lib/ruby/3.4.11/prism/dispatcher.rb +2210 -0
- package/lib/ruby/3.4.11/prism/dsl.rb +1003 -0
- package/lib/ruby/3.4.11/prism/ffi.rb +570 -0
- package/lib/ruby/3.4.11/prism/inspect_visitor.rb +2392 -0
- package/lib/ruby/3.4.11/prism/lex_compat.rb +928 -0
- package/lib/ruby/3.4.11/prism/mutation_compiler.rb +772 -0
- package/lib/ruby/3.4.11/prism/node.rb +18816 -0
- package/lib/ruby/3.4.11/prism/node_ext.rb +511 -0
- package/lib/ruby/3.4.11/prism/pack.rb +230 -0
- package/lib/ruby/3.4.11/prism/parse_result/comments.rb +188 -0
- package/lib/ruby/3.4.11/prism/parse_result/errors.rb +66 -0
- package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +155 -0
- package/lib/ruby/3.4.11/prism/parse_result.rb +911 -0
- package/lib/ruby/3.4.11/prism/pattern.rb +269 -0
- package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +15 -0
- package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +13 -0
- package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +14 -0
- package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +14 -0
- package/lib/ruby/3.4.11/prism/polyfill/warn.rb +36 -0
- package/lib/ruby/3.4.11/prism/prism.gemspec +174 -0
- package/lib/ruby/3.4.11/prism/reflection.rb +416 -0
- package/lib/ruby/3.4.11/prism/relocation.rb +505 -0
- package/lib/ruby/3.4.11/prism/serialize.rb +2400 -0
- package/lib/ruby/3.4.11/prism/string_query.rb +31 -0
- package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +62 -0
- package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +2234 -0
- package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +820 -0
- package/lib/ruby/3.4.11/prism/translation/parser.rb +374 -0
- package/lib/ruby/3.4.11/prism/translation/parser33.rb +13 -0
- package/lib/ruby/3.4.11/prism/translation/parser34.rb +13 -0
- package/lib/ruby/3.4.11/prism/translation/parser35.rb +13 -0
- package/lib/ruby/3.4.11/prism/translation/parser_current.rb +24 -0
- package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +126 -0
- package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +5 -0
- package/lib/ruby/3.4.11/prism/translation/ripper.rb +3474 -0
- package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +1929 -0
- package/lib/ruby/3.4.11/prism/translation.rb +16 -0
- package/lib/ruby/3.4.11/prism/visitor.rb +813 -0
- package/lib/ruby/3.4.11/prism.rb +91 -0
- package/lib/ruby/3.4.11/pstore.gemspec +32 -0
- package/lib/ruby/3.4.11/pstore.rb +736 -0
- package/lib/ruby/3.4.11/random/formatter.rb +372 -0
- package/lib/ruby/3.4.11/rdoc/.document +2 -0
- package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +104 -0
- package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +10 -0
- package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +374 -0
- package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +172 -0
- package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +888 -0
- package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +186 -0
- package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +175 -0
- package/lib/ruby/3.4.11/rdoc/code_object/context.rb +1222 -0
- package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +9 -0
- package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/code_object/include.rb +9 -0
- package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +410 -0
- package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +120 -0
- package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +92 -0
- package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +73 -0
- package/lib/ruby/3.4.11/rdoc/code_object/require.rb +51 -0
- package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +30 -0
- package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +273 -0
- package/lib/ruby/3.4.11/rdoc/code_object.rb +395 -0
- package/lib/ruby/3.4.11/rdoc/code_objects.rb +5 -0
- package/lib/ruby/3.4.11/rdoc/comment.rb +236 -0
- package/lib/ruby/3.4.11/rdoc/cross_reference.rb +228 -0
- package/lib/ruby/3.4.11/rdoc/encoding.rb +120 -0
- package/lib/ruby/3.4.11/rdoc/erb_partial.rb +18 -0
- package/lib/ruby/3.4.11/rdoc/erbio.rb +37 -0
- package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +812 -0
- package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +284 -0
- package/lib/ruby/3.4.11/rdoc/generator/markup.rb +171 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +68 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +84 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +141 -0
- package/lib/ruby/3.4.11/rdoc/generator/pot.rb +94 -0
- package/lib/ruby/3.4.11/rdoc/generator/ri.rb +30 -0
- 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 +5 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +48 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +5 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +21 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +32 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +6 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +39 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +3 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +221 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +167 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +683 -0
- 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 +23 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +120 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +110 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +18 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +20 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +65 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +70 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +1 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +105 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +229 -0
- package/lib/ruby/3.4.11/rdoc/generator.rb +51 -0
- package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +102 -0
- package/lib/ruby/3.4.11/rdoc/i18n/text.rb +126 -0
- package/lib/ruby/3.4.11/rdoc/i18n.rb +10 -0
- package/lib/ruby/3.4.11/rdoc/known_classes.rb +74 -0
- package/lib/ruby/3.4.11/rdoc/markdown/.document +1 -0
- package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +2131 -0
- package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +454 -0
- package/lib/ruby/3.4.11/rdoc/markdown.rb +16806 -0
- package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +22 -0
- package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +35 -0
- package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +405 -0
- package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +70 -0
- package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +27 -0
- package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +14 -0
- package/lib/ruby/3.4.11/rdoc/markup/document.rb +164 -0
- package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +272 -0
- package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +31 -0
- package/lib/ruby/3.4.11/rdoc/markup/heading.rb +84 -0
- package/lib/ruby/3.4.11/rdoc/markup/include.rb +42 -0
- package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +47 -0
- package/lib/ruby/3.4.11/rdoc/markup/list.rb +101 -0
- package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +99 -0
- package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +28 -0
- package/lib/ruby/3.4.11/rdoc/markup/parser.rb +585 -0
- package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +318 -0
- package/lib/ruby/3.4.11/rdoc/markup/raw.rb +69 -0
- package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +40 -0
- package/lib/ruby/3.4.11/rdoc/markup/rule.rb +20 -0
- package/lib/ruby/3.4.11/rdoc/markup/table.rb +56 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +93 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +102 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +462 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +226 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +287 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +46 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +74 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +191 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +353 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +88 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +69 -0
- package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +120 -0
- package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +83 -0
- package/lib/ruby/3.4.11/rdoc/markup.rb +240 -0
- package/lib/ruby/3.4.11/rdoc/options.rb +1416 -0
- package/lib/ruby/3.4.11/rdoc/parser/c.rb +1257 -0
- package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +350 -0
- package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +22 -0
- package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +1092 -0
- package/lib/ruby/3.4.11/rdoc/parser/rd.rb +22 -0
- package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +302 -0
- package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +2378 -0
- package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +165 -0
- package/lib/ruby/3.4.11/rdoc/parser/simple.rb +61 -0
- package/lib/ruby/3.4.11/rdoc/parser/text.rb +11 -0
- package/lib/ruby/3.4.11/rdoc/parser.rb +297 -0
- package/lib/ruby/3.4.11/rdoc/rd/.document +1 -0
- package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +1706 -0
- package/lib/ruby/3.4.11/rdoc/rd/inline.rb +71 -0
- package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +1854 -0
- package/lib/ruby/3.4.11/rdoc/rd.rb +99 -0
- package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +68 -0
- package/lib/ruby/3.4.11/rdoc/rdoc.rb +551 -0
- package/lib/ruby/3.4.11/rdoc/ri/driver.rb +1566 -0
- package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/ri/paths.rb +171 -0
- package/lib/ruby/3.4.11/rdoc/ri/store.rb +6 -0
- package/lib/ruby/3.4.11/rdoc/ri/task.rb +71 -0
- package/lib/ruby/3.4.11/rdoc/ri.rb +20 -0
- package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +327 -0
- package/lib/ruby/3.4.11/rdoc/servlet.rb +452 -0
- package/lib/ruby/3.4.11/rdoc/stats/normal.rb +58 -0
- package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +59 -0
- package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +44 -0
- package/lib/ruby/3.4.11/rdoc/stats.rb +461 -0
- package/lib/ruby/3.4.11/rdoc/store.rb +997 -0
- package/lib/ruby/3.4.11/rdoc/task.rb +354 -0
- package/lib/ruby/3.4.11/rdoc/text.rb +322 -0
- package/lib/ruby/3.4.11/rdoc/token_stream.rb +118 -0
- package/lib/ruby/3.4.11/rdoc/tom_doc.rb +257 -0
- package/lib/ruby/3.4.11/rdoc/version.rb +10 -0
- package/lib/ruby/3.4.11/rdoc.rb +211 -0
- package/lib/ruby/3.4.11/readline.gemspec +33 -0
- package/lib/ruby/3.4.11/readline.rb +7 -0
- package/lib/ruby/3.4.11/reline/config.rb +373 -0
- package/lib/ruby/3.4.11/reline/face.rb +199 -0
- package/lib/ruby/3.4.11/reline/history.rb +76 -0
- package/lib/ruby/3.4.11/reline/io/ansi.rb +325 -0
- package/lib/ruby/3.4.11/reline/io/dumb.rb +120 -0
- package/lib/ruby/3.4.11/reline/io/windows.rb +530 -0
- package/lib/ruby/3.4.11/reline/io.rb +55 -0
- package/lib/ruby/3.4.11/reline/key_actor/base.rb +37 -0
- package/lib/ruby/3.4.11/reline/key_actor/composite.rb +17 -0
- package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +517 -0
- package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +518 -0
- package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +517 -0
- package/lib/ruby/3.4.11/reline/key_actor.rb +8 -0
- package/lib/ruby/3.4.11/reline/key_stroke.rb +119 -0
- package/lib/ruby/3.4.11/reline/kill_ring.rb +125 -0
- package/lib/ruby/3.4.11/reline/line_editor.rb +2382 -0
- package/lib/ruby/3.4.11/reline/reline.gemspec +30 -0
- package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +1267 -0
- package/lib/ruby/3.4.11/reline/unicode.rb +415 -0
- package/lib/ruby/3.4.11/reline/version.rb +3 -0
- package/lib/ruby/3.4.11/reline.rb +519 -0
- package/lib/ruby/3.4.11/resolv.gemspec +30 -0
- package/lib/ruby/3.4.11/resolv.rb +3587 -0
- package/lib/ruby/3.4.11/ruby2_keywords.gemspec +23 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/.document +1 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +1160 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +11 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +24 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +394 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +99 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +91 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +518 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +377 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +7 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +164 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +36 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +6046 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +1326 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +155 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +65 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +191 -0
- package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +221 -0
- package/lib/ruby/3.4.11/rubygems/available_set.rb +165 -0
- package/lib/ruby/3.4.11/rubygems/basic_specification.rb +383 -0
- package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +77 -0
- package/lib/ruby/3.4.11/rubygems/ci_detector.rb +75 -0
- package/lib/ruby/3.4.11/rubygems/command.rb +664 -0
- package/lib/ruby/3.4.11/rubygems/command_manager.rb +255 -0
- package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +127 -0
- package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +325 -0
- package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +97 -0
- package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +178 -0
- package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +196 -0
- package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +206 -0
- package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +181 -0
- package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +256 -0
- package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +109 -0
- package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +51 -0
- package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +375 -0
- package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +38 -0
- package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +269 -0
- package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +42 -0
- package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +109 -0
- package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +83 -0
- package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +33 -0
- package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +124 -0
- package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +217 -0
- package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +135 -0
- package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +43 -0
- package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +90 -0
- package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +262 -0
- package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +41 -0
- package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +663 -0
- package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +34 -0
- package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +32 -0
- package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +227 -0
- package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +156 -0
- package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +40 -0
- package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +204 -0
- package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +168 -0
- package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +326 -0
- package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +88 -0
- package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +99 -0
- package/lib/ruby/3.4.11/rubygems/compatibility.rb +41 -0
- package/lib/ruby/3.4.11/rubygems/config_file.rb +618 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +68 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +149 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +45 -0
- package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +54 -0
- package/lib/ruby/3.4.11/rubygems/defaults.rb +308 -0
- package/lib/ruby/3.4.11/rubygems/dependency.rb +348 -0
- package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +335 -0
- package/lib/ruby/3.4.11/rubygems/dependency_list.rb +243 -0
- package/lib/ruby/3.4.11/rubygems/deprecate.rb +169 -0
- package/lib/ruby/3.4.11/rubygems/doctor.rb +132 -0
- package/lib/ruby/3.4.11/rubygems/errors.rb +177 -0
- package/lib/ruby/3.4.11/rubygems/exceptions.rb +293 -0
- package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +9 -0
- package/lib/ruby/3.4.11/rubygems/ext/builder.rb +260 -0
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +346 -0
- package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +21 -0
- package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +77 -0
- package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +37 -0
- package/lib/ruby/3.4.11/rubygems/ext.rb +20 -0
- package/lib/ruby/3.4.11/rubygems/gem_runner.rb +89 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +163 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +105 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +80 -0
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +397 -0
- package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +19 -0
- package/lib/ruby/3.4.11/rubygems/install_default_message.rb +13 -0
- package/lib/ruby/3.4.11/rubygems/install_message.rb +13 -0
- package/lib/ruby/3.4.11/rubygems/install_update_options.rb +204 -0
- package/lib/ruby/3.4.11/rubygems/installer.rb +1031 -0
- package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +27 -0
- package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/name_tuple.rb +119 -0
- package/lib/ruby/3.4.11/rubygems/openssl.rb +7 -0
- package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +63 -0
- package/lib/ruby/3.4.11/rubygems/package/file_source.rb +32 -0
- package/lib/ruby/3.4.11/rubygems/package/io_source.rb +48 -0
- package/lib/ruby/3.4.11/rubygems/package/old.rb +169 -0
- package/lib/ruby/3.4.11/rubygems/package/source.rb +4 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +277 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +244 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +101 -0
- package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +332 -0
- package/lib/ruby/3.4.11/rubygems/package.rb +742 -0
- package/lib/ruby/3.4.11/rubygems/package_task.rb +123 -0
- package/lib/ruby/3.4.11/rubygems/path_support.rb +85 -0
- package/lib/ruby/3.4.11/rubygems/platform.rb +269 -0
- package/lib/ruby/3.4.11/rubygems/psych_tree.rb +37 -0
- package/lib/ruby/3.4.11/rubygems/query_utils.rb +349 -0
- package/lib/ruby/3.4.11/rubygems/rdoc.rb +26 -0
- package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +341 -0
- package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +95 -0
- package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +47 -0
- package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +10 -0
- package/lib/ruby/3.4.11/rubygems/request.rb +298 -0
- package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +841 -0
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +344 -0
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +122 -0
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +235 -0
- package/lib/ruby/3.4.11/rubygems/request_set.rb +468 -0
- package/lib/ruby/3.4.11/rubygems/requirement.rb +298 -0
- package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +159 -0
- package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +21 -0
- package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +139 -0
- package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +105 -0
- package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +49 -0
- package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +65 -0
- package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +12 -0
- package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +119 -0
- package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +120 -0
- package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +57 -0
- package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +79 -0
- package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +101 -0
- package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +57 -0
- package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +271 -0
- package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +40 -0
- package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +81 -0
- package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +86 -0
- package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +82 -0
- package/lib/ruby/3.4.11/rubygems/resolver/set.rb +55 -0
- package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +47 -0
- package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +76 -0
- package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +126 -0
- package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +46 -0
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +86 -0
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/resolver.rb +341 -0
- package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +177 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +325 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +428 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +74 -0
- package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +74 -0
- package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +45 -0
- package/lib/ruby/3.4.11/rubygems/security/policies.rb +114 -0
- package/lib/ruby/3.4.11/rubygems/security/policy.rb +288 -0
- package/lib/ruby/3.4.11/rubygems/security/signer.rb +212 -0
- package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +117 -0
- package/lib/ruby/3.4.11/rubygems/security.rb +615 -0
- package/lib/ruby/3.4.11/rubygems/security_option.rb +43 -0
- package/lib/ruby/3.4.11/rubygems/source/git.rb +244 -0
- package/lib/ruby/3.4.11/rubygems/source/installed.rb +39 -0
- package/lib/ruby/3.4.11/rubygems/source/local.rb +131 -0
- package/lib/ruby/3.4.11/rubygems/source/lock.rb +49 -0
- package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +73 -0
- package/lib/ruby/3.4.11/rubygems/source/vendor.rb +24 -0
- package/lib/ruby/3.4.11/rubygems/source.rb +247 -0
- package/lib/ruby/3.4.11/rubygems/source_list.rb +146 -0
- package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +290 -0
- package/lib/ruby/3.4.11/rubygems/specification.rb +2666 -0
- package/lib/ruby/3.4.11/rubygems/specification_policy.rb +558 -0
- package/lib/ruby/3.4.11/rubygems/specification_record.rb +212 -0
- package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +21 -0
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
- package/lib/ruby/3.4.11/rubygems/stub_specification.rb +235 -0
- package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +50 -0
- package/lib/ruby/3.4.11/rubygems/text.rb +85 -0
- package/lib/ruby/3.4.11/rubygems/uninstaller.rb +429 -0
- package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +21 -0
- package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +56 -0
- package/lib/ruby/3.4.11/rubygems/uri.rb +126 -0
- package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +47 -0
- package/lib/ruby/3.4.11/rubygems/user_interaction.rb +650 -0
- package/lib/ruby/3.4.11/rubygems/util/licenses.rb +834 -0
- package/lib/ruby/3.4.11/rubygems/util/list.rb +40 -0
- package/lib/ruby/3.4.11/rubygems/util.rb +118 -0
- package/lib/ruby/3.4.11/rubygems/validator.rb +144 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +88 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +164 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +255 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +149 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +112 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +839 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +58 -0
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +11 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +34 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +414 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +981 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +17 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +88 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +430 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +738 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +1174 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +84 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +2580 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +544 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +2 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +70 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +18 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +27 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +7 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +11 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +80 -0
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +2426 -0
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +3455 -0
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +102 -0
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +198 -0
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +455 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +1 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +880 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +100 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +125 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +6 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +104 -0
- package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +5 -0
- package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +5 -0
- package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +3 -0
- package/lib/ruby/3.4.11/rubygems/version.rb +441 -0
- package/lib/ruby/3.4.11/rubygems/version_option.rb +80 -0
- package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +98 -0
- package/lib/ruby/3.4.11/rubygems.rb +1417 -0
- package/lib/ruby/3.4.11/securerandom.gemspec +34 -0
- package/lib/ruby/3.4.11/securerandom.rb +102 -0
- package/lib/ruby/3.4.11/set/set.gemspec +30 -0
- package/lib/ruby/3.4.11/set/sorted_set.rb +6 -0
- package/lib/ruby/3.4.11/set.rb +855 -0
- package/lib/ruby/3.4.11/shellwords.gemspec +31 -0
- package/lib/ruby/3.4.11/shellwords.rb +254 -0
- package/lib/ruby/3.4.11/singleton.gemspec +30 -0
- package/lib/ruby/3.4.11/singleton.rb +239 -0
- package/lib/ruby/3.4.11/syntax_suggest/api.rb +233 -0
- package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +232 -0
- package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +165 -0
- package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +85 -0
- package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +71 -0
- package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +245 -0
- package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +306 -0
- package/lib/ruby/3.4.11/syntax_suggest/cli.rb +130 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +100 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +178 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +243 -0
- package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +139 -0
- package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +96 -0
- package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +70 -0
- package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +83 -0
- package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +117 -0
- package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +168 -0
- package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +74 -0
- package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +70 -0
- package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +30 -0
- package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +60 -0
- package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +59 -0
- package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +63 -0
- package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +105 -0
- package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +39 -0
- package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +134 -0
- package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +32 -0
- package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +36 -0
- package/lib/ruby/3.4.11/syntax_suggest/version.rb +5 -0
- package/lib/ruby/3.4.11/syntax_suggest.rb +3 -0
- package/lib/ruby/3.4.11/tempfile.gemspec +33 -0
- package/lib/ruby/3.4.11/tempfile.rb +640 -0
- package/lib/ruby/3.4.11/time.gemspec +35 -0
- package/lib/ruby/3.4.11/time.rb +731 -0
- package/lib/ruby/3.4.11/timeout.gemspec +33 -0
- package/lib/ruby/3.4.11/timeout.rb +200 -0
- package/lib/ruby/3.4.11/tmpdir.gemspec +30 -0
- package/lib/ruby/3.4.11/tmpdir.rb +189 -0
- package/lib/ruby/3.4.11/tsort.gemspec +29 -0
- package/lib/ruby/3.4.11/tsort.rb +455 -0
- package/lib/ruby/3.4.11/un.gemspec +31 -0
- package/lib/ruby/3.4.11/un.rb +441 -0
- package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +181 -0
- package/lib/ruby/3.4.11/unicode_normalize/tables.rb +9259 -0
- package/lib/ruby/3.4.11/uri/common.rb +880 -0
- package/lib/ruby/3.4.11/uri/file.rb +100 -0
- package/lib/ruby/3.4.11/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.11/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.11/uri/http.rb +125 -0
- package/lib/ruby/3.4.11/uri/https.rb +23 -0
- package/lib/ruby/3.4.11/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.11/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.11/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.11/uri/uri.gemspec +42 -0
- package/lib/ruby/3.4.11/uri/version.rb +6 -0
- package/lib/ruby/3.4.11/uri/ws.rb +83 -0
- package/lib/ruby/3.4.11/uri/wss.rb +23 -0
- package/lib/ruby/3.4.11/uri.rb +104 -0
- package/lib/ruby/3.4.11/weakref.gemspec +34 -0
- package/lib/ruby/3.4.11/weakref.rb +58 -0
- package/lib/ruby/3.4.11/yaml/dbm.rb +295 -0
- package/lib/ruby/3.4.11/yaml/store.rb +98 -0
- package/lib/ruby/3.4.11/yaml/yaml.gemspec +30 -0
- package/lib/ruby/3.4.11/yaml.rb +70 -0
- package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
- package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
- package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
- package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
- package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
- package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
- package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
- package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
- package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
- package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
- package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
- package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
- package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
- package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
- package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
- package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
- package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
- package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
- package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
- package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
- package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
- package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
- package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
- package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
- package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
- package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
- package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
- package/package.json +17 -13
- package/lib/ruby/3.4.0/expect.rb +0 -71
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
- package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
- package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
- package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
- package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
- package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
- package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
|
@@ -0,0 +1,1566 @@
|
|
|
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
|