@ai-ecoverse/wasix-ruby 3.4.11-1 → 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 +61 -27
- package/README.md +2 -2
- package/bin/bundle +29 -0
- package/bin/bundler +29 -0
- package/bin/erb +29 -0
- package/bin/gem +12 -0
- package/bin/irb +29 -0
- package/bin/rake +29 -0
- package/bin/ruby +1 -0
- package/bin/ruby.wasm +0 -0
- package/lib/ruby/3.4.0/English.rb +164 -0
- package/lib/ruby/3.4.0/benchmark.rb +594 -0
- package/lib/ruby/3.4.0/bundled_gems.rb +248 -0
- package/lib/ruby/3.4.0/bundler/build_metadata.rb +43 -0
- package/lib/ruby/3.4.0/bundler/capistrano.rb +22 -0
- package/lib/ruby/3.4.0/bundler/checksum.rb +264 -0
- package/lib/ruby/3.4.0/bundler/ci_detector.rb +75 -0
- package/lib/ruby/3.4.0/bundler/cli/add.rb +49 -0
- package/lib/ruby/3.4.0/bundler/cli/binstubs.rb +57 -0
- package/lib/ruby/3.4.0/bundler/cli/cache.rb +43 -0
- package/lib/ruby/3.4.0/bundler/cli/check.rb +40 -0
- package/lib/ruby/3.4.0/bundler/cli/clean.rb +25 -0
- package/lib/ruby/3.4.0/bundler/cli/common.rb +138 -0
- package/lib/ruby/3.4.0/bundler/cli/config.rb +204 -0
- package/lib/ruby/3.4.0/bundler/cli/console.rb +42 -0
- package/lib/ruby/3.4.0/bundler/cli/doctor/diagnose.rb +167 -0
- package/lib/ruby/3.4.0/bundler/cli/doctor/ssl.rb +249 -0
- package/lib/ruby/3.4.0/bundler/cli/doctor.rb +33 -0
- package/lib/ruby/3.4.0/bundler/cli/exec.rb +89 -0
- package/lib/ruby/3.4.0/bundler/cli/fund.rb +36 -0
- package/lib/ruby/3.4.0/bundler/cli/gem.rb +467 -0
- package/lib/ruby/3.4.0/bundler/cli/info.rb +83 -0
- package/lib/ruby/3.4.0/bundler/cli/init.rb +51 -0
- package/lib/ruby/3.4.0/bundler/cli/inject.rb +60 -0
- package/lib/ruby/3.4.0/bundler/cli/install.rb +199 -0
- package/lib/ruby/3.4.0/bundler/cli/issue.rb +41 -0
- package/lib/ruby/3.4.0/bundler/cli/list.rb +66 -0
- package/lib/ruby/3.4.0/bundler/cli/lock.rb +94 -0
- package/lib/ruby/3.4.0/bundler/cli/open.rb +29 -0
- package/lib/ruby/3.4.0/bundler/cli/outdated.rb +297 -0
- package/lib/ruby/3.4.0/bundler/cli/platform.rb +48 -0
- package/lib/ruby/3.4.0/bundler/cli/plugin.rb +35 -0
- package/lib/ruby/3.4.0/bundler/cli/pristine.rb +60 -0
- package/lib/ruby/3.4.0/bundler/cli/remove.rb +17 -0
- package/lib/ruby/3.4.0/bundler/cli/show.rb +75 -0
- package/lib/ruby/3.4.0/bundler/cli/update.rb +123 -0
- package/lib/ruby/3.4.0/bundler/cli/viz.rb +31 -0
- package/lib/ruby/3.4.0/bundler/cli.rb +790 -0
- package/lib/ruby/3.4.0/bundler/compact_index_client/cache.rb +96 -0
- package/lib/ruby/3.4.0/bundler/compact_index_client/cache_file.rb +148 -0
- package/lib/ruby/3.4.0/bundler/compact_index_client/parser.rb +84 -0
- package/lib/ruby/3.4.0/bundler/compact_index_client/updater.rb +105 -0
- package/lib/ruby/3.4.0/bundler/compact_index_client.rb +97 -0
- package/lib/ruby/3.4.0/bundler/constants.rb +14 -0
- package/lib/ruby/3.4.0/bundler/current_ruby.rb +82 -0
- package/lib/ruby/3.4.0/bundler/definition.rb +1187 -0
- package/lib/ruby/3.4.0/bundler/dependency.rb +151 -0
- package/lib/ruby/3.4.0/bundler/deployment.rb +69 -0
- package/lib/ruby/3.4.0/bundler/deprecate.rb +44 -0
- package/lib/ruby/3.4.0/bundler/digest.rb +71 -0
- package/lib/ruby/3.4.0/bundler/dsl.rb +638 -0
- package/lib/ruby/3.4.0/bundler/endpoint_specification.rb +174 -0
- package/lib/ruby/3.4.0/bundler/env.rb +148 -0
- package/lib/ruby/3.4.0/bundler/environment_preserver.rb +68 -0
- package/lib/ruby/3.4.0/bundler/errors.rb +281 -0
- package/lib/ruby/3.4.0/bundler/feature_flag.rb +50 -0
- package/lib/ruby/3.4.0/bundler/fetcher/base.rb +52 -0
- package/lib/ruby/3.4.0/bundler/fetcher/compact_index.rb +120 -0
- package/lib/ruby/3.4.0/bundler/fetcher/dependency.rb +78 -0
- package/lib/ruby/3.4.0/bundler/fetcher/downloader.rb +91 -0
- package/lib/ruby/3.4.0/bundler/fetcher/gem_remote_fetcher.rb +16 -0
- package/lib/ruby/3.4.0/bundler/fetcher/index.rb +25 -0
- package/lib/ruby/3.4.0/bundler/fetcher.rb +331 -0
- package/lib/ruby/3.4.0/bundler/force_platform.rb +16 -0
- package/lib/ruby/3.4.0/bundler/friendly_errors.rb +126 -0
- package/lib/ruby/3.4.0/bundler/gem_helper.rb +237 -0
- package/lib/ruby/3.4.0/bundler/gem_helpers.rb +144 -0
- package/lib/ruby/3.4.0/bundler/gem_tasks.rb +7 -0
- package/lib/ruby/3.4.0/bundler/gem_version_promoter.rb +147 -0
- package/lib/ruby/3.4.0/bundler/graph.rb +152 -0
- package/lib/ruby/3.4.0/bundler/index.rb +205 -0
- package/lib/ruby/3.4.0/bundler/injector.rb +285 -0
- package/lib/ruby/3.4.0/bundler/inline.rb +98 -0
- package/lib/ruby/3.4.0/bundler/installer/gem_installer.rb +85 -0
- package/lib/ruby/3.4.0/bundler/installer/parallel_installer.rb +203 -0
- package/lib/ruby/3.4.0/bundler/installer/standalone.rb +113 -0
- package/lib/ruby/3.4.0/bundler/installer.rb +243 -0
- package/lib/ruby/3.4.0/bundler/lazy_specification.rb +243 -0
- package/lib/ruby/3.4.0/bundler/lockfile_generator.rb +104 -0
- package/lib/ruby/3.4.0/bundler/lockfile_parser.rb +300 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-add.1 +76 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-add.1.ronn +87 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-binstubs.1 +33 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-binstubs.1.ronn +44 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-cache.1 +68 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-cache.1.ronn +108 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-check.1 +24 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-check.1.ronn +31 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-clean.1 +17 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-clean.1.ronn +18 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-config.1 +317 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-config.1.ronn +408 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-console.1 +33 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-console.1.ronn +39 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-doctor.1 +30 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-doctor.1.ronn +33 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-env.1 +9 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-env.1.ronn +10 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-exec.1 +107 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-exec.1.ronn +154 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-fund.1 +22 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-fund.1.ronn +25 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-gem.1 +87 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-gem.1.ronn +149 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-help.1 +9 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-help.1.ronn +12 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-info.1 +17 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-info.1.ronn +21 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-init.1 +20 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-init.1.ronn +32 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-inject.1 +31 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-inject.1.ronn +32 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-install.1 +218 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-install.1.ronn +387 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-issue.1 +45 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-issue.1.ronn +37 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-licenses.1 +9 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-licenses.1.ronn +10 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-list.1 +35 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-list.1.ronn +36 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-lock.1 +75 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-lock.1.ronn +115 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-open.1 +32 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-open.1.ronn +28 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-outdated.1 +103 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-outdated.1.ronn +110 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-platform.1 +49 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-platform.1.ronn +49 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-plugin.1 +58 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-plugin.1.ronn +63 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-pristine.1 +23 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-pristine.1.ronn +34 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-remove.1 +21 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-remove.1.ronn +23 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-show.1 +19 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-show.1.ronn +25 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-update.1 +281 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-update.1.ronn +359 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-version.1 +22 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-version.1.ronn +24 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-viz.1 +30 -0
- package/lib/ruby/3.4.0/bundler/man/bundle-viz.1.ronn +36 -0
- package/lib/ruby/3.4.0/bundler/man/bundle.1 +102 -0
- package/lib/ruby/3.4.0/bundler/man/bundle.1.ronn +116 -0
- package/lib/ruby/3.4.0/bundler/man/gemfile.5 +472 -0
- package/lib/ruby/3.4.0/bundler/man/gemfile.5.ronn +558 -0
- package/lib/ruby/3.4.0/bundler/match_metadata.rb +30 -0
- package/lib/ruby/3.4.0/bundler/match_platform.rb +23 -0
- package/lib/ruby/3.4.0/bundler/match_remote_metadata.rb +29 -0
- package/lib/ruby/3.4.0/bundler/materialization.rb +59 -0
- package/lib/ruby/3.4.0/bundler/mirror.rb +221 -0
- package/lib/ruby/3.4.0/bundler/plugin/api/source.rb +322 -0
- package/lib/ruby/3.4.0/bundler/plugin/api.rb +81 -0
- package/lib/ruby/3.4.0/bundler/plugin/dsl.rb +53 -0
- package/lib/ruby/3.4.0/bundler/plugin/events.rb +85 -0
- package/lib/ruby/3.4.0/bundler/plugin/index.rb +197 -0
- package/lib/ruby/3.4.0/bundler/plugin/installer/git.rb +34 -0
- package/lib/ruby/3.4.0/bundler/plugin/installer/path.rb +26 -0
- package/lib/ruby/3.4.0/bundler/plugin/installer/rubygems.rb +19 -0
- package/lib/ruby/3.4.0/bundler/plugin/installer.rb +132 -0
- package/lib/ruby/3.4.0/bundler/plugin/source_list.rb +31 -0
- package/lib/ruby/3.4.0/bundler/plugin.rb +378 -0
- package/lib/ruby/3.4.0/bundler/process_lock.rb +20 -0
- package/lib/ruby/3.4.0/bundler/remote_specification.rb +126 -0
- package/lib/ruby/3.4.0/bundler/resolver/base.rb +118 -0
- package/lib/ruby/3.4.0/bundler/resolver/candidate.rb +85 -0
- package/lib/ruby/3.4.0/bundler/resolver/incompatibility.rb +15 -0
- package/lib/ruby/3.4.0/bundler/resolver/package.rb +94 -0
- package/lib/ruby/3.4.0/bundler/resolver/root.rb +25 -0
- package/lib/ruby/3.4.0/bundler/resolver/spec_group.rb +74 -0
- package/lib/ruby/3.4.0/bundler/resolver/strategy.rb +40 -0
- package/lib/ruby/3.4.0/bundler/resolver.rb +526 -0
- package/lib/ruby/3.4.0/bundler/retry.rb +66 -0
- package/lib/ruby/3.4.0/bundler/ruby_dsl.rb +62 -0
- package/lib/ruby/3.4.0/bundler/ruby_version.rb +137 -0
- package/lib/ruby/3.4.0/bundler/rubygems_ext.rb +485 -0
- package/lib/ruby/3.4.0/bundler/rubygems_gem_installer.rb +172 -0
- package/lib/ruby/3.4.0/bundler/rubygems_integration.rb +455 -0
- package/lib/ruby/3.4.0/bundler/runtime.rb +320 -0
- package/lib/ruby/3.4.0/bundler/safe_marshal.rb +31 -0
- package/lib/ruby/3.4.0/bundler/self_manager.rb +206 -0
- package/lib/ruby/3.4.0/bundler/settings/validator.rb +102 -0
- package/lib/ruby/3.4.0/bundler/settings.rb +599 -0
- package/lib/ruby/3.4.0/bundler/setup.rb +39 -0
- package/lib/ruby/3.4.0/bundler/shared_helpers.rb +398 -0
- package/lib/ruby/3.4.0/bundler/similarity_detector.rb +63 -0
- package/lib/ruby/3.4.0/bundler/source/gemspec.rb +15 -0
- package/lib/ruby/3.4.0/bundler/source/git/git_proxy.rb +472 -0
- package/lib/ruby/3.4.0/bundler/source/git.rb +452 -0
- package/lib/ruby/3.4.0/bundler/source/metadata.rb +63 -0
- package/lib/ruby/3.4.0/bundler/source/path/installer.rb +53 -0
- package/lib/ruby/3.4.0/bundler/source/path.rb +250 -0
- package/lib/ruby/3.4.0/bundler/source/rubygems/remote.rb +76 -0
- package/lib/ruby/3.4.0/bundler/source/rubygems.rb +522 -0
- package/lib/ruby/3.4.0/bundler/source/rubygems_aggregate.rb +68 -0
- package/lib/ruby/3.4.0/bundler/source.rb +118 -0
- package/lib/ruby/3.4.0/bundler/source_list.rb +273 -0
- package/lib/ruby/3.4.0/bundler/source_map.rb +71 -0
- package/lib/ruby/3.4.0/bundler/spec_set.rb +395 -0
- package/lib/ruby/3.4.0/bundler/stub_specification.rb +146 -0
- package/lib/ruby/3.4.0/bundler/templates/Executable +27 -0
- package/lib/ruby/3.4.0/bundler/templates/Executable.bundler +109 -0
- package/lib/ruby/3.4.0/bundler/templates/Executable.standalone +14 -0
- package/lib/ruby/3.4.0/bundler/templates/Gemfile +5 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +132 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/Cargo.toml.tt +7 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/Gemfile.tt +24 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/LICENSE.txt.tt +21 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/README.md.tt +49 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/Rakefile.tt +67 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/bin/console.tt +11 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/bin/setup.tt +8 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/circleci/config.yml.tt +25 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/exe/newgem.tt +3 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/gitignore.tt +23 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/newgem.gemspec.tt +52 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/rspec.tt +3 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/rubocop.yml.tt +8 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/standard.yml.tt +3 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
- package/lib/ruby/3.4.0/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
- package/lib/ruby/3.4.0/bundler/ui/rg_proxy.rb +19 -0
- package/lib/ruby/3.4.0/bundler/ui/shell.rb +187 -0
- package/lib/ruby/3.4.0/bundler/ui/silent.rb +96 -0
- package/lib/ruby/3.4.0/bundler/ui.rb +9 -0
- package/lib/ruby/3.4.0/bundler/uri_credentials_filter.rb +43 -0
- package/lib/ruby/3.4.0/bundler/uri_normalizer.rb +23 -0
- package/lib/ruby/3.4.0/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +224 -0
- package/lib/ruby/3.4.0/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
- package/lib/ruby/3.4.0/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
- package/lib/ruby/3.4.0/bundler/vendor/connection_pool/lib/connection_pool.rb +186 -0
- package/lib/ruby/3.4.0/bundler/vendor/fileutils/lib/fileutils.rb +2696 -0
- package/lib/ruby/3.4.0/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
- package/lib/ruby/3.4.0/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
- package/lib/ruby/3.4.0/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- package/lib/ruby/3.4.0/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1111 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
- package/lib/ruby/3.4.0/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
- package/lib/ruby/3.4.0/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +371 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/actions.rb +340 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/base.rb +825 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/command.rb +151 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/error.rb +106 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/group.rb +292 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/runner.rb +335 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell/basic.rb +388 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/shell.rb +81 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/util.rb +285 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor/version.rb +3 -0
- package/lib/ruby/3.4.0/bundler/vendor/thor/lib/thor.rb +674 -0
- package/lib/ruby/3.4.0/bundler/vendor/tsort/lib/tsort.rb +455 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/common.rb +880 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/file.rb +100 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/http.rb +125 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/https.rb +23 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/version.rb +6 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/ws.rb +83 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri/wss.rb +23 -0
- package/lib/ruby/3.4.0/bundler/vendor/uri/lib/uri.rb +104 -0
- package/lib/ruby/3.4.0/bundler/vendored_fileutils.rb +4 -0
- package/lib/ruby/3.4.0/bundler/vendored_net_http.rb +23 -0
- package/lib/ruby/3.4.0/bundler/vendored_persistent.rb +11 -0
- package/lib/ruby/3.4.0/bundler/vendored_pub_grub.rb +4 -0
- package/lib/ruby/3.4.0/bundler/vendored_securerandom.rb +12 -0
- package/lib/ruby/3.4.0/bundler/vendored_thor.rb +8 -0
- package/lib/ruby/3.4.0/bundler/vendored_timeout.rb +12 -0
- package/lib/ruby/3.4.0/bundler/vendored_tsort.rb +4 -0
- package/lib/ruby/3.4.0/bundler/vendored_uri.rb +21 -0
- package/lib/ruby/3.4.0/bundler/version.rb +13 -0
- package/lib/ruby/3.4.0/bundler/vlad.rb +17 -0
- package/lib/ruby/3.4.0/bundler/worker.rb +117 -0
- package/lib/ruby/3.4.0/bundler/yaml_serializer.rb +98 -0
- package/lib/ruby/3.4.0/bundler.rb +701 -0
- package/lib/ruby/3.4.0/cgi/cookie.rb +210 -0
- package/lib/ruby/3.4.0/cgi/core.rb +900 -0
- package/lib/ruby/3.4.0/cgi/html.rb +1035 -0
- package/lib/ruby/3.4.0/cgi/session/pstore.rb +91 -0
- package/lib/ruby/3.4.0/cgi/session.rb +562 -0
- package/lib/ruby/3.4.0/cgi/util.rb +258 -0
- package/lib/ruby/3.4.0/cgi.rb +297 -0
- package/lib/ruby/3.4.0/coverage.rb +14 -0
- package/lib/ruby/3.4.0/date.rb +70 -0
- package/lib/ruby/3.4.0/delegate.rb +444 -0
- package/lib/ruby/3.4.0/did_you_mean/core_ext/name_error.rb +57 -0
- package/lib/ruby/3.4.0/did_you_mean/experimental.rb +2 -0
- package/lib/ruby/3.4.0/did_you_mean/formatter.rb +44 -0
- package/lib/ruby/3.4.0/did_you_mean/formatters/plain_formatter.rb +4 -0
- package/lib/ruby/3.4.0/did_you_mean/formatters/verbose_formatter.rb +10 -0
- package/lib/ruby/3.4.0/did_you_mean/jaro_winkler.rb +84 -0
- package/lib/ruby/3.4.0/did_you_mean/levenshtein.rb +57 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checker.rb +46 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/key_error_checker.rb +28 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/method_name_checker.rb +79 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +49 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +85 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/name_error_checkers.rb +20 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/null_checker.rb +6 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/pattern_key_name_checker.rb +28 -0
- package/lib/ruby/3.4.0/did_you_mean/spell_checkers/require_path_checker.rb +39 -0
- package/lib/ruby/3.4.0/did_you_mean/tree_spell_checker.rb +109 -0
- package/lib/ruby/3.4.0/did_you_mean/verbose.rb +2 -0
- package/lib/ruby/3.4.0/did_you_mean/version.rb +3 -0
- package/lib/ruby/3.4.0/did_you_mean.rb +131 -0
- package/lib/ruby/3.4.0/digest/loader.rb +3 -0
- package/lib/ruby/3.4.0/digest/sha2/loader.rb +3 -0
- package/lib/ruby/3.4.0/digest/sha2.rb +142 -0
- package/lib/ruby/3.4.0/digest/version.rb +5 -0
- package/lib/ruby/3.4.0/digest.rb +123 -0
- package/lib/ruby/3.4.0/erb/compiler.rb +472 -0
- package/lib/ruby/3.4.0/erb/def_method.rb +47 -0
- package/lib/ruby/3.4.0/erb/util.rb +63 -0
- package/lib/ruby/3.4.0/erb/version.rb +5 -0
- package/lib/ruby/3.4.0/erb.rb +509 -0
- package/lib/ruby/3.4.0/error_highlight/base.rb +830 -0
- package/lib/ruby/3.4.0/error_highlight/core_ext.rb +47 -0
- package/lib/ruby/3.4.0/error_highlight/formatter.rb +74 -0
- package/lib/ruby/3.4.0/error_highlight/version.rb +3 -0
- package/lib/ruby/3.4.0/error_highlight.rb +2 -0
- package/lib/ruby/3.4.0/fileutils.rb +2696 -0
- package/lib/ruby/3.4.0/find.rb +90 -0
- package/lib/ruby/3.4.0/forwardable/impl.rb +16 -0
- package/lib/ruby/3.4.0/forwardable.rb +321 -0
- package/lib/ruby/3.4.0/ipaddr.rb +841 -0
- package/lib/ruby/3.4.0/irb/cmd/nop.rb +4 -0
- package/lib/ruby/3.4.0/irb/color.rb +262 -0
- package/lib/ruby/3.4.0/irb/color_printer.rb +55 -0
- package/lib/ruby/3.4.0/irb/command/backtrace.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/base.rb +60 -0
- package/lib/ruby/3.4.0/irb/command/break.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/catch.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/cd.rb +51 -0
- package/lib/ruby/3.4.0/irb/command/chws.rb +40 -0
- package/lib/ruby/3.4.0/irb/command/context.rb +16 -0
- package/lib/ruby/3.4.0/irb/command/continue.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/debug.rb +73 -0
- package/lib/ruby/3.4.0/irb/command/delete.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/disable_irb.rb +19 -0
- package/lib/ruby/3.4.0/irb/command/edit.rb +63 -0
- package/lib/ruby/3.4.0/irb/command/exit.rb +18 -0
- package/lib/ruby/3.4.0/irb/command/finish.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/force_exit.rb +18 -0
- package/lib/ruby/3.4.0/irb/command/help.rb +83 -0
- package/lib/ruby/3.4.0/irb/command/history.rb +45 -0
- package/lib/ruby/3.4.0/irb/command/info.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/internal_helpers.rb +27 -0
- package/lib/ruby/3.4.0/irb/command/irb_info.rb +33 -0
- package/lib/ruby/3.4.0/irb/command/load.rb +91 -0
- package/lib/ruby/3.4.0/irb/command/ls.rb +167 -0
- package/lib/ruby/3.4.0/irb/command/measure.rb +49 -0
- package/lib/ruby/3.4.0/irb/command/next.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/pushws.rb +65 -0
- package/lib/ruby/3.4.0/irb/command/show_doc.rb +51 -0
- package/lib/ruby/3.4.0/irb/command/show_source.rb +74 -0
- package/lib/ruby/3.4.0/irb/command/step.rb +17 -0
- package/lib/ruby/3.4.0/irb/command/subirb.rb +123 -0
- package/lib/ruby/3.4.0/irb/command/whereami.rb +23 -0
- package/lib/ruby/3.4.0/irb/command.rb +23 -0
- package/lib/ruby/3.4.0/irb/completion.rb +504 -0
- package/lib/ruby/3.4.0/irb/context.rb +716 -0
- package/lib/ruby/3.4.0/irb/debug/ui.rb +101 -0
- package/lib/ruby/3.4.0/irb/debug.rb +127 -0
- package/lib/ruby/3.4.0/irb/default_commands.rb +276 -0
- package/lib/ruby/3.4.0/irb/easter-egg.rb +152 -0
- package/lib/ruby/3.4.0/irb/ext/change-ws.rb +37 -0
- package/lib/ruby/3.4.0/irb/ext/eval_history.rb +149 -0
- package/lib/ruby/3.4.0/irb/ext/loader.rb +127 -0
- package/lib/ruby/3.4.0/irb/ext/multi-irb.rb +258 -0
- package/lib/ruby/3.4.0/irb/ext/tracer.rb +39 -0
- package/lib/ruby/3.4.0/irb/ext/use-loader.rb +67 -0
- package/lib/ruby/3.4.0/irb/ext/workspaces.rb +36 -0
- package/lib/ruby/3.4.0/irb/frame.rb +80 -0
- package/lib/ruby/3.4.0/irb/help.rb +28 -0
- package/lib/ruby/3.4.0/irb/helper_method/base.rb +16 -0
- package/lib/ruby/3.4.0/irb/helper_method/conf.rb +11 -0
- package/lib/ruby/3.4.0/irb/helper_method.rb +29 -0
- package/lib/ruby/3.4.0/irb/history.rb +112 -0
- package/lib/ruby/3.4.0/irb/init.rb +538 -0
- package/lib/ruby/3.4.0/irb/input-method.rb +515 -0
- package/lib/ruby/3.4.0/irb/inspector.rb +131 -0
- package/lib/ruby/3.4.0/irb/lc/error.rb +52 -0
- package/lib/ruby/3.4.0/irb/lc/help-message +55 -0
- package/lib/ruby/3.4.0/irb/lc/ja/error.rb +53 -0
- package/lib/ruby/3.4.0/irb/lc/ja/help-message +58 -0
- package/lib/ruby/3.4.0/irb/locale.rb +153 -0
- package/lib/ruby/3.4.0/irb/nesting_parser.rb +239 -0
- package/lib/ruby/3.4.0/irb/notifier.rb +230 -0
- package/lib/ruby/3.4.0/irb/output-method.rb +80 -0
- package/lib/ruby/3.4.0/irb/pager.rb +100 -0
- package/lib/ruby/3.4.0/irb/ruby-lex.rb +476 -0
- package/lib/ruby/3.4.0/irb/ruby_logo.aa +118 -0
- package/lib/ruby/3.4.0/irb/source_finder.rb +138 -0
- package/lib/ruby/3.4.0/irb/statement.rb +80 -0
- package/lib/ruby/3.4.0/irb/version.rb +11 -0
- package/lib/ruby/3.4.0/irb/workspace.rb +171 -0
- package/lib/ruby/3.4.0/irb/ws-for-case-2.rb +9 -0
- package/lib/ruby/3.4.0/irb/xmp.rb +164 -0
- package/lib/ruby/3.4.0/irb.rb +1593 -0
- package/lib/ruby/3.4.0/json/add/bigdecimal.rb +58 -0
- package/lib/ruby/3.4.0/json/add/complex.rb +51 -0
- package/lib/ruby/3.4.0/json/add/core.rb +12 -0
- package/lib/ruby/3.4.0/json/add/date.rb +54 -0
- package/lib/ruby/3.4.0/json/add/date_time.rb +67 -0
- package/lib/ruby/3.4.0/json/add/exception.rb +49 -0
- package/lib/ruby/3.4.0/json/add/ostruct.rb +54 -0
- package/lib/ruby/3.4.0/json/add/range.rb +54 -0
- package/lib/ruby/3.4.0/json/add/rational.rb +49 -0
- package/lib/ruby/3.4.0/json/add/regexp.rb +48 -0
- package/lib/ruby/3.4.0/json/add/set.rb +48 -0
- package/lib/ruby/3.4.0/json/add/struct.rb +52 -0
- package/lib/ruby/3.4.0/json/add/symbol.rb +47 -0
- package/lib/ruby/3.4.0/json/add/time.rb +52 -0
- package/lib/ruby/3.4.0/json/common.rb +896 -0
- package/lib/ruby/3.4.0/json/ext/generator/state.rb +116 -0
- package/lib/ruby/3.4.0/json/ext.rb +23 -0
- package/lib/ruby/3.4.0/json/generic_object.rb +75 -0
- package/lib/ruby/3.4.0/json/version.rb +5 -0
- package/lib/ruby/3.4.0/json.rb +587 -0
- package/lib/ruby/3.4.0/logger/errors.rb +9 -0
- package/lib/ruby/3.4.0/logger/formatter.rb +36 -0
- package/lib/ruby/3.4.0/logger/log_device.rb +236 -0
- package/lib/ruby/3.4.0/logger/period.rb +47 -0
- package/lib/ruby/3.4.0/logger/severity.rb +38 -0
- package/lib/ruby/3.4.0/logger/version.rb +5 -0
- package/lib/ruby/3.4.0/logger.rb +761 -0
- package/lib/ruby/3.4.0/mkmf.rb +3045 -0
- package/lib/ruby/3.4.0/monitor.rb +289 -0
- package/lib/ruby/3.4.0/net/http/exceptions.rb +34 -0
- package/lib/ruby/3.4.0/net/http/generic_request.rb +414 -0
- package/lib/ruby/3.4.0/net/http/header.rb +981 -0
- package/lib/ruby/3.4.0/net/http/proxy_delta.rb +17 -0
- package/lib/ruby/3.4.0/net/http/request.rb +88 -0
- package/lib/ruby/3.4.0/net/http/requests.rb +430 -0
- package/lib/ruby/3.4.0/net/http/response.rb +738 -0
- package/lib/ruby/3.4.0/net/http/responses.rb +1174 -0
- package/lib/ruby/3.4.0/net/http/status.rb +84 -0
- package/lib/ruby/3.4.0/net/http.rb +2574 -0
- package/lib/ruby/3.4.0/net/https.rb +23 -0
- package/lib/ruby/3.4.0/net/protocol.rb +544 -0
- package/lib/ruby/3.4.0/objspace/trace.rb +45 -0
- package/lib/ruby/3.4.0/objspace.rb +135 -0
- package/lib/ruby/3.4.0/open-uri.rb +895 -0
- package/lib/ruby/3.4.0/open3/version.rb +3 -0
- package/lib/ruby/3.4.0/open3.rb +1410 -0
- package/lib/ruby/3.4.0/openssl/asn1.rb +188 -0
- package/lib/ruby/3.4.0/openssl/bn.rb +40 -0
- package/lib/ruby/3.4.0/openssl/buffering.rb +499 -0
- package/lib/ruby/3.4.0/openssl/cipher.rb +67 -0
- package/lib/ruby/3.4.0/openssl/digest.rb +69 -0
- package/lib/ruby/3.4.0/openssl/hmac.rb +78 -0
- package/lib/ruby/3.4.0/openssl/marshal.rb +30 -0
- package/lib/ruby/3.4.0/openssl/pkcs5.rb +22 -0
- package/lib/ruby/3.4.0/openssl/pkey.rb +471 -0
- package/lib/ruby/3.4.0/openssl/ssl.rb +609 -0
- package/lib/ruby/3.4.0/openssl/version.rb +5 -0
- package/lib/ruby/3.4.0/openssl/x509.rb +391 -0
- package/lib/ruby/3.4.0/openssl.rb +38 -0
- package/lib/ruby/3.4.0/optionparser.rb +2 -0
- package/lib/ruby/3.4.0/optparse/ac.rb +70 -0
- package/lib/ruby/3.4.0/optparse/date.rb +18 -0
- package/lib/ruby/3.4.0/optparse/kwargs.rb +27 -0
- package/lib/ruby/3.4.0/optparse/shellwords.rb +7 -0
- package/lib/ruby/3.4.0/optparse/time.rb +11 -0
- package/lib/ruby/3.4.0/optparse/uri.rb +7 -0
- package/lib/ruby/3.4.0/optparse/version.rb +80 -0
- package/lib/ruby/3.4.0/optparse.rb +2429 -0
- package/lib/ruby/3.4.0/ostruct.rb +489 -0
- package/lib/ruby/3.4.0/pathname.rb +621 -0
- package/lib/ruby/3.4.0/pp.rb +699 -0
- package/lib/ruby/3.4.0/prettyprint.rb +558 -0
- package/lib/ruby/3.4.0/prism/compiler.rb +801 -0
- package/lib/ruby/3.4.0/prism/desugar_compiler.rb +392 -0
- package/lib/ruby/3.4.0/prism/dispatcher.rb +2210 -0
- package/lib/ruby/3.4.0/prism/dsl.rb +1003 -0
- package/lib/ruby/3.4.0/prism/ffi.rb +570 -0
- package/lib/ruby/3.4.0/prism/inspect_visitor.rb +2392 -0
- package/lib/ruby/3.4.0/prism/lex_compat.rb +928 -0
- package/lib/ruby/3.4.0/prism/mutation_compiler.rb +772 -0
- package/lib/ruby/3.4.0/prism/node.rb +18816 -0
- package/lib/ruby/3.4.0/prism/node_ext.rb +511 -0
- package/lib/ruby/3.4.0/prism/pack.rb +230 -0
- package/lib/ruby/3.4.0/prism/parse_result/comments.rb +188 -0
- package/lib/ruby/3.4.0/prism/parse_result/errors.rb +66 -0
- package/lib/ruby/3.4.0/prism/parse_result/newlines.rb +155 -0
- package/lib/ruby/3.4.0/prism/parse_result.rb +911 -0
- package/lib/ruby/3.4.0/prism/pattern.rb +269 -0
- package/lib/ruby/3.4.0/prism/polyfill/append_as_bytes.rb +15 -0
- package/lib/ruby/3.4.0/prism/polyfill/byteindex.rb +13 -0
- package/lib/ruby/3.4.0/prism/polyfill/scan_byte.rb +14 -0
- package/lib/ruby/3.4.0/prism/polyfill/unpack1.rb +14 -0
- package/lib/ruby/3.4.0/prism/polyfill/warn.rb +36 -0
- package/lib/ruby/3.4.0/prism/reflection.rb +416 -0
- package/lib/ruby/3.4.0/prism/relocation.rb +505 -0
- package/lib/ruby/3.4.0/prism/serialize.rb +2400 -0
- package/lib/ruby/3.4.0/prism/string_query.rb +31 -0
- package/lib/ruby/3.4.0/prism/translation/parser/builder.rb +62 -0
- package/lib/ruby/3.4.0/prism/translation/parser/compiler.rb +2234 -0
- package/lib/ruby/3.4.0/prism/translation/parser/lexer.rb +820 -0
- package/lib/ruby/3.4.0/prism/translation/parser.rb +374 -0
- package/lib/ruby/3.4.0/prism/translation/parser33.rb +13 -0
- package/lib/ruby/3.4.0/prism/translation/parser34.rb +13 -0
- package/lib/ruby/3.4.0/prism/translation/parser35.rb +13 -0
- package/lib/ruby/3.4.0/prism/translation/parser_current.rb +24 -0
- package/lib/ruby/3.4.0/prism/translation/ripper/sexp.rb +126 -0
- package/lib/ruby/3.4.0/prism/translation/ripper/shim.rb +5 -0
- package/lib/ruby/3.4.0/prism/translation/ripper.rb +3474 -0
- package/lib/ruby/3.4.0/prism/translation/ruby_parser.rb +1929 -0
- package/lib/ruby/3.4.0/prism/translation.rb +16 -0
- package/lib/ruby/3.4.0/prism/visitor.rb +813 -0
- package/lib/ruby/3.4.0/prism.rb +91 -0
- package/lib/ruby/3.4.0/pstore.rb +736 -0
- package/lib/ruby/3.4.0/psych/class_loader.rb +104 -0
- package/lib/ruby/3.4.0/psych/coder.rb +95 -0
- package/lib/ruby/3.4.0/psych/core_ext.rb +19 -0
- package/lib/ruby/3.4.0/psych/exception.rb +28 -0
- package/lib/ruby/3.4.0/psych/handler.rb +255 -0
- package/lib/ruby/3.4.0/psych/handlers/document_stream.rb +23 -0
- package/lib/ruby/3.4.0/psych/handlers/recorder.rb +40 -0
- package/lib/ruby/3.4.0/psych/json/ruby_events.rb +20 -0
- package/lib/ruby/3.4.0/psych/json/stream.rb +17 -0
- package/lib/ruby/3.4.0/psych/json/tree_builder.rb +13 -0
- package/lib/ruby/3.4.0/psych/json/yaml_events.rb +30 -0
- package/lib/ruby/3.4.0/psych/nodes/alias.rb +21 -0
- package/lib/ruby/3.4.0/psych/nodes/document.rb +63 -0
- package/lib/ruby/3.4.0/psych/nodes/mapping.rb +59 -0
- package/lib/ruby/3.4.0/psych/nodes/node.rb +75 -0
- package/lib/ruby/3.4.0/psych/nodes/scalar.rb +70 -0
- package/lib/ruby/3.4.0/psych/nodes/sequence.rb +84 -0
- package/lib/ruby/3.4.0/psych/nodes/stream.rb +40 -0
- package/lib/ruby/3.4.0/psych/nodes.rb +78 -0
- package/lib/ruby/3.4.0/psych/omap.rb +5 -0
- package/lib/ruby/3.4.0/psych/parser.rb +65 -0
- package/lib/ruby/3.4.0/psych/scalar_scanner.rb +141 -0
- package/lib/ruby/3.4.0/psych/set.rb +5 -0
- package/lib/ruby/3.4.0/psych/stream.rb +38 -0
- package/lib/ruby/3.4.0/psych/streaming.rb +28 -0
- package/lib/ruby/3.4.0/psych/syntax_error.rb +22 -0
- package/lib/ruby/3.4.0/psych/tree_builder.rb +137 -0
- package/lib/ruby/3.4.0/psych/versions.rb +10 -0
- package/lib/ruby/3.4.0/psych/visitors/depth_first.rb +27 -0
- package/lib/ruby/3.4.0/psych/visitors/emitter.rb +52 -0
- package/lib/ruby/3.4.0/psych/visitors/json_tree.rb +25 -0
- package/lib/ruby/3.4.0/psych/visitors/to_ruby.rb +435 -0
- package/lib/ruby/3.4.0/psych/visitors/visitor.rb +34 -0
- package/lib/ruby/3.4.0/psych/visitors/yaml_tree.rb +583 -0
- package/lib/ruby/3.4.0/psych/visitors.rb +7 -0
- package/lib/ruby/3.4.0/psych/y.rb +10 -0
- package/lib/ruby/3.4.0/psych.rb +763 -0
- package/lib/ruby/3.4.0/random/formatter.rb +372 -0
- package/lib/ruby/3.4.0/rdoc/code_object/alias.rb +104 -0
- package/lib/ruby/3.4.0/rdoc/code_object/anon_class.rb +10 -0
- package/lib/ruby/3.4.0/rdoc/code_object/any_method.rb +374 -0
- package/lib/ruby/3.4.0/rdoc/code_object/attr.rb +172 -0
- package/lib/ruby/3.4.0/rdoc/code_object/class_module.rb +888 -0
- package/lib/ruby/3.4.0/rdoc/code_object/constant.rb +186 -0
- package/lib/ruby/3.4.0/rdoc/code_object/context/section.rb +175 -0
- package/lib/ruby/3.4.0/rdoc/code_object/context.rb +1222 -0
- package/lib/ruby/3.4.0/rdoc/code_object/extend.rb +9 -0
- package/lib/ruby/3.4.0/rdoc/code_object/ghost_method.rb +6 -0
- package/lib/ruby/3.4.0/rdoc/code_object/include.rb +9 -0
- package/lib/ruby/3.4.0/rdoc/code_object/meta_method.rb +6 -0
- package/lib/ruby/3.4.0/rdoc/code_object/method_attr.rb +410 -0
- package/lib/ruby/3.4.0/rdoc/code_object/mixin.rb +120 -0
- package/lib/ruby/3.4.0/rdoc/code_object/normal_class.rb +92 -0
- package/lib/ruby/3.4.0/rdoc/code_object/normal_module.rb +73 -0
- package/lib/ruby/3.4.0/rdoc/code_object/require.rb +51 -0
- package/lib/ruby/3.4.0/rdoc/code_object/single_class.rb +30 -0
- package/lib/ruby/3.4.0/rdoc/code_object/top_level.rb +273 -0
- package/lib/ruby/3.4.0/rdoc/code_object.rb +395 -0
- package/lib/ruby/3.4.0/rdoc/code_objects.rb +5 -0
- package/lib/ruby/3.4.0/rdoc/comment.rb +236 -0
- package/lib/ruby/3.4.0/rdoc/cross_reference.rb +228 -0
- package/lib/ruby/3.4.0/rdoc/encoding.rb +120 -0
- package/lib/ruby/3.4.0/rdoc/erb_partial.rb +18 -0
- package/lib/ruby/3.4.0/rdoc/erbio.rb +37 -0
- package/lib/ruby/3.4.0/rdoc/generator/darkfish.rb +812 -0
- package/lib/ruby/3.4.0/rdoc/generator/json_index.rb +284 -0
- package/lib/ruby/3.4.0/rdoc/generator/markup.rb +171 -0
- package/lib/ruby/3.4.0/rdoc/generator/pot/message_extractor.rb +68 -0
- package/lib/ruby/3.4.0/rdoc/generator/pot/po.rb +84 -0
- package/lib/ruby/3.4.0/rdoc/generator/pot/po_entry.rb +141 -0
- package/lib/ruby/3.4.0/rdoc/generator/pot.rb +94 -0
- package/lib/ruby/3.4.0/rdoc/generator/ri.rb +30 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_head.rhtml +48 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +5 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +21 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +32 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +6 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +39 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +3 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/class.rhtml +221 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/css/fonts.css +167 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/css/rdoc.css +683 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/add.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/brick.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/bug.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/date.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/delete.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/find.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/package.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/index.rhtml +23 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/js/darkfish.js +120 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/js/search.js +110 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/page.rhtml +18 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/servlet_not_found.rhtml +20 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/servlet_root.rhtml +65 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/darkfish/table_of_contents.rhtml +70 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/json_index/js/navigation.js +105 -0
- package/lib/ruby/3.4.0/rdoc/generator/template/json_index/js/searcher.js +229 -0
- package/lib/ruby/3.4.0/rdoc/generator.rb +51 -0
- package/lib/ruby/3.4.0/rdoc/i18n/locale.rb +102 -0
- package/lib/ruby/3.4.0/rdoc/i18n/text.rb +126 -0
- package/lib/ruby/3.4.0/rdoc/i18n.rb +10 -0
- package/lib/ruby/3.4.0/rdoc/known_classes.rb +74 -0
- package/lib/ruby/3.4.0/rdoc/markdown/entities.rb +2131 -0
- package/lib/ruby/3.4.0/rdoc/markdown/literals.rb +454 -0
- package/lib/ruby/3.4.0/rdoc/markdown.rb +16806 -0
- package/lib/ruby/3.4.0/rdoc/markup/attr_changer.rb +22 -0
- package/lib/ruby/3.4.0/rdoc/markup/attr_span.rb +35 -0
- package/lib/ruby/3.4.0/rdoc/markup/attribute_manager.rb +405 -0
- package/lib/ruby/3.4.0/rdoc/markup/attributes.rb +70 -0
- package/lib/ruby/3.4.0/rdoc/markup/blank_line.rb +27 -0
- package/lib/ruby/3.4.0/rdoc/markup/block_quote.rb +14 -0
- package/lib/ruby/3.4.0/rdoc/markup/document.rb +164 -0
- package/lib/ruby/3.4.0/rdoc/markup/formatter.rb +272 -0
- package/lib/ruby/3.4.0/rdoc/markup/hard_break.rb +31 -0
- package/lib/ruby/3.4.0/rdoc/markup/heading.rb +84 -0
- package/lib/ruby/3.4.0/rdoc/markup/include.rb +42 -0
- package/lib/ruby/3.4.0/rdoc/markup/indented_paragraph.rb +47 -0
- package/lib/ruby/3.4.0/rdoc/markup/list.rb +101 -0
- package/lib/ruby/3.4.0/rdoc/markup/list_item.rb +99 -0
- package/lib/ruby/3.4.0/rdoc/markup/paragraph.rb +28 -0
- package/lib/ruby/3.4.0/rdoc/markup/parser.rb +585 -0
- package/lib/ruby/3.4.0/rdoc/markup/pre_process.rb +318 -0
- package/lib/ruby/3.4.0/rdoc/markup/raw.rb +69 -0
- package/lib/ruby/3.4.0/rdoc/markup/regexp_handling.rb +40 -0
- package/lib/ruby/3.4.0/rdoc/markup/rule.rb +20 -0
- package/lib/ruby/3.4.0/rdoc/markup/table.rb +56 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_ansi.rb +93 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_bs.rb +102 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_html.rb +462 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_html_crossref.rb +226 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_html_snippet.rb +287 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_joined_paragraph.rb +46 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_label.rb +74 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_markdown.rb +191 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_rdoc.rb +353 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_table_of_contents.rb +88 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_test.rb +69 -0
- package/lib/ruby/3.4.0/rdoc/markup/to_tt_only.rb +120 -0
- package/lib/ruby/3.4.0/rdoc/markup/verbatim.rb +83 -0
- package/lib/ruby/3.4.0/rdoc/markup.rb +240 -0
- package/lib/ruby/3.4.0/rdoc/options.rb +1416 -0
- package/lib/ruby/3.4.0/rdoc/parser/c.rb +1257 -0
- package/lib/ruby/3.4.0/rdoc/parser/changelog.rb +350 -0
- package/lib/ruby/3.4.0/rdoc/parser/markdown.rb +22 -0
- package/lib/ruby/3.4.0/rdoc/parser/prism_ruby.rb +1092 -0
- package/lib/ruby/3.4.0/rdoc/parser/rd.rb +22 -0
- package/lib/ruby/3.4.0/rdoc/parser/ripper_state_lex.rb +302 -0
- package/lib/ruby/3.4.0/rdoc/parser/ruby.rb +2378 -0
- package/lib/ruby/3.4.0/rdoc/parser/ruby_tools.rb +165 -0
- package/lib/ruby/3.4.0/rdoc/parser/simple.rb +61 -0
- package/lib/ruby/3.4.0/rdoc/parser/text.rb +11 -0
- package/lib/ruby/3.4.0/rdoc/parser.rb +297 -0
- package/lib/ruby/3.4.0/rdoc/rd/block_parser.rb +1706 -0
- package/lib/ruby/3.4.0/rdoc/rd/inline.rb +71 -0
- package/lib/ruby/3.4.0/rdoc/rd/inline_parser.rb +1854 -0
- package/lib/ruby/3.4.0/rdoc/rd.rb +99 -0
- package/lib/ruby/3.4.0/rdoc/rdoc.rb +551 -0
- package/lib/ruby/3.4.0/rdoc/ri/driver.rb +1566 -0
- package/lib/ruby/3.4.0/rdoc/ri/formatter.rb +6 -0
- package/lib/ruby/3.4.0/rdoc/ri/paths.rb +171 -0
- package/lib/ruby/3.4.0/rdoc/ri/store.rb +6 -0
- package/lib/ruby/3.4.0/rdoc/ri/task.rb +71 -0
- package/lib/ruby/3.4.0/rdoc/ri.rb +20 -0
- package/lib/ruby/3.4.0/rdoc/rubygems_hook.rb +327 -0
- package/lib/ruby/3.4.0/rdoc/servlet.rb +452 -0
- package/lib/ruby/3.4.0/rdoc/stats/normal.rb +58 -0
- package/lib/ruby/3.4.0/rdoc/stats/quiet.rb +59 -0
- package/lib/ruby/3.4.0/rdoc/stats/verbose.rb +44 -0
- package/lib/ruby/3.4.0/rdoc/stats.rb +461 -0
- package/lib/ruby/3.4.0/rdoc/store.rb +997 -0
- package/lib/ruby/3.4.0/rdoc/task.rb +354 -0
- package/lib/ruby/3.4.0/rdoc/text.rb +322 -0
- package/lib/ruby/3.4.0/rdoc/token_stream.rb +118 -0
- package/lib/ruby/3.4.0/rdoc/tom_doc.rb +257 -0
- package/lib/ruby/3.4.0/rdoc/version.rb +10 -0
- package/lib/ruby/3.4.0/rdoc.rb +211 -0
- package/lib/ruby/3.4.0/readline.rb +7 -0
- package/lib/ruby/3.4.0/reline/config.rb +373 -0
- package/lib/ruby/3.4.0/reline/face.rb +199 -0
- package/lib/ruby/3.4.0/reline/history.rb +76 -0
- package/lib/ruby/3.4.0/reline/io/ansi.rb +325 -0
- package/lib/ruby/3.4.0/reline/io/dumb.rb +120 -0
- package/lib/ruby/3.4.0/reline/io/windows.rb +530 -0
- package/lib/ruby/3.4.0/reline/io.rb +55 -0
- package/lib/ruby/3.4.0/reline/key_actor/base.rb +37 -0
- package/lib/ruby/3.4.0/reline/key_actor/composite.rb +17 -0
- package/lib/ruby/3.4.0/reline/key_actor/emacs.rb +517 -0
- package/lib/ruby/3.4.0/reline/key_actor/vi_command.rb +518 -0
- package/lib/ruby/3.4.0/reline/key_actor/vi_insert.rb +517 -0
- package/lib/ruby/3.4.0/reline/key_actor.rb +8 -0
- package/lib/ruby/3.4.0/reline/key_stroke.rb +119 -0
- package/lib/ruby/3.4.0/reline/kill_ring.rb +125 -0
- package/lib/ruby/3.4.0/reline/line_editor.rb +2382 -0
- package/lib/ruby/3.4.0/reline/unicode/east_asian_width.rb +1267 -0
- package/lib/ruby/3.4.0/reline/unicode.rb +415 -0
- package/lib/ruby/3.4.0/reline/version.rb +3 -0
- package/lib/ruby/3.4.0/reline.rb +519 -0
- package/lib/ruby/3.4.0/resolv.rb +3587 -0
- package/lib/ruby/3.4.0/ripper/core.rb +74 -0
- package/lib/ruby/3.4.0/ripper/filter.rb +86 -0
- package/lib/ruby/3.4.0/ripper/lexer.rb +379 -0
- package/lib/ruby/3.4.0/ripper/sexp.rb +187 -0
- package/lib/ruby/3.4.0/ripper.rb +74 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/assembler.rb +1160 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/block.rb +11 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/branch_stub.rb +24 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/c_pointer.rb +394 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/c_type.rb +99 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/code_block.rb +91 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/compiler.rb +518 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/context.rb +377 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/entry_stub.rb +7 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/exit_compiler.rb +164 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/hooks.rb +36 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/insn_compiler.rb +6046 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/instruction.rb +1326 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/invariants.rb +155 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/jit_state.rb +65 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/stats.rb +191 -0
- package/lib/ruby/3.4.0/ruby_vm/rjit/type.rb +221 -0
- package/lib/ruby/3.4.0/rubygems/available_set.rb +165 -0
- package/lib/ruby/3.4.0/rubygems/basic_specification.rb +383 -0
- package/lib/ruby/3.4.0/rubygems/bundler_version_finder.rb +77 -0
- package/lib/ruby/3.4.0/rubygems/ci_detector.rb +75 -0
- package/lib/ruby/3.4.0/rubygems/command.rb +664 -0
- package/lib/ruby/3.4.0/rubygems/command_manager.rb +255 -0
- package/lib/ruby/3.4.0/rubygems/commands/build_command.rb +127 -0
- package/lib/ruby/3.4.0/rubygems/commands/cert_command.rb +325 -0
- package/lib/ruby/3.4.0/rubygems/commands/check_command.rb +97 -0
- package/lib/ruby/3.4.0/rubygems/commands/cleanup_command.rb +178 -0
- package/lib/ruby/3.4.0/rubygems/commands/contents_command.rb +196 -0
- package/lib/ruby/3.4.0/rubygems/commands/dependency_command.rb +206 -0
- package/lib/ruby/3.4.0/rubygems/commands/environment_command.rb +181 -0
- package/lib/ruby/3.4.0/rubygems/commands/exec_command.rb +256 -0
- package/lib/ruby/3.4.0/rubygems/commands/fetch_command.rb +109 -0
- package/lib/ruby/3.4.0/rubygems/commands/generate_index_command.rb +51 -0
- package/lib/ruby/3.4.0/rubygems/commands/help_command.rb +375 -0
- package/lib/ruby/3.4.0/rubygems/commands/info_command.rb +38 -0
- package/lib/ruby/3.4.0/rubygems/commands/install_command.rb +269 -0
- package/lib/ruby/3.4.0/rubygems/commands/list_command.rb +42 -0
- package/lib/ruby/3.4.0/rubygems/commands/lock_command.rb +109 -0
- package/lib/ruby/3.4.0/rubygems/commands/mirror_command.rb +26 -0
- package/lib/ruby/3.4.0/rubygems/commands/open_command.rb +83 -0
- package/lib/ruby/3.4.0/rubygems/commands/outdated_command.rb +33 -0
- package/lib/ruby/3.4.0/rubygems/commands/owner_command.rb +124 -0
- package/lib/ruby/3.4.0/rubygems/commands/pristine_command.rb +217 -0
- package/lib/ruby/3.4.0/rubygems/commands/push_command.rb +135 -0
- package/lib/ruby/3.4.0/rubygems/commands/query_command.rb +43 -0
- package/lib/ruby/3.4.0/rubygems/commands/rdoc_command.rb +90 -0
- package/lib/ruby/3.4.0/rubygems/commands/rebuild_command.rb +262 -0
- package/lib/ruby/3.4.0/rubygems/commands/search_command.rb +41 -0
- package/lib/ruby/3.4.0/rubygems/commands/server_command.rb +26 -0
- package/lib/ruby/3.4.0/rubygems/commands/setup_command.rb +663 -0
- package/lib/ruby/3.4.0/rubygems/commands/signin_command.rb +34 -0
- package/lib/ruby/3.4.0/rubygems/commands/signout_command.rb +32 -0
- package/lib/ruby/3.4.0/rubygems/commands/sources_command.rb +227 -0
- package/lib/ruby/3.4.0/rubygems/commands/specification_command.rb +156 -0
- package/lib/ruby/3.4.0/rubygems/commands/stale_command.rb +40 -0
- package/lib/ruby/3.4.0/rubygems/commands/uninstall_command.rb +204 -0
- package/lib/ruby/3.4.0/rubygems/commands/unpack_command.rb +168 -0
- package/lib/ruby/3.4.0/rubygems/commands/update_command.rb +326 -0
- package/lib/ruby/3.4.0/rubygems/commands/which_command.rb +88 -0
- package/lib/ruby/3.4.0/rubygems/commands/yank_command.rb +99 -0
- package/lib/ruby/3.4.0/rubygems/compatibility.rb +41 -0
- package/lib/ruby/3.4.0/rubygems/config_file.rb +618 -0
- package/lib/ruby/3.4.0/rubygems/core_ext/kernel_gem.rb +68 -0
- package/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb +149 -0
- package/lib/ruby/3.4.0/rubygems/core_ext/kernel_warn.rb +45 -0
- package/lib/ruby/3.4.0/rubygems/core_ext/tcpsocket_init.rb +54 -0
- package/lib/ruby/3.4.0/rubygems/defaults.rb +308 -0
- package/lib/ruby/3.4.0/rubygems/dependency.rb +348 -0
- package/lib/ruby/3.4.0/rubygems/dependency_installer.rb +335 -0
- package/lib/ruby/3.4.0/rubygems/dependency_list.rb +243 -0
- package/lib/ruby/3.4.0/rubygems/deprecate.rb +169 -0
- package/lib/ruby/3.4.0/rubygems/doctor.rb +132 -0
- package/lib/ruby/3.4.0/rubygems/errors.rb +177 -0
- package/lib/ruby/3.4.0/rubygems/exceptions.rb +293 -0
- package/lib/ruby/3.4.0/rubygems/ext/build_error.rb +9 -0
- package/lib/ruby/3.4.0/rubygems/ext/builder.rb +260 -0
- package/lib/ruby/3.4.0/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
- package/lib/ruby/3.4.0/rubygems/ext/cargo_builder.rb +346 -0
- package/lib/ruby/3.4.0/rubygems/ext/cmake_builder.rb +21 -0
- package/lib/ruby/3.4.0/rubygems/ext/configure_builder.rb +26 -0
- package/lib/ruby/3.4.0/rubygems/ext/ext_conf_builder.rb +77 -0
- package/lib/ruby/3.4.0/rubygems/ext/rake_builder.rb +37 -0
- package/lib/ruby/3.4.0/rubygems/ext.rb +20 -0
- package/lib/ruby/3.4.0/rubygems/gem_runner.rb +89 -0
- package/lib/ruby/3.4.0/rubygems/gemcutter_utilities/webauthn_listener/response.rb +163 -0
- package/lib/ruby/3.4.0/rubygems/gemcutter_utilities/webauthn_listener.rb +105 -0
- package/lib/ruby/3.4.0/rubygems/gemcutter_utilities/webauthn_poller.rb +80 -0
- package/lib/ruby/3.4.0/rubygems/gemcutter_utilities.rb +397 -0
- package/lib/ruby/3.4.0/rubygems/gemspec_helpers.rb +19 -0
- package/lib/ruby/3.4.0/rubygems/install_default_message.rb +13 -0
- package/lib/ruby/3.4.0/rubygems/install_message.rb +13 -0
- package/lib/ruby/3.4.0/rubygems/install_update_options.rb +204 -0
- package/lib/ruby/3.4.0/rubygems/installer.rb +1031 -0
- package/lib/ruby/3.4.0/rubygems/installer_uninstaller_utils.rb +27 -0
- package/lib/ruby/3.4.0/rubygems/local_remote_options.rb +146 -0
- package/lib/ruby/3.4.0/rubygems/name_tuple.rb +119 -0
- package/lib/ruby/3.4.0/rubygems/openssl.rb +7 -0
- package/lib/ruby/3.4.0/rubygems/package/digest_io.rb +63 -0
- package/lib/ruby/3.4.0/rubygems/package/file_source.rb +32 -0
- package/lib/ruby/3.4.0/rubygems/package/io_source.rb +48 -0
- package/lib/ruby/3.4.0/rubygems/package/old.rb +169 -0
- package/lib/ruby/3.4.0/rubygems/package/source.rb +4 -0
- package/lib/ruby/3.4.0/rubygems/package/tar_header.rb +277 -0
- package/lib/ruby/3.4.0/rubygems/package/tar_reader/entry.rb +244 -0
- package/lib/ruby/3.4.0/rubygems/package/tar_reader.rb +101 -0
- package/lib/ruby/3.4.0/rubygems/package/tar_writer.rb +332 -0
- package/lib/ruby/3.4.0/rubygems/package.rb +742 -0
- package/lib/ruby/3.4.0/rubygems/package_task.rb +123 -0
- package/lib/ruby/3.4.0/rubygems/path_support.rb +85 -0
- package/lib/ruby/3.4.0/rubygems/platform.rb +269 -0
- package/lib/ruby/3.4.0/rubygems/psych_tree.rb +37 -0
- package/lib/ruby/3.4.0/rubygems/query_utils.rb +349 -0
- package/lib/ruby/3.4.0/rubygems/rdoc.rb +26 -0
- package/lib/ruby/3.4.0/rubygems/remote_fetcher.rb +341 -0
- package/lib/ruby/3.4.0/rubygems/request/connection_pools.rb +95 -0
- package/lib/ruby/3.4.0/rubygems/request/http_pool.rb +47 -0
- package/lib/ruby/3.4.0/rubygems/request/https_pool.rb +10 -0
- package/lib/ruby/3.4.0/rubygems/request.rb +298 -0
- package/lib/ruby/3.4.0/rubygems/request_set/gem_dependency_api.rb +841 -0
- package/lib/ruby/3.4.0/rubygems/request_set/lockfile/parser.rb +344 -0
- package/lib/ruby/3.4.0/rubygems/request_set/lockfile/tokenizer.rb +122 -0
- package/lib/ruby/3.4.0/rubygems/request_set/lockfile.rb +235 -0
- package/lib/ruby/3.4.0/rubygems/request_set.rb +468 -0
- package/lib/ruby/3.4.0/rubygems/requirement.rb +298 -0
- package/lib/ruby/3.4.0/rubygems/resolver/activation_request.rb +159 -0
- package/lib/ruby/3.4.0/rubygems/resolver/api_set/gem_parser.rb +21 -0
- package/lib/ruby/3.4.0/rubygems/resolver/api_set.rb +139 -0
- package/lib/ruby/3.4.0/rubygems/resolver/api_specification.rb +105 -0
- package/lib/ruby/3.4.0/rubygems/resolver/best_set.rb +49 -0
- package/lib/ruby/3.4.0/rubygems/resolver/composed_set.rb +65 -0
- package/lib/ruby/3.4.0/rubygems/resolver/conflict.rb +146 -0
- package/lib/ruby/3.4.0/rubygems/resolver/current_set.rb +12 -0
- package/lib/ruby/3.4.0/rubygems/resolver/dependency_request.rb +119 -0
- package/lib/ruby/3.4.0/rubygems/resolver/git_set.rb +120 -0
- package/lib/ruby/3.4.0/rubygems/resolver/git_specification.rb +57 -0
- package/lib/ruby/3.4.0/rubygems/resolver/index_set.rb +79 -0
- package/lib/ruby/3.4.0/rubygems/resolver/index_specification.rb +101 -0
- package/lib/ruby/3.4.0/rubygems/resolver/installed_specification.rb +57 -0
- package/lib/ruby/3.4.0/rubygems/resolver/installer_set.rb +271 -0
- package/lib/ruby/3.4.0/rubygems/resolver/local_specification.rb +40 -0
- package/lib/ruby/3.4.0/rubygems/resolver/lock_set.rb +81 -0
- package/lib/ruby/3.4.0/rubygems/resolver/lock_specification.rb +86 -0
- package/lib/ruby/3.4.0/rubygems/resolver/requirement_list.rb +82 -0
- package/lib/ruby/3.4.0/rubygems/resolver/set.rb +55 -0
- package/lib/ruby/3.4.0/rubygems/resolver/source_set.rb +47 -0
- package/lib/ruby/3.4.0/rubygems/resolver/spec_specification.rb +76 -0
- package/lib/ruby/3.4.0/rubygems/resolver/specification.rb +126 -0
- package/lib/ruby/3.4.0/rubygems/resolver/stats.rb +46 -0
- package/lib/ruby/3.4.0/rubygems/resolver/vendor_set.rb +86 -0
- package/lib/ruby/3.4.0/rubygems/resolver/vendor_specification.rb +23 -0
- package/lib/ruby/3.4.0/rubygems/resolver.rb +341 -0
- package/lib/ruby/3.4.0/rubygems/s3_uri_signer.rb +177 -0
- package/lib/ruby/3.4.0/rubygems/safe_marshal/elements.rb +146 -0
- package/lib/ruby/3.4.0/rubygems/safe_marshal/reader.rb +325 -0
- package/lib/ruby/3.4.0/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
- package/lib/ruby/3.4.0/rubygems/safe_marshal/visitors/to_ruby.rb +428 -0
- package/lib/ruby/3.4.0/rubygems/safe_marshal/visitors/visitor.rb +74 -0
- package/lib/ruby/3.4.0/rubygems/safe_marshal.rb +74 -0
- package/lib/ruby/3.4.0/rubygems/safe_yaml.rb +45 -0
- package/lib/ruby/3.4.0/rubygems/security/policies.rb +114 -0
- package/lib/ruby/3.4.0/rubygems/security/policy.rb +288 -0
- package/lib/ruby/3.4.0/rubygems/security/signer.rb +212 -0
- package/lib/ruby/3.4.0/rubygems/security/trust_dir.rb +117 -0
- package/lib/ruby/3.4.0/rubygems/security.rb +615 -0
- package/lib/ruby/3.4.0/rubygems/security_option.rb +43 -0
- package/lib/ruby/3.4.0/rubygems/source/git.rb +244 -0
- package/lib/ruby/3.4.0/rubygems/source/installed.rb +39 -0
- package/lib/ruby/3.4.0/rubygems/source/local.rb +131 -0
- package/lib/ruby/3.4.0/rubygems/source/lock.rb +49 -0
- package/lib/ruby/3.4.0/rubygems/source/specific_file.rb +73 -0
- package/lib/ruby/3.4.0/rubygems/source/vendor.rb +24 -0
- package/lib/ruby/3.4.0/rubygems/source.rb +247 -0
- package/lib/ruby/3.4.0/rubygems/source_list.rb +146 -0
- package/lib/ruby/3.4.0/rubygems/spec_fetcher.rb +290 -0
- package/lib/ruby/3.4.0/rubygems/specification.rb +2666 -0
- package/lib/ruby/3.4.0/rubygems/specification_policy.rb +558 -0
- package/lib/ruby/3.4.0/rubygems/specification_record.rb +212 -0
- package/lib/ruby/3.4.0/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +21 -0
- package/lib/ruby/3.4.0/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
- package/lib/ruby/3.4.0/rubygems/stub_specification.rb +235 -0
- package/lib/ruby/3.4.0/rubygems/target_rbconfig.rb +50 -0
- package/lib/ruby/3.4.0/rubygems/text.rb +85 -0
- package/lib/ruby/3.4.0/rubygems/uninstaller.rb +429 -0
- package/lib/ruby/3.4.0/rubygems/unknown_command_spell_checker.rb +21 -0
- package/lib/ruby/3.4.0/rubygems/update_suggestion.rb +56 -0
- package/lib/ruby/3.4.0/rubygems/uri.rb +126 -0
- package/lib/ruby/3.4.0/rubygems/uri_formatter.rb +47 -0
- package/lib/ruby/3.4.0/rubygems/user_interaction.rb +650 -0
- package/lib/ruby/3.4.0/rubygems/util/licenses.rb +834 -0
- package/lib/ruby/3.4.0/rubygems/util/list.rb +40 -0
- package/lib/ruby/3.4.0/rubygems/util.rb +118 -0
- package/lib/ruby/3.4.0/rubygems/validator.rb +144 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +88 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +164 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +255 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/errors.rb +149 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +112 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +839 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo/state.rb +58 -0
- package/lib/ruby/3.4.0/rubygems/vendor/molinillo/lib/molinillo.rb +11 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/exceptions.rb +34 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/generic_request.rb +414 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/header.rb +981 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +17 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/request.rb +88 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/requests.rb +430 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/response.rb +738 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/responses.rb +1174 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http/status.rb +84 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/http.rb +2580 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-http/lib/net/https.rb +23 -0
- package/lib/ruby/3.4.0/rubygems/vendor/net-protocol/lib/net/protocol.rb +544 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optionparser.rb +2 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse/ac.rb +70 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse/date.rb +18 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse/kwargs.rb +27 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse/shellwords.rb +7 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse/time.rb +11 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse/version.rb +80 -0
- package/lib/ruby/3.4.0/rubygems/vendor/optparse/lib/optparse.rb +2426 -0
- package/lib/ruby/3.4.0/rubygems/vendor/resolv/lib/resolv.rb +3455 -0
- package/lib/ruby/3.4.0/rubygems/vendor/securerandom/lib/securerandom.rb +102 -0
- package/lib/ruby/3.4.0/rubygems/vendor/timeout/lib/timeout.rb +198 -0
- package/lib/ruby/3.4.0/rubygems/vendor/tsort/lib/tsort.rb +455 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/common.rb +880 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/file.rb +100 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/http.rb +125 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/https.rb +23 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/version.rb +6 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
- package/lib/ruby/3.4.0/rubygems/vendor/uri/lib/uri.rb +104 -0
- package/lib/ruby/3.4.0/rubygems/vendored_molinillo.rb +3 -0
- package/lib/ruby/3.4.0/rubygems/vendored_net_http.rb +5 -0
- package/lib/ruby/3.4.0/rubygems/vendored_optparse.rb +3 -0
- package/lib/ruby/3.4.0/rubygems/vendored_securerandom.rb +3 -0
- package/lib/ruby/3.4.0/rubygems/vendored_timeout.rb +5 -0
- package/lib/ruby/3.4.0/rubygems/vendored_tsort.rb +3 -0
- package/lib/ruby/3.4.0/rubygems/version.rb +441 -0
- package/lib/ruby/3.4.0/rubygems/version_option.rb +80 -0
- package/lib/ruby/3.4.0/rubygems/yaml_serializer.rb +98 -0
- package/lib/ruby/3.4.0/rubygems.rb +1417 -0
- package/lib/ruby/3.4.0/securerandom.rb +102 -0
- package/lib/ruby/3.4.0/set/sorted_set.rb +6 -0
- package/lib/ruby/3.4.0/set.rb +855 -0
- package/lib/ruby/3.4.0/shellwords.rb +254 -0
- package/lib/ruby/3.4.0/singleton.rb +239 -0
- package/lib/ruby/3.4.0/socket.rb +1790 -0
- package/lib/ruby/3.4.0/strscan/strscan.rb +25 -0
- package/lib/ruby/3.4.0/syntax_suggest/api.rb +233 -0
- package/lib/ruby/3.4.0/syntax_suggest/around_block_scan.rb +232 -0
- package/lib/ruby/3.4.0/syntax_suggest/block_expand.rb +165 -0
- package/lib/ruby/3.4.0/syntax_suggest/capture/before_after_keyword_ends.rb +85 -0
- package/lib/ruby/3.4.0/syntax_suggest/capture/falling_indent_lines.rb +71 -0
- package/lib/ruby/3.4.0/syntax_suggest/capture_code_context.rb +245 -0
- package/lib/ruby/3.4.0/syntax_suggest/clean_document.rb +306 -0
- package/lib/ruby/3.4.0/syntax_suggest/cli.rb +130 -0
- package/lib/ruby/3.4.0/syntax_suggest/code_block.rb +100 -0
- package/lib/ruby/3.4.0/syntax_suggest/code_frontier.rb +178 -0
- package/lib/ruby/3.4.0/syntax_suggest/code_line.rb +243 -0
- package/lib/ruby/3.4.0/syntax_suggest/code_search.rb +139 -0
- package/lib/ruby/3.4.0/syntax_suggest/core_ext.rb +96 -0
- package/lib/ruby/3.4.0/syntax_suggest/display_code_with_line_numbers.rb +70 -0
- package/lib/ruby/3.4.0/syntax_suggest/display_invalid_blocks.rb +83 -0
- package/lib/ruby/3.4.0/syntax_suggest/explain_syntax.rb +117 -0
- package/lib/ruby/3.4.0/syntax_suggest/left_right_lex_count.rb +168 -0
- package/lib/ruby/3.4.0/syntax_suggest/lex_all.rb +74 -0
- package/lib/ruby/3.4.0/syntax_suggest/lex_value.rb +70 -0
- package/lib/ruby/3.4.0/syntax_suggest/mini_stringio.rb +30 -0
- package/lib/ruby/3.4.0/syntax_suggest/parse_blocks_from_indent_line.rb +60 -0
- package/lib/ruby/3.4.0/syntax_suggest/pathname_from_message.rb +59 -0
- package/lib/ruby/3.4.0/syntax_suggest/priority_engulf_queue.rb +63 -0
- package/lib/ruby/3.4.0/syntax_suggest/priority_queue.rb +105 -0
- package/lib/ruby/3.4.0/syntax_suggest/ripper_errors.rb +39 -0
- package/lib/ruby/3.4.0/syntax_suggest/scan_history.rb +134 -0
- package/lib/ruby/3.4.0/syntax_suggest/unvisited_lines.rb +36 -0
- package/lib/ruby/3.4.0/syntax_suggest/version.rb +5 -0
- package/lib/ruby/3.4.0/syntax_suggest.rb +3 -0
- package/lib/ruby/3.4.0/tempfile.rb +640 -0
- package/lib/ruby/3.4.0/time.rb +731 -0
- package/lib/ruby/3.4.0/timeout.rb +200 -0
- package/lib/ruby/3.4.0/tmpdir.rb +189 -0
- package/lib/ruby/3.4.0/tsort.rb +455 -0
- package/lib/ruby/3.4.0/un.rb +441 -0
- package/lib/ruby/3.4.0/unicode_normalize/normalize.rb +181 -0
- package/lib/ruby/3.4.0/unicode_normalize/tables.rb +9259 -0
- package/lib/ruby/3.4.0/uri/common.rb +880 -0
- package/lib/ruby/3.4.0/uri/file.rb +100 -0
- package/lib/ruby/3.4.0/uri/ftp.rb +267 -0
- package/lib/ruby/3.4.0/uri/generic.rb +1592 -0
- package/lib/ruby/3.4.0/uri/http.rb +125 -0
- package/lib/ruby/3.4.0/uri/https.rb +23 -0
- package/lib/ruby/3.4.0/uri/ldap.rb +261 -0
- package/lib/ruby/3.4.0/uri/ldaps.rb +22 -0
- package/lib/ruby/3.4.0/uri/mailto.rb +293 -0
- package/lib/ruby/3.4.0/uri/rfc2396_parser.rb +546 -0
- package/lib/ruby/3.4.0/uri/rfc3986_parser.rb +206 -0
- package/lib/ruby/3.4.0/uri/version.rb +6 -0
- package/lib/ruby/3.4.0/uri/ws.rb +83 -0
- package/lib/ruby/3.4.0/uri/wss.rb +23 -0
- package/lib/ruby/3.4.0/uri.rb +104 -0
- package/lib/ruby/{3.4.11 → 3.4.0/wasm32-wasi}/rbconfig.rb +11 -11
- package/lib/ruby/3.4.0/weakref.rb +58 -0
- package/lib/ruby/3.4.0/yaml/dbm.rb +295 -0
- package/lib/ruby/3.4.0/yaml/store.rb +98 -0
- package/lib/ruby/3.4.0/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/Gemfile +4 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/README.md +45 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/lib/abbrev.rb +133 -0
- package/lib/ruby/gems/3.4.0/gems/base64-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/base64-0.2.0/README.md +48 -0
- package/lib/ruby/gems/3.4.0/gems/base64-0.2.0/lib/base64.rb +363 -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/csv-3.3.2/LICENSE.txt +33 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/NEWS.md +965 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/README.md +55 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/arguments/io.rdoc +5 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/common/col_sep.rdoc +57 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/common/quote_char.rdoc +42 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/common/row_sep.rdoc +91 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/force_quotes.rdoc +17 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/quote_empty.rdoc +12 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_converters.rdoc +25 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_empty_value.rdoc +15 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_headers.rdoc +29 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_nil_value.rdoc +14 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/converters.rdoc +46 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/empty_value.rdoc +13 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/field_size_limit.rdoc +39 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/header_converters.rdoc +43 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/headers.rdoc +63 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/liberal_parsing.rdoc +38 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/nil_value.rdoc +12 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/return_headers.rdoc +22 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/skip_blanks.rdoc +31 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/skip_lines.rdoc +37 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/strip.rdoc +15 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/unconverted_fields.rdoc +27 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/filtering.rdoc +226 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/generating.rdoc +298 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/parsing.rdoc +554 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/recipes.rdoc +6 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/core_ext/array.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/core_ext/string.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/fields_converter.rb +96 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/input_record_separator.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/parser.rb +1292 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/row.rb +757 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/table.rb +1055 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/version.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/writer.rb +209 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv.rb +3017 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/acl.rb +239 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/drb.rb +1943 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/eq.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/extserv.rb +44 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/extservm.rb +94 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/gw.rb +161 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/invokemethod.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/observer.rb +26 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/ssl.rb +354 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/timeridconv.rb +97 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/unix.rb +118 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/version.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/weakidconv.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb.rb +3 -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/Gemfile +4 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/README.md +99 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +7 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +6 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/lib/getoptlong.rb +867 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/abbrev.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/aliases.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/argv.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/each.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/fibonacci.rb +62 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/permute.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/require_order.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/return_in_order.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/simple.rb +7 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/types.rb +10 -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/matrix-0.4.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix/eigenvalue_decomposition.rb +882 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix/lup_decomposition.rb +219 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix.rb +2493 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/History.rdoc +1681 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/Manifest.txt +32 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/README.rdoc +835 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/Rakefile +81 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/design_rationale.rb +52 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/hoe/minitest.rb +29 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/assertions.rb +855 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/autorun.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/benchmark.rb +452 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/compress.rb +94 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/error_on_warning.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/expectations.rb +321 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/hell.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/manual_plugins.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/mock.rb +347 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/parallel.rb +70 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/pride.rb +4 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/pride_plugin.rb +135 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/spec.rb +350 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/test.rb +237 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/test_task.rb +307 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/unit.rb +42 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest.rb +1235 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/metametameta.rb +150 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_assertions.rb +1720 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_benchmark.rb +137 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_mock.rb +1218 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_reporter.rb +436 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_spec.rb +1163 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_test.rb +1356 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_test_task.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/README.md +62 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/lib/mutex_m.rb +121 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/sig/mutex_m.rbs +99 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/Gemfile +6 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/LICENSE.txt +2 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/README.md +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/lib/net/ftp.rb +1580 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/Gemfile +25 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/LICENSE.txt +65 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/README.md +77 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/Rakefile +13 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/docs/styles.css +85 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/authenticators.rb +37 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/command_data.rb +507 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_accessors.rb +75 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_inheritance.rb +90 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_type_coercion.rb +74 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_version_defaults.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config.rb +500 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/connection_state.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/data_encoding.rb +214 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/data_lite.rb +226 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/deprecated_client_options.rb +142 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/errors.rb +118 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/esearch_result.rb +219 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/fetch_data.rb +597 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/flags.rb +262 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_data.rb +1113 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_parser/parser_utils.rb +245 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_parser.rb +2282 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_reader.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/anonymous_authenticator.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/authentication_exchange.rb +139 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/authenticators.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/client_adapter.rb +123 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/cram_md5_authenticator.rb +61 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/digest_md5_authenticator.rb +342 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/external_authenticator.rb +83 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/gs2_header.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/login_authenticator.rb +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/oauthbearer_authenticator.rb +199 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/plain_authenticator.rb +101 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/protocol_adapters.rb +101 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/scram_algorithm.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/scram_authenticator.rb +361 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/stringprep.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/xoauth2_authenticator.rb +106 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl.rb +182 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl_adapter.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/search_result.rb +145 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sequence_set.rb +1952 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/nameprep.rb +70 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/saslprep.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/saslprep_tables.rb +96 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/tables.rb +146 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/trace.rb +85 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep.rb +159 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/uidplus_data.rb +244 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/vanished_data.rb +65 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap.rb +3968 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/benchmarks.rake +91 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/rdoc.rake +70 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/rfcs.rake +170 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/saslprep.rake +30 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/string_prep_tables_generator.rb +449 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/sample/net-imap.rb +167 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/Gemfile +7 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/README.md +66 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/Rakefile +17 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/lib/net/pop.rb +1025 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/LICENSE.txt +2 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/NEWS.md +133 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/README.md +97 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_cram_md5.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_login.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_plain.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_xoauth2.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/authenticator.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp.rb +1164 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/Gemfile +9 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/README.md +139 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/lib/observer.rb +229 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/COPYING +57 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/Gemfile +19 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/LEGAL +4 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/README.md +98 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/Rakefile +59 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/colorize.rb +7 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/configuration.rb +46 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/context.rb +233 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/enable_tracepoint_events.rb +62 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/inspector.rb +66 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/parser.rb +251 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/version.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/README.md +49 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/lib/prime.rb +561 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/sig/integer-extension.rbs +41 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/sig/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/sig/prime.rbs +372 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/History.rdoc +2403 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/README.rdoc +155 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/command_line_usage.rdoc +158 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/Rakefile1 +38 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/Rakefile2 +35 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/a.c +6 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/b.c +6 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/main.c +11 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/glossary.rdoc +42 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/jamis.rb +592 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/proto_rake.rdoc +127 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/rake.1 +156 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/rakefile.rdoc +622 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/rational.rdoc +151 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/exe/rake +27 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/application.rb +861 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/backtrace.rb +25 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/clean.rb +78 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/cloneable.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/cpu_counter.rb +107 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/default_loader.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/dsl_definition.rb +196 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/early_time.rb +22 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/ext/core.rb +26 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/ext/string.rb +176 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_creation_task.rb +25 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_list.rb +435 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_task.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_utils.rb +132 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_utils_ext.rb +134 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/invocation_chain.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/invocation_exception_mixin.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/late_time.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/linked_list.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/loaders/makefile.rb +54 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/multi_task.rb +14 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/name_space.rb +38 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/packagetask.rb +222 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/phony.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/private_reader.rb +21 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/promise.rb +100 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/pseudo_status.rb +30 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rake_module.rb +67 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rake_test_loader.rb +27 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/scope.rb +43 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task.rb +434 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task_argument_error.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task_arguments.rb +109 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task_manager.rb +331 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/tasklib.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/testtask.rb +189 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/thread_history_display.rb +49 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/thread_pool.rb +163 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/trace_output.rb +23 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/version.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/win32.rb +51 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake.rb +70 -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/repl_type_completor-0.1.9/Gemfile +27 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/LICENSE.txt +21 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/README.md +60 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/Rakefile +37 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/methods.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/require_paths.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/result.rb +170 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/scope.rb +409 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/type_analyzer.rb +1190 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/types.rb +452 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor.rb +141 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/sig/repl_type_completor.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/Gemfile +4 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/README.md +30 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/Rakefile +1 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/lib/resolv-replace.rb +76 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/NEWS.md +843 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/README.md +57 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/context.rdoc +143 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/child.rdoc +87 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/document.rdoc +276 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/element.rdoc +602 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/node.rdoc +97 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/parent.rdoc +267 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/child_toc.rdoc +12 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/document_toc.rdoc +30 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/element_toc.rdoc +55 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/master_toc.rdoc +135 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/node_toc.rdoc +16 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/parent_toc.rdoc +25 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tutorial.rdoc +1358 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/attlistdecl.rb +63 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/attribute.rb +210 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/cdata.rb +68 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/child.rb +96 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/comment.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/doctype.rb +306 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/document.rb +471 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/attlistdecl.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/dtd.rb +47 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/elementdecl.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/entitydecl.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/notationdecl.rb +40 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/element.rb +2578 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/encoding.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/entity.rb +142 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/formatters/default.rb +116 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/formatters/pretty.rb +142 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/formatters/transitive.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/functions.rb +446 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/instruction.rb +79 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/light/node.rb +188 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/namespace.rb +63 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/node.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/output.rb +30 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parent.rb +166 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parseexception.rb +53 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/baseparser.rb +949 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/lightparser.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/pullparser.rb +213 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/sax2parser.rb +270 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/streamparser.rb +67 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/treeparser.rb +89 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/ultralightparser.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/xpathparser.rb +739 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/quickpath.rb +267 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/rexml.rb +39 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/sax2listener.rb +98 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/security.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/source.rb +388 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/streamlistener.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/text.rb +420 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/undefinednamespaceexception.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/validation/relaxng.rb +540 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/validation/validation.rb +144 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/validation/validationexception.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xmldecl.rb +130 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xmltokens.rb +85 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xpath.rb +70 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xpath_parser.rb +980 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/Gemfile +6 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/README.md +32 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/Rakefile +9 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/lib/rinda/rinda.rb +329 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/lib/rinda/ring.rb +484 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/lib/rinda/tuplespace.rb +641 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/NEWS.md +87 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/README.md +88 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/0.9.rb +462 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/1.0.rb +485 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/2.0.rb +143 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/atom.rb +1025 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/content/1.0.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/content/2.0.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/content.rb +34 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/converter.rb +171 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore/1.0.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore/2.0.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore/atom.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore.rb +164 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/image.rb +198 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/itunes.rb +482 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/0.9.rb +509 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/1.0.rb +436 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/2.0.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/atom.rb +173 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/base.rb +945 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/content.rb +22 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/dublincore.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/entry.rb +164 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/feed.rb +427 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/image.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/itunes.rb +258 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/slash.rb +34 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/syndication.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/taxonomy.rb +119 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/trackback.rb +62 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker.rb +79 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/parser.rb +589 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/rexmlparser.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/rss.rb +1370 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/slash.rb +52 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/syndication.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/taxonomy.rb +148 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/trackback.rb +291 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/utils.rb +182 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/version.rb +4 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xml-stylesheet.rb +105 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xml.rb +73 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xmlparser.rb +95 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xmlscanner.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss.rb +94 -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/gems/test-unit-3.6.7/BSDL +24 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/COPYING +64 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/PSFL +271 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/README.md +108 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/Rakefile +74 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/doc/text/getting-started.md +246 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/doc/text/how-to.md +90 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/doc/text/news.md +1853 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/assertion-failed-error.rb +60 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/assertions.rb +2541 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/attribute-matcher.rb +26 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/attribute.rb +228 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/auto-runner-loader.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/autorunner.rb +629 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/code-snippet-fetcher.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/descendant.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/dir.rb +110 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/load.rb +201 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/objectspace.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/xml.rb +249 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector.rb +104 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/color-scheme.rb +225 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/color.rb +134 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/data-sets.rb +127 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/data.rb +371 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/diff.rb +745 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/error.rb +158 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/exception-handler.rb +82 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/failure.rb +169 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/fault-location-detector.rb +104 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/fixture.rb +304 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/notification.rb +138 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/omission.rb +198 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/pending.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/priority.rb +194 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/runner/console.rb +86 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/runner/emacs.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/runner/xml.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/sub-test-result.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/test-suite-creator.rb +103 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/test-suite-runner.rb +128 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/test-suite-thread-runner.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/testcase.rb +963 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/testresult.rb +132 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/testsuite.rb +108 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/console/outputlevel.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/console/testrunner.rb +891 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunner.rb +53 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb +119 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/xml/testrunner.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/backtracefilter.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/memory-usage.rb +47 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/method-owner-finder.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/observable.rb +86 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/output.rb +32 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/procwrapper.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/warning.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit.rb +521 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test-unit.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/adder.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/subtracter.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/test_adder.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/test_subtracter.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/test_user.rb +23 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/LICENSE +21 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/README.md +25 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/bin/typeprof +5 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/doc/doc.ja.md +134 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/doc/doc.md +136 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/cli/cli.rb +178 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/cli.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/code_range.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/base.rb +263 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/call.rb +259 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/const.rb +126 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/control.rb +433 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/meta.rb +150 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/method.rb +339 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/misc.rb +263 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/module.rb +123 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/pattern.rb +140 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/sig_decl.rb +471 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/sig_type.rb +663 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/value.rb +319 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/variable.rb +315 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast.rb +472 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/builtin.rb +146 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/method.rb +137 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/method_entity.rb +55 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/module_entity.rb +408 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/static_read.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/type_alias_entity.rb +27 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/value_entity.rb +32 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env.rb +366 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/box.rb +998 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/change_set.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/filter.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/vertex.rb +225 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/service.rb +514 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/type.rb +352 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/util.rb +81 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core.rb +31 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/diagnostic.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/messages.rb +415 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/server.rb +203 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/text.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/util.rb +51 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp.rb +7 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/version.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof.rb +6 -0
- package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +24 -0
- 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 +22 -0
- package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +31 -0
- package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +27 -0
- package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +28 -0
- package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +27 -0
- package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +28 -0
- package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +29 -0
- package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +28 -0
- package/package.json +47 -4
- package/lib/ruby/3.4.11/wasm32-wasi/rbconfig.rb +0 -366
|
@@ -0,0 +1,1417 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
#--
|
|
4
|
+
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
|
5
|
+
# All rights reserved.
|
|
6
|
+
# See LICENSE.txt for permissions.
|
|
7
|
+
#++
|
|
8
|
+
|
|
9
|
+
require "rbconfig"
|
|
10
|
+
|
|
11
|
+
module Gem
|
|
12
|
+
VERSION = "3.6.9"
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Must be first since it unloads the prelude from 1.9.2
|
|
16
|
+
require_relative "rubygems/compatibility"
|
|
17
|
+
|
|
18
|
+
require_relative "rubygems/defaults"
|
|
19
|
+
require_relative "rubygems/deprecate"
|
|
20
|
+
require_relative "rubygems/errors"
|
|
21
|
+
require_relative "rubygems/target_rbconfig"
|
|
22
|
+
|
|
23
|
+
##
|
|
24
|
+
# RubyGems is the Ruby standard for publishing and managing third party
|
|
25
|
+
# libraries.
|
|
26
|
+
#
|
|
27
|
+
# For user documentation, see:
|
|
28
|
+
#
|
|
29
|
+
# * <tt>gem help</tt> and <tt>gem help [command]</tt>
|
|
30
|
+
# * {RubyGems User Guide}[https://guides.rubygems.org/]
|
|
31
|
+
# * {Frequently Asked Questions}[https://guides.rubygems.org/faqs]
|
|
32
|
+
#
|
|
33
|
+
# For gem developer documentation see:
|
|
34
|
+
#
|
|
35
|
+
# * {Creating Gems}[https://guides.rubygems.org/make-your-own-gem]
|
|
36
|
+
# * Gem::Specification
|
|
37
|
+
# * Gem::Version for version dependency notes
|
|
38
|
+
#
|
|
39
|
+
# Further RubyGems documentation can be found at:
|
|
40
|
+
#
|
|
41
|
+
# * {RubyGems Guides}[https://guides.rubygems.org]
|
|
42
|
+
# * {RubyGems API}[https://www.rubydoc.info/github/rubygems/rubygems] (also available from
|
|
43
|
+
# <tt>gem server</tt>)
|
|
44
|
+
#
|
|
45
|
+
# == RubyGems Plugins
|
|
46
|
+
#
|
|
47
|
+
# RubyGems will load plugins in the latest version of each installed gem or
|
|
48
|
+
# $LOAD_PATH. Plugins must be named 'rubygems_plugin' (.rb, .so, etc) and
|
|
49
|
+
# placed at the root of your gem's #require_path. Plugins are installed at a
|
|
50
|
+
# special location and loaded on boot.
|
|
51
|
+
#
|
|
52
|
+
# For an example plugin, see the {Graph gem}[https://github.com/seattlerb/graph]
|
|
53
|
+
# which adds a <tt>gem graph</tt> command.
|
|
54
|
+
#
|
|
55
|
+
# == RubyGems Defaults, Packaging
|
|
56
|
+
#
|
|
57
|
+
# RubyGems defaults are stored in lib/rubygems/defaults.rb. If you're packaging
|
|
58
|
+
# RubyGems or implementing Ruby you can change RubyGems' defaults.
|
|
59
|
+
#
|
|
60
|
+
# For RubyGems packagers, provide lib/rubygems/defaults/operating_system.rb
|
|
61
|
+
# and override any defaults from lib/rubygems/defaults.rb.
|
|
62
|
+
#
|
|
63
|
+
# For Ruby implementers, provide lib/rubygems/defaults/#{RUBY_ENGINE}.rb and
|
|
64
|
+
# override any defaults from lib/rubygems/defaults.rb.
|
|
65
|
+
#
|
|
66
|
+
# If you need RubyGems to perform extra work on install or uninstall, your
|
|
67
|
+
# defaults override file can set pre/post install and uninstall hooks.
|
|
68
|
+
# See Gem::pre_install, Gem::pre_uninstall, Gem::post_install,
|
|
69
|
+
# Gem::post_uninstall.
|
|
70
|
+
#
|
|
71
|
+
# == Bugs
|
|
72
|
+
#
|
|
73
|
+
# You can submit bugs to the
|
|
74
|
+
# {RubyGems bug tracker}[https://github.com/rubygems/rubygems/issues]
|
|
75
|
+
# on GitHub
|
|
76
|
+
#
|
|
77
|
+
# == Credits
|
|
78
|
+
#
|
|
79
|
+
# RubyGems is currently maintained by Eric Hodel.
|
|
80
|
+
#
|
|
81
|
+
# RubyGems was originally developed at RubyConf 2003 by:
|
|
82
|
+
#
|
|
83
|
+
# * Rich Kilmer -- rich(at)infoether.com
|
|
84
|
+
# * Chad Fowler -- chad(at)chadfowler.com
|
|
85
|
+
# * David Black -- dblack(at)wobblini.net
|
|
86
|
+
# * Paul Brannan -- paul(at)atdesk.com
|
|
87
|
+
# * Jim Weirich -- jim(at)weirichhouse.org
|
|
88
|
+
#
|
|
89
|
+
# Contributors:
|
|
90
|
+
#
|
|
91
|
+
# * Gavin Sinclair -- gsinclair(at)soyabean.com.au
|
|
92
|
+
# * George Marrows -- george.marrows(at)ntlworld.com
|
|
93
|
+
# * Dick Davies -- rasputnik(at)hellooperator.net
|
|
94
|
+
# * Mauricio Fernandez -- batsman.geo(at)yahoo.com
|
|
95
|
+
# * Simon Strandgaard -- neoneye(at)adslhome.dk
|
|
96
|
+
# * Dave Glasser -- glasser(at)mit.edu
|
|
97
|
+
# * Paul Duncan -- pabs(at)pablotron.org
|
|
98
|
+
# * Ville Aine -- vaine(at)cs.helsinki.fi
|
|
99
|
+
# * Eric Hodel -- drbrain(at)segment7.net
|
|
100
|
+
# * Daniel Berger -- djberg96(at)gmail.com
|
|
101
|
+
# * Phil Hagelberg -- technomancy(at)gmail.com
|
|
102
|
+
# * Ryan Davis -- ryand-ruby(at)zenspider.com
|
|
103
|
+
# * Evan Phoenix -- evan(at)fallingsnow.net
|
|
104
|
+
# * Steve Klabnik -- steve(at)steveklabnik.com
|
|
105
|
+
#
|
|
106
|
+
# (If your name is missing, PLEASE let us know!)
|
|
107
|
+
#
|
|
108
|
+
# == License
|
|
109
|
+
#
|
|
110
|
+
# See {LICENSE.txt}[https://github.com/rubygems/rubygems/blob/master/LICENSE.txt] for permissions.
|
|
111
|
+
#
|
|
112
|
+
# Thanks!
|
|
113
|
+
#
|
|
114
|
+
# -The RubyGems Team
|
|
115
|
+
|
|
116
|
+
module Gem
|
|
117
|
+
RUBYGEMS_DIR = __dir__
|
|
118
|
+
|
|
119
|
+
##
|
|
120
|
+
# An Array of Regexps that match windows Ruby platforms.
|
|
121
|
+
|
|
122
|
+
WIN_PATTERNS = [
|
|
123
|
+
/bccwin/i,
|
|
124
|
+
/cygwin/i,
|
|
125
|
+
/djgpp/i,
|
|
126
|
+
/mingw/i,
|
|
127
|
+
/mswin/i,
|
|
128
|
+
/wince/i,
|
|
129
|
+
].freeze
|
|
130
|
+
|
|
131
|
+
GEM_DEP_FILES = %w[
|
|
132
|
+
gem.deps.rb
|
|
133
|
+
gems.rb
|
|
134
|
+
Gemfile
|
|
135
|
+
Isolate
|
|
136
|
+
].freeze
|
|
137
|
+
|
|
138
|
+
##
|
|
139
|
+
# Subdirectories in a gem repository
|
|
140
|
+
|
|
141
|
+
REPOSITORY_SUBDIRECTORIES = %w[
|
|
142
|
+
build_info
|
|
143
|
+
cache
|
|
144
|
+
doc
|
|
145
|
+
extensions
|
|
146
|
+
gems
|
|
147
|
+
plugins
|
|
148
|
+
specifications
|
|
149
|
+
].freeze
|
|
150
|
+
|
|
151
|
+
##
|
|
152
|
+
# Subdirectories in a gem repository for default gems
|
|
153
|
+
|
|
154
|
+
REPOSITORY_DEFAULT_GEM_SUBDIRECTORIES = %w[
|
|
155
|
+
gems
|
|
156
|
+
specifications/default
|
|
157
|
+
].freeze
|
|
158
|
+
|
|
159
|
+
##
|
|
160
|
+
# The default value for SOURCE_DATE_EPOCH if not specified.
|
|
161
|
+
# We want a date after 1980-01-01, to prevent issues with Zip files.
|
|
162
|
+
# This particular timestamp is for 1980-01-02 00:00:00 GMT.
|
|
163
|
+
|
|
164
|
+
DEFAULT_SOURCE_DATE_EPOCH = 315_619_200
|
|
165
|
+
|
|
166
|
+
@@win_platform = nil
|
|
167
|
+
|
|
168
|
+
@configuration = nil
|
|
169
|
+
@gemdeps = nil
|
|
170
|
+
@loaded_specs = {}
|
|
171
|
+
LOADED_SPECS_MUTEX = Thread::Mutex.new
|
|
172
|
+
@path_to_default_spec_map = {}
|
|
173
|
+
@platforms = []
|
|
174
|
+
@ruby = nil
|
|
175
|
+
@ruby_api_version = nil
|
|
176
|
+
@sources = nil
|
|
177
|
+
|
|
178
|
+
@post_build_hooks ||= []
|
|
179
|
+
@post_install_hooks ||= []
|
|
180
|
+
@post_uninstall_hooks ||= []
|
|
181
|
+
@pre_uninstall_hooks ||= []
|
|
182
|
+
@pre_install_hooks ||= []
|
|
183
|
+
@pre_reset_hooks ||= []
|
|
184
|
+
@post_reset_hooks ||= []
|
|
185
|
+
|
|
186
|
+
@default_source_date_epoch = nil
|
|
187
|
+
|
|
188
|
+
@discover_gems_on_require = true
|
|
189
|
+
|
|
190
|
+
@target_rbconfig = nil
|
|
191
|
+
|
|
192
|
+
##
|
|
193
|
+
# Try to activate a gem containing +path+. Returns true if
|
|
194
|
+
# activation succeeded or wasn't needed because it was already
|
|
195
|
+
# activated. Returns false if it can't find the path in a gem.
|
|
196
|
+
|
|
197
|
+
def self.try_activate(path)
|
|
198
|
+
# finds the _latest_ version... regardless of loaded specs and their deps
|
|
199
|
+
# if another gem had a requirement that would mean we shouldn't
|
|
200
|
+
# activate the latest version, then either it would already be activated
|
|
201
|
+
# or if it was ambiguous (and thus unresolved) the code in our custom
|
|
202
|
+
# require will try to activate the more specific version.
|
|
203
|
+
|
|
204
|
+
spec = Gem::Specification.find_by_path path
|
|
205
|
+
return false unless spec
|
|
206
|
+
return true if spec.activated?
|
|
207
|
+
|
|
208
|
+
begin
|
|
209
|
+
spec.activate
|
|
210
|
+
rescue Gem::LoadError => e # this could fail due to gem dep collisions, go lax
|
|
211
|
+
spec_by_name = Gem::Specification.find_by_name(spec.name)
|
|
212
|
+
if spec_by_name.nil?
|
|
213
|
+
raise e
|
|
214
|
+
else
|
|
215
|
+
spec_by_name.activate
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
true
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
def self.needs
|
|
223
|
+
rs = Gem::RequestSet.new
|
|
224
|
+
|
|
225
|
+
yield rs
|
|
226
|
+
|
|
227
|
+
finish_resolve rs
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
def self.finish_resolve(request_set=Gem::RequestSet.new)
|
|
231
|
+
request_set.import Gem::Specification.unresolved_deps.values
|
|
232
|
+
request_set.import Gem.loaded_specs.values.map {|s| Gem::Dependency.new(s.name, s.version) }
|
|
233
|
+
|
|
234
|
+
request_set.resolve_current.each do |s|
|
|
235
|
+
s.full_spec.activate
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
##
|
|
240
|
+
# Find the full path to the executable for gem +name+. If the +exec_name+
|
|
241
|
+
# is not given, an exception will be raised, otherwise the
|
|
242
|
+
# specified executable's path is returned. +requirements+ allows
|
|
243
|
+
# you to specify specific gem versions.
|
|
244
|
+
|
|
245
|
+
def self.bin_path(name, exec_name = nil, *requirements)
|
|
246
|
+
requirements = Gem::Requirement.default if
|
|
247
|
+
requirements.empty?
|
|
248
|
+
|
|
249
|
+
find_spec_for_exe(name, exec_name, requirements).bin_file exec_name
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
def self.find_spec_for_exe(name, exec_name, requirements)
|
|
253
|
+
raise ArgumentError, "you must supply exec_name" unless exec_name
|
|
254
|
+
|
|
255
|
+
dep = Gem::Dependency.new name, requirements
|
|
256
|
+
|
|
257
|
+
loaded = Gem.loaded_specs[name]
|
|
258
|
+
|
|
259
|
+
return loaded if loaded && dep.matches_spec?(loaded)
|
|
260
|
+
|
|
261
|
+
specs = dep.matching_specs(true)
|
|
262
|
+
|
|
263
|
+
specs = specs.find_all do |spec|
|
|
264
|
+
spec.executables.include? exec_name
|
|
265
|
+
end if exec_name
|
|
266
|
+
|
|
267
|
+
unless spec = specs.first
|
|
268
|
+
msg = "can't find gem #{dep} with executable #{exec_name}"
|
|
269
|
+
raise Gem::GemNotFoundException, msg
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
spec
|
|
273
|
+
end
|
|
274
|
+
private_class_method :find_spec_for_exe
|
|
275
|
+
|
|
276
|
+
##
|
|
277
|
+
# Find the full path to the executable for gem +name+. If the +exec_name+
|
|
278
|
+
# is not given, an exception will be raised, otherwise the
|
|
279
|
+
# specified executable's path is returned. +requirements+ allows
|
|
280
|
+
# you to specify specific gem versions.
|
|
281
|
+
#
|
|
282
|
+
# A side effect of this method is that it will activate the gem that
|
|
283
|
+
# contains the executable.
|
|
284
|
+
#
|
|
285
|
+
# This method should *only* be used in bin stub files.
|
|
286
|
+
|
|
287
|
+
def self.activate_bin_path(name, exec_name = nil, *requirements) # :nodoc:
|
|
288
|
+
spec = find_spec_for_exe name, exec_name, requirements
|
|
289
|
+
Gem::LOADED_SPECS_MUTEX.synchronize do
|
|
290
|
+
spec.activate
|
|
291
|
+
finish_resolve
|
|
292
|
+
end
|
|
293
|
+
spec.bin_file exec_name
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
##
|
|
297
|
+
# The mode needed to read a file as straight binary.
|
|
298
|
+
|
|
299
|
+
def self.binary_mode
|
|
300
|
+
"rb"
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
##
|
|
304
|
+
# The path where gem executables are to be installed.
|
|
305
|
+
|
|
306
|
+
def self.bindir(install_dir=Gem.dir)
|
|
307
|
+
return File.join install_dir, "bin" unless
|
|
308
|
+
install_dir.to_s == Gem.default_dir.to_s
|
|
309
|
+
Gem.default_bindir
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
##
|
|
313
|
+
# The path were rubygems plugins are to be installed.
|
|
314
|
+
|
|
315
|
+
def self.plugindir(install_dir=Gem.dir)
|
|
316
|
+
File.join install_dir, "plugins"
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
##
|
|
320
|
+
# Reset the +dir+ and +path+ values. The next time +dir+ or +path+
|
|
321
|
+
# is requested, the values will be calculated from scratch. This is
|
|
322
|
+
# mainly used by the unit tests to provide test isolation.
|
|
323
|
+
|
|
324
|
+
def self.clear_paths
|
|
325
|
+
@paths = nil
|
|
326
|
+
@user_home = nil
|
|
327
|
+
Gem::Specification.reset
|
|
328
|
+
Gem::Security.reset if defined?(Gem::Security)
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
##
|
|
332
|
+
# The standard configuration object for gems.
|
|
333
|
+
|
|
334
|
+
def self.configuration
|
|
335
|
+
@configuration ||= Gem::ConfigFile.new []
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
##
|
|
339
|
+
# Use the given configuration object (which implements the ConfigFile
|
|
340
|
+
# protocol) as the standard configuration object.
|
|
341
|
+
|
|
342
|
+
def self.configuration=(config)
|
|
343
|
+
@configuration = config
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
##
|
|
347
|
+
# A Zlib::Deflate.deflate wrapper
|
|
348
|
+
|
|
349
|
+
def self.deflate(data)
|
|
350
|
+
require "zlib"
|
|
351
|
+
Zlib::Deflate.deflate data
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
# Retrieve the PathSupport object that RubyGems uses to
|
|
355
|
+
# lookup files.
|
|
356
|
+
|
|
357
|
+
def self.paths
|
|
358
|
+
@paths ||= Gem::PathSupport.new(ENV)
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
# Initialize the filesystem paths to use from +env+.
|
|
362
|
+
# +env+ is a hash-like object (typically ENV) that
|
|
363
|
+
# is queried for 'GEM_HOME', 'GEM_PATH', and 'GEM_SPEC_CACHE'
|
|
364
|
+
# Keys for the +env+ hash should be Strings, and values of the hash should
|
|
365
|
+
# be Strings or +nil+.
|
|
366
|
+
|
|
367
|
+
def self.paths=(env)
|
|
368
|
+
clear_paths
|
|
369
|
+
target = {}
|
|
370
|
+
env.each_pair do |k,v|
|
|
371
|
+
case k
|
|
372
|
+
when "GEM_HOME", "GEM_PATH", "GEM_SPEC_CACHE"
|
|
373
|
+
case v
|
|
374
|
+
when nil, String
|
|
375
|
+
target[k] = v
|
|
376
|
+
when Array
|
|
377
|
+
unless Gem::Deprecate.skip
|
|
378
|
+
warn <<-EOWARN
|
|
379
|
+
Array values in the parameter to `Gem.paths=` are deprecated.
|
|
380
|
+
Please use a String or nil.
|
|
381
|
+
An Array (#{env.inspect}) was passed in from #{caller[3]}
|
|
382
|
+
EOWARN
|
|
383
|
+
end
|
|
384
|
+
target[k] = v.join File::PATH_SEPARATOR
|
|
385
|
+
end
|
|
386
|
+
else
|
|
387
|
+
target[k] = v
|
|
388
|
+
end
|
|
389
|
+
end
|
|
390
|
+
@paths = Gem::PathSupport.new ENV.to_hash.merge(target)
|
|
391
|
+
Gem::Specification.dirs = @paths.path
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
##
|
|
395
|
+
# The path where gems are to be installed.
|
|
396
|
+
|
|
397
|
+
def self.dir
|
|
398
|
+
paths.home
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
def self.path
|
|
402
|
+
paths.path
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
def self.spec_cache_dir
|
|
406
|
+
paths.spec_cache_dir
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
##
|
|
410
|
+
# The RbConfig object for the deployment target platform.
|
|
411
|
+
#
|
|
412
|
+
# This is usually the same as the running platform, but may be
|
|
413
|
+
# different if you are cross-compiling.
|
|
414
|
+
|
|
415
|
+
def self.target_rbconfig
|
|
416
|
+
@target_rbconfig || Gem::TargetRbConfig.for_running_ruby
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
def self.set_target_rbconfig(rbconfig_path)
|
|
420
|
+
@target_rbconfig = Gem::TargetRbConfig.from_path(rbconfig_path)
|
|
421
|
+
Gem::Platform.local(refresh: true)
|
|
422
|
+
Gem.platforms << Gem::Platform.local unless Gem.platforms.include? Gem::Platform.local
|
|
423
|
+
@target_rbconfig
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
##
|
|
427
|
+
# Quietly ensure the Gem directory +dir+ contains all the proper
|
|
428
|
+
# subdirectories. If we can't create a directory due to a permission
|
|
429
|
+
# problem, then we will silently continue.
|
|
430
|
+
#
|
|
431
|
+
# If +mode+ is given, missing directories are created with this mode.
|
|
432
|
+
#
|
|
433
|
+
# World-writable directories will never be created.
|
|
434
|
+
|
|
435
|
+
def self.ensure_gem_subdirectories(dir = Gem.dir, mode = nil)
|
|
436
|
+
ensure_subdirectories(dir, mode, REPOSITORY_SUBDIRECTORIES)
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
##
|
|
440
|
+
# Quietly ensure the Gem directory +dir+ contains all the proper
|
|
441
|
+
# subdirectories for handling default gems. If we can't create a
|
|
442
|
+
# directory due to a permission problem, then we will silently continue.
|
|
443
|
+
#
|
|
444
|
+
# If +mode+ is given, missing directories are created with this mode.
|
|
445
|
+
#
|
|
446
|
+
# World-writable directories will never be created.
|
|
447
|
+
|
|
448
|
+
def self.ensure_default_gem_subdirectories(dir = Gem.dir, mode = nil)
|
|
449
|
+
ensure_subdirectories(dir, mode, REPOSITORY_DEFAULT_GEM_SUBDIRECTORIES)
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
def self.ensure_subdirectories(dir, mode, subdirs) # :nodoc:
|
|
453
|
+
old_umask = File.umask
|
|
454
|
+
File.umask old_umask | 0o002
|
|
455
|
+
|
|
456
|
+
options = {}
|
|
457
|
+
|
|
458
|
+
options[:mode] = mode if mode
|
|
459
|
+
|
|
460
|
+
subdirs.each do |name|
|
|
461
|
+
subdir = File.join dir, name
|
|
462
|
+
next if File.exist? subdir
|
|
463
|
+
|
|
464
|
+
require "fileutils"
|
|
465
|
+
|
|
466
|
+
begin
|
|
467
|
+
FileUtils.mkdir_p subdir, **options
|
|
468
|
+
rescue SystemCallError
|
|
469
|
+
end
|
|
470
|
+
end
|
|
471
|
+
ensure
|
|
472
|
+
File.umask old_umask
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
##
|
|
476
|
+
# The extension API version of ruby. This includes the static vs non-static
|
|
477
|
+
# distinction as extensions cannot be shared between the two.
|
|
478
|
+
|
|
479
|
+
def self.extension_api_version # :nodoc:
|
|
480
|
+
if target_rbconfig["ENABLE_SHARED"] == "no"
|
|
481
|
+
"#{ruby_api_version}-static"
|
|
482
|
+
else
|
|
483
|
+
ruby_api_version
|
|
484
|
+
end
|
|
485
|
+
end
|
|
486
|
+
|
|
487
|
+
##
|
|
488
|
+
# Returns a list of paths matching +glob+ that can be used by a gem to pick
|
|
489
|
+
# up features from other gems. For example:
|
|
490
|
+
#
|
|
491
|
+
# Gem.find_files('rdoc/discover').each do |path| load path end
|
|
492
|
+
#
|
|
493
|
+
# if +check_load_path+ is true (the default), then find_files also searches
|
|
494
|
+
# $LOAD_PATH for files as well as gems.
|
|
495
|
+
#
|
|
496
|
+
# Note that find_files will return all files even if they are from different
|
|
497
|
+
# versions of the same gem. See also find_latest_files
|
|
498
|
+
|
|
499
|
+
def self.find_files(glob, check_load_path=true)
|
|
500
|
+
files = []
|
|
501
|
+
|
|
502
|
+
files = find_files_from_load_path glob if check_load_path
|
|
503
|
+
|
|
504
|
+
gem_specifications = @gemdeps ? Gem.loaded_specs.values : Gem::Specification.stubs
|
|
505
|
+
|
|
506
|
+
files.concat gem_specifications.flat_map {|spec|
|
|
507
|
+
spec.matches_for_glob("#{glob}#{Gem.suffix_pattern}")
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
# $LOAD_PATH might contain duplicate entries or reference
|
|
511
|
+
# the spec dirs directly, so we prune.
|
|
512
|
+
files.uniq! if check_load_path
|
|
513
|
+
|
|
514
|
+
files
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
def self.find_files_from_load_path(glob) # :nodoc:
|
|
518
|
+
glob_with_suffixes = "#{glob}#{Gem.suffix_pattern}"
|
|
519
|
+
$LOAD_PATH.flat_map do |load_path|
|
|
520
|
+
Gem::Util.glob_files_in_dir(glob_with_suffixes, load_path)
|
|
521
|
+
end.select {|file| File.file? file }
|
|
522
|
+
end
|
|
523
|
+
|
|
524
|
+
##
|
|
525
|
+
# Returns a list of paths matching +glob+ from the latest gems that can be
|
|
526
|
+
# used by a gem to pick up features from other gems. For example:
|
|
527
|
+
#
|
|
528
|
+
# Gem.find_latest_files('rdoc/discover').each do |path| load path end
|
|
529
|
+
#
|
|
530
|
+
# if +check_load_path+ is true (the default), then find_latest_files also
|
|
531
|
+
# searches $LOAD_PATH for files as well as gems.
|
|
532
|
+
#
|
|
533
|
+
# Unlike find_files, find_latest_files will return only files from the
|
|
534
|
+
# latest version of a gem.
|
|
535
|
+
|
|
536
|
+
def self.find_latest_files(glob, check_load_path=true)
|
|
537
|
+
files = []
|
|
538
|
+
|
|
539
|
+
files = find_files_from_load_path glob if check_load_path
|
|
540
|
+
|
|
541
|
+
files.concat Gem::Specification.latest_specs(true).flat_map {|spec|
|
|
542
|
+
spec.matches_for_glob("#{glob}#{Gem.suffix_pattern}")
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
# $LOAD_PATH might contain duplicate entries or reference
|
|
546
|
+
# the spec dirs directly, so we prune.
|
|
547
|
+
files.uniq! if check_load_path
|
|
548
|
+
|
|
549
|
+
files
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
##
|
|
553
|
+
# Top level install helper method. Allows you to install gems interactively:
|
|
554
|
+
#
|
|
555
|
+
# % irb
|
|
556
|
+
# >> Gem.install "minitest"
|
|
557
|
+
# Fetching: minitest-5.14.0.gem (100%)
|
|
558
|
+
# => [#<Gem::Specification:0x1013b4528 @name="minitest", ...>]
|
|
559
|
+
|
|
560
|
+
def self.install(name, version = Gem::Requirement.default, *options)
|
|
561
|
+
require_relative "rubygems/dependency_installer"
|
|
562
|
+
inst = Gem::DependencyInstaller.new(*options)
|
|
563
|
+
inst.install name, version
|
|
564
|
+
inst.installed_gems
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
##
|
|
568
|
+
# Get the default RubyGems API host. This is normally
|
|
569
|
+
# <tt>https://rubygems.org</tt>.
|
|
570
|
+
|
|
571
|
+
def self.host
|
|
572
|
+
@host ||= Gem::DEFAULT_HOST
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
## Set the default RubyGems API host.
|
|
576
|
+
|
|
577
|
+
def self.host=(host)
|
|
578
|
+
@host = host
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
##
|
|
582
|
+
# The index to insert activated gem paths into the $LOAD_PATH. The activated
|
|
583
|
+
# gem's paths are inserted before site lib directory by default.
|
|
584
|
+
|
|
585
|
+
def self.load_path_insert_index
|
|
586
|
+
$LOAD_PATH.each_with_index do |path, i|
|
|
587
|
+
return i if path.instance_variable_defined?(:@gem_prelude_index)
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
index = $LOAD_PATH.index RbConfig::CONFIG["sitelibdir"]
|
|
591
|
+
|
|
592
|
+
index || 0
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
##
|
|
596
|
+
# The number of paths in the +$LOAD_PATH+ from activated gems. Used to
|
|
597
|
+
# prioritize +-I+ and <code>ENV['RUBYLIB']</code> entries during +require+.
|
|
598
|
+
|
|
599
|
+
def self.activated_gem_paths
|
|
600
|
+
@activated_gem_paths ||= 0
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
##
|
|
604
|
+
# Add a list of paths to the $LOAD_PATH at the proper place.
|
|
605
|
+
|
|
606
|
+
def self.add_to_load_path(*paths)
|
|
607
|
+
@activated_gem_paths = activated_gem_paths + paths.size
|
|
608
|
+
|
|
609
|
+
# gem directories must come after -I and ENV['RUBYLIB']
|
|
610
|
+
$LOAD_PATH.insert(Gem.load_path_insert_index, *paths)
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
@yaml_loaded = false
|
|
614
|
+
|
|
615
|
+
##
|
|
616
|
+
# Loads YAML, preferring Psych
|
|
617
|
+
|
|
618
|
+
def self.load_yaml
|
|
619
|
+
return if @yaml_loaded
|
|
620
|
+
|
|
621
|
+
require "psych"
|
|
622
|
+
require_relative "rubygems/psych_tree"
|
|
623
|
+
|
|
624
|
+
require_relative "rubygems/safe_yaml"
|
|
625
|
+
|
|
626
|
+
@yaml_loaded = true
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
@safe_marshal_loaded = false
|
|
630
|
+
|
|
631
|
+
def self.load_safe_marshal
|
|
632
|
+
return if @safe_marshal_loaded
|
|
633
|
+
|
|
634
|
+
require_relative "rubygems/safe_marshal"
|
|
635
|
+
|
|
636
|
+
@safe_marshal_loaded = true
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
##
|
|
640
|
+
# The file name and line number of the caller of the caller of this method.
|
|
641
|
+
#
|
|
642
|
+
# +depth+ is how many layers up the call stack it should go.
|
|
643
|
+
#
|
|
644
|
+
# e.g.,
|
|
645
|
+
#
|
|
646
|
+
# def a; Gem.location_of_caller; end
|
|
647
|
+
# a #=> ["x.rb", 2] # (it'll vary depending on file name and line number)
|
|
648
|
+
#
|
|
649
|
+
# def b; c; end
|
|
650
|
+
# def c; Gem.location_of_caller(2); end
|
|
651
|
+
# b #=> ["x.rb", 6] # (it'll vary depending on file name and line number)
|
|
652
|
+
|
|
653
|
+
def self.location_of_caller(depth = 1)
|
|
654
|
+
caller[depth] =~ /(.*?):(\d+).*?$/i
|
|
655
|
+
file = $1
|
|
656
|
+
lineno = $2.to_i
|
|
657
|
+
|
|
658
|
+
[file, lineno]
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
##
|
|
662
|
+
# The version of the Marshal format for your Ruby.
|
|
663
|
+
|
|
664
|
+
def self.marshal_version
|
|
665
|
+
"#{Marshal::MAJOR_VERSION}.#{Marshal::MINOR_VERSION}"
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
##
|
|
669
|
+
# Set array of platforms this RubyGems supports (primarily for testing).
|
|
670
|
+
|
|
671
|
+
def self.platforms=(platforms)
|
|
672
|
+
@platforms = platforms
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
##
|
|
676
|
+
# Array of platforms this RubyGems supports.
|
|
677
|
+
|
|
678
|
+
def self.platforms
|
|
679
|
+
@platforms ||= []
|
|
680
|
+
if @platforms.empty?
|
|
681
|
+
@platforms = [Gem::Platform::RUBY, Gem::Platform.local]
|
|
682
|
+
end
|
|
683
|
+
@platforms
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
##
|
|
687
|
+
# Adds a post-build hook that will be passed an Gem::Installer instance
|
|
688
|
+
# when Gem::Installer#install is called. The hook is called after the gem
|
|
689
|
+
# has been extracted and extensions have been built but before the
|
|
690
|
+
# executables or gemspec has been written. If the hook returns +false+ then
|
|
691
|
+
# the gem's files will be removed and the install will be aborted.
|
|
692
|
+
|
|
693
|
+
def self.post_build(&hook)
|
|
694
|
+
@post_build_hooks << hook
|
|
695
|
+
end
|
|
696
|
+
|
|
697
|
+
##
|
|
698
|
+
# Adds a post-install hook that will be passed an Gem::Installer instance
|
|
699
|
+
# when Gem::Installer#install is called
|
|
700
|
+
|
|
701
|
+
def self.post_install(&hook)
|
|
702
|
+
@post_install_hooks << hook
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
##
|
|
706
|
+
# Adds a post-installs hook that will be passed a Gem::DependencyInstaller
|
|
707
|
+
# and a list of installed specifications when
|
|
708
|
+
# Gem::DependencyInstaller#install is complete
|
|
709
|
+
|
|
710
|
+
def self.done_installing(&hook)
|
|
711
|
+
@done_installing_hooks << hook
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
##
|
|
715
|
+
# Adds a hook that will get run after Gem::Specification.reset is
|
|
716
|
+
# run.
|
|
717
|
+
|
|
718
|
+
def self.post_reset(&hook)
|
|
719
|
+
@post_reset_hooks << hook
|
|
720
|
+
end
|
|
721
|
+
|
|
722
|
+
##
|
|
723
|
+
# Adds a post-uninstall hook that will be passed a Gem::Uninstaller instance
|
|
724
|
+
# and the spec that was uninstalled when Gem::Uninstaller#uninstall is
|
|
725
|
+
# called
|
|
726
|
+
|
|
727
|
+
def self.post_uninstall(&hook)
|
|
728
|
+
@post_uninstall_hooks << hook
|
|
729
|
+
end
|
|
730
|
+
|
|
731
|
+
##
|
|
732
|
+
# Adds a pre-install hook that will be passed an Gem::Installer instance
|
|
733
|
+
# when Gem::Installer#install is called. If the hook returns +false+ then
|
|
734
|
+
# the install will be aborted.
|
|
735
|
+
|
|
736
|
+
def self.pre_install(&hook)
|
|
737
|
+
@pre_install_hooks << hook
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
##
|
|
741
|
+
# Adds a hook that will get run before Gem::Specification.reset is
|
|
742
|
+
# run.
|
|
743
|
+
|
|
744
|
+
def self.pre_reset(&hook)
|
|
745
|
+
@pre_reset_hooks << hook
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
##
|
|
749
|
+
# Adds a pre-uninstall hook that will be passed an Gem::Uninstaller instance
|
|
750
|
+
# and the spec that will be uninstalled when Gem::Uninstaller#uninstall is
|
|
751
|
+
# called
|
|
752
|
+
|
|
753
|
+
def self.pre_uninstall(&hook)
|
|
754
|
+
@pre_uninstall_hooks << hook
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
##
|
|
758
|
+
# The directory prefix this RubyGems was installed at. If your
|
|
759
|
+
# prefix is in a standard location (ie, rubygems is installed where
|
|
760
|
+
# you'd expect it to be), then prefix returns nil.
|
|
761
|
+
|
|
762
|
+
def self.prefix
|
|
763
|
+
prefix = File.dirname RUBYGEMS_DIR
|
|
764
|
+
|
|
765
|
+
if prefix != File.expand_path(RbConfig::CONFIG["sitelibdir"]) &&
|
|
766
|
+
prefix != File.expand_path(RbConfig::CONFIG["libdir"]) &&
|
|
767
|
+
File.basename(RUBYGEMS_DIR) == "lib"
|
|
768
|
+
prefix
|
|
769
|
+
end
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
##
|
|
773
|
+
# Refresh available gems from disk.
|
|
774
|
+
|
|
775
|
+
def self.refresh
|
|
776
|
+
Gem::Specification.reset
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
##
|
|
780
|
+
# Safely read a file in binary mode on all platforms.
|
|
781
|
+
|
|
782
|
+
def self.read_binary(path)
|
|
783
|
+
File.binread(path)
|
|
784
|
+
end
|
|
785
|
+
|
|
786
|
+
##
|
|
787
|
+
# Safely write a file in binary mode on all platforms.
|
|
788
|
+
|
|
789
|
+
def self.write_binary(path, data)
|
|
790
|
+
File.binwrite(path, data)
|
|
791
|
+
rescue Errno::ENOSPC
|
|
792
|
+
# If we ran out of space but the file exists, it's *guaranteed* to be corrupted.
|
|
793
|
+
File.delete(path) if File.exist?(path)
|
|
794
|
+
raise
|
|
795
|
+
end
|
|
796
|
+
|
|
797
|
+
##
|
|
798
|
+
# Open a file with given flags
|
|
799
|
+
|
|
800
|
+
def self.open_file(path, flags, &block)
|
|
801
|
+
File.open(path, flags, &block)
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
##
|
|
805
|
+
# Open a file with given flags, and protect access with a file lock
|
|
806
|
+
|
|
807
|
+
def self.open_file_with_lock(path, &block)
|
|
808
|
+
file_lock = "#{path}.lock"
|
|
809
|
+
open_file_with_flock(file_lock, &block)
|
|
810
|
+
ensure
|
|
811
|
+
require "fileutils"
|
|
812
|
+
FileUtils.rm_f file_lock
|
|
813
|
+
end
|
|
814
|
+
|
|
815
|
+
##
|
|
816
|
+
# Open a file with given flags, and protect access with flock
|
|
817
|
+
|
|
818
|
+
def self.open_file_with_flock(path, &block)
|
|
819
|
+
# read-write mode is used rather than read-only in order to support NFS
|
|
820
|
+
mode = IO::RDWR | IO::APPEND | IO::CREAT | IO::BINARY
|
|
821
|
+
mode |= IO::SHARE_DELETE if IO.const_defined?(:SHARE_DELETE)
|
|
822
|
+
|
|
823
|
+
File.open(path, mode) do |io|
|
|
824
|
+
begin
|
|
825
|
+
# Try to get a lock without blocking.
|
|
826
|
+
# If we do, the file is locked.
|
|
827
|
+
# Otherwise, explain why we're waiting and get a lock, but block this time.
|
|
828
|
+
if io.flock(File::LOCK_EX | File::LOCK_NB) != 0
|
|
829
|
+
warn "Waiting for another process to let go of lock: #{path}"
|
|
830
|
+
io.flock(File::LOCK_EX)
|
|
831
|
+
end
|
|
832
|
+
io.puts(Process.pid)
|
|
833
|
+
rescue Errno::ENOSYS, Errno::ENOTSUP
|
|
834
|
+
end
|
|
835
|
+
yield io
|
|
836
|
+
end
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
##
|
|
840
|
+
# The path to the running Ruby interpreter.
|
|
841
|
+
|
|
842
|
+
def self.ruby
|
|
843
|
+
if @ruby.nil?
|
|
844
|
+
@ruby = RbConfig.ruby
|
|
845
|
+
|
|
846
|
+
@ruby = "\"#{@ruby}\"" if /\s/.match?(@ruby)
|
|
847
|
+
end
|
|
848
|
+
|
|
849
|
+
@ruby
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
##
|
|
853
|
+
# Returns a String containing the API compatibility version of Ruby
|
|
854
|
+
|
|
855
|
+
def self.ruby_api_version
|
|
856
|
+
@ruby_api_version ||= target_rbconfig["ruby_version"].dup
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
def self.env_requirement(gem_name)
|
|
860
|
+
@env_requirements_by_name ||= {}
|
|
861
|
+
@env_requirements_by_name[gem_name] ||= begin
|
|
862
|
+
req = ENV["GEM_REQUIREMENT_#{gem_name.upcase}"] || ">= 0"
|
|
863
|
+
Gem::Requirement.create(req)
|
|
864
|
+
end
|
|
865
|
+
end
|
|
866
|
+
post_reset { @env_requirements_by_name = {} }
|
|
867
|
+
|
|
868
|
+
##
|
|
869
|
+
# Returns the latest release-version specification for the gem +name+.
|
|
870
|
+
|
|
871
|
+
def self.latest_spec_for(name)
|
|
872
|
+
dependency = Gem::Dependency.new name
|
|
873
|
+
fetcher = Gem::SpecFetcher.fetcher
|
|
874
|
+
spec_tuples, = fetcher.spec_for_dependency dependency
|
|
875
|
+
|
|
876
|
+
spec, = spec_tuples.last
|
|
877
|
+
|
|
878
|
+
spec
|
|
879
|
+
end
|
|
880
|
+
|
|
881
|
+
##
|
|
882
|
+
# Returns the latest release version of RubyGems.
|
|
883
|
+
|
|
884
|
+
def self.latest_rubygems_version
|
|
885
|
+
latest_version_for("rubygems-update") ||
|
|
886
|
+
raise("Can't find 'rubygems-update' in any repo. Check `gem source list`.")
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
##
|
|
890
|
+
# Returns the version of the latest release-version of gem +name+
|
|
891
|
+
|
|
892
|
+
def self.latest_version_for(name)
|
|
893
|
+
latest_spec_for(name)&.version
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
##
|
|
897
|
+
# A Gem::Version for the currently running Ruby.
|
|
898
|
+
|
|
899
|
+
def self.ruby_version
|
|
900
|
+
return @ruby_version if defined? @ruby_version
|
|
901
|
+
version = RUBY_VERSION.dup
|
|
902
|
+
|
|
903
|
+
if RUBY_PATCHLEVEL == -1
|
|
904
|
+
if RUBY_ENGINE == "ruby"
|
|
905
|
+
desc = RUBY_DESCRIPTION[/\Aruby #{Regexp.quote(RUBY_VERSION)}([^ ]+) /, 1]
|
|
906
|
+
else
|
|
907
|
+
desc = RUBY_DESCRIPTION[/\A#{RUBY_ENGINE} #{Regexp.quote(RUBY_ENGINE_VERSION)} \(#{RUBY_VERSION}([^ ]+)\) /, 1]
|
|
908
|
+
end
|
|
909
|
+
version << ".#{desc}" if desc
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
@ruby_version = Gem::Version.new version
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
##
|
|
916
|
+
# A Gem::Version for the currently running RubyGems
|
|
917
|
+
|
|
918
|
+
def self.rubygems_version
|
|
919
|
+
return @rubygems_version if defined? @rubygems_version
|
|
920
|
+
@rubygems_version = Gem::Version.new Gem::VERSION
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
##
|
|
924
|
+
# Returns an Array of sources to fetch remote gems from. Uses
|
|
925
|
+
# default_sources if the sources list is empty.
|
|
926
|
+
|
|
927
|
+
def self.sources
|
|
928
|
+
source_list = configuration.sources || default_sources
|
|
929
|
+
@sources ||= Gem::SourceList.from(source_list)
|
|
930
|
+
end
|
|
931
|
+
|
|
932
|
+
##
|
|
933
|
+
# Need to be able to set the sources without calling
|
|
934
|
+
# Gem.sources.replace since that would cause an infinite loop.
|
|
935
|
+
#
|
|
936
|
+
# DOC: This comment is not documentation about the method itself, it's
|
|
937
|
+
# more of a code comment about the implementation.
|
|
938
|
+
|
|
939
|
+
def self.sources=(new_sources)
|
|
940
|
+
if !new_sources
|
|
941
|
+
@sources = nil
|
|
942
|
+
else
|
|
943
|
+
@sources = Gem::SourceList.from(new_sources)
|
|
944
|
+
end
|
|
945
|
+
end
|
|
946
|
+
|
|
947
|
+
##
|
|
948
|
+
# Glob pattern for require-able path suffixes.
|
|
949
|
+
|
|
950
|
+
def self.suffix_pattern
|
|
951
|
+
@suffix_pattern ||= "{#{suffixes.join(",")}}"
|
|
952
|
+
end
|
|
953
|
+
|
|
954
|
+
##
|
|
955
|
+
# Regexp for require-able path suffixes.
|
|
956
|
+
|
|
957
|
+
def self.suffix_regexp
|
|
958
|
+
@suffix_regexp ||= /#{Regexp.union(suffixes)}\z/
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
##
|
|
962
|
+
# Glob pattern for require-able plugin suffixes.
|
|
963
|
+
|
|
964
|
+
def self.plugin_suffix_pattern
|
|
965
|
+
@plugin_suffix_pattern ||= "_plugin#{suffix_pattern}"
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
##
|
|
969
|
+
# Regexp for require-able plugin suffixes.
|
|
970
|
+
|
|
971
|
+
def self.plugin_suffix_regexp
|
|
972
|
+
@plugin_suffix_regexp ||= /_plugin#{suffix_regexp}\z/
|
|
973
|
+
end
|
|
974
|
+
|
|
975
|
+
##
|
|
976
|
+
# Suffixes for require-able paths.
|
|
977
|
+
|
|
978
|
+
def self.suffixes
|
|
979
|
+
@suffixes ||= ["",
|
|
980
|
+
".rb",
|
|
981
|
+
*%w[DLEXT DLEXT2].map do |key|
|
|
982
|
+
val = RbConfig::CONFIG[key]
|
|
983
|
+
next unless val && !val.empty?
|
|
984
|
+
".#{val}"
|
|
985
|
+
end].compact.uniq
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
##
|
|
989
|
+
# Suffixes for dynamic library require-able paths.
|
|
990
|
+
|
|
991
|
+
def self.dynamic_library_suffixes
|
|
992
|
+
@dynamic_library_suffixes ||= suffixes - [".rb"]
|
|
993
|
+
end
|
|
994
|
+
|
|
995
|
+
##
|
|
996
|
+
# Prints the amount of time the supplied block takes to run using the debug
|
|
997
|
+
# UI output.
|
|
998
|
+
|
|
999
|
+
def self.time(msg, width = 0, display = Gem.configuration.verbose)
|
|
1000
|
+
now = Time.now
|
|
1001
|
+
|
|
1002
|
+
value = yield
|
|
1003
|
+
|
|
1004
|
+
elapsed = Time.now - now
|
|
1005
|
+
|
|
1006
|
+
ui.say format("%2$*1$s: %3$3.3fs", -width, msg, elapsed) if display
|
|
1007
|
+
|
|
1008
|
+
value
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
##
|
|
1012
|
+
# Lazily loads DefaultUserInteraction and returns the default UI.
|
|
1013
|
+
|
|
1014
|
+
def self.ui
|
|
1015
|
+
require_relative "rubygems/user_interaction"
|
|
1016
|
+
|
|
1017
|
+
Gem::DefaultUserInteraction.ui
|
|
1018
|
+
end
|
|
1019
|
+
|
|
1020
|
+
##
|
|
1021
|
+
# Use the +home+ and +paths+ values for Gem.dir and Gem.path. Used mainly
|
|
1022
|
+
# by the unit tests to provide environment isolation.
|
|
1023
|
+
|
|
1024
|
+
def self.use_paths(home, *paths)
|
|
1025
|
+
paths.flatten!
|
|
1026
|
+
paths.compact!
|
|
1027
|
+
hash = { "GEM_HOME" => home, "GEM_PATH" => paths.empty? ? home : paths.join(File::PATH_SEPARATOR) }
|
|
1028
|
+
hash.delete_if {|_, v| v.nil? }
|
|
1029
|
+
self.paths = hash
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
##
|
|
1033
|
+
# Is this a windows platform?
|
|
1034
|
+
|
|
1035
|
+
def self.win_platform?
|
|
1036
|
+
if @@win_platform.nil?
|
|
1037
|
+
ruby_platform = RbConfig::CONFIG["host_os"]
|
|
1038
|
+
@@win_platform = !WIN_PATTERNS.find {|r| ruby_platform =~ r }.nil?
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
@@win_platform
|
|
1042
|
+
end
|
|
1043
|
+
|
|
1044
|
+
##
|
|
1045
|
+
# Is this a java platform?
|
|
1046
|
+
|
|
1047
|
+
def self.java_platform?
|
|
1048
|
+
RUBY_PLATFORM == "java"
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1051
|
+
##
|
|
1052
|
+
# Is this platform Solaris?
|
|
1053
|
+
|
|
1054
|
+
def self.solaris_platform?
|
|
1055
|
+
RUBY_PLATFORM.include?("solaris")
|
|
1056
|
+
end
|
|
1057
|
+
|
|
1058
|
+
##
|
|
1059
|
+
# Is this platform FreeBSD
|
|
1060
|
+
|
|
1061
|
+
def self.freebsd_platform?
|
|
1062
|
+
RbConfig::CONFIG["host_os"].to_s.include?("bsd")
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
##
|
|
1066
|
+
# Load +plugins+ as Ruby files
|
|
1067
|
+
|
|
1068
|
+
def self.load_plugin_files(plugins) # :nodoc:
|
|
1069
|
+
plugins.each do |plugin|
|
|
1070
|
+
# Skip older versions of the GemCutter plugin: Its commands are in
|
|
1071
|
+
# RubyGems proper now.
|
|
1072
|
+
|
|
1073
|
+
next if /gemcutter-0\.[0-3]/.match?(plugin)
|
|
1074
|
+
|
|
1075
|
+
begin
|
|
1076
|
+
load plugin
|
|
1077
|
+
rescue ScriptError, StandardError => e
|
|
1078
|
+
details = "#{plugin.inspect}: #{e.message} (#{e.class})"
|
|
1079
|
+
warn "Error loading RubyGems plugin #{details}"
|
|
1080
|
+
end
|
|
1081
|
+
end
|
|
1082
|
+
end
|
|
1083
|
+
|
|
1084
|
+
##
|
|
1085
|
+
# Find rubygems plugin files in the standard location and load them
|
|
1086
|
+
|
|
1087
|
+
def self.load_plugins
|
|
1088
|
+
Gem.path.each do |gem_path|
|
|
1089
|
+
load_plugin_files Gem::Util.glob_files_in_dir("*#{Gem.plugin_suffix_pattern}", plugindir(gem_path))
|
|
1090
|
+
end
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1093
|
+
##
|
|
1094
|
+
# Find all 'rubygems_plugin' files in $LOAD_PATH and load them
|
|
1095
|
+
|
|
1096
|
+
def self.load_env_plugins
|
|
1097
|
+
load_plugin_files find_files_from_load_path("rubygems_plugin")
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
##
|
|
1101
|
+
# Looks for a gem dependency file at +path+ and activates the gems in the
|
|
1102
|
+
# file if found. If the file is not found an ArgumentError is raised.
|
|
1103
|
+
#
|
|
1104
|
+
# If +path+ is not given the RUBYGEMS_GEMDEPS environment variable is used,
|
|
1105
|
+
# but if no file is found no exception is raised.
|
|
1106
|
+
#
|
|
1107
|
+
# If '-' is given for +path+ RubyGems searches up from the current working
|
|
1108
|
+
# directory for gem dependency files (gem.deps.rb, Gemfile, Isolate) and
|
|
1109
|
+
# activates the gems in the first one found.
|
|
1110
|
+
#
|
|
1111
|
+
# You can run this automatically when rubygems starts. To enable, set
|
|
1112
|
+
# the <code>RUBYGEMS_GEMDEPS</code> environment variable to either the path
|
|
1113
|
+
# of your gem dependencies file or "-" to auto-discover in parent
|
|
1114
|
+
# directories.
|
|
1115
|
+
#
|
|
1116
|
+
# NOTE: Enabling automatic discovery on multiuser systems can lead to
|
|
1117
|
+
# execution of arbitrary code when used from directories outside your
|
|
1118
|
+
# control.
|
|
1119
|
+
|
|
1120
|
+
def self.use_gemdeps(path = nil)
|
|
1121
|
+
raise_exception = path
|
|
1122
|
+
|
|
1123
|
+
path ||= ENV["RUBYGEMS_GEMDEPS"]
|
|
1124
|
+
return unless path
|
|
1125
|
+
|
|
1126
|
+
path = path.dup
|
|
1127
|
+
|
|
1128
|
+
if path == "-"
|
|
1129
|
+
Gem::Util.traverse_parents Dir.pwd do |directory|
|
|
1130
|
+
dep_file = GEM_DEP_FILES.find {|f| File.file?(f) }
|
|
1131
|
+
|
|
1132
|
+
next unless dep_file
|
|
1133
|
+
|
|
1134
|
+
path = File.join directory, dep_file
|
|
1135
|
+
break
|
|
1136
|
+
end
|
|
1137
|
+
end
|
|
1138
|
+
|
|
1139
|
+
unless File.file? path
|
|
1140
|
+
return unless raise_exception
|
|
1141
|
+
|
|
1142
|
+
raise ArgumentError, "Unable to find gem dependencies file at #{path}"
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path(path)
|
|
1146
|
+
require_relative "rubygems/user_interaction"
|
|
1147
|
+
require "bundler"
|
|
1148
|
+
begin
|
|
1149
|
+
Gem::DefaultUserInteraction.use_ui(ui) do
|
|
1150
|
+
Bundler.ui.silence do
|
|
1151
|
+
@gemdeps = Bundler.setup
|
|
1152
|
+
end
|
|
1153
|
+
ensure
|
|
1154
|
+
Gem::DefaultUserInteraction.ui.close
|
|
1155
|
+
end
|
|
1156
|
+
rescue Bundler::BundlerError => e
|
|
1157
|
+
warn e.message
|
|
1158
|
+
warn "You may need to `bundle install` to install missing gems"
|
|
1159
|
+
warn ""
|
|
1160
|
+
end
|
|
1161
|
+
end
|
|
1162
|
+
|
|
1163
|
+
##
|
|
1164
|
+
# If the SOURCE_DATE_EPOCH environment variable is set, returns it's value.
|
|
1165
|
+
# Otherwise, returns DEFAULT_SOURCE_DATE_EPOCH as a string.
|
|
1166
|
+
#
|
|
1167
|
+
# NOTE(@duckinator): The implementation is a tad weird because we want to:
|
|
1168
|
+
# 1. Make builds reproducible by default, by having this function always
|
|
1169
|
+
# return the same result during a given run.
|
|
1170
|
+
# 2. Allow changing ENV['SOURCE_DATE_EPOCH'] at runtime, since multiple
|
|
1171
|
+
# tests that set this variable will be run in a single process.
|
|
1172
|
+
#
|
|
1173
|
+
# If you simplify this function and a lot of tests fail, that is likely
|
|
1174
|
+
# due to #2 above.
|
|
1175
|
+
#
|
|
1176
|
+
# Details on SOURCE_DATE_EPOCH:
|
|
1177
|
+
# https://reproducible-builds.org/specs/source-date-epoch/
|
|
1178
|
+
|
|
1179
|
+
def self.source_date_epoch_string
|
|
1180
|
+
specified_epoch = ENV["SOURCE_DATE_EPOCH"]
|
|
1181
|
+
|
|
1182
|
+
# If it's empty or just whitespace, treat it like it wasn't set at all.
|
|
1183
|
+
specified_epoch = nil if !specified_epoch.nil? && specified_epoch.strip.empty?
|
|
1184
|
+
|
|
1185
|
+
epoch = specified_epoch || DEFAULT_SOURCE_DATE_EPOCH.to_s
|
|
1186
|
+
|
|
1187
|
+
epoch.strip
|
|
1188
|
+
end
|
|
1189
|
+
|
|
1190
|
+
##
|
|
1191
|
+
# Returns the value of Gem.source_date_epoch_string, as a Time object.
|
|
1192
|
+
#
|
|
1193
|
+
# This is used throughout RubyGems for enabling reproducible builds.
|
|
1194
|
+
|
|
1195
|
+
def self.source_date_epoch
|
|
1196
|
+
Time.at(source_date_epoch_string.to_i).utc.freeze
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1199
|
+
# FIX: Almost everywhere else we use the `def self.` way of defining class
|
|
1200
|
+
# methods, and then we switch over to `class << self` here. Pick one or the
|
|
1201
|
+
# other.
|
|
1202
|
+
class << self
|
|
1203
|
+
##
|
|
1204
|
+
# RubyGems distributors (like operating system package managers) can
|
|
1205
|
+
# disable RubyGems update by setting this to error message printed to
|
|
1206
|
+
# end-users on gem update --system instead of actual update.
|
|
1207
|
+
|
|
1208
|
+
attr_accessor :disable_system_update_message
|
|
1209
|
+
|
|
1210
|
+
##
|
|
1211
|
+
# Whether RubyGems should enhance builtin `require` to automatically
|
|
1212
|
+
# check whether the path required is present in installed gems, and
|
|
1213
|
+
# automatically activate them and add them to `$LOAD_PATH`.
|
|
1214
|
+
|
|
1215
|
+
attr_accessor :discover_gems_on_require
|
|
1216
|
+
|
|
1217
|
+
##
|
|
1218
|
+
# Hash of loaded Gem::Specification keyed by name
|
|
1219
|
+
|
|
1220
|
+
attr_reader :loaded_specs
|
|
1221
|
+
|
|
1222
|
+
##
|
|
1223
|
+
# GemDependencyAPI object, which is set when .use_gemdeps is called.
|
|
1224
|
+
# This contains all the information from the Gemfile.
|
|
1225
|
+
|
|
1226
|
+
attr_reader :gemdeps
|
|
1227
|
+
|
|
1228
|
+
##
|
|
1229
|
+
# Register a Gem::Specification for default gem.
|
|
1230
|
+
#
|
|
1231
|
+
# Two formats for the specification are supported:
|
|
1232
|
+
#
|
|
1233
|
+
# * MRI 2.0 style, where spec.files contains unprefixed require names.
|
|
1234
|
+
# The spec's filenames will be registered as-is.
|
|
1235
|
+
# * New style, where spec.files contains files prefixed with paths
|
|
1236
|
+
# from spec.require_paths. The prefixes are stripped before
|
|
1237
|
+
# registering the spec's filenames. Unprefixed files are omitted.
|
|
1238
|
+
#
|
|
1239
|
+
|
|
1240
|
+
def register_default_spec(spec)
|
|
1241
|
+
extended_require_paths = spec.require_paths.map {|f| f + "/" }
|
|
1242
|
+
new_format = extended_require_paths.any? {|path| spec.files.any? {|f| f.start_with? path } }
|
|
1243
|
+
|
|
1244
|
+
if new_format
|
|
1245
|
+
prefix_group = extended_require_paths.join("|")
|
|
1246
|
+
prefix_pattern = /^(#{prefix_group})/
|
|
1247
|
+
end
|
|
1248
|
+
|
|
1249
|
+
spec.files.each do |file|
|
|
1250
|
+
if new_format
|
|
1251
|
+
file = file.sub(prefix_pattern, "")
|
|
1252
|
+
next unless $~
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1255
|
+
spec.activate if already_loaded?(file)
|
|
1256
|
+
|
|
1257
|
+
@path_to_default_spec_map[file] = spec
|
|
1258
|
+
@path_to_default_spec_map[file.sub(suffix_regexp, "")] = spec
|
|
1259
|
+
end
|
|
1260
|
+
end
|
|
1261
|
+
|
|
1262
|
+
##
|
|
1263
|
+
# Find a Gem::Specification of default gem from +path+
|
|
1264
|
+
|
|
1265
|
+
def find_default_spec(path)
|
|
1266
|
+
@path_to_default_spec_map[path]
|
|
1267
|
+
end
|
|
1268
|
+
|
|
1269
|
+
##
|
|
1270
|
+
# Find an unresolved Gem::Specification of default gem from +path+
|
|
1271
|
+
|
|
1272
|
+
def find_unresolved_default_spec(path)
|
|
1273
|
+
default_spec = @path_to_default_spec_map[path]
|
|
1274
|
+
default_spec if default_spec && loaded_specs[default_spec.name] != default_spec
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
##
|
|
1278
|
+
# Clear default gem related variables. It is for test
|
|
1279
|
+
|
|
1280
|
+
def clear_default_specs
|
|
1281
|
+
@path_to_default_spec_map.clear
|
|
1282
|
+
end
|
|
1283
|
+
|
|
1284
|
+
##
|
|
1285
|
+
# The list of hooks to be run after Gem::Installer#install extracts files
|
|
1286
|
+
# and builds extensions
|
|
1287
|
+
|
|
1288
|
+
attr_reader :post_build_hooks
|
|
1289
|
+
|
|
1290
|
+
##
|
|
1291
|
+
# The list of hooks to be run after Gem::Installer#install completes
|
|
1292
|
+
# installation
|
|
1293
|
+
|
|
1294
|
+
attr_reader :post_install_hooks
|
|
1295
|
+
|
|
1296
|
+
##
|
|
1297
|
+
# The list of hooks to be run after Gem::DependencyInstaller installs a
|
|
1298
|
+
# set of gems
|
|
1299
|
+
|
|
1300
|
+
attr_reader :done_installing_hooks
|
|
1301
|
+
|
|
1302
|
+
##
|
|
1303
|
+
# The list of hooks to be run after Gem::Specification.reset is run.
|
|
1304
|
+
|
|
1305
|
+
attr_reader :post_reset_hooks
|
|
1306
|
+
|
|
1307
|
+
##
|
|
1308
|
+
# The list of hooks to be run after Gem::Uninstaller#uninstall completes
|
|
1309
|
+
# installation
|
|
1310
|
+
|
|
1311
|
+
attr_reader :post_uninstall_hooks
|
|
1312
|
+
|
|
1313
|
+
##
|
|
1314
|
+
# The list of hooks to be run before Gem::Installer#install does any work
|
|
1315
|
+
|
|
1316
|
+
attr_reader :pre_install_hooks
|
|
1317
|
+
|
|
1318
|
+
##
|
|
1319
|
+
# The list of hooks to be run before Gem::Specification.reset is run.
|
|
1320
|
+
|
|
1321
|
+
attr_reader :pre_reset_hooks
|
|
1322
|
+
|
|
1323
|
+
##
|
|
1324
|
+
# The list of hooks to be run before Gem::Uninstaller#uninstall does any
|
|
1325
|
+
# work
|
|
1326
|
+
|
|
1327
|
+
attr_reader :pre_uninstall_hooks
|
|
1328
|
+
|
|
1329
|
+
private
|
|
1330
|
+
|
|
1331
|
+
def already_loaded?(file)
|
|
1332
|
+
$LOADED_FEATURES.any? do |feature_path|
|
|
1333
|
+
feature_path.end_with?(file) && default_gem_load_paths.any? {|load_path_entry| feature_path == "#{load_path_entry}/#{file}" }
|
|
1334
|
+
end
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
def default_gem_load_paths
|
|
1338
|
+
@default_gem_load_paths ||= $LOAD_PATH[load_path_insert_index..-1].map do |lp|
|
|
1339
|
+
expanded = File.expand_path(lp)
|
|
1340
|
+
next expanded unless File.exist?(expanded)
|
|
1341
|
+
|
|
1342
|
+
File.realpath(expanded)
|
|
1343
|
+
end
|
|
1344
|
+
end
|
|
1345
|
+
end
|
|
1346
|
+
|
|
1347
|
+
##
|
|
1348
|
+
# Location of Marshal quick gemspecs on remote repositories
|
|
1349
|
+
|
|
1350
|
+
MARSHAL_SPEC_DIR = "quick/Marshal.#{Gem.marshal_version}/".freeze
|
|
1351
|
+
|
|
1352
|
+
autoload :ConfigFile, File.expand_path("rubygems/config_file", __dir__)
|
|
1353
|
+
autoload :CIDetector, File.expand_path("rubygems/ci_detector", __dir__)
|
|
1354
|
+
autoload :Dependency, File.expand_path("rubygems/dependency", __dir__)
|
|
1355
|
+
autoload :DependencyList, File.expand_path("rubygems/dependency_list", __dir__)
|
|
1356
|
+
autoload :Installer, File.expand_path("rubygems/installer", __dir__)
|
|
1357
|
+
autoload :Licenses, File.expand_path("rubygems/util/licenses", __dir__)
|
|
1358
|
+
autoload :NameTuple, File.expand_path("rubygems/name_tuple", __dir__)
|
|
1359
|
+
autoload :PathSupport, File.expand_path("rubygems/path_support", __dir__)
|
|
1360
|
+
autoload :RequestSet, File.expand_path("rubygems/request_set", __dir__)
|
|
1361
|
+
autoload :Requirement, File.expand_path("rubygems/requirement", __dir__)
|
|
1362
|
+
autoload :Resolver, File.expand_path("rubygems/resolver", __dir__)
|
|
1363
|
+
autoload :Source, File.expand_path("rubygems/source", __dir__)
|
|
1364
|
+
autoload :SourceList, File.expand_path("rubygems/source_list", __dir__)
|
|
1365
|
+
autoload :SpecFetcher, File.expand_path("rubygems/spec_fetcher", __dir__)
|
|
1366
|
+
autoload :SpecificationPolicy, File.expand_path("rubygems/specification_policy", __dir__)
|
|
1367
|
+
autoload :Util, File.expand_path("rubygems/util", __dir__)
|
|
1368
|
+
autoload :Version, File.expand_path("rubygems/version", __dir__)
|
|
1369
|
+
end
|
|
1370
|
+
|
|
1371
|
+
require_relative "rubygems/exceptions"
|
|
1372
|
+
require_relative "rubygems/specification"
|
|
1373
|
+
|
|
1374
|
+
# REFACTOR: This should be pulled out into some kind of hacks file.
|
|
1375
|
+
begin
|
|
1376
|
+
##
|
|
1377
|
+
# Defaults the operating system (or packager) wants to provide for RubyGems.
|
|
1378
|
+
|
|
1379
|
+
require "rubygems/defaults/operating_system"
|
|
1380
|
+
rescue LoadError
|
|
1381
|
+
# Ignored
|
|
1382
|
+
rescue StandardError => e
|
|
1383
|
+
path = e.backtrace_locations.reverse.find {|l| l.path.end_with?("rubygems/defaults/operating_system.rb") }.path
|
|
1384
|
+
msg = "#{e.message}\n" \
|
|
1385
|
+
"Loading the #{path} file caused an error. " \
|
|
1386
|
+
"This file is owned by your OS, not by rubygems upstream. " \
|
|
1387
|
+
"Please find out which OS package this file belongs to and follow the guidelines from your OS to report " \
|
|
1388
|
+
"the problem and ask for help."
|
|
1389
|
+
raise e.class, msg
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1392
|
+
begin
|
|
1393
|
+
##
|
|
1394
|
+
# Defaults the Ruby implementation wants to provide for RubyGems
|
|
1395
|
+
|
|
1396
|
+
require "rubygems/defaults/#{RUBY_ENGINE}"
|
|
1397
|
+
rescue LoadError
|
|
1398
|
+
end
|
|
1399
|
+
|
|
1400
|
+
##
|
|
1401
|
+
# Loads the default specs.
|
|
1402
|
+
Gem::Specification.load_defaults
|
|
1403
|
+
|
|
1404
|
+
require_relative "rubygems/core_ext/kernel_gem"
|
|
1405
|
+
|
|
1406
|
+
path = File.join(__dir__, "rubygems/core_ext/kernel_require.rb")
|
|
1407
|
+
# When https://bugs.ruby-lang.org/issues/17259 is available, there is no need to override Kernel#warn
|
|
1408
|
+
if RUBY_ENGINE == "truffleruby" ||
|
|
1409
|
+
RUBY_ENGINE == "ruby"
|
|
1410
|
+
file = "<internal:#{path}>"
|
|
1411
|
+
else
|
|
1412
|
+
require_relative "rubygems/core_ext/kernel_warn"
|
|
1413
|
+
file = path
|
|
1414
|
+
end
|
|
1415
|
+
eval File.read(path), nil, file
|
|
1416
|
+
|
|
1417
|
+
require ENV["BUNDLER_SETUP"] if ENV["BUNDLER_SETUP"] && !defined?(Bundler)
|