@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,841 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
#
|
|
3
|
-
# ipaddr.rb - A class to manipulate an IP address
|
|
4
|
-
#
|
|
5
|
-
# Copyright (c) 2002 Hajimu UMEMOTO <ume@mahoroba.org>.
|
|
6
|
-
# Copyright (c) 2007, 2009, 2012 Akinori MUSHA <knu@iDaemons.org>.
|
|
7
|
-
# All rights reserved.
|
|
8
|
-
#
|
|
9
|
-
# You can redistribute and/or modify it under the same terms as Ruby.
|
|
10
|
-
#
|
|
11
|
-
# $Id$
|
|
12
|
-
#
|
|
13
|
-
# Contact:
|
|
14
|
-
# - Akinori MUSHA <knu@iDaemons.org> (current maintainer)
|
|
15
|
-
#
|
|
16
|
-
# TODO:
|
|
17
|
-
# - scope_id support
|
|
18
|
-
#
|
|
19
|
-
require 'socket'
|
|
20
|
-
|
|
21
|
-
# IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and
|
|
22
|
-
# IPv6 are supported.
|
|
23
|
-
#
|
|
24
|
-
# == Example
|
|
25
|
-
#
|
|
26
|
-
# require 'ipaddr'
|
|
27
|
-
#
|
|
28
|
-
# ipaddr1 = IPAddr.new "3ffe:505:2::1"
|
|
29
|
-
#
|
|
30
|
-
# p ipaddr1 #=> #<IPAddr: IPv6:3ffe:0505:0002:0000:0000:0000:0000:0001/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff>
|
|
31
|
-
#
|
|
32
|
-
# p ipaddr1.to_s #=> "3ffe:505:2::1"
|
|
33
|
-
#
|
|
34
|
-
# ipaddr2 = ipaddr1.mask(48) #=> #<IPAddr: IPv6:3ffe:0505:0002:0000:0000:0000:0000:0000/ffff:ffff:ffff:0000:0000:0000:0000:0000>
|
|
35
|
-
#
|
|
36
|
-
# p ipaddr2.to_s #=> "3ffe:505:2::"
|
|
37
|
-
#
|
|
38
|
-
# ipaddr3 = IPAddr.new "192.168.2.0/24"
|
|
39
|
-
#
|
|
40
|
-
# p ipaddr3 #=> #<IPAddr: IPv4:192.168.2.0/255.255.255.0>
|
|
41
|
-
|
|
42
|
-
class IPAddr
|
|
43
|
-
VERSION = "1.2.7"
|
|
44
|
-
|
|
45
|
-
# 32 bit mask for IPv4
|
|
46
|
-
IN4MASK = 0xffffffff
|
|
47
|
-
# 128 bit mask for IPv6
|
|
48
|
-
IN6MASK = 0xffffffffffffffffffffffffffffffff
|
|
49
|
-
# Format string for IPv6
|
|
50
|
-
IN6FORMAT = (["%.4x"] * 8).join(':').freeze
|
|
51
|
-
|
|
52
|
-
# Regexp _internally_ used for parsing IPv4 address.
|
|
53
|
-
RE_IPV4ADDRLIKE = %r{
|
|
54
|
-
\A
|
|
55
|
-
\d+ \. \d+ \. \d+ \. \d+
|
|
56
|
-
\z
|
|
57
|
-
}x
|
|
58
|
-
|
|
59
|
-
# Regexp _internally_ used for parsing IPv6 address.
|
|
60
|
-
RE_IPV6ADDRLIKE_FULL = %r{
|
|
61
|
-
\A
|
|
62
|
-
(?:
|
|
63
|
-
(?: [\da-f]{1,4} : ){7} [\da-f]{1,4}
|
|
64
|
-
|
|
|
65
|
-
( (?: [\da-f]{1,4} : ){6} )
|
|
66
|
-
(\d+) \. (\d+) \. (\d+) \. (\d+)
|
|
67
|
-
)
|
|
68
|
-
\z
|
|
69
|
-
}xi
|
|
70
|
-
|
|
71
|
-
# Regexp _internally_ used for parsing IPv6 address.
|
|
72
|
-
RE_IPV6ADDRLIKE_COMPRESSED = %r{
|
|
73
|
-
\A
|
|
74
|
-
( (?: (?: [\da-f]{1,4} : )* [\da-f]{1,4} )? )
|
|
75
|
-
::
|
|
76
|
-
( (?:
|
|
77
|
-
( (?: [\da-f]{1,4} : )* )
|
|
78
|
-
(?:
|
|
79
|
-
[\da-f]{1,4}
|
|
80
|
-
|
|
|
81
|
-
(\d+) \. (\d+) \. (\d+) \. (\d+)
|
|
82
|
-
)
|
|
83
|
-
)? )
|
|
84
|
-
\z
|
|
85
|
-
}xi
|
|
86
|
-
|
|
87
|
-
# Generic IPAddr related error. Exceptions raised in this class should
|
|
88
|
-
# inherit from Error.
|
|
89
|
-
class Error < ArgumentError; end
|
|
90
|
-
|
|
91
|
-
# Raised when the provided IP address is an invalid address.
|
|
92
|
-
class InvalidAddressError < Error; end
|
|
93
|
-
|
|
94
|
-
# Raised when the address family is invalid such as an address with an
|
|
95
|
-
# unsupported family, an address with an inconsistent family, or an address
|
|
96
|
-
# who's family cannot be determined.
|
|
97
|
-
class AddressFamilyError < Error; end
|
|
98
|
-
|
|
99
|
-
# Raised when the address is an invalid length.
|
|
100
|
-
class InvalidPrefixError < InvalidAddressError; end
|
|
101
|
-
|
|
102
|
-
# Returns the address family of this IP address.
|
|
103
|
-
attr_reader :family
|
|
104
|
-
|
|
105
|
-
# Creates a new ipaddr containing the given network byte ordered
|
|
106
|
-
# string form of an IP address.
|
|
107
|
-
def self.new_ntoh(addr)
|
|
108
|
-
return new(ntop(addr))
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
# Convert a network byte ordered string form of an IP address into
|
|
112
|
-
# human readable form.
|
|
113
|
-
# It expects the string to be encoded in Encoding::ASCII_8BIT (BINARY).
|
|
114
|
-
def self.ntop(addr)
|
|
115
|
-
if addr.is_a?(String) && addr.encoding != Encoding::BINARY
|
|
116
|
-
raise InvalidAddressError, "invalid encoding (given #{addr.encoding}, expected BINARY)"
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
case addr.bytesize
|
|
120
|
-
when 4
|
|
121
|
-
addr.unpack('C4').join('.')
|
|
122
|
-
when 16
|
|
123
|
-
IN6FORMAT % addr.unpack('n8')
|
|
124
|
-
else
|
|
125
|
-
raise AddressFamilyError, "unsupported address family"
|
|
126
|
-
end
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
# Returns a new ipaddr built by bitwise AND.
|
|
130
|
-
def &(other)
|
|
131
|
-
return self.clone.set(@addr & coerce_other(other).to_i)
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
# Returns a new ipaddr built by bitwise OR.
|
|
135
|
-
def |(other)
|
|
136
|
-
return self.clone.set(@addr | coerce_other(other).to_i)
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
# Returns a new ipaddr built by bitwise right-shift.
|
|
140
|
-
def >>(num)
|
|
141
|
-
return self.clone.set(@addr >> num)
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
# Returns a new ipaddr built by bitwise left shift.
|
|
145
|
-
def <<(num)
|
|
146
|
-
return self.clone.set(addr_mask(@addr << num))
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
# Returns a new ipaddr built by bitwise negation.
|
|
150
|
-
def ~
|
|
151
|
-
return self.clone.set(addr_mask(~@addr))
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
# Returns true if two ipaddrs are equal.
|
|
155
|
-
def ==(other)
|
|
156
|
-
other = coerce_other(other)
|
|
157
|
-
rescue
|
|
158
|
-
false
|
|
159
|
-
else
|
|
160
|
-
@family == other.family && @addr == other.to_i
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
# Returns a new ipaddr built by masking IP address with the given
|
|
164
|
-
# prefixlen/netmask. (e.g. 8, 64, "255.255.255.0", etc.)
|
|
165
|
-
def mask(prefixlen)
|
|
166
|
-
return self.clone.mask!(prefixlen)
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
# Returns true if the given ipaddr is in the range.
|
|
170
|
-
#
|
|
171
|
-
# e.g.:
|
|
172
|
-
# require 'ipaddr'
|
|
173
|
-
# net1 = IPAddr.new("192.168.2.0/24")
|
|
174
|
-
# net2 = IPAddr.new("192.168.2.100")
|
|
175
|
-
# net3 = IPAddr.new("192.168.3.0")
|
|
176
|
-
# net4 = IPAddr.new("192.168.2.0/16")
|
|
177
|
-
# p net1.include?(net2) #=> true
|
|
178
|
-
# p net1.include?(net3) #=> false
|
|
179
|
-
# p net1.include?(net4) #=> false
|
|
180
|
-
# p net4.include?(net1) #=> true
|
|
181
|
-
def include?(other)
|
|
182
|
-
other = coerce_other(other)
|
|
183
|
-
return false unless other.family == family
|
|
184
|
-
begin_addr <= other.begin_addr && end_addr >= other.end_addr
|
|
185
|
-
end
|
|
186
|
-
alias === include?
|
|
187
|
-
|
|
188
|
-
# Returns the integer representation of the ipaddr.
|
|
189
|
-
def to_i
|
|
190
|
-
return @addr
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
# Returns a string containing the IP address representation.
|
|
194
|
-
def to_s
|
|
195
|
-
str = to_string
|
|
196
|
-
return str if ipv4?
|
|
197
|
-
|
|
198
|
-
str.gsub!(/\b0{1,3}([\da-f]+)\b/i, '\1')
|
|
199
|
-
loop do
|
|
200
|
-
break if str.sub!(/\A0:0:0:0:0:0:0:0\z/, '::')
|
|
201
|
-
break if str.sub!(/\b0:0:0:0:0:0:0\b/, ':')
|
|
202
|
-
break if str.sub!(/\b0:0:0:0:0:0\b/, ':')
|
|
203
|
-
break if str.sub!(/\b0:0:0:0:0\b/, ':')
|
|
204
|
-
break if str.sub!(/\b0:0:0:0\b/, ':')
|
|
205
|
-
break if str.sub!(/\b0:0:0\b/, ':')
|
|
206
|
-
break if str.sub!(/\b0:0\b/, ':')
|
|
207
|
-
break
|
|
208
|
-
end
|
|
209
|
-
str.sub!(/:{3,}/, '::')
|
|
210
|
-
|
|
211
|
-
if /\A::(ffff:)?([\da-f]{1,4}):([\da-f]{1,4})\z/i =~ str
|
|
212
|
-
str = sprintf('::%s%d.%d.%d.%d', $1, $2.hex / 256, $2.hex % 256, $3.hex / 256, $3.hex % 256)
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
str
|
|
216
|
-
end
|
|
217
|
-
|
|
218
|
-
# Returns a string containing the IP address representation in
|
|
219
|
-
# canonical form.
|
|
220
|
-
def to_string
|
|
221
|
-
str = _to_string(@addr)
|
|
222
|
-
|
|
223
|
-
if @family == Socket::AF_INET6
|
|
224
|
-
str << zone_id.to_s
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
return str
|
|
228
|
-
end
|
|
229
|
-
|
|
230
|
-
# Returns a string containing the IP address representation with prefix.
|
|
231
|
-
def as_json(*)
|
|
232
|
-
if ipv4? && prefix == 32
|
|
233
|
-
to_s
|
|
234
|
-
elsif ipv6? && prefix == 128
|
|
235
|
-
to_s
|
|
236
|
-
else
|
|
237
|
-
cidr
|
|
238
|
-
end
|
|
239
|
-
end
|
|
240
|
-
|
|
241
|
-
# Returns a json string containing the IP address representation.
|
|
242
|
-
def to_json(*a)
|
|
243
|
-
%Q{"#{as_json(*a)}"}
|
|
244
|
-
end
|
|
245
|
-
|
|
246
|
-
# Returns a string containing the IP address representation in
|
|
247
|
-
# cidr notation
|
|
248
|
-
def cidr
|
|
249
|
-
"#{to_s}/#{prefix}"
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
# Returns a network byte ordered string form of the IP address.
|
|
253
|
-
def hton
|
|
254
|
-
case @family
|
|
255
|
-
when Socket::AF_INET
|
|
256
|
-
return [@addr].pack('N')
|
|
257
|
-
when Socket::AF_INET6
|
|
258
|
-
return (0..7).map { |i|
|
|
259
|
-
(@addr >> (112 - 16 * i)) & 0xffff
|
|
260
|
-
}.pack('n8')
|
|
261
|
-
else
|
|
262
|
-
raise AddressFamilyError, "unsupported address family"
|
|
263
|
-
end
|
|
264
|
-
end
|
|
265
|
-
|
|
266
|
-
# Returns true if the ipaddr is an IPv4 address.
|
|
267
|
-
def ipv4?
|
|
268
|
-
return @family == Socket::AF_INET
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
# Returns true if the ipaddr is an IPv6 address.
|
|
272
|
-
def ipv6?
|
|
273
|
-
return @family == Socket::AF_INET6
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
# Returns true if the ipaddr is a loopback address.
|
|
277
|
-
# Loopback IPv4 addresses in the IPv4-mapped IPv6
|
|
278
|
-
# address range are also considered as loopback addresses.
|
|
279
|
-
def loopback?
|
|
280
|
-
case @family
|
|
281
|
-
when Socket::AF_INET
|
|
282
|
-
@addr & 0xff000000 == 0x7f000000 # 127.0.0.1/8
|
|
283
|
-
when Socket::AF_INET6
|
|
284
|
-
@addr == 1 || # ::1
|
|
285
|
-
(@addr & 0xffff_0000_0000 == 0xffff_0000_0000 && (
|
|
286
|
-
@addr & 0xff000000 == 0x7f000000 # ::ffff:127.0.0.1/8
|
|
287
|
-
))
|
|
288
|
-
else
|
|
289
|
-
raise AddressFamilyError, "unsupported address family"
|
|
290
|
-
end
|
|
291
|
-
end
|
|
292
|
-
|
|
293
|
-
# Returns true if the ipaddr is a private address. IPv4 addresses
|
|
294
|
-
# in 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 as defined in RFC
|
|
295
|
-
# 1918 and IPv6 Unique Local Addresses in fc00::/7 as defined in RFC
|
|
296
|
-
# 4193 are considered private. Private IPv4 addresses in the
|
|
297
|
-
# IPv4-mapped IPv6 address range are also considered private.
|
|
298
|
-
def private?
|
|
299
|
-
case @family
|
|
300
|
-
when Socket::AF_INET
|
|
301
|
-
@addr & 0xff000000 == 0x0a000000 || # 10.0.0.0/8
|
|
302
|
-
@addr & 0xfff00000 == 0xac100000 || # 172.16.0.0/12
|
|
303
|
-
@addr & 0xffff0000 == 0xc0a80000 # 192.168.0.0/16
|
|
304
|
-
when Socket::AF_INET6
|
|
305
|
-
@addr & 0xfe00_0000_0000_0000_0000_0000_0000_0000 == 0xfc00_0000_0000_0000_0000_0000_0000_0000 ||
|
|
306
|
-
(@addr & 0xffff_0000_0000 == 0xffff_0000_0000 && (
|
|
307
|
-
@addr & 0xff000000 == 0x0a000000 || # ::ffff:10.0.0.0/8
|
|
308
|
-
@addr & 0xfff00000 == 0xac100000 || # ::ffff::172.16.0.0/12
|
|
309
|
-
@addr & 0xffff0000 == 0xc0a80000 # ::ffff::192.168.0.0/16
|
|
310
|
-
))
|
|
311
|
-
else
|
|
312
|
-
raise AddressFamilyError, "unsupported address family"
|
|
313
|
-
end
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
# Returns true if the ipaddr is a link-local address. IPv4
|
|
317
|
-
# addresses in 169.254.0.0/16 reserved by RFC 3927 and link-local
|
|
318
|
-
# IPv6 Unicast Addresses in fe80::/10 reserved by RFC 4291 are
|
|
319
|
-
# considered link-local. Link-local IPv4 addresses in the
|
|
320
|
-
# IPv4-mapped IPv6 address range are also considered link-local.
|
|
321
|
-
def link_local?
|
|
322
|
-
case @family
|
|
323
|
-
when Socket::AF_INET
|
|
324
|
-
@addr & 0xffff0000 == 0xa9fe0000 # 169.254.0.0/16
|
|
325
|
-
when Socket::AF_INET6
|
|
326
|
-
@addr & 0xffc0_0000_0000_0000_0000_0000_0000_0000 == 0xfe80_0000_0000_0000_0000_0000_0000_0000 || # fe80::/10
|
|
327
|
-
(@addr & 0xffff_0000_0000 == 0xffff_0000_0000 && (
|
|
328
|
-
@addr & 0xffff0000 == 0xa9fe0000 # ::ffff:169.254.0.0/16
|
|
329
|
-
))
|
|
330
|
-
else
|
|
331
|
-
raise AddressFamilyError, "unsupported address family"
|
|
332
|
-
end
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
# Returns true if the ipaddr is an IPv4-mapped IPv6 address.
|
|
336
|
-
def ipv4_mapped?
|
|
337
|
-
return ipv6? && (@addr >> 32) == 0xffff
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
# Returns true if the ipaddr is an IPv4-compatible IPv6 address.
|
|
341
|
-
def ipv4_compat?
|
|
342
|
-
warn "IPAddr\##{__callee__} is obsolete", uplevel: 1 if $VERBOSE
|
|
343
|
-
_ipv4_compat?
|
|
344
|
-
end
|
|
345
|
-
|
|
346
|
-
def _ipv4_compat?
|
|
347
|
-
if !ipv6? || (@addr >> 32) != 0
|
|
348
|
-
return false
|
|
349
|
-
end
|
|
350
|
-
a = (@addr & IN4MASK)
|
|
351
|
-
return a != 0 && a != 1
|
|
352
|
-
end
|
|
353
|
-
|
|
354
|
-
private :_ipv4_compat?
|
|
355
|
-
|
|
356
|
-
# Returns a new ipaddr built by converting the native IPv4 address
|
|
357
|
-
# into an IPv4-mapped IPv6 address.
|
|
358
|
-
def ipv4_mapped
|
|
359
|
-
if !ipv4?
|
|
360
|
-
raise InvalidAddressError, "not an IPv4 address: #{@addr}"
|
|
361
|
-
end
|
|
362
|
-
clone = self.clone.set(@addr | 0xffff00000000, Socket::AF_INET6)
|
|
363
|
-
clone.instance_variable_set(:@mask_addr, @mask_addr | 0xffffffffffffffffffffffff00000000)
|
|
364
|
-
clone
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
# Returns a new ipaddr built by converting the native IPv4 address
|
|
368
|
-
# into an IPv4-compatible IPv6 address.
|
|
369
|
-
def ipv4_compat
|
|
370
|
-
warn "IPAddr\##{__callee__} is obsolete", uplevel: 1 if $VERBOSE
|
|
371
|
-
if !ipv4?
|
|
372
|
-
raise InvalidAddressError, "not an IPv4 address: #{@addr}"
|
|
373
|
-
end
|
|
374
|
-
return self.clone.set(@addr, Socket::AF_INET6)
|
|
375
|
-
end
|
|
376
|
-
|
|
377
|
-
# Returns a new ipaddr built by converting the IPv6 address into a
|
|
378
|
-
# native IPv4 address. If the IP address is not an IPv4-mapped or
|
|
379
|
-
# IPv4-compatible IPv6 address, returns self.
|
|
380
|
-
def native
|
|
381
|
-
if !ipv4_mapped? && !_ipv4_compat?
|
|
382
|
-
return self
|
|
383
|
-
end
|
|
384
|
-
return self.clone.set(@addr & IN4MASK, Socket::AF_INET)
|
|
385
|
-
end
|
|
386
|
-
|
|
387
|
-
# Returns a string for DNS reverse lookup. It returns a string in
|
|
388
|
-
# RFC3172 form for an IPv6 address.
|
|
389
|
-
def reverse
|
|
390
|
-
case @family
|
|
391
|
-
when Socket::AF_INET
|
|
392
|
-
return _reverse + ".in-addr.arpa"
|
|
393
|
-
when Socket::AF_INET6
|
|
394
|
-
return ip6_arpa
|
|
395
|
-
else
|
|
396
|
-
raise AddressFamilyError, "unsupported address family"
|
|
397
|
-
end
|
|
398
|
-
end
|
|
399
|
-
|
|
400
|
-
# Returns a string for DNS reverse lookup compatible with RFC3172.
|
|
401
|
-
def ip6_arpa
|
|
402
|
-
if !ipv6?
|
|
403
|
-
raise InvalidAddressError, "not an IPv6 address: #{@addr}"
|
|
404
|
-
end
|
|
405
|
-
return _reverse + ".ip6.arpa"
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
# Returns a string for DNS reverse lookup compatible with RFC1886.
|
|
409
|
-
def ip6_int
|
|
410
|
-
if !ipv6?
|
|
411
|
-
raise InvalidAddressError, "not an IPv6 address: #{@addr}"
|
|
412
|
-
end
|
|
413
|
-
return _reverse + ".ip6.int"
|
|
414
|
-
end
|
|
415
|
-
|
|
416
|
-
# Returns the successor to the ipaddr.
|
|
417
|
-
def succ
|
|
418
|
-
return self.clone.set(@addr + 1, @family)
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
# Compares the ipaddr with another.
|
|
422
|
-
def <=>(other)
|
|
423
|
-
other = coerce_other(other)
|
|
424
|
-
rescue
|
|
425
|
-
nil
|
|
426
|
-
else
|
|
427
|
-
@addr <=> other.to_i if other.family == @family
|
|
428
|
-
end
|
|
429
|
-
include Comparable
|
|
430
|
-
|
|
431
|
-
# Checks equality used by Hash.
|
|
432
|
-
def eql?(other)
|
|
433
|
-
return self.class == other.class && self.hash == other.hash && self == other
|
|
434
|
-
end
|
|
435
|
-
|
|
436
|
-
# Returns a hash value used by Hash, Set, and Array classes
|
|
437
|
-
def hash
|
|
438
|
-
return ([@addr, @mask_addr, @zone_id].hash << 1) | (ipv4? ? 0 : 1)
|
|
439
|
-
end
|
|
440
|
-
|
|
441
|
-
# Creates a Range object for the network address.
|
|
442
|
-
def to_range
|
|
443
|
-
self.class.new(begin_addr, @family)..self.class.new(end_addr, @family)
|
|
444
|
-
end
|
|
445
|
-
|
|
446
|
-
# Returns the prefix length in bits for the ipaddr.
|
|
447
|
-
def prefix
|
|
448
|
-
case @family
|
|
449
|
-
when Socket::AF_INET
|
|
450
|
-
n = IN4MASK ^ @mask_addr
|
|
451
|
-
i = 32
|
|
452
|
-
when Socket::AF_INET6
|
|
453
|
-
n = IN6MASK ^ @mask_addr
|
|
454
|
-
i = 128
|
|
455
|
-
else
|
|
456
|
-
raise AddressFamilyError, "unsupported address family"
|
|
457
|
-
end
|
|
458
|
-
while n.positive?
|
|
459
|
-
n >>= 1
|
|
460
|
-
i -= 1
|
|
461
|
-
end
|
|
462
|
-
i
|
|
463
|
-
end
|
|
464
|
-
|
|
465
|
-
# Sets the prefix length in bits
|
|
466
|
-
def prefix=(prefix)
|
|
467
|
-
case prefix
|
|
468
|
-
when Integer
|
|
469
|
-
mask!(prefix)
|
|
470
|
-
else
|
|
471
|
-
raise InvalidPrefixError, "prefix must be an integer"
|
|
472
|
-
end
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
# Returns a string containing a human-readable representation of the
|
|
476
|
-
# ipaddr. ("#<IPAddr: family:address/mask>")
|
|
477
|
-
def inspect
|
|
478
|
-
case @family
|
|
479
|
-
when Socket::AF_INET
|
|
480
|
-
af = "IPv4"
|
|
481
|
-
when Socket::AF_INET6
|
|
482
|
-
af = "IPv6"
|
|
483
|
-
zone_id = @zone_id.to_s
|
|
484
|
-
else
|
|
485
|
-
raise AddressFamilyError, "unsupported address family"
|
|
486
|
-
end
|
|
487
|
-
return sprintf("#<%s: %s:%s%s/%s>", self.class.name,
|
|
488
|
-
af, _to_string(@addr), zone_id, _to_string(@mask_addr))
|
|
489
|
-
end
|
|
490
|
-
|
|
491
|
-
# Returns the netmask in string format e.g. 255.255.0.0
|
|
492
|
-
def netmask
|
|
493
|
-
_to_string(@mask_addr)
|
|
494
|
-
end
|
|
495
|
-
|
|
496
|
-
# Returns the wildcard mask in string format e.g. 0.0.255.255
|
|
497
|
-
def wildcard_mask
|
|
498
|
-
case @family
|
|
499
|
-
when Socket::AF_INET
|
|
500
|
-
mask = IN4MASK ^ @mask_addr
|
|
501
|
-
when Socket::AF_INET6
|
|
502
|
-
mask = IN6MASK ^ @mask_addr
|
|
503
|
-
else
|
|
504
|
-
raise AddressFamilyError, "unsupported address family"
|
|
505
|
-
end
|
|
506
|
-
|
|
507
|
-
_to_string(mask)
|
|
508
|
-
end
|
|
509
|
-
|
|
510
|
-
# Returns the IPv6 zone identifier, if present.
|
|
511
|
-
# Raises InvalidAddressError if not an IPv6 address.
|
|
512
|
-
def zone_id
|
|
513
|
-
if @family == Socket::AF_INET6
|
|
514
|
-
@zone_id
|
|
515
|
-
else
|
|
516
|
-
raise InvalidAddressError, "not an IPv6 address"
|
|
517
|
-
end
|
|
518
|
-
end
|
|
519
|
-
|
|
520
|
-
# Returns the IPv6 zone identifier, if present.
|
|
521
|
-
# Raises InvalidAddressError if not an IPv6 address.
|
|
522
|
-
def zone_id=(zid)
|
|
523
|
-
if @family == Socket::AF_INET6
|
|
524
|
-
case zid
|
|
525
|
-
when nil, /\A%(\w+)\z/
|
|
526
|
-
@zone_id = zid
|
|
527
|
-
else
|
|
528
|
-
raise InvalidAddressError, "invalid zone identifier for address"
|
|
529
|
-
end
|
|
530
|
-
else
|
|
531
|
-
raise InvalidAddressError, "not an IPv6 address"
|
|
532
|
-
end
|
|
533
|
-
end
|
|
534
|
-
|
|
535
|
-
protected
|
|
536
|
-
|
|
537
|
-
def begin_addr
|
|
538
|
-
@addr & @mask_addr
|
|
539
|
-
end
|
|
540
|
-
|
|
541
|
-
def end_addr
|
|
542
|
-
case @family
|
|
543
|
-
when Socket::AF_INET
|
|
544
|
-
@addr | (IN4MASK ^ @mask_addr)
|
|
545
|
-
when Socket::AF_INET6
|
|
546
|
-
@addr | (IN6MASK ^ @mask_addr)
|
|
547
|
-
else
|
|
548
|
-
raise AddressFamilyError, "unsupported address family"
|
|
549
|
-
end
|
|
550
|
-
end
|
|
551
|
-
|
|
552
|
-
# Set +@addr+, the internal stored ip address, to given +addr+. The
|
|
553
|
-
# parameter +addr+ is validated using the first +family+ member,
|
|
554
|
-
# which is +Socket::AF_INET+ or +Socket::AF_INET6+.
|
|
555
|
-
def set(addr, *family)
|
|
556
|
-
case family[0] ? family[0] : @family
|
|
557
|
-
when Socket::AF_INET
|
|
558
|
-
if addr < 0 || addr > IN4MASK
|
|
559
|
-
raise InvalidAddressError, "invalid address: #{addr}"
|
|
560
|
-
end
|
|
561
|
-
when Socket::AF_INET6
|
|
562
|
-
if addr < 0 || addr > IN6MASK
|
|
563
|
-
raise InvalidAddressError, "invalid address: #{addr}"
|
|
564
|
-
end
|
|
565
|
-
else
|
|
566
|
-
raise AddressFamilyError, "unsupported address family"
|
|
567
|
-
end
|
|
568
|
-
@addr = addr
|
|
569
|
-
if family[0]
|
|
570
|
-
@family = family[0]
|
|
571
|
-
if @family == Socket::AF_INET
|
|
572
|
-
@mask_addr &= IN4MASK
|
|
573
|
-
end
|
|
574
|
-
end
|
|
575
|
-
return self
|
|
576
|
-
end
|
|
577
|
-
|
|
578
|
-
# Set current netmask to given mask.
|
|
579
|
-
def mask!(mask)
|
|
580
|
-
case mask
|
|
581
|
-
when String
|
|
582
|
-
case mask
|
|
583
|
-
when /\A(0|[1-9]+\d*)\z/
|
|
584
|
-
prefixlen = mask.to_i
|
|
585
|
-
when /\A\d+\z/
|
|
586
|
-
raise InvalidPrefixError, "leading zeros in prefix"
|
|
587
|
-
else
|
|
588
|
-
m = IPAddr.new(mask)
|
|
589
|
-
if m.family != @family
|
|
590
|
-
raise InvalidPrefixError, "address family is not same"
|
|
591
|
-
end
|
|
592
|
-
@mask_addr = m.to_i
|
|
593
|
-
n = @mask_addr ^ m.instance_variable_get(:@mask_addr)
|
|
594
|
-
unless ((n + 1) & n).zero?
|
|
595
|
-
raise InvalidPrefixError, "invalid mask #{mask}"
|
|
596
|
-
end
|
|
597
|
-
@addr &= @mask_addr
|
|
598
|
-
return self
|
|
599
|
-
end
|
|
600
|
-
else
|
|
601
|
-
prefixlen = mask
|
|
602
|
-
end
|
|
603
|
-
case @family
|
|
604
|
-
when Socket::AF_INET
|
|
605
|
-
if prefixlen < 0 || prefixlen > 32
|
|
606
|
-
raise InvalidPrefixError, "invalid length"
|
|
607
|
-
end
|
|
608
|
-
masklen = 32 - prefixlen
|
|
609
|
-
@mask_addr = ((IN4MASK >> masklen) << masklen)
|
|
610
|
-
when Socket::AF_INET6
|
|
611
|
-
if prefixlen < 0 || prefixlen > 128
|
|
612
|
-
raise InvalidPrefixError, "invalid length"
|
|
613
|
-
end
|
|
614
|
-
masklen = 128 - prefixlen
|
|
615
|
-
@mask_addr = ((IN6MASK >> masklen) << masklen)
|
|
616
|
-
else
|
|
617
|
-
raise AddressFamilyError, "unsupported address family"
|
|
618
|
-
end
|
|
619
|
-
@addr = ((@addr >> masklen) << masklen)
|
|
620
|
-
return self
|
|
621
|
-
end
|
|
622
|
-
|
|
623
|
-
private
|
|
624
|
-
|
|
625
|
-
# Creates a new ipaddr object either from a human readable IP
|
|
626
|
-
# address representation in string, or from a packed in_addr value
|
|
627
|
-
# followed by an address family.
|
|
628
|
-
#
|
|
629
|
-
# In the former case, the following are the valid formats that will
|
|
630
|
-
# be recognized: "address", "address/prefixlen" and "address/mask",
|
|
631
|
-
# where IPv6 address may be enclosed in square brackets (`[' and
|
|
632
|
-
# `]'). If a prefixlen or a mask is specified, it returns a masked
|
|
633
|
-
# IP address. Although the address family is determined
|
|
634
|
-
# automatically from a specified string, you can specify one
|
|
635
|
-
# explicitly by the optional second argument.
|
|
636
|
-
#
|
|
637
|
-
# Otherwise an IP address is generated from a packed in_addr value
|
|
638
|
-
# and an address family.
|
|
639
|
-
#
|
|
640
|
-
# The IPAddr class defines many methods and operators, and some of
|
|
641
|
-
# those, such as &, |, include? and ==, accept a string, or a packed
|
|
642
|
-
# in_addr value instead of an IPAddr object.
|
|
643
|
-
def initialize(addr = '::', family = Socket::AF_UNSPEC)
|
|
644
|
-
@mask_addr = nil
|
|
645
|
-
if !addr.kind_of?(String)
|
|
646
|
-
case family
|
|
647
|
-
when Socket::AF_INET, Socket::AF_INET6
|
|
648
|
-
set(addr.to_i, family)
|
|
649
|
-
@mask_addr = (family == Socket::AF_INET) ? IN4MASK : IN6MASK
|
|
650
|
-
return
|
|
651
|
-
when Socket::AF_UNSPEC
|
|
652
|
-
raise AddressFamilyError, "address family must be specified"
|
|
653
|
-
else
|
|
654
|
-
raise AddressFamilyError, "unsupported address family: #{family}"
|
|
655
|
-
end
|
|
656
|
-
end
|
|
657
|
-
prefix, prefixlen = addr.split('/', 2)
|
|
658
|
-
if prefix =~ /\A\[(.*)\]\z/i
|
|
659
|
-
prefix = $1
|
|
660
|
-
family = Socket::AF_INET6
|
|
661
|
-
end
|
|
662
|
-
if prefix =~ /\A(.*)(%\w+)\z/
|
|
663
|
-
prefix = $1
|
|
664
|
-
zone_id = $2
|
|
665
|
-
family = Socket::AF_INET6
|
|
666
|
-
end
|
|
667
|
-
# It seems AI_NUMERICHOST doesn't do the job.
|
|
668
|
-
#Socket.getaddrinfo(left, nil, Socket::AF_INET6, Socket::SOCK_STREAM, nil,
|
|
669
|
-
# Socket::AI_NUMERICHOST)
|
|
670
|
-
@addr = @family = nil
|
|
671
|
-
if family == Socket::AF_UNSPEC || family == Socket::AF_INET
|
|
672
|
-
@addr = in_addr(prefix)
|
|
673
|
-
if @addr
|
|
674
|
-
@family = Socket::AF_INET
|
|
675
|
-
end
|
|
676
|
-
end
|
|
677
|
-
if !@addr && (family == Socket::AF_UNSPEC || family == Socket::AF_INET6)
|
|
678
|
-
@addr = in6_addr(prefix)
|
|
679
|
-
@family = Socket::AF_INET6
|
|
680
|
-
end
|
|
681
|
-
@zone_id = zone_id
|
|
682
|
-
if family != Socket::AF_UNSPEC && @family != family
|
|
683
|
-
raise AddressFamilyError, "address family mismatch"
|
|
684
|
-
end
|
|
685
|
-
if prefixlen
|
|
686
|
-
mask!(prefixlen)
|
|
687
|
-
else
|
|
688
|
-
@mask_addr = (@family == Socket::AF_INET) ? IN4MASK : IN6MASK
|
|
689
|
-
end
|
|
690
|
-
end
|
|
691
|
-
|
|
692
|
-
def coerce_other(other)
|
|
693
|
-
case other
|
|
694
|
-
when IPAddr
|
|
695
|
-
other
|
|
696
|
-
when String
|
|
697
|
-
self.class.new(other)
|
|
698
|
-
else
|
|
699
|
-
self.class.new(other, @family)
|
|
700
|
-
end
|
|
701
|
-
end
|
|
702
|
-
|
|
703
|
-
def in_addr(addr)
|
|
704
|
-
case addr
|
|
705
|
-
when Array
|
|
706
|
-
octets = addr
|
|
707
|
-
else
|
|
708
|
-
RE_IPV4ADDRLIKE.match?(addr) or return nil
|
|
709
|
-
octets = addr.split('.')
|
|
710
|
-
end
|
|
711
|
-
octets.inject(0) { |i, s|
|
|
712
|
-
(n = s.to_i) < 256 or raise InvalidAddressError, "invalid address: #{@addr}"
|
|
713
|
-
(s != '0') && s.start_with?('0') and raise InvalidAddressError, "zero-filled number in IPv4 address is ambiguous: #{@addr}"
|
|
714
|
-
i << 8 | n
|
|
715
|
-
}
|
|
716
|
-
end
|
|
717
|
-
|
|
718
|
-
def in6_addr(left)
|
|
719
|
-
case left
|
|
720
|
-
when RE_IPV6ADDRLIKE_FULL
|
|
721
|
-
if $2
|
|
722
|
-
addr = in_addr($~[2,4])
|
|
723
|
-
left = $1 + ':'
|
|
724
|
-
else
|
|
725
|
-
addr = 0
|
|
726
|
-
end
|
|
727
|
-
right = ''
|
|
728
|
-
when RE_IPV6ADDRLIKE_COMPRESSED
|
|
729
|
-
if $4
|
|
730
|
-
left.count(':') <= 6 or raise InvalidAddressError, "invalid address: #{@addr}"
|
|
731
|
-
addr = in_addr($~[4,4])
|
|
732
|
-
left = $1
|
|
733
|
-
right = $3 + '0:0'
|
|
734
|
-
else
|
|
735
|
-
left.count(':') <= ($1.empty? || $2.empty? ? 8 : 7) or
|
|
736
|
-
raise InvalidAddressError, "invalid address: #{@addr}"
|
|
737
|
-
left = $1
|
|
738
|
-
right = $2
|
|
739
|
-
addr = 0
|
|
740
|
-
end
|
|
741
|
-
else
|
|
742
|
-
raise InvalidAddressError, "invalid address: #{@addr}"
|
|
743
|
-
end
|
|
744
|
-
l = left.split(':')
|
|
745
|
-
r = right.split(':')
|
|
746
|
-
rest = 8 - l.size - r.size
|
|
747
|
-
if rest < 0
|
|
748
|
-
return nil
|
|
749
|
-
end
|
|
750
|
-
(l + Array.new(rest, '0') + r).inject(0) { |i, s|
|
|
751
|
-
i << 16 | s.hex
|
|
752
|
-
} | addr
|
|
753
|
-
end
|
|
754
|
-
|
|
755
|
-
def addr_mask(addr)
|
|
756
|
-
case @family
|
|
757
|
-
when Socket::AF_INET
|
|
758
|
-
return addr & IN4MASK
|
|
759
|
-
when Socket::AF_INET6
|
|
760
|
-
return addr & IN6MASK
|
|
761
|
-
else
|
|
762
|
-
raise AddressFamilyError, "unsupported address family"
|
|
763
|
-
end
|
|
764
|
-
end
|
|
765
|
-
|
|
766
|
-
def _reverse
|
|
767
|
-
case @family
|
|
768
|
-
when Socket::AF_INET
|
|
769
|
-
return (0..3).map { |i|
|
|
770
|
-
(@addr >> (8 * i)) & 0xff
|
|
771
|
-
}.join('.')
|
|
772
|
-
when Socket::AF_INET6
|
|
773
|
-
return ("%.32x" % @addr).reverse!.gsub!(/.(?!$)/, '\&.')
|
|
774
|
-
else
|
|
775
|
-
raise AddressFamilyError, "unsupported address family"
|
|
776
|
-
end
|
|
777
|
-
end
|
|
778
|
-
|
|
779
|
-
def _to_string(addr)
|
|
780
|
-
case @family
|
|
781
|
-
when Socket::AF_INET
|
|
782
|
-
return (0..3).map { |i|
|
|
783
|
-
(addr >> (24 - 8 * i)) & 0xff
|
|
784
|
-
}.join('.')
|
|
785
|
-
when Socket::AF_INET6
|
|
786
|
-
return (("%.32x" % addr).gsub!(/.{4}(?!$)/, '\&:'))
|
|
787
|
-
else
|
|
788
|
-
raise AddressFamilyError, "unsupported address family"
|
|
789
|
-
end
|
|
790
|
-
end
|
|
791
|
-
|
|
792
|
-
end
|
|
793
|
-
|
|
794
|
-
unless Socket.const_defined? :AF_INET6
|
|
795
|
-
class Socket < BasicSocket
|
|
796
|
-
# IPv6 protocol family
|
|
797
|
-
AF_INET6 = Object.new.freeze
|
|
798
|
-
end
|
|
799
|
-
|
|
800
|
-
class << IPSocket
|
|
801
|
-
private
|
|
802
|
-
|
|
803
|
-
def valid_v6?(addr)
|
|
804
|
-
case addr
|
|
805
|
-
when IPAddr::RE_IPV6ADDRLIKE_FULL
|
|
806
|
-
if $2
|
|
807
|
-
$~[2,4].all? {|i| i.to_i < 256 }
|
|
808
|
-
else
|
|
809
|
-
true
|
|
810
|
-
end
|
|
811
|
-
when IPAddr::RE_IPV6ADDRLIKE_COMPRESSED
|
|
812
|
-
if $4
|
|
813
|
-
addr.count(':') <= 6 && $~[4,4].all? {|i| i.to_i < 256}
|
|
814
|
-
else
|
|
815
|
-
addr.count(':') <= 7
|
|
816
|
-
end
|
|
817
|
-
else
|
|
818
|
-
false
|
|
819
|
-
end
|
|
820
|
-
end
|
|
821
|
-
|
|
822
|
-
alias getaddress_orig getaddress
|
|
823
|
-
|
|
824
|
-
public
|
|
825
|
-
|
|
826
|
-
# Returns a +String+ based representation of a valid DNS hostname,
|
|
827
|
-
# IPv4 or IPv6 address.
|
|
828
|
-
#
|
|
829
|
-
# IPSocket.getaddress 'localhost' #=> "::1"
|
|
830
|
-
# IPSocket.getaddress 'broadcasthost' #=> "255.255.255.255"
|
|
831
|
-
# IPSocket.getaddress 'www.ruby-lang.org' #=> "221.186.184.68"
|
|
832
|
-
# IPSocket.getaddress 'www.ccc.de' #=> "2a00:1328:e102:ccc0::122"
|
|
833
|
-
def getaddress(s)
|
|
834
|
-
if valid_v6?(s)
|
|
835
|
-
s
|
|
836
|
-
else
|
|
837
|
-
getaddress_orig(s)
|
|
838
|
-
end
|
|
839
|
-
end
|
|
840
|
-
end
|
|
841
|
-
end
|