@ai-ecoverse/wasix-ruby 3.4.11-3 → 3.4.11-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRESTAGE.md +40 -38
- package/bin/bundle +1 -1
- package/bin/bundler +1 -1
- package/bin/erb +1 -1
- package/bin/gem +1 -1
- package/bin/irb +1 -1
- package/bin/rake +1 -1
- package/bin/ruby.wasm +0 -0
- package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +3 -3
- package/package.json +16 -14
- package/lib/ruby/3.4.11/English.gemspec +0 -22
- package/lib/ruby/3.4.11/English.rb +0 -164
- package/lib/ruby/3.4.11/benchmark.gemspec +0 -32
- package/lib/ruby/3.4.11/benchmark.rb +0 -594
- package/lib/ruby/3.4.11/bundled_gems.rb +0 -248
- package/lib/ruby/3.4.11/bundler/.document +0 -1
- package/lib/ruby/3.4.11/bundler/build_metadata.rb +0 -43
- package/lib/ruby/3.4.11/bundler/bundler.gemspec +0 -45
- package/lib/ruby/3.4.11/bundler/capistrano.rb +0 -22
- package/lib/ruby/3.4.11/bundler/checksum.rb +0 -264
- package/lib/ruby/3.4.11/bundler/ci_detector.rb +0 -75
- package/lib/ruby/3.4.11/bundler/cli/add.rb +0 -49
- package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +0 -57
- package/lib/ruby/3.4.11/bundler/cli/cache.rb +0 -43
- package/lib/ruby/3.4.11/bundler/cli/check.rb +0 -40
- package/lib/ruby/3.4.11/bundler/cli/clean.rb +0 -25
- package/lib/ruby/3.4.11/bundler/cli/common.rb +0 -138
- package/lib/ruby/3.4.11/bundler/cli/config.rb +0 -204
- package/lib/ruby/3.4.11/bundler/cli/console.rb +0 -42
- package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +0 -167
- package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +0 -249
- package/lib/ruby/3.4.11/bundler/cli/doctor.rb +0 -33
- package/lib/ruby/3.4.11/bundler/cli/exec.rb +0 -89
- package/lib/ruby/3.4.11/bundler/cli/fund.rb +0 -36
- package/lib/ruby/3.4.11/bundler/cli/gem.rb +0 -467
- package/lib/ruby/3.4.11/bundler/cli/info.rb +0 -83
- package/lib/ruby/3.4.11/bundler/cli/init.rb +0 -51
- package/lib/ruby/3.4.11/bundler/cli/inject.rb +0 -60
- package/lib/ruby/3.4.11/bundler/cli/install.rb +0 -199
- package/lib/ruby/3.4.11/bundler/cli/issue.rb +0 -41
- package/lib/ruby/3.4.11/bundler/cli/list.rb +0 -66
- package/lib/ruby/3.4.11/bundler/cli/lock.rb +0 -94
- package/lib/ruby/3.4.11/bundler/cli/open.rb +0 -29
- package/lib/ruby/3.4.11/bundler/cli/outdated.rb +0 -297
- package/lib/ruby/3.4.11/bundler/cli/platform.rb +0 -48
- package/lib/ruby/3.4.11/bundler/cli/plugin.rb +0 -35
- package/lib/ruby/3.4.11/bundler/cli/pristine.rb +0 -60
- package/lib/ruby/3.4.11/bundler/cli/remove.rb +0 -17
- package/lib/ruby/3.4.11/bundler/cli/show.rb +0 -75
- package/lib/ruby/3.4.11/bundler/cli/update.rb +0 -123
- package/lib/ruby/3.4.11/bundler/cli/viz.rb +0 -31
- package/lib/ruby/3.4.11/bundler/cli.rb +0 -790
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +0 -96
- package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +0 -148
- package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +0 -84
- package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +0 -105
- package/lib/ruby/3.4.11/bundler/compact_index_client.rb +0 -97
- package/lib/ruby/3.4.11/bundler/constants.rb +0 -14
- package/lib/ruby/3.4.11/bundler/current_ruby.rb +0 -82
- package/lib/ruby/3.4.11/bundler/definition.rb +0 -1187
- package/lib/ruby/3.4.11/bundler/dependency.rb +0 -151
- package/lib/ruby/3.4.11/bundler/deployment.rb +0 -69
- package/lib/ruby/3.4.11/bundler/deprecate.rb +0 -44
- package/lib/ruby/3.4.11/bundler/digest.rb +0 -71
- package/lib/ruby/3.4.11/bundler/dsl.rb +0 -638
- package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +0 -174
- package/lib/ruby/3.4.11/bundler/env.rb +0 -148
- package/lib/ruby/3.4.11/bundler/environment_preserver.rb +0 -68
- package/lib/ruby/3.4.11/bundler/errors.rb +0 -281
- package/lib/ruby/3.4.11/bundler/feature_flag.rb +0 -50
- package/lib/ruby/3.4.11/bundler/fetcher/base.rb +0 -52
- package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +0 -120
- package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +0 -78
- package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +0 -91
- package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +0 -16
- package/lib/ruby/3.4.11/bundler/fetcher/index.rb +0 -25
- package/lib/ruby/3.4.11/bundler/fetcher.rb +0 -331
- package/lib/ruby/3.4.11/bundler/force_platform.rb +0 -16
- package/lib/ruby/3.4.11/bundler/friendly_errors.rb +0 -126
- package/lib/ruby/3.4.11/bundler/gem_helper.rb +0 -237
- package/lib/ruby/3.4.11/bundler/gem_helpers.rb +0 -144
- package/lib/ruby/3.4.11/bundler/gem_tasks.rb +0 -7
- package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +0 -147
- package/lib/ruby/3.4.11/bundler/graph.rb +0 -152
- package/lib/ruby/3.4.11/bundler/index.rb +0 -205
- package/lib/ruby/3.4.11/bundler/injector.rb +0 -285
- package/lib/ruby/3.4.11/bundler/inline.rb +0 -98
- package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +0 -85
- package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +0 -203
- package/lib/ruby/3.4.11/bundler/installer/standalone.rb +0 -113
- package/lib/ruby/3.4.11/bundler/installer.rb +0 -243
- package/lib/ruby/3.4.11/bundler/lazy_specification.rb +0 -243
- package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +0 -104
- package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +0 -300
- package/lib/ruby/3.4.11/bundler/man/.document +0 -1
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +0 -76
- package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +0 -87
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +0 -33
- package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +0 -44
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +0 -68
- package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +0 -108
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +0 -24
- package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +0 -31
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +0 -17
- package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +0 -18
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +0 -317
- package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +0 -408
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +0 -33
- package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +0 -39
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +0 -30
- package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +0 -33
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +0 -9
- package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +0 -10
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +0 -107
- package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +0 -154
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +0 -22
- package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +0 -25
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +0 -87
- package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +0 -149
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +0 -9
- package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +0 -12
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +0 -17
- package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +0 -21
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +0 -20
- package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +0 -32
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +0 -31
- package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +0 -32
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +0 -218
- package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +0 -387
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +0 -45
- package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +0 -37
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +0 -9
- package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +0 -10
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +0 -35
- package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +0 -36
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +0 -75
- package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +0 -115
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +0 -32
- package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +0 -28
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +0 -103
- package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +0 -110
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +0 -49
- package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +0 -49
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +0 -58
- package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +0 -63
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +0 -23
- package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +0 -34
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +0 -21
- package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +0 -23
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +0 -19
- package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +0 -25
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +0 -281
- package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +0 -359
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +0 -22
- package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +0 -24
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +0 -30
- package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +0 -36
- package/lib/ruby/3.4.11/bundler/man/bundle.1 +0 -102
- package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +0 -116
- package/lib/ruby/3.4.11/bundler/man/gemfile.5 +0 -472
- package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +0 -558
- package/lib/ruby/3.4.11/bundler/man/index.txt +0 -33
- package/lib/ruby/3.4.11/bundler/match_metadata.rb +0 -30
- package/lib/ruby/3.4.11/bundler/match_platform.rb +0 -23
- package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +0 -29
- package/lib/ruby/3.4.11/bundler/materialization.rb +0 -59
- package/lib/ruby/3.4.11/bundler/mirror.rb +0 -221
- package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +0 -322
- package/lib/ruby/3.4.11/bundler/plugin/api.rb +0 -81
- package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +0 -53
- package/lib/ruby/3.4.11/bundler/plugin/events.rb +0 -85
- package/lib/ruby/3.4.11/bundler/plugin/index.rb +0 -197
- package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +0 -34
- package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +0 -26
- package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +0 -19
- package/lib/ruby/3.4.11/bundler/plugin/installer.rb +0 -132
- package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +0 -31
- package/lib/ruby/3.4.11/bundler/plugin.rb +0 -378
- package/lib/ruby/3.4.11/bundler/process_lock.rb +0 -20
- package/lib/ruby/3.4.11/bundler/remote_specification.rb +0 -126
- package/lib/ruby/3.4.11/bundler/resolver/base.rb +0 -118
- package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +0 -85
- package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +0 -15
- package/lib/ruby/3.4.11/bundler/resolver/package.rb +0 -94
- package/lib/ruby/3.4.11/bundler/resolver/root.rb +0 -25
- package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +0 -74
- package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +0 -40
- package/lib/ruby/3.4.11/bundler/resolver.rb +0 -526
- package/lib/ruby/3.4.11/bundler/retry.rb +0 -66
- package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +0 -62
- package/lib/ruby/3.4.11/bundler/ruby_version.rb +0 -137
- package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +0 -485
- package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +0 -172
- package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +0 -455
- package/lib/ruby/3.4.11/bundler/runtime.rb +0 -320
- package/lib/ruby/3.4.11/bundler/safe_marshal.rb +0 -31
- package/lib/ruby/3.4.11/bundler/self_manager.rb +0 -206
- package/lib/ruby/3.4.11/bundler/settings/validator.rb +0 -102
- package/lib/ruby/3.4.11/bundler/settings.rb +0 -599
- package/lib/ruby/3.4.11/bundler/setup.rb +0 -39
- package/lib/ruby/3.4.11/bundler/shared_helpers.rb +0 -398
- package/lib/ruby/3.4.11/bundler/similarity_detector.rb +0 -63
- package/lib/ruby/3.4.11/bundler/source/gemspec.rb +0 -15
- package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +0 -472
- package/lib/ruby/3.4.11/bundler/source/git.rb +0 -452
- package/lib/ruby/3.4.11/bundler/source/metadata.rb +0 -63
- package/lib/ruby/3.4.11/bundler/source/path/installer.rb +0 -53
- package/lib/ruby/3.4.11/bundler/source/path.rb +0 -250
- package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +0 -76
- package/lib/ruby/3.4.11/bundler/source/rubygems.rb +0 -522
- package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +0 -68
- package/lib/ruby/3.4.11/bundler/source.rb +0 -118
- package/lib/ruby/3.4.11/bundler/source_list.rb +0 -273
- package/lib/ruby/3.4.11/bundler/source_map.rb +0 -71
- package/lib/ruby/3.4.11/bundler/spec_set.rb +0 -395
- package/lib/ruby/3.4.11/bundler/stub_specification.rb +0 -146
- package/lib/ruby/3.4.11/bundler/templates/.document +0 -1
- package/lib/ruby/3.4.11/bundler/templates/Executable +0 -27
- package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +0 -109
- package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +0 -14
- package/lib/ruby/3.4.11/bundler/templates/Gemfile +0 -5
- package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +0 -5
- package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +0 -132
- package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +0 -7
- package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +0 -24
- package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +0 -21
- package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +0 -49
- package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +0 -67
- package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +0 -11
- package/lib/ruby/3.4.11/bundler/templates/newgem/bin/setup.tt +0 -8
- package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +0 -25
- package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +0 -3
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +0 -10
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +0 -6
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +0 -9
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +0 -6
- package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +0 -12
- package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +0 -37
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +0 -23
- package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +0 -18
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +0 -9
- package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +0 -52
- package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +0 -3
- package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +0 -8
- package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +0 -8
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -11
- package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +0 -3
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +0 -6
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +0 -13
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +0 -15
- package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +0 -6
- package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +0 -19
- package/lib/ruby/3.4.11/bundler/ui/shell.rb +0 -187
- package/lib/ruby/3.4.11/bundler/ui/silent.rb +0 -96
- package/lib/ruby/3.4.11/bundler/ui.rb +0 -9
- package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +0 -43
- package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendor/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +0 -224
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +0 -3
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +0 -56
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +0 -186
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +0 -2696
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +0 -41
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +0 -65
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +0 -79
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +0 -1111
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +0 -20
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +0 -169
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +0 -182
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +0 -150
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +0 -43
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +0 -121
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +0 -45
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +0 -19
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +0 -61
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +0 -42
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +0 -105
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +0 -3
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +0 -129
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +0 -423
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +0 -236
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +0 -178
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +0 -31
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +0 -102
- package/lib/ruby/3.4.11/bundler/vendor/thor/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +0 -105
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +0 -61
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +0 -108
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +0 -143
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +0 -371
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +0 -130
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +0 -340
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +0 -825
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +0 -151
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -107
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +0 -106
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +0 -292
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +0 -178
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +0 -37
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +0 -88
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +0 -17
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +0 -29
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +0 -86
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +0 -195
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +0 -178
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +0 -294
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +0 -72
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +0 -335
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +0 -388
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +0 -112
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +0 -29
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +0 -81
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +0 -118
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +0 -42
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +0 -38
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +0 -81
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +0 -285
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +0 -3
- package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +0 -674
- package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +0 -455
- package/lib/ruby/3.4.11/bundler/vendor/uri/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +0 -880
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +0 -100
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +0 -267
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +0 -1592
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +0 -125
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +0 -261
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +0 -22
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +0 -293
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +0 -546
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +0 -206
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +0 -6
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +0 -83
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +0 -104
- package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +0 -23
- package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +0 -11
- package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +0 -12
- package/lib/ruby/3.4.11/bundler/vendored_thor.rb +0 -8
- package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +0 -12
- package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +0 -4
- package/lib/ruby/3.4.11/bundler/vendored_uri.rb +0 -21
- package/lib/ruby/3.4.11/bundler/version.rb +0 -13
- package/lib/ruby/3.4.11/bundler/vlad.rb +0 -17
- package/lib/ruby/3.4.11/bundler/worker.rb +0 -117
- package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +0 -98
- package/lib/ruby/3.4.11/bundler.rb +0 -701
- package/lib/ruby/3.4.11/cgi/cgi.gemspec +0 -43
- package/lib/ruby/3.4.11/cgi/cookie.rb +0 -210
- package/lib/ruby/3.4.11/cgi/core.rb +0 -900
- package/lib/ruby/3.4.11/cgi/html.rb +0 -1035
- package/lib/ruby/3.4.11/cgi/session/pstore.rb +0 -91
- package/lib/ruby/3.4.11/cgi/session.rb +0 -562
- package/lib/ruby/3.4.11/cgi/util.rb +0 -258
- package/lib/ruby/3.4.11/cgi.rb +0 -297
- package/lib/ruby/3.4.11/delegate.gemspec +0 -29
- package/lib/ruby/3.4.11/delegate.rb +0 -444
- package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +0 -57
- package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +0 -25
- package/lib/ruby/3.4.11/did_you_mean/experimental.rb +0 -2
- package/lib/ruby/3.4.11/did_you_mean/formatter.rb +0 -44
- package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +0 -4
- package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +0 -10
- package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +0 -84
- package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +0 -57
- package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +0 -46
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +0 -28
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +0 -79
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +0 -49
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +0 -85
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +0 -20
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +0 -6
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +0 -28
- package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +0 -39
- package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +0 -109
- package/lib/ruby/3.4.11/did_you_mean/verbose.rb +0 -2
- package/lib/ruby/3.4.11/did_you_mean/version.rb +0 -3
- package/lib/ruby/3.4.11/did_you_mean.rb +0 -131
- package/lib/ruby/3.4.11/erb/compiler.rb +0 -472
- package/lib/ruby/3.4.11/erb/def_method.rb +0 -47
- package/lib/ruby/3.4.11/erb/util.rb +0 -63
- package/lib/ruby/3.4.11/erb/version.rb +0 -5
- package/lib/ruby/3.4.11/erb.gemspec +0 -38
- package/lib/ruby/3.4.11/erb.rb +0 -509
- package/lib/ruby/3.4.11/error_highlight/base.rb +0 -830
- package/lib/ruby/3.4.11/error_highlight/core_ext.rb +0 -47
- package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +0 -27
- package/lib/ruby/3.4.11/error_highlight/formatter.rb +0 -74
- package/lib/ruby/3.4.11/error_highlight/version.rb +0 -3
- package/lib/ruby/3.4.11/error_highlight.rb +0 -2
- package/lib/ruby/3.4.11/fileutils.gemspec +0 -31
- package/lib/ruby/3.4.11/fileutils.rb +0 -2696
- package/lib/ruby/3.4.11/find.gemspec +0 -29
- package/lib/ruby/3.4.11/find.rb +0 -90
- package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +0 -26
- package/lib/ruby/3.4.11/forwardable/impl.rb +0 -17
- package/lib/ruby/3.4.11/forwardable.rb +0 -321
- package/lib/ruby/3.4.11/ipaddr.gemspec +0 -36
- package/lib/ruby/3.4.11/ipaddr.rb +0 -841
- package/lib/ruby/3.4.11/irb/cmd/nop.rb +0 -4
- package/lib/ruby/3.4.11/irb/color.rb +0 -262
- package/lib/ruby/3.4.11/irb/color_printer.rb +0 -55
- package/lib/ruby/3.4.11/irb/command/backtrace.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/base.rb +0 -60
- package/lib/ruby/3.4.11/irb/command/break.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/catch.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/cd.rb +0 -51
- package/lib/ruby/3.4.11/irb/command/chws.rb +0 -40
- package/lib/ruby/3.4.11/irb/command/context.rb +0 -16
- package/lib/ruby/3.4.11/irb/command/continue.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/debug.rb +0 -73
- package/lib/ruby/3.4.11/irb/command/delete.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/disable_irb.rb +0 -19
- package/lib/ruby/3.4.11/irb/command/edit.rb +0 -63
- package/lib/ruby/3.4.11/irb/command/exit.rb +0 -18
- package/lib/ruby/3.4.11/irb/command/finish.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/force_exit.rb +0 -18
- package/lib/ruby/3.4.11/irb/command/help.rb +0 -83
- package/lib/ruby/3.4.11/irb/command/history.rb +0 -45
- package/lib/ruby/3.4.11/irb/command/info.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +0 -27
- package/lib/ruby/3.4.11/irb/command/irb_info.rb +0 -33
- package/lib/ruby/3.4.11/irb/command/load.rb +0 -91
- package/lib/ruby/3.4.11/irb/command/ls.rb +0 -167
- package/lib/ruby/3.4.11/irb/command/measure.rb +0 -49
- package/lib/ruby/3.4.11/irb/command/next.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/pushws.rb +0 -65
- package/lib/ruby/3.4.11/irb/command/show_doc.rb +0 -51
- package/lib/ruby/3.4.11/irb/command/show_source.rb +0 -74
- package/lib/ruby/3.4.11/irb/command/step.rb +0 -17
- package/lib/ruby/3.4.11/irb/command/subirb.rb +0 -123
- package/lib/ruby/3.4.11/irb/command/whereami.rb +0 -23
- package/lib/ruby/3.4.11/irb/command.rb +0 -23
- package/lib/ruby/3.4.11/irb/completion.rb +0 -504
- package/lib/ruby/3.4.11/irb/context.rb +0 -716
- package/lib/ruby/3.4.11/irb/debug/ui.rb +0 -101
- package/lib/ruby/3.4.11/irb/debug.rb +0 -127
- package/lib/ruby/3.4.11/irb/default_commands.rb +0 -276
- package/lib/ruby/3.4.11/irb/easter-egg.rb +0 -152
- package/lib/ruby/3.4.11/irb/ext/change-ws.rb +0 -37
- package/lib/ruby/3.4.11/irb/ext/eval_history.rb +0 -149
- package/lib/ruby/3.4.11/irb/ext/loader.rb +0 -127
- package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +0 -258
- package/lib/ruby/3.4.11/irb/ext/tracer.rb +0 -39
- package/lib/ruby/3.4.11/irb/ext/use-loader.rb +0 -67
- package/lib/ruby/3.4.11/irb/ext/workspaces.rb +0 -36
- package/lib/ruby/3.4.11/irb/frame.rb +0 -80
- package/lib/ruby/3.4.11/irb/help.rb +0 -28
- package/lib/ruby/3.4.11/irb/helper_method/base.rb +0 -16
- package/lib/ruby/3.4.11/irb/helper_method/conf.rb +0 -11
- package/lib/ruby/3.4.11/irb/helper_method.rb +0 -29
- package/lib/ruby/3.4.11/irb/history.rb +0 -112
- package/lib/ruby/3.4.11/irb/init.rb +0 -538
- package/lib/ruby/3.4.11/irb/input-method.rb +0 -515
- package/lib/ruby/3.4.11/irb/inspector.rb +0 -131
- package/lib/ruby/3.4.11/irb/irb.gemspec +0 -46
- package/lib/ruby/3.4.11/irb/lc/error.rb +0 -52
- package/lib/ruby/3.4.11/irb/lc/help-message +0 -55
- package/lib/ruby/3.4.11/irb/lc/ja/error.rb +0 -53
- package/lib/ruby/3.4.11/irb/lc/ja/help-message +0 -58
- package/lib/ruby/3.4.11/irb/locale.rb +0 -153
- package/lib/ruby/3.4.11/irb/nesting_parser.rb +0 -239
- package/lib/ruby/3.4.11/irb/notifier.rb +0 -230
- package/lib/ruby/3.4.11/irb/output-method.rb +0 -80
- package/lib/ruby/3.4.11/irb/pager.rb +0 -100
- package/lib/ruby/3.4.11/irb/ruby-lex.rb +0 -476
- package/lib/ruby/3.4.11/irb/ruby_logo.aa +0 -118
- package/lib/ruby/3.4.11/irb/source_finder.rb +0 -138
- package/lib/ruby/3.4.11/irb/statement.rb +0 -80
- package/lib/ruby/3.4.11/irb/version.rb +0 -11
- package/lib/ruby/3.4.11/irb/workspace.rb +0 -171
- package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +0 -9
- package/lib/ruby/3.4.11/irb/xmp.rb +0 -164
- package/lib/ruby/3.4.11/irb.rb +0 -1593
- package/lib/ruby/3.4.11/logger/errors.rb +0 -9
- package/lib/ruby/3.4.11/logger/formatter.rb +0 -36
- package/lib/ruby/3.4.11/logger/log_device.rb +0 -236
- package/lib/ruby/3.4.11/logger/logger.gemspec +0 -22
- package/lib/ruby/3.4.11/logger/period.rb +0 -47
- package/lib/ruby/3.4.11/logger/severity.rb +0 -38
- package/lib/ruby/3.4.11/logger/version.rb +0 -5
- package/lib/ruby/3.4.11/logger.rb +0 -761
- package/lib/ruby/3.4.11/mkmf.rb +0 -3045
- package/lib/ruby/3.4.11/net/http/exceptions.rb +0 -34
- package/lib/ruby/3.4.11/net/http/generic_request.rb +0 -414
- package/lib/ruby/3.4.11/net/http/header.rb +0 -981
- package/lib/ruby/3.4.11/net/http/net-http.gemspec +0 -39
- package/lib/ruby/3.4.11/net/http/proxy_delta.rb +0 -17
- package/lib/ruby/3.4.11/net/http/request.rb +0 -88
- package/lib/ruby/3.4.11/net/http/requests.rb +0 -430
- package/lib/ruby/3.4.11/net/http/response.rb +0 -738
- package/lib/ruby/3.4.11/net/http/responses.rb +0 -1174
- package/lib/ruby/3.4.11/net/http/status.rb +0 -84
- package/lib/ruby/3.4.11/net/http.rb +0 -2574
- package/lib/ruby/3.4.11/net/https.rb +0 -23
- package/lib/ruby/3.4.11/net/net-protocol.gemspec +0 -34
- package/lib/ruby/3.4.11/net/protocol.rb +0 -544
- package/lib/ruby/3.4.11/open-uri.gemspec +0 -32
- package/lib/ruby/3.4.11/open-uri.rb +0 -895
- package/lib/ruby/3.4.11/open3/open3.gemspec +0 -33
- package/lib/ruby/3.4.11/open3/version.rb +0 -3
- package/lib/ruby/3.4.11/open3.rb +0 -1410
- package/lib/ruby/3.4.11/optionparser.rb +0 -2
- package/lib/ruby/3.4.11/optparse/ac.rb +0 -70
- package/lib/ruby/3.4.11/optparse/date.rb +0 -18
- package/lib/ruby/3.4.11/optparse/kwargs.rb +0 -27
- package/lib/ruby/3.4.11/optparse/optparse.gemspec +0 -31
- package/lib/ruby/3.4.11/optparse/shellwords.rb +0 -7
- package/lib/ruby/3.4.11/optparse/time.rb +0 -11
- package/lib/ruby/3.4.11/optparse/uri.rb +0 -7
- package/lib/ruby/3.4.11/optparse/version.rb +0 -80
- package/lib/ruby/3.4.11/optparse.rb +0 -2429
- package/lib/ruby/3.4.11/ostruct.gemspec +0 -24
- package/lib/ruby/3.4.11/ostruct.rb +0 -489
- package/lib/ruby/3.4.11/pp.gemspec +0 -35
- package/lib/ruby/3.4.11/pp.rb +0 -699
- package/lib/ruby/3.4.11/prettyprint.gemspec +0 -29
- package/lib/ruby/3.4.11/prettyprint.rb +0 -558
- package/lib/ruby/3.4.11/prism/compiler.rb +0 -801
- package/lib/ruby/3.4.11/prism/desugar_compiler.rb +0 -392
- package/lib/ruby/3.4.11/prism/dispatcher.rb +0 -2210
- package/lib/ruby/3.4.11/prism/dsl.rb +0 -1003
- package/lib/ruby/3.4.11/prism/ffi.rb +0 -570
- package/lib/ruby/3.4.11/prism/inspect_visitor.rb +0 -2392
- package/lib/ruby/3.4.11/prism/lex_compat.rb +0 -928
- package/lib/ruby/3.4.11/prism/mutation_compiler.rb +0 -772
- package/lib/ruby/3.4.11/prism/node.rb +0 -18816
- package/lib/ruby/3.4.11/prism/node_ext.rb +0 -511
- package/lib/ruby/3.4.11/prism/pack.rb +0 -230
- package/lib/ruby/3.4.11/prism/parse_result/comments.rb +0 -188
- package/lib/ruby/3.4.11/prism/parse_result/errors.rb +0 -66
- package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +0 -155
- package/lib/ruby/3.4.11/prism/parse_result.rb +0 -911
- package/lib/ruby/3.4.11/prism/pattern.rb +0 -269
- package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +0 -15
- package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +0 -13
- package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +0 -14
- package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +0 -14
- package/lib/ruby/3.4.11/prism/polyfill/warn.rb +0 -36
- package/lib/ruby/3.4.11/prism/prism.gemspec +0 -174
- package/lib/ruby/3.4.11/prism/reflection.rb +0 -416
- package/lib/ruby/3.4.11/prism/relocation.rb +0 -505
- package/lib/ruby/3.4.11/prism/serialize.rb +0 -2400
- package/lib/ruby/3.4.11/prism/string_query.rb +0 -31
- package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +0 -62
- package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +0 -2234
- package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +0 -820
- package/lib/ruby/3.4.11/prism/translation/parser.rb +0 -374
- package/lib/ruby/3.4.11/prism/translation/parser33.rb +0 -13
- package/lib/ruby/3.4.11/prism/translation/parser34.rb +0 -13
- package/lib/ruby/3.4.11/prism/translation/parser35.rb +0 -13
- package/lib/ruby/3.4.11/prism/translation/parser_current.rb +0 -24
- package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +0 -126
- package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +0 -5
- package/lib/ruby/3.4.11/prism/translation/ripper.rb +0 -3474
- package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +0 -1929
- package/lib/ruby/3.4.11/prism/translation.rb +0 -16
- package/lib/ruby/3.4.11/prism/visitor.rb +0 -813
- package/lib/ruby/3.4.11/prism.rb +0 -91
- package/lib/ruby/3.4.11/pstore.gemspec +0 -32
- package/lib/ruby/3.4.11/pstore.rb +0 -736
- package/lib/ruby/3.4.11/random/formatter.rb +0 -372
- package/lib/ruby/3.4.11/rdoc/.document +0 -2
- package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +0 -104
- package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +0 -10
- package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +0 -374
- package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +0 -172
- package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +0 -888
- package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +0 -186
- package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +0 -175
- package/lib/ruby/3.4.11/rdoc/code_object/context.rb +0 -1222
- package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +0 -9
- package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/code_object/include.rb +0 -9
- package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +0 -410
- package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +0 -120
- package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +0 -92
- package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +0 -73
- package/lib/ruby/3.4.11/rdoc/code_object/require.rb +0 -51
- package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +0 -30
- package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +0 -273
- package/lib/ruby/3.4.11/rdoc/code_object.rb +0 -395
- package/lib/ruby/3.4.11/rdoc/code_objects.rb +0 -5
- package/lib/ruby/3.4.11/rdoc/comment.rb +0 -236
- package/lib/ruby/3.4.11/rdoc/cross_reference.rb +0 -228
- package/lib/ruby/3.4.11/rdoc/encoding.rb +0 -120
- package/lib/ruby/3.4.11/rdoc/erb_partial.rb +0 -18
- package/lib/ruby/3.4.11/rdoc/erbio.rb +0 -37
- package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +0 -812
- package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +0 -284
- package/lib/ruby/3.4.11/rdoc/generator/markup.rb +0 -171
- package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +0 -68
- package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +0 -84
- package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +0 -141
- package/lib/ruby/3.4.11/rdoc/generator/pot.rb +0 -94
- package/lib/ruby/3.4.11/rdoc/generator/ri.rb +0 -30
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_footer.rhtml +0 -5
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +0 -48
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +0 -5
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +0 -15
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +0 -15
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +0 -15
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +0 -21
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +0 -11
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +0 -32
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +0 -6
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +0 -14
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +0 -11
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +0 -39
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +0 -3
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +0 -221
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +0 -167
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +0 -683
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/add.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bug.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/date.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/delete.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/find.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/package.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/index.rhtml +0 -23
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +0 -120
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +0 -110
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +0 -18
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +0 -20
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +0 -65
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +0 -70
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +0 -105
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +0 -229
- package/lib/ruby/3.4.11/rdoc/generator.rb +0 -51
- package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +0 -102
- package/lib/ruby/3.4.11/rdoc/i18n/text.rb +0 -126
- package/lib/ruby/3.4.11/rdoc/i18n.rb +0 -10
- package/lib/ruby/3.4.11/rdoc/known_classes.rb +0 -74
- package/lib/ruby/3.4.11/rdoc/markdown/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +0 -2131
- package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +0 -454
- package/lib/ruby/3.4.11/rdoc/markdown.rb +0 -16806
- package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +0 -22
- package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +0 -35
- package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +0 -405
- package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +0 -70
- package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +0 -27
- package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +0 -14
- package/lib/ruby/3.4.11/rdoc/markup/document.rb +0 -164
- package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +0 -272
- package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +0 -31
- package/lib/ruby/3.4.11/rdoc/markup/heading.rb +0 -84
- package/lib/ruby/3.4.11/rdoc/markup/include.rb +0 -42
- package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +0 -47
- package/lib/ruby/3.4.11/rdoc/markup/list.rb +0 -101
- package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +0 -99
- package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +0 -28
- package/lib/ruby/3.4.11/rdoc/markup/parser.rb +0 -585
- package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +0 -318
- package/lib/ruby/3.4.11/rdoc/markup/raw.rb +0 -69
- package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +0 -40
- package/lib/ruby/3.4.11/rdoc/markup/rule.rb +0 -20
- package/lib/ruby/3.4.11/rdoc/markup/table.rb +0 -56
- package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +0 -93
- package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +0 -102
- package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +0 -462
- package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +0 -226
- package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +0 -287
- package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +0 -46
- package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +0 -74
- package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +0 -191
- package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +0 -353
- package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +0 -88
- package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +0 -69
- package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +0 -120
- package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +0 -83
- package/lib/ruby/3.4.11/rdoc/markup.rb +0 -240
- package/lib/ruby/3.4.11/rdoc/options.rb +0 -1416
- package/lib/ruby/3.4.11/rdoc/parser/c.rb +0 -1257
- package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +0 -350
- package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +0 -22
- package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +0 -1092
- package/lib/ruby/3.4.11/rdoc/parser/rd.rb +0 -22
- package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +0 -302
- package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +0 -2378
- package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +0 -165
- package/lib/ruby/3.4.11/rdoc/parser/simple.rb +0 -61
- package/lib/ruby/3.4.11/rdoc/parser/text.rb +0 -11
- package/lib/ruby/3.4.11/rdoc/parser.rb +0 -297
- package/lib/ruby/3.4.11/rdoc/rd/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +0 -1706
- package/lib/ruby/3.4.11/rdoc/rd/inline.rb +0 -71
- package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +0 -1854
- package/lib/ruby/3.4.11/rdoc/rd.rb +0 -99
- package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +0 -68
- package/lib/ruby/3.4.11/rdoc/rdoc.rb +0 -551
- package/lib/ruby/3.4.11/rdoc/ri/driver.rb +0 -1566
- package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/ri/paths.rb +0 -171
- package/lib/ruby/3.4.11/rdoc/ri/store.rb +0 -6
- package/lib/ruby/3.4.11/rdoc/ri/task.rb +0 -71
- package/lib/ruby/3.4.11/rdoc/ri.rb +0 -20
- package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +0 -327
- package/lib/ruby/3.4.11/rdoc/servlet.rb +0 -452
- package/lib/ruby/3.4.11/rdoc/stats/normal.rb +0 -58
- package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +0 -59
- package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +0 -44
- package/lib/ruby/3.4.11/rdoc/stats.rb +0 -461
- package/lib/ruby/3.4.11/rdoc/store.rb +0 -997
- package/lib/ruby/3.4.11/rdoc/task.rb +0 -354
- package/lib/ruby/3.4.11/rdoc/text.rb +0 -322
- package/lib/ruby/3.4.11/rdoc/token_stream.rb +0 -118
- package/lib/ruby/3.4.11/rdoc/tom_doc.rb +0 -257
- package/lib/ruby/3.4.11/rdoc/version.rb +0 -10
- package/lib/ruby/3.4.11/rdoc.rb +0 -211
- package/lib/ruby/3.4.11/readline.gemspec +0 -33
- package/lib/ruby/3.4.11/readline.rb +0 -7
- package/lib/ruby/3.4.11/reline/config.rb +0 -373
- package/lib/ruby/3.4.11/reline/face.rb +0 -199
- package/lib/ruby/3.4.11/reline/history.rb +0 -76
- package/lib/ruby/3.4.11/reline/io/ansi.rb +0 -325
- package/lib/ruby/3.4.11/reline/io/dumb.rb +0 -120
- package/lib/ruby/3.4.11/reline/io/windows.rb +0 -530
- package/lib/ruby/3.4.11/reline/io.rb +0 -55
- package/lib/ruby/3.4.11/reline/key_actor/base.rb +0 -37
- package/lib/ruby/3.4.11/reline/key_actor/composite.rb +0 -17
- package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +0 -517
- package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +0 -518
- package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +0 -517
- package/lib/ruby/3.4.11/reline/key_actor.rb +0 -8
- package/lib/ruby/3.4.11/reline/key_stroke.rb +0 -119
- package/lib/ruby/3.4.11/reline/kill_ring.rb +0 -125
- package/lib/ruby/3.4.11/reline/line_editor.rb +0 -2382
- package/lib/ruby/3.4.11/reline/reline.gemspec +0 -30
- package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +0 -1267
- package/lib/ruby/3.4.11/reline/unicode.rb +0 -415
- package/lib/ruby/3.4.11/reline/version.rb +0 -3
- package/lib/ruby/3.4.11/reline.rb +0 -519
- package/lib/ruby/3.4.11/resolv.gemspec +0 -30
- package/lib/ruby/3.4.11/resolv.rb +0 -3587
- package/lib/ruby/3.4.11/ruby2_keywords.gemspec +0 -23
- package/lib/ruby/3.4.11/ruby_vm/rjit/.document +0 -1
- package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +0 -1160
- package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +0 -11
- package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +0 -24
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +0 -394
- package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +0 -99
- package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +0 -91
- package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +0 -518
- package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +0 -377
- package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +0 -7
- package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +0 -164
- package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +0 -36
- package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +0 -6046
- package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +0 -1326
- package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +0 -155
- package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +0 -65
- package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +0 -191
- package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +0 -221
- package/lib/ruby/3.4.11/rubygems/available_set.rb +0 -165
- package/lib/ruby/3.4.11/rubygems/basic_specification.rb +0 -383
- package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +0 -77
- package/lib/ruby/3.4.11/rubygems/ci_detector.rb +0 -75
- package/lib/ruby/3.4.11/rubygems/command.rb +0 -664
- package/lib/ruby/3.4.11/rubygems/command_manager.rb +0 -255
- package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +0 -127
- package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +0 -325
- package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +0 -97
- package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +0 -178
- package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +0 -196
- package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +0 -206
- package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +0 -181
- package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +0 -256
- package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +0 -109
- package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +0 -51
- package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +0 -375
- package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +0 -38
- package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +0 -269
- package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +0 -42
- package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +0 -109
- package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +0 -83
- package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +0 -33
- package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +0 -124
- package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +0 -217
- package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +0 -135
- package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +0 -43
- package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +0 -90
- package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +0 -262
- package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +0 -41
- package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +0 -663
- package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +0 -34
- package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +0 -32
- package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +0 -227
- package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +0 -156
- package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +0 -40
- package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +0 -204
- package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +0 -168
- package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +0 -326
- package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +0 -88
- package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +0 -99
- package/lib/ruby/3.4.11/rubygems/compatibility.rb +0 -41
- package/lib/ruby/3.4.11/rubygems/config_file.rb +0 -618
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +0 -68
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +0 -149
- package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +0 -45
- package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +0 -54
- package/lib/ruby/3.4.11/rubygems/defaults.rb +0 -308
- package/lib/ruby/3.4.11/rubygems/dependency.rb +0 -348
- package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +0 -335
- package/lib/ruby/3.4.11/rubygems/dependency_list.rb +0 -243
- package/lib/ruby/3.4.11/rubygems/deprecate.rb +0 -169
- package/lib/ruby/3.4.11/rubygems/doctor.rb +0 -132
- package/lib/ruby/3.4.11/rubygems/errors.rb +0 -177
- package/lib/ruby/3.4.11/rubygems/exceptions.rb +0 -293
- package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +0 -9
- package/lib/ruby/3.4.11/rubygems/ext/builder.rb +0 -260
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +0 -27
- package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +0 -346
- package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +0 -21
- package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +0 -77
- package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +0 -37
- package/lib/ruby/3.4.11/rubygems/ext.rb +0 -20
- package/lib/ruby/3.4.11/rubygems/gem_runner.rb +0 -89
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +0 -163
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +0 -105
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +0 -80
- package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +0 -397
- package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +0 -19
- package/lib/ruby/3.4.11/rubygems/install_default_message.rb +0 -13
- package/lib/ruby/3.4.11/rubygems/install_message.rb +0 -13
- package/lib/ruby/3.4.11/rubygems/install_update_options.rb +0 -204
- package/lib/ruby/3.4.11/rubygems/installer.rb +0 -1031
- package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +0 -27
- package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/name_tuple.rb +0 -119
- package/lib/ruby/3.4.11/rubygems/openssl.rb +0 -7
- package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +0 -63
- package/lib/ruby/3.4.11/rubygems/package/file_source.rb +0 -32
- package/lib/ruby/3.4.11/rubygems/package/io_source.rb +0 -48
- package/lib/ruby/3.4.11/rubygems/package/old.rb +0 -169
- package/lib/ruby/3.4.11/rubygems/package/source.rb +0 -4
- package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +0 -277
- package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +0 -244
- package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +0 -101
- package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +0 -332
- package/lib/ruby/3.4.11/rubygems/package.rb +0 -742
- package/lib/ruby/3.4.11/rubygems/package_task.rb +0 -123
- package/lib/ruby/3.4.11/rubygems/path_support.rb +0 -85
- package/lib/ruby/3.4.11/rubygems/platform.rb +0 -269
- package/lib/ruby/3.4.11/rubygems/psych_tree.rb +0 -37
- package/lib/ruby/3.4.11/rubygems/query_utils.rb +0 -349
- package/lib/ruby/3.4.11/rubygems/rdoc.rb +0 -26
- package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +0 -341
- package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +0 -95
- package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +0 -47
- package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +0 -10
- package/lib/ruby/3.4.11/rubygems/request.rb +0 -298
- package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +0 -841
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +0 -344
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +0 -122
- package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +0 -235
- package/lib/ruby/3.4.11/rubygems/request_set.rb +0 -468
- package/lib/ruby/3.4.11/rubygems/requirement.rb +0 -298
- package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +0 -159
- package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +0 -21
- package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +0 -139
- package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +0 -105
- package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +0 -49
- package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +0 -65
- package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +0 -12
- package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +0 -119
- package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +0 -120
- package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +0 -57
- package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +0 -79
- package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +0 -101
- package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +0 -57
- package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +0 -271
- package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +0 -40
- package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +0 -81
- package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +0 -86
- package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +0 -82
- package/lib/ruby/3.4.11/rubygems/resolver/set.rb +0 -55
- package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +0 -47
- package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +0 -76
- package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +0 -126
- package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +0 -46
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +0 -86
- package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/resolver.rb +0 -341
- package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +0 -177
- package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +0 -325
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +0 -31
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +0 -428
- package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +0 -74
- package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +0 -74
- package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +0 -45
- package/lib/ruby/3.4.11/rubygems/security/policies.rb +0 -114
- package/lib/ruby/3.4.11/rubygems/security/policy.rb +0 -288
- package/lib/ruby/3.4.11/rubygems/security/signer.rb +0 -212
- package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +0 -117
- package/lib/ruby/3.4.11/rubygems/security.rb +0 -615
- package/lib/ruby/3.4.11/rubygems/security_option.rb +0 -43
- package/lib/ruby/3.4.11/rubygems/source/git.rb +0 -244
- package/lib/ruby/3.4.11/rubygems/source/installed.rb +0 -39
- package/lib/ruby/3.4.11/rubygems/source/local.rb +0 -131
- package/lib/ruby/3.4.11/rubygems/source/lock.rb +0 -49
- package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +0 -73
- package/lib/ruby/3.4.11/rubygems/source/vendor.rb +0 -24
- package/lib/ruby/3.4.11/rubygems/source.rb +0 -247
- package/lib/ruby/3.4.11/rubygems/source_list.rb +0 -146
- package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +0 -290
- package/lib/ruby/3.4.11/rubygems/specification.rb +0 -2666
- package/lib/ruby/3.4.11/rubygems/specification_policy.rb +0 -558
- package/lib/ruby/3.4.11/rubygems/specification_record.rb +0 -212
- package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +0 -21
- package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +0 -21
- package/lib/ruby/3.4.11/rubygems/stub_specification.rb +0 -235
- package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +0 -50
- package/lib/ruby/3.4.11/rubygems/text.rb +0 -85
- package/lib/ruby/3.4.11/rubygems/uninstaller.rb +0 -429
- package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +0 -21
- package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +0 -56
- package/lib/ruby/3.4.11/rubygems/uri.rb +0 -126
- package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +0 -47
- package/lib/ruby/3.4.11/rubygems/user_interaction.rb +0 -650
- package/lib/ruby/3.4.11/rubygems/util/licenses.rb +0 -834
- package/lib/ruby/3.4.11/rubygems/util/list.rb +0 -40
- package/lib/ruby/3.4.11/rubygems/util.rb +0 -118
- package/lib/ruby/3.4.11/rubygems/validator.rb +0 -144
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -57
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +0 -88
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +0 -36
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +0 -66
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +0 -62
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +0 -63
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +0 -61
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +0 -126
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +0 -46
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +0 -36
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +0 -164
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +0 -255
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +0 -149
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +0 -6
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +0 -112
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +0 -67
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +0 -839
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +0 -46
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +0 -58
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +0 -11
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +0 -34
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +0 -414
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +0 -981
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +0 -17
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +0 -88
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +0 -430
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +0 -738
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +0 -1174
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +0 -84
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +0 -2580
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +0 -544
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +0 -2
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +0 -70
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +0 -18
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +0 -27
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +0 -7
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +0 -11
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +0 -7
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +0 -80
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +0 -2426
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +0 -3455
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +0 -102
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +0 -198
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +0 -455
- package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +0 -880
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +0 -100
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +0 -267
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +0 -1592
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +0 -125
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +0 -261
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +0 -22
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +0 -293
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +0 -546
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +0 -206
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +0 -6
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +0 -83
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +0 -23
- package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +0 -104
- package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +0 -5
- package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +0 -5
- package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +0 -3
- package/lib/ruby/3.4.11/rubygems/version.rb +0 -441
- package/lib/ruby/3.4.11/rubygems/version_option.rb +0 -80
- package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +0 -98
- package/lib/ruby/3.4.11/rubygems.rb +0 -1417
- package/lib/ruby/3.4.11/securerandom.gemspec +0 -34
- package/lib/ruby/3.4.11/securerandom.rb +0 -102
- package/lib/ruby/3.4.11/set/set.gemspec +0 -30
- package/lib/ruby/3.4.11/set/sorted_set.rb +0 -6
- package/lib/ruby/3.4.11/set.rb +0 -855
- package/lib/ruby/3.4.11/shellwords.gemspec +0 -31
- package/lib/ruby/3.4.11/shellwords.rb +0 -254
- package/lib/ruby/3.4.11/singleton.gemspec +0 -30
- package/lib/ruby/3.4.11/singleton.rb +0 -239
- package/lib/ruby/3.4.11/syntax_suggest/api.rb +0 -233
- package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +0 -232
- package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +0 -165
- package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +0 -85
- package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +0 -71
- package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +0 -245
- package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +0 -306
- package/lib/ruby/3.4.11/syntax_suggest/cli.rb +0 -130
- package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +0 -100
- package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +0 -178
- package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +0 -243
- package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +0 -139
- package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +0 -96
- package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +0 -70
- package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +0 -83
- package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +0 -117
- package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +0 -168
- package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +0 -74
- package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +0 -70
- package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +0 -30
- package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +0 -60
- package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +0 -59
- package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +0 -63
- package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +0 -105
- package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +0 -39
- package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +0 -134
- package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +0 -32
- package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +0 -36
- package/lib/ruby/3.4.11/syntax_suggest/version.rb +0 -5
- package/lib/ruby/3.4.11/syntax_suggest.rb +0 -3
- package/lib/ruby/3.4.11/tempfile.gemspec +0 -33
- package/lib/ruby/3.4.11/tempfile.rb +0 -640
- package/lib/ruby/3.4.11/time.gemspec +0 -35
- package/lib/ruby/3.4.11/time.rb +0 -731
- package/lib/ruby/3.4.11/timeout.gemspec +0 -33
- package/lib/ruby/3.4.11/timeout.rb +0 -200
- package/lib/ruby/3.4.11/tmpdir.gemspec +0 -30
- package/lib/ruby/3.4.11/tmpdir.rb +0 -189
- package/lib/ruby/3.4.11/tsort.gemspec +0 -29
- package/lib/ruby/3.4.11/tsort.rb +0 -455
- package/lib/ruby/3.4.11/un.gemspec +0 -31
- package/lib/ruby/3.4.11/un.rb +0 -441
- package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +0 -181
- package/lib/ruby/3.4.11/unicode_normalize/tables.rb +0 -9259
- package/lib/ruby/3.4.11/uri/common.rb +0 -880
- package/lib/ruby/3.4.11/uri/file.rb +0 -100
- package/lib/ruby/3.4.11/uri/ftp.rb +0 -267
- package/lib/ruby/3.4.11/uri/generic.rb +0 -1592
- package/lib/ruby/3.4.11/uri/http.rb +0 -125
- package/lib/ruby/3.4.11/uri/https.rb +0 -23
- package/lib/ruby/3.4.11/uri/ldap.rb +0 -261
- package/lib/ruby/3.4.11/uri/ldaps.rb +0 -22
- package/lib/ruby/3.4.11/uri/mailto.rb +0 -293
- package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +0 -546
- package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +0 -206
- package/lib/ruby/3.4.11/uri/uri.gemspec +0 -42
- package/lib/ruby/3.4.11/uri/version.rb +0 -6
- package/lib/ruby/3.4.11/uri/ws.rb +0 -83
- package/lib/ruby/3.4.11/uri/wss.rb +0 -23
- package/lib/ruby/3.4.11/uri.rb +0 -104
- package/lib/ruby/3.4.11/weakref.gemspec +0 -34
- package/lib/ruby/3.4.11/weakref.rb +0 -58
- package/lib/ruby/3.4.11/yaml/dbm.rb +0 -295
- package/lib/ruby/3.4.11/yaml/store.rb +0 -98
- package/lib/ruby/3.4.11/yaml/yaml.gemspec +0 -30
- package/lib/ruby/3.4.11/yaml.rb +0 -70
|
@@ -1,880 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
#--
|
|
3
|
-
# = uri/common.rb
|
|
4
|
-
#
|
|
5
|
-
# Author:: Akira Yamada <akira@ruby-lang.org>
|
|
6
|
-
# License::
|
|
7
|
-
# You can redistribute it and/or modify it under the same term as Ruby.
|
|
8
|
-
#
|
|
9
|
-
# See URI for general documentation
|
|
10
|
-
#
|
|
11
|
-
|
|
12
|
-
require_relative "rfc2396_parser"
|
|
13
|
-
require_relative "rfc3986_parser"
|
|
14
|
-
|
|
15
|
-
module URI
|
|
16
|
-
# The default parser instance for RFC 2396.
|
|
17
|
-
RFC2396_PARSER = RFC2396_Parser.new
|
|
18
|
-
Ractor.make_shareable(RFC2396_PARSER) if defined?(Ractor)
|
|
19
|
-
|
|
20
|
-
# The default parser instance for RFC 3986.
|
|
21
|
-
RFC3986_PARSER = RFC3986_Parser.new
|
|
22
|
-
Ractor.make_shareable(RFC3986_PARSER) if defined?(Ractor)
|
|
23
|
-
|
|
24
|
-
# The default parser instance.
|
|
25
|
-
DEFAULT_PARSER = RFC3986_PARSER
|
|
26
|
-
Ractor.make_shareable(DEFAULT_PARSER) if defined?(Ractor)
|
|
27
|
-
|
|
28
|
-
# Set the default parser instance.
|
|
29
|
-
def self.parser=(parser = RFC3986_PARSER)
|
|
30
|
-
remove_const(:Parser) if defined?(::URI::Parser)
|
|
31
|
-
const_set("Parser", parser.class)
|
|
32
|
-
|
|
33
|
-
remove_const(:REGEXP) if defined?(::URI::REGEXP)
|
|
34
|
-
remove_const(:PATTERN) if defined?(::URI::PATTERN)
|
|
35
|
-
if Parser == RFC2396_Parser
|
|
36
|
-
const_set("REGEXP", URI::RFC2396_REGEXP)
|
|
37
|
-
const_set("PATTERN", URI::RFC2396_REGEXP::PATTERN)
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
Parser.new.regexp.each_pair do |sym, str|
|
|
41
|
-
remove_const(sym) if const_defined?(sym, false)
|
|
42
|
-
const_set(sym, str)
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
self.parser = RFC3986_PARSER
|
|
46
|
-
|
|
47
|
-
def self.const_missing(const) # :nodoc:
|
|
48
|
-
if const == :REGEXP
|
|
49
|
-
warn "URI::REGEXP is obsolete. Use URI::RFC2396_REGEXP explicitly.", uplevel: 1 if $VERBOSE
|
|
50
|
-
URI::RFC2396_REGEXP
|
|
51
|
-
elsif value = RFC2396_PARSER.regexp[const]
|
|
52
|
-
warn "URI::#{const} is obsolete. Use RFC2396_PARSER.regexp[#{const.inspect}] explicitly.", uplevel: 1 if $VERBOSE
|
|
53
|
-
value
|
|
54
|
-
elsif value = RFC2396_Parser.const_get(const)
|
|
55
|
-
warn "URI::#{const} is obsolete. Use RFC2396_Parser::#{const} explicitly.", uplevel: 1 if $VERBOSE
|
|
56
|
-
value
|
|
57
|
-
else
|
|
58
|
-
super
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
module Util # :nodoc:
|
|
63
|
-
def make_components_hash(klass, array_hash)
|
|
64
|
-
tmp = {}
|
|
65
|
-
if array_hash.kind_of?(Array) &&
|
|
66
|
-
array_hash.size == klass.component.size - 1
|
|
67
|
-
klass.component[1..-1].each_index do |i|
|
|
68
|
-
begin
|
|
69
|
-
tmp[klass.component[i + 1]] = array_hash[i].clone
|
|
70
|
-
rescue TypeError
|
|
71
|
-
tmp[klass.component[i + 1]] = array_hash[i]
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
elsif array_hash.kind_of?(Hash)
|
|
76
|
-
array_hash.each do |key, value|
|
|
77
|
-
begin
|
|
78
|
-
tmp[key] = value.clone
|
|
79
|
-
rescue TypeError
|
|
80
|
-
tmp[key] = value
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
else
|
|
84
|
-
raise ArgumentError,
|
|
85
|
-
"expected Array of or Hash of components of #{klass} (#{klass.component[1..-1].join(', ')})"
|
|
86
|
-
end
|
|
87
|
-
tmp[:scheme] = klass.to_s.sub(/\A.*::/, '').downcase
|
|
88
|
-
|
|
89
|
-
return tmp
|
|
90
|
-
end
|
|
91
|
-
module_function :make_components_hash
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
module Schemes # :nodoc:
|
|
95
|
-
end
|
|
96
|
-
private_constant :Schemes
|
|
97
|
-
|
|
98
|
-
# Registers the given +klass+ as the class to be instantiated
|
|
99
|
-
# when parsing a \URI with the given +scheme+:
|
|
100
|
-
#
|
|
101
|
-
# URI.register_scheme('MS_SEARCH', URI::Generic) # => URI::Generic
|
|
102
|
-
# URI.scheme_list['MS_SEARCH'] # => URI::Generic
|
|
103
|
-
#
|
|
104
|
-
# Note that after calling String#upcase on +scheme+, it must be a valid
|
|
105
|
-
# constant name.
|
|
106
|
-
def self.register_scheme(scheme, klass)
|
|
107
|
-
Schemes.const_set(scheme.to_s.upcase, klass)
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
# Returns a hash of the defined schemes:
|
|
111
|
-
#
|
|
112
|
-
# URI.scheme_list
|
|
113
|
-
# # =>
|
|
114
|
-
# {"MAILTO"=>URI::MailTo,
|
|
115
|
-
# "LDAPS"=>URI::LDAPS,
|
|
116
|
-
# "WS"=>URI::WS,
|
|
117
|
-
# "HTTP"=>URI::HTTP,
|
|
118
|
-
# "HTTPS"=>URI::HTTPS,
|
|
119
|
-
# "LDAP"=>URI::LDAP,
|
|
120
|
-
# "FILE"=>URI::File,
|
|
121
|
-
# "FTP"=>URI::FTP}
|
|
122
|
-
#
|
|
123
|
-
# Related: URI.register_scheme.
|
|
124
|
-
def self.scheme_list
|
|
125
|
-
Schemes.constants.map { |name|
|
|
126
|
-
[name.to_s.upcase, Schemes.const_get(name)]
|
|
127
|
-
}.to_h
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
INITIAL_SCHEMES = scheme_list
|
|
131
|
-
private_constant :INITIAL_SCHEMES
|
|
132
|
-
Ractor.make_shareable(INITIAL_SCHEMES) if defined?(Ractor)
|
|
133
|
-
|
|
134
|
-
# Returns a new object constructed from the given +scheme+, +arguments+,
|
|
135
|
-
# and +default+:
|
|
136
|
-
#
|
|
137
|
-
# - The new object is an instance of <tt>URI.scheme_list[scheme.upcase]</tt>.
|
|
138
|
-
# - The object is initialized by calling the class initializer
|
|
139
|
-
# using +scheme+ and +arguments+.
|
|
140
|
-
# See URI::Generic.new.
|
|
141
|
-
#
|
|
142
|
-
# Examples:
|
|
143
|
-
#
|
|
144
|
-
# values = ['john.doe', 'www.example.com', '123', nil, '/forum/questions/', nil, 'tag=networking&order=newest', 'top']
|
|
145
|
-
# URI.for('https', *values)
|
|
146
|
-
# # => #<URI::HTTPS https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top>
|
|
147
|
-
# URI.for('foo', *values, default: URI::HTTP)
|
|
148
|
-
# # => #<URI::HTTP foo://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top>
|
|
149
|
-
#
|
|
150
|
-
def self.for(scheme, *arguments, default: Generic)
|
|
151
|
-
const_name = scheme.to_s.upcase
|
|
152
|
-
|
|
153
|
-
uri_class = INITIAL_SCHEMES[const_name]
|
|
154
|
-
uri_class ||= if /\A[A-Z]\w*\z/.match?(const_name) && Schemes.const_defined?(const_name, false)
|
|
155
|
-
Schemes.const_get(const_name, false)
|
|
156
|
-
end
|
|
157
|
-
uri_class ||= default
|
|
158
|
-
|
|
159
|
-
return uri_class.new(scheme, *arguments)
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
#
|
|
163
|
-
# Base class for all URI exceptions.
|
|
164
|
-
#
|
|
165
|
-
class Error < StandardError; end
|
|
166
|
-
#
|
|
167
|
-
# Not a URI.
|
|
168
|
-
#
|
|
169
|
-
class InvalidURIError < Error; end
|
|
170
|
-
#
|
|
171
|
-
# Not a URI component.
|
|
172
|
-
#
|
|
173
|
-
class InvalidComponentError < Error; end
|
|
174
|
-
#
|
|
175
|
-
# URI is valid, bad usage is not.
|
|
176
|
-
#
|
|
177
|
-
class BadURIError < Error; end
|
|
178
|
-
|
|
179
|
-
# Returns a 9-element array representing the parts of the \URI
|
|
180
|
-
# formed from the string +uri+;
|
|
181
|
-
# each array element is a string or +nil+:
|
|
182
|
-
#
|
|
183
|
-
# names = %w[scheme userinfo host port registry path opaque query fragment]
|
|
184
|
-
# values = URI.split('https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top')
|
|
185
|
-
# names.zip(values)
|
|
186
|
-
# # =>
|
|
187
|
-
# [["scheme", "https"],
|
|
188
|
-
# ["userinfo", "john.doe"],
|
|
189
|
-
# ["host", "www.example.com"],
|
|
190
|
-
# ["port", "123"],
|
|
191
|
-
# ["registry", nil],
|
|
192
|
-
# ["path", "/forum/questions/"],
|
|
193
|
-
# ["opaque", nil],
|
|
194
|
-
# ["query", "tag=networking&order=newest"],
|
|
195
|
-
# ["fragment", "top"]]
|
|
196
|
-
#
|
|
197
|
-
def self.split(uri)
|
|
198
|
-
DEFAULT_PARSER.split(uri)
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
# Returns a new \URI object constructed from the given string +uri+:
|
|
202
|
-
#
|
|
203
|
-
# URI.parse('https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top')
|
|
204
|
-
# # => #<URI::HTTPS https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top>
|
|
205
|
-
# URI.parse('http://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top')
|
|
206
|
-
# # => #<URI::HTTP http://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top>
|
|
207
|
-
#
|
|
208
|
-
# It's recommended to first ::escape string +uri+
|
|
209
|
-
# if it may contain invalid URI characters.
|
|
210
|
-
#
|
|
211
|
-
def self.parse(uri)
|
|
212
|
-
DEFAULT_PARSER.parse(uri)
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
# Merges the given URI strings +str+
|
|
216
|
-
# per {RFC 2396}[https://www.rfc-editor.org/rfc/rfc2396.html].
|
|
217
|
-
#
|
|
218
|
-
# Each string in +str+ is converted to an
|
|
219
|
-
# {RFC3986 URI}[https://www.rfc-editor.org/rfc/rfc3986.html] before being merged.
|
|
220
|
-
#
|
|
221
|
-
# Examples:
|
|
222
|
-
#
|
|
223
|
-
# URI.join("http://example.com/","main.rbx")
|
|
224
|
-
# # => #<URI::HTTP http://example.com/main.rbx>
|
|
225
|
-
#
|
|
226
|
-
# URI.join('http://example.com', 'foo')
|
|
227
|
-
# # => #<URI::HTTP http://example.com/foo>
|
|
228
|
-
#
|
|
229
|
-
# URI.join('http://example.com', '/foo', '/bar')
|
|
230
|
-
# # => #<URI::HTTP http://example.com/bar>
|
|
231
|
-
#
|
|
232
|
-
# URI.join('http://example.com', '/foo', 'bar')
|
|
233
|
-
# # => #<URI::HTTP http://example.com/bar>
|
|
234
|
-
#
|
|
235
|
-
# URI.join('http://example.com', '/foo/', 'bar')
|
|
236
|
-
# # => #<URI::HTTP http://example.com/foo/bar>
|
|
237
|
-
#
|
|
238
|
-
def self.join(*str)
|
|
239
|
-
DEFAULT_PARSER.join(*str)
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
#
|
|
243
|
-
# == Synopsis
|
|
244
|
-
#
|
|
245
|
-
# URI::extract(str[, schemes][,&blk])
|
|
246
|
-
#
|
|
247
|
-
# == Args
|
|
248
|
-
#
|
|
249
|
-
# +str+::
|
|
250
|
-
# String to extract URIs from.
|
|
251
|
-
# +schemes+::
|
|
252
|
-
# Limit URI matching to specific schemes.
|
|
253
|
-
#
|
|
254
|
-
# == Description
|
|
255
|
-
#
|
|
256
|
-
# Extracts URIs from a string. If block given, iterates through all matched URIs.
|
|
257
|
-
# Returns nil if block given or array with matches.
|
|
258
|
-
#
|
|
259
|
-
# == Usage
|
|
260
|
-
#
|
|
261
|
-
# require "uri"
|
|
262
|
-
#
|
|
263
|
-
# URI.extract("text here http://foo.example.org/bla and here mailto:test@example.com and here also.")
|
|
264
|
-
# # => ["http://foo.example.com/bla", "mailto:test@example.com"]
|
|
265
|
-
#
|
|
266
|
-
def self.extract(str, schemes = nil, &block) # :nodoc:
|
|
267
|
-
warn "URI.extract is obsolete", uplevel: 1 if $VERBOSE
|
|
268
|
-
DEFAULT_PARSER.extract(str, schemes, &block)
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
#
|
|
272
|
-
# == Synopsis
|
|
273
|
-
#
|
|
274
|
-
# URI::regexp([match_schemes])
|
|
275
|
-
#
|
|
276
|
-
# == Args
|
|
277
|
-
#
|
|
278
|
-
# +match_schemes+::
|
|
279
|
-
# Array of schemes. If given, resulting regexp matches to URIs
|
|
280
|
-
# whose scheme is one of the match_schemes.
|
|
281
|
-
#
|
|
282
|
-
# == Description
|
|
283
|
-
#
|
|
284
|
-
# Returns a Regexp object which matches to URI-like strings.
|
|
285
|
-
# The Regexp object returned by this method includes arbitrary
|
|
286
|
-
# number of capture group (parentheses). Never rely on its number.
|
|
287
|
-
#
|
|
288
|
-
# == Usage
|
|
289
|
-
#
|
|
290
|
-
# require 'uri'
|
|
291
|
-
#
|
|
292
|
-
# # extract first URI from html_string
|
|
293
|
-
# html_string.slice(URI.regexp)
|
|
294
|
-
#
|
|
295
|
-
# # remove ftp URIs
|
|
296
|
-
# html_string.sub(URI.regexp(['ftp']), '')
|
|
297
|
-
#
|
|
298
|
-
# # You should not rely on the number of parentheses
|
|
299
|
-
# html_string.scan(URI.regexp) do |*matches|
|
|
300
|
-
# p $&
|
|
301
|
-
# end
|
|
302
|
-
#
|
|
303
|
-
def self.regexp(schemes = nil)# :nodoc:
|
|
304
|
-
warn "URI.regexp is obsolete", uplevel: 1 if $VERBOSE
|
|
305
|
-
DEFAULT_PARSER.make_regexp(schemes)
|
|
306
|
-
end
|
|
307
|
-
|
|
308
|
-
TBLENCWWWCOMP_ = {} # :nodoc:
|
|
309
|
-
256.times do |i|
|
|
310
|
-
TBLENCWWWCOMP_[-i.chr] = -('%%%02X' % i)
|
|
311
|
-
end
|
|
312
|
-
TBLENCURICOMP_ = TBLENCWWWCOMP_.dup.freeze # :nodoc:
|
|
313
|
-
TBLENCWWWCOMP_[' '] = '+'
|
|
314
|
-
TBLENCWWWCOMP_.freeze
|
|
315
|
-
TBLDECWWWCOMP_ = {} # :nodoc:
|
|
316
|
-
256.times do |i|
|
|
317
|
-
h, l = i>>4, i&15
|
|
318
|
-
TBLDECWWWCOMP_[-('%%%X%X' % [h, l])] = -i.chr
|
|
319
|
-
TBLDECWWWCOMP_[-('%%%x%X' % [h, l])] = -i.chr
|
|
320
|
-
TBLDECWWWCOMP_[-('%%%X%x' % [h, l])] = -i.chr
|
|
321
|
-
TBLDECWWWCOMP_[-('%%%x%x' % [h, l])] = -i.chr
|
|
322
|
-
end
|
|
323
|
-
TBLDECWWWCOMP_['+'] = ' '
|
|
324
|
-
TBLDECWWWCOMP_.freeze
|
|
325
|
-
|
|
326
|
-
# Returns a URL-encoded string derived from the given string +str+.
|
|
327
|
-
#
|
|
328
|
-
# The returned string:
|
|
329
|
-
#
|
|
330
|
-
# - Preserves:
|
|
331
|
-
#
|
|
332
|
-
# - Characters <tt>'*'</tt>, <tt>'.'</tt>, <tt>'-'</tt>, and <tt>'_'</tt>.
|
|
333
|
-
# - Character in ranges <tt>'a'..'z'</tt>, <tt>'A'..'Z'</tt>,
|
|
334
|
-
# and <tt>'0'..'9'</tt>.
|
|
335
|
-
#
|
|
336
|
-
# Example:
|
|
337
|
-
#
|
|
338
|
-
# URI.encode_www_form_component('*.-_azAZ09')
|
|
339
|
-
# # => "*.-_azAZ09"
|
|
340
|
-
#
|
|
341
|
-
# - Converts:
|
|
342
|
-
#
|
|
343
|
-
# - Character <tt>' '</tt> to character <tt>'+'</tt>.
|
|
344
|
-
# - Any other character to "percent notation";
|
|
345
|
-
# the percent notation for character <i>c</i> is <tt>'%%%X' % c.ord</tt>.
|
|
346
|
-
#
|
|
347
|
-
# Example:
|
|
348
|
-
#
|
|
349
|
-
# URI.encode_www_form_component('Here are some punctuation characters: ,;?:')
|
|
350
|
-
# # => "Here+are+some+punctuation+characters%3A+%2C%3B%3F%3A"
|
|
351
|
-
#
|
|
352
|
-
# Encoding:
|
|
353
|
-
#
|
|
354
|
-
# - If +str+ has encoding Encoding::ASCII_8BIT, argument +enc+ is ignored.
|
|
355
|
-
# - Otherwise +str+ is converted first to Encoding::UTF_8
|
|
356
|
-
# (with suitable character replacements),
|
|
357
|
-
# and then to encoding +enc+.
|
|
358
|
-
#
|
|
359
|
-
# In either case, the returned string has forced encoding Encoding::US_ASCII.
|
|
360
|
-
#
|
|
361
|
-
# Related: URI.encode_uri_component (encodes <tt>' '</tt> as <tt>'%20'</tt>).
|
|
362
|
-
def self.encode_www_form_component(str, enc=nil)
|
|
363
|
-
_encode_uri_component(/[^*\-.0-9A-Z_a-z]/, TBLENCWWWCOMP_, str, enc)
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
# Returns a string decoded from the given \URL-encoded string +str+.
|
|
367
|
-
#
|
|
368
|
-
# The given string is first encoded as Encoding::ASCII-8BIT (using String#b),
|
|
369
|
-
# then decoded (as below), and finally force-encoded to the given encoding +enc+.
|
|
370
|
-
#
|
|
371
|
-
# The returned string:
|
|
372
|
-
#
|
|
373
|
-
# - Preserves:
|
|
374
|
-
#
|
|
375
|
-
# - Characters <tt>'*'</tt>, <tt>'.'</tt>, <tt>'-'</tt>, and <tt>'_'</tt>.
|
|
376
|
-
# - Character in ranges <tt>'a'..'z'</tt>, <tt>'A'..'Z'</tt>,
|
|
377
|
-
# and <tt>'0'..'9'</tt>.
|
|
378
|
-
#
|
|
379
|
-
# Example:
|
|
380
|
-
#
|
|
381
|
-
# URI.decode_www_form_component('*.-_azAZ09')
|
|
382
|
-
# # => "*.-_azAZ09"
|
|
383
|
-
#
|
|
384
|
-
# - Converts:
|
|
385
|
-
#
|
|
386
|
-
# - Character <tt>'+'</tt> to character <tt>' '</tt>.
|
|
387
|
-
# - Each "percent notation" to an ASCII character.
|
|
388
|
-
#
|
|
389
|
-
# Example:
|
|
390
|
-
#
|
|
391
|
-
# URI.decode_www_form_component('Here+are+some+punctuation+characters%3A+%2C%3B%3F%3A')
|
|
392
|
-
# # => "Here are some punctuation characters: ,;?:"
|
|
393
|
-
#
|
|
394
|
-
# Related: URI.decode_uri_component (preserves <tt>'+'</tt>).
|
|
395
|
-
def self.decode_www_form_component(str, enc=Encoding::UTF_8)
|
|
396
|
-
_decode_uri_component(/\+|%\h\h/, str, enc)
|
|
397
|
-
end
|
|
398
|
-
|
|
399
|
-
# Like URI.encode_www_form_component, except that <tt>' '</tt> (space)
|
|
400
|
-
# is encoded as <tt>'%20'</tt> (instead of <tt>'+'</tt>).
|
|
401
|
-
def self.encode_uri_component(str, enc=nil)
|
|
402
|
-
_encode_uri_component(/[^*\-.0-9A-Z_a-z]/, TBLENCURICOMP_, str, enc)
|
|
403
|
-
end
|
|
404
|
-
|
|
405
|
-
# Like URI.decode_www_form_component, except that <tt>'+'</tt> is preserved.
|
|
406
|
-
def self.decode_uri_component(str, enc=Encoding::UTF_8)
|
|
407
|
-
_decode_uri_component(/%\h\h/, str, enc)
|
|
408
|
-
end
|
|
409
|
-
|
|
410
|
-
def self._encode_uri_component(regexp, table, str, enc)
|
|
411
|
-
str = str.to_s.dup
|
|
412
|
-
if str.encoding != Encoding::ASCII_8BIT
|
|
413
|
-
if enc && enc != Encoding::ASCII_8BIT
|
|
414
|
-
str.encode!(Encoding::UTF_8, invalid: :replace, undef: :replace)
|
|
415
|
-
str.encode!(enc, fallback: ->(x){"&##{x.ord};"})
|
|
416
|
-
end
|
|
417
|
-
str.force_encoding(Encoding::ASCII_8BIT)
|
|
418
|
-
end
|
|
419
|
-
str.gsub!(regexp, table)
|
|
420
|
-
str.force_encoding(Encoding::US_ASCII)
|
|
421
|
-
end
|
|
422
|
-
private_class_method :_encode_uri_component
|
|
423
|
-
|
|
424
|
-
def self._decode_uri_component(regexp, str, enc)
|
|
425
|
-
raise ArgumentError, "invalid %-encoding (#{str})" if /%(?!\h\h)/.match?(str)
|
|
426
|
-
str.b.gsub(regexp, TBLDECWWWCOMP_).force_encoding(enc)
|
|
427
|
-
end
|
|
428
|
-
private_class_method :_decode_uri_component
|
|
429
|
-
|
|
430
|
-
# Returns a URL-encoded string derived from the given
|
|
431
|
-
# {Enumerable}[rdoc-ref:Enumerable@Enumerable+in+Ruby+Classes]
|
|
432
|
-
# +enum+.
|
|
433
|
-
#
|
|
434
|
-
# The result is suitable for use as form data
|
|
435
|
-
# for an \HTTP request whose <tt>Content-Type</tt> is
|
|
436
|
-
# <tt>'application/x-www-form-urlencoded'</tt>.
|
|
437
|
-
#
|
|
438
|
-
# The returned string consists of the elements of +enum+,
|
|
439
|
-
# each converted to one or more URL-encoded strings,
|
|
440
|
-
# and all joined with character <tt>'&'</tt>.
|
|
441
|
-
#
|
|
442
|
-
# Simple examples:
|
|
443
|
-
#
|
|
444
|
-
# URI.encode_www_form([['foo', 0], ['bar', 1], ['baz', 2]])
|
|
445
|
-
# # => "foo=0&bar=1&baz=2"
|
|
446
|
-
# URI.encode_www_form({foo: 0, bar: 1, baz: 2})
|
|
447
|
-
# # => "foo=0&bar=1&baz=2"
|
|
448
|
-
#
|
|
449
|
-
# The returned string is formed using method URI.encode_www_form_component,
|
|
450
|
-
# which converts certain characters:
|
|
451
|
-
#
|
|
452
|
-
# URI.encode_www_form('f#o': '/', 'b-r': '$', 'b z': '@')
|
|
453
|
-
# # => "f%23o=%2F&b-r=%24&b+z=%40"
|
|
454
|
-
#
|
|
455
|
-
# When +enum+ is Array-like, each element +ele+ is converted to a field:
|
|
456
|
-
#
|
|
457
|
-
# - If +ele+ is an array of two or more elements,
|
|
458
|
-
# the field is formed from its first two elements
|
|
459
|
-
# (and any additional elements are ignored):
|
|
460
|
-
#
|
|
461
|
-
# name = URI.encode_www_form_component(ele[0], enc)
|
|
462
|
-
# value = URI.encode_www_form_component(ele[1], enc)
|
|
463
|
-
# "#{name}=#{value}"
|
|
464
|
-
#
|
|
465
|
-
# Examples:
|
|
466
|
-
#
|
|
467
|
-
# URI.encode_www_form([%w[foo bar], %w[baz bat bah]])
|
|
468
|
-
# # => "foo=bar&baz=bat"
|
|
469
|
-
# URI.encode_www_form([['foo', 0], ['bar', :baz, 'bat']])
|
|
470
|
-
# # => "foo=0&bar=baz"
|
|
471
|
-
#
|
|
472
|
-
# - If +ele+ is an array of one element,
|
|
473
|
-
# the field is formed from <tt>ele[0]</tt>:
|
|
474
|
-
#
|
|
475
|
-
# URI.encode_www_form_component(ele[0])
|
|
476
|
-
#
|
|
477
|
-
# Example:
|
|
478
|
-
#
|
|
479
|
-
# URI.encode_www_form([['foo'], [:bar], [0]])
|
|
480
|
-
# # => "foo&bar&0"
|
|
481
|
-
#
|
|
482
|
-
# - Otherwise the field is formed from +ele+:
|
|
483
|
-
#
|
|
484
|
-
# URI.encode_www_form_component(ele)
|
|
485
|
-
#
|
|
486
|
-
# Example:
|
|
487
|
-
#
|
|
488
|
-
# URI.encode_www_form(['foo', :bar, 0])
|
|
489
|
-
# # => "foo&bar&0"
|
|
490
|
-
#
|
|
491
|
-
# The elements of an Array-like +enum+ may be mixture:
|
|
492
|
-
#
|
|
493
|
-
# URI.encode_www_form([['foo', 0], ['bar', 1, 2], ['baz'], :bat])
|
|
494
|
-
# # => "foo=0&bar=1&baz&bat"
|
|
495
|
-
#
|
|
496
|
-
# When +enum+ is Hash-like,
|
|
497
|
-
# each +key+/+value+ pair is converted to one or more fields:
|
|
498
|
-
#
|
|
499
|
-
# - If +value+ is
|
|
500
|
-
# {Array-convertible}[rdoc-ref:implicit_conversion.rdoc@Array-Convertible+Objects],
|
|
501
|
-
# each element +ele+ in +value+ is paired with +key+ to form a field:
|
|
502
|
-
#
|
|
503
|
-
# name = URI.encode_www_form_component(key, enc)
|
|
504
|
-
# value = URI.encode_www_form_component(ele, enc)
|
|
505
|
-
# "#{name}=#{value}"
|
|
506
|
-
#
|
|
507
|
-
# Example:
|
|
508
|
-
#
|
|
509
|
-
# URI.encode_www_form({foo: [:bar, 1], baz: [:bat, :bam, 2]})
|
|
510
|
-
# # => "foo=bar&foo=1&baz=bat&baz=bam&baz=2"
|
|
511
|
-
#
|
|
512
|
-
# - Otherwise, +key+ and +value+ are paired to form a field:
|
|
513
|
-
#
|
|
514
|
-
# name = URI.encode_www_form_component(key, enc)
|
|
515
|
-
# value = URI.encode_www_form_component(value, enc)
|
|
516
|
-
# "#{name}=#{value}"
|
|
517
|
-
#
|
|
518
|
-
# Example:
|
|
519
|
-
#
|
|
520
|
-
# URI.encode_www_form({foo: 0, bar: 1, baz: 2})
|
|
521
|
-
# # => "foo=0&bar=1&baz=2"
|
|
522
|
-
#
|
|
523
|
-
# The elements of a Hash-like +enum+ may be mixture:
|
|
524
|
-
#
|
|
525
|
-
# URI.encode_www_form({foo: [0, 1], bar: 2})
|
|
526
|
-
# # => "foo=0&foo=1&bar=2"
|
|
527
|
-
#
|
|
528
|
-
def self.encode_www_form(enum, enc=nil)
|
|
529
|
-
enum.map do |k,v|
|
|
530
|
-
if v.nil?
|
|
531
|
-
encode_www_form_component(k, enc)
|
|
532
|
-
elsif v.respond_to?(:to_ary)
|
|
533
|
-
v.to_ary.map do |w|
|
|
534
|
-
str = encode_www_form_component(k, enc)
|
|
535
|
-
unless w.nil?
|
|
536
|
-
str << '='
|
|
537
|
-
str << encode_www_form_component(w, enc)
|
|
538
|
-
end
|
|
539
|
-
end.join('&')
|
|
540
|
-
else
|
|
541
|
-
str = encode_www_form_component(k, enc)
|
|
542
|
-
str << '='
|
|
543
|
-
str << encode_www_form_component(v, enc)
|
|
544
|
-
end
|
|
545
|
-
end.join('&')
|
|
546
|
-
end
|
|
547
|
-
|
|
548
|
-
# Returns name/value pairs derived from the given string +str+,
|
|
549
|
-
# which must be an ASCII string.
|
|
550
|
-
#
|
|
551
|
-
# The method may be used to decode the body of Net::HTTPResponse object +res+
|
|
552
|
-
# for which <tt>res['Content-Type']</tt> is <tt>'application/x-www-form-urlencoded'</tt>.
|
|
553
|
-
#
|
|
554
|
-
# The returned data is an array of 2-element subarrays;
|
|
555
|
-
# each subarray is a name/value pair (both are strings).
|
|
556
|
-
# Each returned string has encoding +enc+,
|
|
557
|
-
# and has had invalid characters removed via
|
|
558
|
-
# {String#scrub}[rdoc-ref:String#scrub].
|
|
559
|
-
#
|
|
560
|
-
# A simple example:
|
|
561
|
-
#
|
|
562
|
-
# URI.decode_www_form('foo=0&bar=1&baz')
|
|
563
|
-
# # => [["foo", "0"], ["bar", "1"], ["baz", ""]]
|
|
564
|
-
#
|
|
565
|
-
# The returned strings have certain conversions,
|
|
566
|
-
# similar to those performed in URI.decode_www_form_component:
|
|
567
|
-
#
|
|
568
|
-
# URI.decode_www_form('f%23o=%2F&b-r=%24&b+z=%40')
|
|
569
|
-
# # => [["f#o", "/"], ["b-r", "$"], ["b z", "@"]]
|
|
570
|
-
#
|
|
571
|
-
# The given string may contain consecutive separators:
|
|
572
|
-
#
|
|
573
|
-
# URI.decode_www_form('foo=0&&bar=1&&baz=2')
|
|
574
|
-
# # => [["foo", "0"], ["", ""], ["bar", "1"], ["", ""], ["baz", "2"]]
|
|
575
|
-
#
|
|
576
|
-
# A different separator may be specified:
|
|
577
|
-
#
|
|
578
|
-
# URI.decode_www_form('foo=0--bar=1--baz', separator: '--')
|
|
579
|
-
# # => [["foo", "0"], ["bar", "1"], ["baz", ""]]
|
|
580
|
-
#
|
|
581
|
-
def self.decode_www_form(str, enc=Encoding::UTF_8, separator: '&', use__charset_: false, isindex: false)
|
|
582
|
-
raise ArgumentError, "the input of #{self.name}.#{__method__} must be ASCII only string" unless str.ascii_only?
|
|
583
|
-
ary = []
|
|
584
|
-
return ary if str.empty?
|
|
585
|
-
enc = Encoding.find(enc)
|
|
586
|
-
str.b.each_line(separator) do |string|
|
|
587
|
-
string.chomp!(separator)
|
|
588
|
-
key, sep, val = string.partition('=')
|
|
589
|
-
if isindex
|
|
590
|
-
if sep.empty?
|
|
591
|
-
val = key
|
|
592
|
-
key = +''
|
|
593
|
-
end
|
|
594
|
-
isindex = false
|
|
595
|
-
end
|
|
596
|
-
|
|
597
|
-
if use__charset_ and key == '_charset_' and e = get_encoding(val)
|
|
598
|
-
enc = e
|
|
599
|
-
use__charset_ = false
|
|
600
|
-
end
|
|
601
|
-
|
|
602
|
-
key.gsub!(/\+|%\h\h/, TBLDECWWWCOMP_)
|
|
603
|
-
if val
|
|
604
|
-
val.gsub!(/\+|%\h\h/, TBLDECWWWCOMP_)
|
|
605
|
-
else
|
|
606
|
-
val = +''
|
|
607
|
-
end
|
|
608
|
-
|
|
609
|
-
ary << [key, val]
|
|
610
|
-
end
|
|
611
|
-
ary.each do |k, v|
|
|
612
|
-
k.force_encoding(enc)
|
|
613
|
-
k.scrub!
|
|
614
|
-
v.force_encoding(enc)
|
|
615
|
-
v.scrub!
|
|
616
|
-
end
|
|
617
|
-
ary
|
|
618
|
-
end
|
|
619
|
-
|
|
620
|
-
private
|
|
621
|
-
=begin command for WEB_ENCODINGS_
|
|
622
|
-
curl https://encoding.spec.whatwg.org/encodings.json|
|
|
623
|
-
ruby -rjson -e 'H={}
|
|
624
|
-
h={
|
|
625
|
-
"shift_jis"=>"Windows-31J",
|
|
626
|
-
"euc-jp"=>"cp51932",
|
|
627
|
-
"iso-2022-jp"=>"cp50221",
|
|
628
|
-
"x-mac-cyrillic"=>"macCyrillic",
|
|
629
|
-
}
|
|
630
|
-
JSON($<.read).map{|x|x["encodings"]}.flatten.each{|x|
|
|
631
|
-
Encoding.find(n=h.fetch(n=x["name"].downcase,n))rescue next
|
|
632
|
-
x["labels"].each{|y|H[y]=n}
|
|
633
|
-
}
|
|
634
|
-
puts "{"
|
|
635
|
-
H.each{|k,v|puts %[ #{k.dump}=>#{v.dump},]}
|
|
636
|
-
puts "}"
|
|
637
|
-
'
|
|
638
|
-
=end
|
|
639
|
-
WEB_ENCODINGS_ = {
|
|
640
|
-
"unicode-1-1-utf-8"=>"utf-8",
|
|
641
|
-
"utf-8"=>"utf-8",
|
|
642
|
-
"utf8"=>"utf-8",
|
|
643
|
-
"866"=>"ibm866",
|
|
644
|
-
"cp866"=>"ibm866",
|
|
645
|
-
"csibm866"=>"ibm866",
|
|
646
|
-
"ibm866"=>"ibm866",
|
|
647
|
-
"csisolatin2"=>"iso-8859-2",
|
|
648
|
-
"iso-8859-2"=>"iso-8859-2",
|
|
649
|
-
"iso-ir-101"=>"iso-8859-2",
|
|
650
|
-
"iso8859-2"=>"iso-8859-2",
|
|
651
|
-
"iso88592"=>"iso-8859-2",
|
|
652
|
-
"iso_8859-2"=>"iso-8859-2",
|
|
653
|
-
"iso_8859-2:1987"=>"iso-8859-2",
|
|
654
|
-
"l2"=>"iso-8859-2",
|
|
655
|
-
"latin2"=>"iso-8859-2",
|
|
656
|
-
"csisolatin3"=>"iso-8859-3",
|
|
657
|
-
"iso-8859-3"=>"iso-8859-3",
|
|
658
|
-
"iso-ir-109"=>"iso-8859-3",
|
|
659
|
-
"iso8859-3"=>"iso-8859-3",
|
|
660
|
-
"iso88593"=>"iso-8859-3",
|
|
661
|
-
"iso_8859-3"=>"iso-8859-3",
|
|
662
|
-
"iso_8859-3:1988"=>"iso-8859-3",
|
|
663
|
-
"l3"=>"iso-8859-3",
|
|
664
|
-
"latin3"=>"iso-8859-3",
|
|
665
|
-
"csisolatin4"=>"iso-8859-4",
|
|
666
|
-
"iso-8859-4"=>"iso-8859-4",
|
|
667
|
-
"iso-ir-110"=>"iso-8859-4",
|
|
668
|
-
"iso8859-4"=>"iso-8859-4",
|
|
669
|
-
"iso88594"=>"iso-8859-4",
|
|
670
|
-
"iso_8859-4"=>"iso-8859-4",
|
|
671
|
-
"iso_8859-4:1988"=>"iso-8859-4",
|
|
672
|
-
"l4"=>"iso-8859-4",
|
|
673
|
-
"latin4"=>"iso-8859-4",
|
|
674
|
-
"csisolatincyrillic"=>"iso-8859-5",
|
|
675
|
-
"cyrillic"=>"iso-8859-5",
|
|
676
|
-
"iso-8859-5"=>"iso-8859-5",
|
|
677
|
-
"iso-ir-144"=>"iso-8859-5",
|
|
678
|
-
"iso8859-5"=>"iso-8859-5",
|
|
679
|
-
"iso88595"=>"iso-8859-5",
|
|
680
|
-
"iso_8859-5"=>"iso-8859-5",
|
|
681
|
-
"iso_8859-5:1988"=>"iso-8859-5",
|
|
682
|
-
"arabic"=>"iso-8859-6",
|
|
683
|
-
"asmo-708"=>"iso-8859-6",
|
|
684
|
-
"csiso88596e"=>"iso-8859-6",
|
|
685
|
-
"csiso88596i"=>"iso-8859-6",
|
|
686
|
-
"csisolatinarabic"=>"iso-8859-6",
|
|
687
|
-
"ecma-114"=>"iso-8859-6",
|
|
688
|
-
"iso-8859-6"=>"iso-8859-6",
|
|
689
|
-
"iso-8859-6-e"=>"iso-8859-6",
|
|
690
|
-
"iso-8859-6-i"=>"iso-8859-6",
|
|
691
|
-
"iso-ir-127"=>"iso-8859-6",
|
|
692
|
-
"iso8859-6"=>"iso-8859-6",
|
|
693
|
-
"iso88596"=>"iso-8859-6",
|
|
694
|
-
"iso_8859-6"=>"iso-8859-6",
|
|
695
|
-
"iso_8859-6:1987"=>"iso-8859-6",
|
|
696
|
-
"csisolatingreek"=>"iso-8859-7",
|
|
697
|
-
"ecma-118"=>"iso-8859-7",
|
|
698
|
-
"elot_928"=>"iso-8859-7",
|
|
699
|
-
"greek"=>"iso-8859-7",
|
|
700
|
-
"greek8"=>"iso-8859-7",
|
|
701
|
-
"iso-8859-7"=>"iso-8859-7",
|
|
702
|
-
"iso-ir-126"=>"iso-8859-7",
|
|
703
|
-
"iso8859-7"=>"iso-8859-7",
|
|
704
|
-
"iso88597"=>"iso-8859-7",
|
|
705
|
-
"iso_8859-7"=>"iso-8859-7",
|
|
706
|
-
"iso_8859-7:1987"=>"iso-8859-7",
|
|
707
|
-
"sun_eu_greek"=>"iso-8859-7",
|
|
708
|
-
"csiso88598e"=>"iso-8859-8",
|
|
709
|
-
"csisolatinhebrew"=>"iso-8859-8",
|
|
710
|
-
"hebrew"=>"iso-8859-8",
|
|
711
|
-
"iso-8859-8"=>"iso-8859-8",
|
|
712
|
-
"iso-8859-8-e"=>"iso-8859-8",
|
|
713
|
-
"iso-ir-138"=>"iso-8859-8",
|
|
714
|
-
"iso8859-8"=>"iso-8859-8",
|
|
715
|
-
"iso88598"=>"iso-8859-8",
|
|
716
|
-
"iso_8859-8"=>"iso-8859-8",
|
|
717
|
-
"iso_8859-8:1988"=>"iso-8859-8",
|
|
718
|
-
"visual"=>"iso-8859-8",
|
|
719
|
-
"csisolatin6"=>"iso-8859-10",
|
|
720
|
-
"iso-8859-10"=>"iso-8859-10",
|
|
721
|
-
"iso-ir-157"=>"iso-8859-10",
|
|
722
|
-
"iso8859-10"=>"iso-8859-10",
|
|
723
|
-
"iso885910"=>"iso-8859-10",
|
|
724
|
-
"l6"=>"iso-8859-10",
|
|
725
|
-
"latin6"=>"iso-8859-10",
|
|
726
|
-
"iso-8859-13"=>"iso-8859-13",
|
|
727
|
-
"iso8859-13"=>"iso-8859-13",
|
|
728
|
-
"iso885913"=>"iso-8859-13",
|
|
729
|
-
"iso-8859-14"=>"iso-8859-14",
|
|
730
|
-
"iso8859-14"=>"iso-8859-14",
|
|
731
|
-
"iso885914"=>"iso-8859-14",
|
|
732
|
-
"csisolatin9"=>"iso-8859-15",
|
|
733
|
-
"iso-8859-15"=>"iso-8859-15",
|
|
734
|
-
"iso8859-15"=>"iso-8859-15",
|
|
735
|
-
"iso885915"=>"iso-8859-15",
|
|
736
|
-
"iso_8859-15"=>"iso-8859-15",
|
|
737
|
-
"l9"=>"iso-8859-15",
|
|
738
|
-
"iso-8859-16"=>"iso-8859-16",
|
|
739
|
-
"cskoi8r"=>"koi8-r",
|
|
740
|
-
"koi"=>"koi8-r",
|
|
741
|
-
"koi8"=>"koi8-r",
|
|
742
|
-
"koi8-r"=>"koi8-r",
|
|
743
|
-
"koi8_r"=>"koi8-r",
|
|
744
|
-
"koi8-ru"=>"koi8-u",
|
|
745
|
-
"koi8-u"=>"koi8-u",
|
|
746
|
-
"dos-874"=>"windows-874",
|
|
747
|
-
"iso-8859-11"=>"windows-874",
|
|
748
|
-
"iso8859-11"=>"windows-874",
|
|
749
|
-
"iso885911"=>"windows-874",
|
|
750
|
-
"tis-620"=>"windows-874",
|
|
751
|
-
"windows-874"=>"windows-874",
|
|
752
|
-
"cp1250"=>"windows-1250",
|
|
753
|
-
"windows-1250"=>"windows-1250",
|
|
754
|
-
"x-cp1250"=>"windows-1250",
|
|
755
|
-
"cp1251"=>"windows-1251",
|
|
756
|
-
"windows-1251"=>"windows-1251",
|
|
757
|
-
"x-cp1251"=>"windows-1251",
|
|
758
|
-
"ansi_x3.4-1968"=>"windows-1252",
|
|
759
|
-
"ascii"=>"windows-1252",
|
|
760
|
-
"cp1252"=>"windows-1252",
|
|
761
|
-
"cp819"=>"windows-1252",
|
|
762
|
-
"csisolatin1"=>"windows-1252",
|
|
763
|
-
"ibm819"=>"windows-1252",
|
|
764
|
-
"iso-8859-1"=>"windows-1252",
|
|
765
|
-
"iso-ir-100"=>"windows-1252",
|
|
766
|
-
"iso8859-1"=>"windows-1252",
|
|
767
|
-
"iso88591"=>"windows-1252",
|
|
768
|
-
"iso_8859-1"=>"windows-1252",
|
|
769
|
-
"iso_8859-1:1987"=>"windows-1252",
|
|
770
|
-
"l1"=>"windows-1252",
|
|
771
|
-
"latin1"=>"windows-1252",
|
|
772
|
-
"us-ascii"=>"windows-1252",
|
|
773
|
-
"windows-1252"=>"windows-1252",
|
|
774
|
-
"x-cp1252"=>"windows-1252",
|
|
775
|
-
"cp1253"=>"windows-1253",
|
|
776
|
-
"windows-1253"=>"windows-1253",
|
|
777
|
-
"x-cp1253"=>"windows-1253",
|
|
778
|
-
"cp1254"=>"windows-1254",
|
|
779
|
-
"csisolatin5"=>"windows-1254",
|
|
780
|
-
"iso-8859-9"=>"windows-1254",
|
|
781
|
-
"iso-ir-148"=>"windows-1254",
|
|
782
|
-
"iso8859-9"=>"windows-1254",
|
|
783
|
-
"iso88599"=>"windows-1254",
|
|
784
|
-
"iso_8859-9"=>"windows-1254",
|
|
785
|
-
"iso_8859-9:1989"=>"windows-1254",
|
|
786
|
-
"l5"=>"windows-1254",
|
|
787
|
-
"latin5"=>"windows-1254",
|
|
788
|
-
"windows-1254"=>"windows-1254",
|
|
789
|
-
"x-cp1254"=>"windows-1254",
|
|
790
|
-
"cp1255"=>"windows-1255",
|
|
791
|
-
"windows-1255"=>"windows-1255",
|
|
792
|
-
"x-cp1255"=>"windows-1255",
|
|
793
|
-
"cp1256"=>"windows-1256",
|
|
794
|
-
"windows-1256"=>"windows-1256",
|
|
795
|
-
"x-cp1256"=>"windows-1256",
|
|
796
|
-
"cp1257"=>"windows-1257",
|
|
797
|
-
"windows-1257"=>"windows-1257",
|
|
798
|
-
"x-cp1257"=>"windows-1257",
|
|
799
|
-
"cp1258"=>"windows-1258",
|
|
800
|
-
"windows-1258"=>"windows-1258",
|
|
801
|
-
"x-cp1258"=>"windows-1258",
|
|
802
|
-
"x-mac-cyrillic"=>"macCyrillic",
|
|
803
|
-
"x-mac-ukrainian"=>"macCyrillic",
|
|
804
|
-
"chinese"=>"gbk",
|
|
805
|
-
"csgb2312"=>"gbk",
|
|
806
|
-
"csiso58gb231280"=>"gbk",
|
|
807
|
-
"gb2312"=>"gbk",
|
|
808
|
-
"gb_2312"=>"gbk",
|
|
809
|
-
"gb_2312-80"=>"gbk",
|
|
810
|
-
"gbk"=>"gbk",
|
|
811
|
-
"iso-ir-58"=>"gbk",
|
|
812
|
-
"x-gbk"=>"gbk",
|
|
813
|
-
"gb18030"=>"gb18030",
|
|
814
|
-
"big5"=>"big5",
|
|
815
|
-
"big5-hkscs"=>"big5",
|
|
816
|
-
"cn-big5"=>"big5",
|
|
817
|
-
"csbig5"=>"big5",
|
|
818
|
-
"x-x-big5"=>"big5",
|
|
819
|
-
"cseucpkdfmtjapanese"=>"cp51932",
|
|
820
|
-
"euc-jp"=>"cp51932",
|
|
821
|
-
"x-euc-jp"=>"cp51932",
|
|
822
|
-
"csiso2022jp"=>"cp50221",
|
|
823
|
-
"iso-2022-jp"=>"cp50221",
|
|
824
|
-
"csshiftjis"=>"Windows-31J",
|
|
825
|
-
"ms932"=>"Windows-31J",
|
|
826
|
-
"ms_kanji"=>"Windows-31J",
|
|
827
|
-
"shift-jis"=>"Windows-31J",
|
|
828
|
-
"shift_jis"=>"Windows-31J",
|
|
829
|
-
"sjis"=>"Windows-31J",
|
|
830
|
-
"windows-31j"=>"Windows-31J",
|
|
831
|
-
"x-sjis"=>"Windows-31J",
|
|
832
|
-
"cseuckr"=>"euc-kr",
|
|
833
|
-
"csksc56011987"=>"euc-kr",
|
|
834
|
-
"euc-kr"=>"euc-kr",
|
|
835
|
-
"iso-ir-149"=>"euc-kr",
|
|
836
|
-
"korean"=>"euc-kr",
|
|
837
|
-
"ks_c_5601-1987"=>"euc-kr",
|
|
838
|
-
"ks_c_5601-1989"=>"euc-kr",
|
|
839
|
-
"ksc5601"=>"euc-kr",
|
|
840
|
-
"ksc_5601"=>"euc-kr",
|
|
841
|
-
"windows-949"=>"euc-kr",
|
|
842
|
-
"utf-16be"=>"utf-16be",
|
|
843
|
-
"utf-16"=>"utf-16le",
|
|
844
|
-
"utf-16le"=>"utf-16le",
|
|
845
|
-
} # :nodoc:
|
|
846
|
-
Ractor.make_shareable(WEB_ENCODINGS_) if defined?(Ractor)
|
|
847
|
-
|
|
848
|
-
# :nodoc:
|
|
849
|
-
# return encoding or nil
|
|
850
|
-
# http://encoding.spec.whatwg.org/#concept-encoding-get
|
|
851
|
-
def self.get_encoding(label)
|
|
852
|
-
Encoding.find(WEB_ENCODINGS_[label.to_str.strip.downcase]) rescue nil
|
|
853
|
-
end
|
|
854
|
-
end # module URI
|
|
855
|
-
|
|
856
|
-
module Kernel
|
|
857
|
-
|
|
858
|
-
#
|
|
859
|
-
# Returns a \URI object derived from the given +uri+,
|
|
860
|
-
# which may be a \URI string or an existing \URI object:
|
|
861
|
-
#
|
|
862
|
-
# # Returns a new URI.
|
|
863
|
-
# uri = URI('http://github.com/ruby/ruby')
|
|
864
|
-
# # => #<URI::HTTP http://github.com/ruby/ruby>
|
|
865
|
-
# # Returns the given URI.
|
|
866
|
-
# URI(uri)
|
|
867
|
-
# # => #<URI::HTTP http://github.com/ruby/ruby>
|
|
868
|
-
#
|
|
869
|
-
def URI(uri)
|
|
870
|
-
if uri.is_a?(URI::Generic)
|
|
871
|
-
uri
|
|
872
|
-
elsif uri = String.try_convert(uri)
|
|
873
|
-
URI.parse(uri)
|
|
874
|
-
else
|
|
875
|
-
raise ArgumentError,
|
|
876
|
-
"bad argument (expected URI object or URI string)"
|
|
877
|
-
end
|
|
878
|
-
end
|
|
879
|
-
module_function :URI
|
|
880
|
-
end
|