@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,757 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "forwardable"
|
|
4
|
+
|
|
5
|
+
class CSV
|
|
6
|
+
# = \CSV::Row
|
|
7
|
+
# A \CSV::Row instance represents a \CSV table row.
|
|
8
|
+
# (see {class CSV}[../CSV.html]).
|
|
9
|
+
#
|
|
10
|
+
# The instance may have:
|
|
11
|
+
# - Fields: each is an object, not necessarily a \String.
|
|
12
|
+
# - Headers: each serves a key, and also need not be a \String.
|
|
13
|
+
#
|
|
14
|
+
# === Instance Methods
|
|
15
|
+
#
|
|
16
|
+
# \CSV::Row has three groups of instance methods:
|
|
17
|
+
# - Its own internally defined instance methods.
|
|
18
|
+
# - Methods included by module Enumerable.
|
|
19
|
+
# - Methods delegated to class Array.:
|
|
20
|
+
# * Array#empty?
|
|
21
|
+
# * Array#length
|
|
22
|
+
# * Array#size
|
|
23
|
+
#
|
|
24
|
+
# == Creating a \CSV::Row Instance
|
|
25
|
+
#
|
|
26
|
+
# Commonly, a new \CSV::Row instance is created by parsing \CSV source
|
|
27
|
+
# that has headers:
|
|
28
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
29
|
+
# table = CSV.parse(source, headers: true)
|
|
30
|
+
# table.each {|row| p row }
|
|
31
|
+
# Output:
|
|
32
|
+
# #<CSV::Row "Name":"foo" "Value":"0">
|
|
33
|
+
# #<CSV::Row "Name":"bar" "Value":"1">
|
|
34
|
+
# #<CSV::Row "Name":"baz" "Value":"2">
|
|
35
|
+
#
|
|
36
|
+
# You can also create a row directly. See ::new.
|
|
37
|
+
#
|
|
38
|
+
# == Headers
|
|
39
|
+
#
|
|
40
|
+
# Like a \CSV::Table, a \CSV::Row has headers.
|
|
41
|
+
#
|
|
42
|
+
# A \CSV::Row that was created by parsing \CSV source
|
|
43
|
+
# inherits its headers from the table:
|
|
44
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
45
|
+
# table = CSV.parse(source, headers: true)
|
|
46
|
+
# row = table.first
|
|
47
|
+
# row.headers # => ["Name", "Value"]
|
|
48
|
+
#
|
|
49
|
+
# You can also create a new row with headers;
|
|
50
|
+
# like the keys in a \Hash, the headers need not be Strings:
|
|
51
|
+
# row = CSV::Row.new([:name, :value], ['foo', 0])
|
|
52
|
+
# row.headers # => [:name, :value]
|
|
53
|
+
#
|
|
54
|
+
# The new row retains its headers even if added to a table
|
|
55
|
+
# that has headers:
|
|
56
|
+
# table << row # => #<CSV::Table mode:col_or_row row_count:5>
|
|
57
|
+
# row.headers # => [:name, :value]
|
|
58
|
+
# row[:name] # => "foo"
|
|
59
|
+
# row['Name'] # => nil
|
|
60
|
+
#
|
|
61
|
+
#
|
|
62
|
+
#
|
|
63
|
+
# == Accessing Fields
|
|
64
|
+
#
|
|
65
|
+
# You may access a field in a \CSV::Row with either its \Integer index
|
|
66
|
+
# (\Array-style) or its header (\Hash-style).
|
|
67
|
+
#
|
|
68
|
+
# Fetch a field using method #[]:
|
|
69
|
+
# row = CSV::Row.new(['Name', 'Value'], ['foo', 0])
|
|
70
|
+
# row[1] # => 0
|
|
71
|
+
# row['Value'] # => 0
|
|
72
|
+
#
|
|
73
|
+
# Set a field using method #[]=:
|
|
74
|
+
# row = CSV::Row.new(['Name', 'Value'], ['foo', 0])
|
|
75
|
+
# row # => #<CSV::Row "Name":"foo" "Value":0>
|
|
76
|
+
# row[0] = 'bar'
|
|
77
|
+
# row['Value'] = 1
|
|
78
|
+
# row # => #<CSV::Row "Name":"bar" "Value":1>
|
|
79
|
+
#
|
|
80
|
+
class Row
|
|
81
|
+
# :call-seq:
|
|
82
|
+
# CSV::Row.new(headers, fields, header_row = false) -> csv_row
|
|
83
|
+
#
|
|
84
|
+
# Returns the new \CSV::Row instance constructed from
|
|
85
|
+
# arguments +headers+ and +fields+; both should be Arrays;
|
|
86
|
+
# note that the fields need not be Strings:
|
|
87
|
+
# row = CSV::Row.new(['Name', 'Value'], ['foo', 0])
|
|
88
|
+
# row # => #<CSV::Row "Name":"foo" "Value":0>
|
|
89
|
+
#
|
|
90
|
+
# If the \Array lengths are different, the shorter is +nil+-filled:
|
|
91
|
+
# row = CSV::Row.new(['Name', 'Value', 'Date', 'Size'], ['foo', 0])
|
|
92
|
+
# row # => #<CSV::Row "Name":"foo" "Value":0 "Date":nil "Size":nil>
|
|
93
|
+
#
|
|
94
|
+
# Each \CSV::Row object is either a <i>field row</i> or a <i>header row</i>;
|
|
95
|
+
# by default, a new row is a field row; for the row created above:
|
|
96
|
+
# row.field_row? # => true
|
|
97
|
+
# row.header_row? # => false
|
|
98
|
+
#
|
|
99
|
+
# If the optional argument +header_row+ is given as +true+,
|
|
100
|
+
# the created row is a header row:
|
|
101
|
+
# row = CSV::Row.new(['Name', 'Value'], ['foo', 0], header_row = true)
|
|
102
|
+
# row # => #<CSV::Row "Name":"foo" "Value":0>
|
|
103
|
+
# row.field_row? # => false
|
|
104
|
+
# row.header_row? # => true
|
|
105
|
+
def initialize(headers, fields, header_row = false)
|
|
106
|
+
@header_row = header_row
|
|
107
|
+
headers.each { |h| h.freeze if h.is_a? String }
|
|
108
|
+
|
|
109
|
+
# handle extra headers or fields
|
|
110
|
+
@row = if headers.size >= fields.size
|
|
111
|
+
headers.zip(fields)
|
|
112
|
+
else
|
|
113
|
+
fields.zip(headers).each(&:reverse!)
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Internal data format used to compare equality.
|
|
118
|
+
attr_reader :row
|
|
119
|
+
protected :row
|
|
120
|
+
|
|
121
|
+
### Array Delegation ###
|
|
122
|
+
|
|
123
|
+
extend Forwardable
|
|
124
|
+
def_delegators :@row, :empty?, :length, :size
|
|
125
|
+
|
|
126
|
+
# :call-seq:
|
|
127
|
+
# row.initialize_copy(other_row) -> self
|
|
128
|
+
#
|
|
129
|
+
# Calls superclass method.
|
|
130
|
+
def initialize_copy(other)
|
|
131
|
+
super_return_value = super
|
|
132
|
+
@row = @row.collect(&:dup)
|
|
133
|
+
super_return_value
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# :call-seq:
|
|
137
|
+
# row.header_row? -> true or false
|
|
138
|
+
#
|
|
139
|
+
# Returns +true+ if this is a header row, +false+ otherwise.
|
|
140
|
+
def header_row?
|
|
141
|
+
@header_row
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# :call-seq:
|
|
145
|
+
# row.field_row? -> true or false
|
|
146
|
+
#
|
|
147
|
+
# Returns +true+ if this is a field row, +false+ otherwise.
|
|
148
|
+
def field_row?
|
|
149
|
+
not header_row?
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# :call-seq:
|
|
153
|
+
# row.headers -> array_of_headers
|
|
154
|
+
#
|
|
155
|
+
# Returns the headers for this row:
|
|
156
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
157
|
+
# table = CSV.parse(source, headers: true)
|
|
158
|
+
# row = table.first
|
|
159
|
+
# row.headers # => ["Name", "Value"]
|
|
160
|
+
def headers
|
|
161
|
+
@row.map(&:first)
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# :call-seq:
|
|
165
|
+
# field(index) -> value
|
|
166
|
+
# field(header) -> value
|
|
167
|
+
# field(header, offset) -> value
|
|
168
|
+
#
|
|
169
|
+
# Returns the field value for the given +index+ or +header+.
|
|
170
|
+
#
|
|
171
|
+
# ---
|
|
172
|
+
#
|
|
173
|
+
# Fetch field value by \Integer index:
|
|
174
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
175
|
+
# table = CSV.parse(source, headers: true)
|
|
176
|
+
# row = table[0]
|
|
177
|
+
# row.field(0) # => "foo"
|
|
178
|
+
# row.field(1) # => "bar"
|
|
179
|
+
#
|
|
180
|
+
# Counts backward from the last column if +index+ is negative:
|
|
181
|
+
# row.field(-1) # => "0"
|
|
182
|
+
# row.field(-2) # => "foo"
|
|
183
|
+
#
|
|
184
|
+
# Returns +nil+ if +index+ is out of range:
|
|
185
|
+
# row.field(2) # => nil
|
|
186
|
+
# row.field(-3) # => nil
|
|
187
|
+
#
|
|
188
|
+
# ---
|
|
189
|
+
#
|
|
190
|
+
# Fetch field value by header (first found):
|
|
191
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
192
|
+
# table = CSV.parse(source, headers: true)
|
|
193
|
+
# row = table[0]
|
|
194
|
+
# row.field('Name') # => "Foo"
|
|
195
|
+
#
|
|
196
|
+
# Fetch field value by header, ignoring +offset+ leading fields:
|
|
197
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
198
|
+
# table = CSV.parse(source, headers: true)
|
|
199
|
+
# row = table[0]
|
|
200
|
+
# row.field('Name', 2) # => "Baz"
|
|
201
|
+
#
|
|
202
|
+
# Returns +nil+ if the header does not exist.
|
|
203
|
+
def field(header_or_index, minimum_index = 0)
|
|
204
|
+
# locate the pair
|
|
205
|
+
finder = (header_or_index.is_a?(Integer) || header_or_index.is_a?(Range)) ? :[] : :assoc
|
|
206
|
+
pair = @row[minimum_index..-1].public_send(finder, header_or_index)
|
|
207
|
+
|
|
208
|
+
# return the field if we have a pair
|
|
209
|
+
if pair.nil?
|
|
210
|
+
nil
|
|
211
|
+
else
|
|
212
|
+
header_or_index.is_a?(Range) ? pair.map(&:last) : pair.last
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
alias_method :[], :field
|
|
216
|
+
|
|
217
|
+
#
|
|
218
|
+
# :call-seq:
|
|
219
|
+
# fetch(header) -> value
|
|
220
|
+
# fetch(header, default) -> value
|
|
221
|
+
# fetch(header) {|row| ... } -> value
|
|
222
|
+
#
|
|
223
|
+
# Returns the field value as specified by +header+.
|
|
224
|
+
#
|
|
225
|
+
# ---
|
|
226
|
+
#
|
|
227
|
+
# With the single argument +header+, returns the field value
|
|
228
|
+
# for that header (first found):
|
|
229
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
230
|
+
# table = CSV.parse(source, headers: true)
|
|
231
|
+
# row = table[0]
|
|
232
|
+
# row.fetch('Name') # => "Foo"
|
|
233
|
+
#
|
|
234
|
+
# Raises exception +KeyError+ if the header does not exist.
|
|
235
|
+
#
|
|
236
|
+
# ---
|
|
237
|
+
#
|
|
238
|
+
# With arguments +header+ and +default+ given,
|
|
239
|
+
# returns the field value for the header (first found)
|
|
240
|
+
# if the header exists, otherwise returns +default+:
|
|
241
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
242
|
+
# table = CSV.parse(source, headers: true)
|
|
243
|
+
# row = table[0]
|
|
244
|
+
# row.fetch('Name', '') # => "Foo"
|
|
245
|
+
# row.fetch(:nosuch, '') # => ""
|
|
246
|
+
#
|
|
247
|
+
# ---
|
|
248
|
+
#
|
|
249
|
+
# With argument +header+ and a block given,
|
|
250
|
+
# returns the field value for the header (first found)
|
|
251
|
+
# if the header exists; otherwise calls the block
|
|
252
|
+
# and returns its return value:
|
|
253
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
254
|
+
# table = CSV.parse(source, headers: true)
|
|
255
|
+
# row = table[0]
|
|
256
|
+
# row.fetch('Name') {|header| fail 'Cannot happen' } # => "Foo"
|
|
257
|
+
# row.fetch(:nosuch) {|header| "Header '#{header} not found'" } # => "Header 'nosuch not found'"
|
|
258
|
+
def fetch(header, *varargs)
|
|
259
|
+
raise ArgumentError, "Too many arguments" if varargs.length > 1
|
|
260
|
+
pair = @row.assoc(header)
|
|
261
|
+
if pair
|
|
262
|
+
pair.last
|
|
263
|
+
else
|
|
264
|
+
if block_given?
|
|
265
|
+
yield header
|
|
266
|
+
elsif varargs.empty?
|
|
267
|
+
raise KeyError, "key not found: #{header}"
|
|
268
|
+
else
|
|
269
|
+
varargs.first
|
|
270
|
+
end
|
|
271
|
+
end
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# :call-seq:
|
|
275
|
+
# row.has_key?(header) -> true or false
|
|
276
|
+
#
|
|
277
|
+
# Returns +true+ if there is a field with the given +header+,
|
|
278
|
+
# +false+ otherwise.
|
|
279
|
+
def has_key?(header)
|
|
280
|
+
!!@row.assoc(header)
|
|
281
|
+
end
|
|
282
|
+
alias_method :include?, :has_key?
|
|
283
|
+
alias_method :key?, :has_key?
|
|
284
|
+
alias_method :member?, :has_key?
|
|
285
|
+
alias_method :header?, :has_key?
|
|
286
|
+
|
|
287
|
+
#
|
|
288
|
+
# :call-seq:
|
|
289
|
+
# row[index] = value -> value
|
|
290
|
+
# row[header, offset] = value -> value
|
|
291
|
+
# row[header] = value -> value
|
|
292
|
+
#
|
|
293
|
+
# Assigns the field value for the given +index+ or +header+;
|
|
294
|
+
# returns +value+.
|
|
295
|
+
#
|
|
296
|
+
# ---
|
|
297
|
+
#
|
|
298
|
+
# Assign field value by \Integer index:
|
|
299
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
300
|
+
# table = CSV.parse(source, headers: true)
|
|
301
|
+
# row = table[0]
|
|
302
|
+
# row[0] = 'Bat'
|
|
303
|
+
# row[1] = 3
|
|
304
|
+
# row # => #<CSV::Row "Name":"Bat" "Value":3>
|
|
305
|
+
#
|
|
306
|
+
# Counts backward from the last column if +index+ is negative:
|
|
307
|
+
# row[-1] = 4
|
|
308
|
+
# row[-2] = 'Bam'
|
|
309
|
+
# row # => #<CSV::Row "Name":"Bam" "Value":4>
|
|
310
|
+
#
|
|
311
|
+
# Extends the row with <tt>nil:nil</tt> if positive +index+ is not in the row:
|
|
312
|
+
# row[4] = 5
|
|
313
|
+
# row # => #<CSV::Row "Name":"bad" "Value":4 nil:nil nil:nil nil:5>
|
|
314
|
+
#
|
|
315
|
+
# Raises IndexError if negative +index+ is too small (too far from zero).
|
|
316
|
+
#
|
|
317
|
+
# ---
|
|
318
|
+
#
|
|
319
|
+
# Assign field value by header (first found):
|
|
320
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
321
|
+
# table = CSV.parse(source, headers: true)
|
|
322
|
+
# row = table[0]
|
|
323
|
+
# row['Name'] = 'Bat'
|
|
324
|
+
# row # => #<CSV::Row "Name":"Bat" "Name":"Bar" "Name":"Baz">
|
|
325
|
+
#
|
|
326
|
+
# Assign field value by header, ignoring +offset+ leading fields:
|
|
327
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
328
|
+
# table = CSV.parse(source, headers: true)
|
|
329
|
+
# row = table[0]
|
|
330
|
+
# row['Name', 2] = 4
|
|
331
|
+
# row # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":4>
|
|
332
|
+
#
|
|
333
|
+
# Append new field by (new) header:
|
|
334
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
335
|
+
# table = CSV.parse(source, headers: true)
|
|
336
|
+
# row = table[0]
|
|
337
|
+
# row['New'] = 6
|
|
338
|
+
# row# => #<CSV::Row "Name":"foo" "Value":"0" "New":6>
|
|
339
|
+
def []=(*args)
|
|
340
|
+
value = args.pop
|
|
341
|
+
|
|
342
|
+
if args.first.is_a? Integer
|
|
343
|
+
if @row[args.first].nil? # extending past the end with index
|
|
344
|
+
@row[args.first] = [nil, value]
|
|
345
|
+
@row.map! { |pair| pair.nil? ? [nil, nil] : pair }
|
|
346
|
+
else # normal index assignment
|
|
347
|
+
@row[args.first][1] = value
|
|
348
|
+
end
|
|
349
|
+
else
|
|
350
|
+
index = index(*args)
|
|
351
|
+
if index.nil? # appending a field
|
|
352
|
+
self << [args.first, value]
|
|
353
|
+
else # normal header assignment
|
|
354
|
+
@row[index][1] = value
|
|
355
|
+
end
|
|
356
|
+
end
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
#
|
|
360
|
+
# :call-seq:
|
|
361
|
+
# row << [header, value] -> self
|
|
362
|
+
# row << hash -> self
|
|
363
|
+
# row << value -> self
|
|
364
|
+
#
|
|
365
|
+
# Adds a field to +self+; returns +self+:
|
|
366
|
+
#
|
|
367
|
+
# If the argument is a 2-element \Array <tt>[header, value]</tt>,
|
|
368
|
+
# a field is added with the given +header+ and +value+:
|
|
369
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
370
|
+
# table = CSV.parse(source, headers: true)
|
|
371
|
+
# row = table[0]
|
|
372
|
+
# row << ['NAME', 'Bat']
|
|
373
|
+
# row # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz" "NAME":"Bat">
|
|
374
|
+
#
|
|
375
|
+
# If the argument is a \Hash, each <tt>key-value</tt> pair is added
|
|
376
|
+
# as a field with header +key+ and value +value+.
|
|
377
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
378
|
+
# table = CSV.parse(source, headers: true)
|
|
379
|
+
# row = table[0]
|
|
380
|
+
# row << {NAME: 'Bat', name: 'Bam'}
|
|
381
|
+
# row # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz" NAME:"Bat" name:"Bam">
|
|
382
|
+
#
|
|
383
|
+
# Otherwise, the given +value+ is added as a field with no header.
|
|
384
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
385
|
+
# table = CSV.parse(source, headers: true)
|
|
386
|
+
# row = table[0]
|
|
387
|
+
# row << 'Bag'
|
|
388
|
+
# row # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz" nil:"Bag">
|
|
389
|
+
def <<(arg)
|
|
390
|
+
if arg.is_a?(Array) and arg.size == 2 # appending a header and name
|
|
391
|
+
@row << arg
|
|
392
|
+
elsif arg.is_a?(Hash) # append header and name pairs
|
|
393
|
+
arg.each { |pair| @row << pair }
|
|
394
|
+
else # append field value
|
|
395
|
+
@row << [nil, arg]
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
self # for chaining
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
# :call-seq:
|
|
402
|
+
# row.push(*values) -> self
|
|
403
|
+
#
|
|
404
|
+
# Appends each of the given +values+ to +self+ as a field; returns +self+:
|
|
405
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
406
|
+
# table = CSV.parse(source, headers: true)
|
|
407
|
+
# row = table[0]
|
|
408
|
+
# row.push('Bat', 'Bam')
|
|
409
|
+
# row # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz" nil:"Bat" nil:"Bam">
|
|
410
|
+
def push(*args)
|
|
411
|
+
args.each { |arg| self << arg }
|
|
412
|
+
|
|
413
|
+
self # for chaining
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
#
|
|
417
|
+
# :call-seq:
|
|
418
|
+
# delete(index) -> [header, value] or nil
|
|
419
|
+
# delete(header) -> [header, value] or empty_array
|
|
420
|
+
# delete(header, offset) -> [header, value] or empty_array
|
|
421
|
+
#
|
|
422
|
+
# Removes a specified field from +self+; returns the 2-element \Array
|
|
423
|
+
# <tt>[header, value]</tt> if the field exists.
|
|
424
|
+
#
|
|
425
|
+
# If an \Integer argument +index+ is given,
|
|
426
|
+
# removes and returns the field at offset +index+,
|
|
427
|
+
# or returns +nil+ if the field does not exist:
|
|
428
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
429
|
+
# table = CSV.parse(source, headers: true)
|
|
430
|
+
# row = table[0]
|
|
431
|
+
# row.delete(1) # => ["Name", "Bar"]
|
|
432
|
+
# row.delete(50) # => nil
|
|
433
|
+
#
|
|
434
|
+
# Otherwise, if the single argument +header+ is given,
|
|
435
|
+
# removes and returns the first-found field with the given header,
|
|
436
|
+
# of returns a new empty \Array if the field does not exist:
|
|
437
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
438
|
+
# table = CSV.parse(source, headers: true)
|
|
439
|
+
# row = table[0]
|
|
440
|
+
# row.delete('Name') # => ["Name", "Foo"]
|
|
441
|
+
# row.delete('NAME') # => []
|
|
442
|
+
#
|
|
443
|
+
# If argument +header+ and \Integer argument +offset+ are given,
|
|
444
|
+
# removes and returns the first-found field with the given header
|
|
445
|
+
# whose +index+ is at least as large as +offset+:
|
|
446
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
447
|
+
# table = CSV.parse(source, headers: true)
|
|
448
|
+
# row = table[0]
|
|
449
|
+
# row.delete('Name', 1) # => ["Name", "Bar"]
|
|
450
|
+
# row.delete('NAME', 1) # => []
|
|
451
|
+
def delete(header_or_index, minimum_index = 0)
|
|
452
|
+
if header_or_index.is_a? Integer # by index
|
|
453
|
+
@row.delete_at(header_or_index)
|
|
454
|
+
elsif i = index(header_or_index, minimum_index) # by header
|
|
455
|
+
@row.delete_at(i)
|
|
456
|
+
else
|
|
457
|
+
[ ]
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
# :call-seq:
|
|
462
|
+
# row.delete_if {|header, value| ... } -> self
|
|
463
|
+
#
|
|
464
|
+
# Removes fields from +self+ as selected by the block; returns +self+.
|
|
465
|
+
#
|
|
466
|
+
# Removes each field for which the block returns a truthy value:
|
|
467
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
468
|
+
# table = CSV.parse(source, headers: true)
|
|
469
|
+
# row = table[0]
|
|
470
|
+
# row.delete_if {|header, value| value.start_with?('B') } # => true
|
|
471
|
+
# row # => #<CSV::Row "Name":"Foo">
|
|
472
|
+
# row.delete_if {|header, value| header.start_with?('B') } # => false
|
|
473
|
+
#
|
|
474
|
+
# If no block is given, returns a new Enumerator:
|
|
475
|
+
# row.delete_if # => #<Enumerator: #<CSV::Row "Name":"Foo">:delete_if>
|
|
476
|
+
def delete_if(&block)
|
|
477
|
+
return enum_for(__method__) { size } unless block_given?
|
|
478
|
+
|
|
479
|
+
@row.delete_if(&block)
|
|
480
|
+
|
|
481
|
+
self # for chaining
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
# :call-seq:
|
|
485
|
+
# self.fields(*specifiers) -> array_of_fields
|
|
486
|
+
#
|
|
487
|
+
# Returns field values per the given +specifiers+, which may be any mixture of:
|
|
488
|
+
# - \Integer index.
|
|
489
|
+
# - \Range of \Integer indexes.
|
|
490
|
+
# - 2-element \Array containing a header and offset.
|
|
491
|
+
# - Header.
|
|
492
|
+
# - \Range of headers.
|
|
493
|
+
#
|
|
494
|
+
# For +specifier+ in one of the first four cases above,
|
|
495
|
+
# returns the result of <tt>self.field(specifier)</tt>; see #field.
|
|
496
|
+
#
|
|
497
|
+
# Although there may be any number of +specifiers+,
|
|
498
|
+
# the examples here will illustrate one at a time.
|
|
499
|
+
#
|
|
500
|
+
# When the specifier is an \Integer +index+,
|
|
501
|
+
# returns <tt>self.field(index)</tt>L
|
|
502
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
503
|
+
# table = CSV.parse(source, headers: true)
|
|
504
|
+
# row = table[0]
|
|
505
|
+
# row.fields(1) # => ["Bar"]
|
|
506
|
+
#
|
|
507
|
+
# When the specifier is a \Range of \Integers +range+,
|
|
508
|
+
# returns <tt>self.field(range)</tt>:
|
|
509
|
+
# row.fields(1..2) # => ["Bar", "Baz"]
|
|
510
|
+
#
|
|
511
|
+
# When the specifier is a 2-element \Array +array+,
|
|
512
|
+
# returns <tt>self.field(array)</tt>L
|
|
513
|
+
# row.fields('Name', 1) # => ["Foo", "Bar"]
|
|
514
|
+
#
|
|
515
|
+
# When the specifier is a header +header+,
|
|
516
|
+
# returns <tt>self.field(header)</tt>L
|
|
517
|
+
# row.fields('Name') # => ["Foo"]
|
|
518
|
+
#
|
|
519
|
+
# When the specifier is a \Range of headers +range+,
|
|
520
|
+
# forms a new \Range +new_range+ from the indexes of
|
|
521
|
+
# <tt>range.start</tt> and <tt>range.end</tt>,
|
|
522
|
+
# and returns <tt>self.field(new_range)</tt>:
|
|
523
|
+
# source = "Name,NAME,name\nFoo,Bar,Baz\n"
|
|
524
|
+
# table = CSV.parse(source, headers: true)
|
|
525
|
+
# row = table[0]
|
|
526
|
+
# row.fields('Name'..'NAME') # => ["Foo", "Bar"]
|
|
527
|
+
#
|
|
528
|
+
# Returns all fields if no argument given:
|
|
529
|
+
# row.fields # => ["Foo", "Bar", "Baz"]
|
|
530
|
+
def fields(*headers_and_or_indices)
|
|
531
|
+
if headers_and_or_indices.empty? # return all fields--no arguments
|
|
532
|
+
@row.map(&:last)
|
|
533
|
+
else # or work like values_at()
|
|
534
|
+
all = []
|
|
535
|
+
headers_and_or_indices.each do |h_or_i|
|
|
536
|
+
if h_or_i.is_a? Range
|
|
537
|
+
index_begin = h_or_i.begin.is_a?(Integer) ? h_or_i.begin :
|
|
538
|
+
index(h_or_i.begin)
|
|
539
|
+
index_end = h_or_i.end.is_a?(Integer) ? h_or_i.end :
|
|
540
|
+
index(h_or_i.end)
|
|
541
|
+
new_range = h_or_i.exclude_end? ? (index_begin...index_end) :
|
|
542
|
+
(index_begin..index_end)
|
|
543
|
+
all.concat(fields.values_at(new_range))
|
|
544
|
+
else
|
|
545
|
+
all << field(*Array(h_or_i))
|
|
546
|
+
end
|
|
547
|
+
end
|
|
548
|
+
return all
|
|
549
|
+
end
|
|
550
|
+
end
|
|
551
|
+
alias_method :values_at, :fields
|
|
552
|
+
|
|
553
|
+
# :call-seq:
|
|
554
|
+
# index(header) -> index
|
|
555
|
+
# index(header, offset) -> index
|
|
556
|
+
#
|
|
557
|
+
# Returns the index for the given header, if it exists;
|
|
558
|
+
# otherwise returns +nil+.
|
|
559
|
+
#
|
|
560
|
+
# With the single argument +header+, returns the index
|
|
561
|
+
# of the first-found field with the given +header+:
|
|
562
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
563
|
+
# table = CSV.parse(source, headers: true)
|
|
564
|
+
# row = table[0]
|
|
565
|
+
# row.index('Name') # => 0
|
|
566
|
+
# row.index('NAME') # => nil
|
|
567
|
+
#
|
|
568
|
+
# With arguments +header+ and +offset+,
|
|
569
|
+
# returns the index of the first-found field with given +header+,
|
|
570
|
+
# but ignoring the first +offset+ fields:
|
|
571
|
+
# row.index('Name', 1) # => 1
|
|
572
|
+
# row.index('Name', 3) # => nil
|
|
573
|
+
def index(header, minimum_index = 0)
|
|
574
|
+
# find the pair
|
|
575
|
+
index = headers[minimum_index..-1].index(header)
|
|
576
|
+
# return the index at the right offset, if we found one
|
|
577
|
+
index.nil? ? nil : index + minimum_index
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
# :call-seq:
|
|
581
|
+
# row.field?(value) -> true or false
|
|
582
|
+
#
|
|
583
|
+
# Returns +true+ if +value+ is a field in this row, +false+ otherwise:
|
|
584
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
585
|
+
# table = CSV.parse(source, headers: true)
|
|
586
|
+
# row = table[0]
|
|
587
|
+
# row.field?('Bar') # => true
|
|
588
|
+
# row.field?('BAR') # => false
|
|
589
|
+
def field?(data)
|
|
590
|
+
fields.include? data
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
include Enumerable
|
|
594
|
+
|
|
595
|
+
# :call-seq:
|
|
596
|
+
# row.each {|header, value| ... } -> self
|
|
597
|
+
#
|
|
598
|
+
# Calls the block with each header-value pair; returns +self+:
|
|
599
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
600
|
+
# table = CSV.parse(source, headers: true)
|
|
601
|
+
# row = table[0]
|
|
602
|
+
# row.each {|header, value| p [header, value] }
|
|
603
|
+
# Output:
|
|
604
|
+
# ["Name", "Foo"]
|
|
605
|
+
# ["Name", "Bar"]
|
|
606
|
+
# ["Name", "Baz"]
|
|
607
|
+
#
|
|
608
|
+
# If no block is given, returns a new Enumerator:
|
|
609
|
+
# row.each # => #<Enumerator: #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz">:each>
|
|
610
|
+
def each(&block)
|
|
611
|
+
return enum_for(__method__) { size } unless block_given?
|
|
612
|
+
|
|
613
|
+
@row.each(&block)
|
|
614
|
+
|
|
615
|
+
self # for chaining
|
|
616
|
+
end
|
|
617
|
+
|
|
618
|
+
alias_method :each_pair, :each
|
|
619
|
+
|
|
620
|
+
# :call-seq:
|
|
621
|
+
# row == other -> true or false
|
|
622
|
+
#
|
|
623
|
+
# Returns +true+ if +other+ is a /CSV::Row that has the same
|
|
624
|
+
# fields (headers and values) in the same order as +self+;
|
|
625
|
+
# otherwise returns +false+:
|
|
626
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
627
|
+
# table = CSV.parse(source, headers: true)
|
|
628
|
+
# row = table[0]
|
|
629
|
+
# other_row = table[0]
|
|
630
|
+
# row == other_row # => true
|
|
631
|
+
# other_row = table[1]
|
|
632
|
+
# row == other_row # => false
|
|
633
|
+
def ==(other)
|
|
634
|
+
return @row == other.row if other.is_a? CSV::Row
|
|
635
|
+
@row == other
|
|
636
|
+
end
|
|
637
|
+
|
|
638
|
+
# :call-seq:
|
|
639
|
+
# row.to_h -> hash
|
|
640
|
+
#
|
|
641
|
+
# Returns the new \Hash formed by adding each header-value pair in +self+
|
|
642
|
+
# as a key-value pair in the \Hash.
|
|
643
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
644
|
+
# table = CSV.parse(source, headers: true)
|
|
645
|
+
# row = table[0]
|
|
646
|
+
# row.to_h # => {"Name"=>"foo", "Value"=>"0"}
|
|
647
|
+
#
|
|
648
|
+
# Header order is preserved, but repeated headers are ignored:
|
|
649
|
+
# source = "Name,Name,Name\nFoo,Bar,Baz\n"
|
|
650
|
+
# table = CSV.parse(source, headers: true)
|
|
651
|
+
# row = table[0]
|
|
652
|
+
# row.to_h # => {"Name"=>"Foo"}
|
|
653
|
+
def to_h
|
|
654
|
+
hash = {}
|
|
655
|
+
each do |key, _value|
|
|
656
|
+
hash[key] = self[key] unless hash.key?(key)
|
|
657
|
+
end
|
|
658
|
+
hash
|
|
659
|
+
end
|
|
660
|
+
alias_method :to_hash, :to_h
|
|
661
|
+
|
|
662
|
+
# :call-seq:
|
|
663
|
+
# row.deconstruct_keys(keys) -> hash
|
|
664
|
+
#
|
|
665
|
+
# Returns the new \Hash suitable for pattern matching containing only the
|
|
666
|
+
# keys specified as an argument.
|
|
667
|
+
def deconstruct_keys(keys)
|
|
668
|
+
if keys.nil?
|
|
669
|
+
to_h
|
|
670
|
+
else
|
|
671
|
+
keys.to_h { |key| [key, self[key]] }
|
|
672
|
+
end
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
alias_method :to_ary, :to_a
|
|
676
|
+
|
|
677
|
+
# :call-seq:
|
|
678
|
+
# row.deconstruct -> array
|
|
679
|
+
#
|
|
680
|
+
# Returns the new \Array suitable for pattern matching containing the values
|
|
681
|
+
# of the row.
|
|
682
|
+
def deconstruct
|
|
683
|
+
fields
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
# :call-seq:
|
|
687
|
+
# row.to_csv -> csv_string
|
|
688
|
+
#
|
|
689
|
+
# Returns the row as a \CSV String. Headers are not included:
|
|
690
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
691
|
+
# table = CSV.parse(source, headers: true)
|
|
692
|
+
# row = table[0]
|
|
693
|
+
# row.to_csv # => "foo,0\n"
|
|
694
|
+
def to_csv(**options)
|
|
695
|
+
fields.to_csv(**options)
|
|
696
|
+
end
|
|
697
|
+
alias_method :to_s, :to_csv
|
|
698
|
+
|
|
699
|
+
# :call-seq:
|
|
700
|
+
# row.dig(index_or_header, *identifiers) -> object
|
|
701
|
+
#
|
|
702
|
+
# Finds and returns the object in nested object that is specified
|
|
703
|
+
# by +index_or_header+ and +specifiers+.
|
|
704
|
+
#
|
|
705
|
+
# The nested objects may be instances of various classes.
|
|
706
|
+
# See {Dig Methods}[rdoc-ref:dig_methods.rdoc].
|
|
707
|
+
#
|
|
708
|
+
# Examples:
|
|
709
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
710
|
+
# table = CSV.parse(source, headers: true)
|
|
711
|
+
# row = table[0]
|
|
712
|
+
# row.dig(1) # => "0"
|
|
713
|
+
# row.dig('Value') # => "0"
|
|
714
|
+
# row.dig(5) # => nil
|
|
715
|
+
def dig(index_or_header, *indexes)
|
|
716
|
+
value = field(index_or_header)
|
|
717
|
+
if value.nil?
|
|
718
|
+
nil
|
|
719
|
+
elsif indexes.empty?
|
|
720
|
+
value
|
|
721
|
+
else
|
|
722
|
+
unless value.respond_to?(:dig)
|
|
723
|
+
raise TypeError, "#{value.class} does not have \#dig method"
|
|
724
|
+
end
|
|
725
|
+
value.dig(*indexes)
|
|
726
|
+
end
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
# :call-seq:
|
|
730
|
+
# row.inspect -> string
|
|
731
|
+
#
|
|
732
|
+
# Returns an ASCII-compatible \String showing:
|
|
733
|
+
# - Class \CSV::Row.
|
|
734
|
+
# - Header-value pairs.
|
|
735
|
+
# Example:
|
|
736
|
+
# source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
|
|
737
|
+
# table = CSV.parse(source, headers: true)
|
|
738
|
+
# row = table[0]
|
|
739
|
+
# row.inspect # => "#<CSV::Row \"Name\":\"foo\" \"Value\":\"0\">"
|
|
740
|
+
def inspect
|
|
741
|
+
str = ["#<", self.class.to_s]
|
|
742
|
+
each do |header, field|
|
|
743
|
+
str << " " << (header.is_a?(Symbol) ? header.to_s : header.inspect) <<
|
|
744
|
+
":" << field.inspect
|
|
745
|
+
end
|
|
746
|
+
str << ">"
|
|
747
|
+
begin
|
|
748
|
+
str.join('')
|
|
749
|
+
rescue # any encoding error
|
|
750
|
+
str.map do |s|
|
|
751
|
+
e = Encoding::Converter.asciicompat_encoding(s.encoding)
|
|
752
|
+
e ? s.encode(e) : s.force_encoding("ASCII-8BIT")
|
|
753
|
+
end.join('')
|
|
754
|
+
end
|
|
755
|
+
end
|
|
756
|
+
end
|
|
757
|
+
end
|