@ai-ecoverse/wasix-ruby 3.4.11-3 → 3.4.11-4
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 +22 -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/expect.rb +71 -0
- package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +1 -1
- package/package.json +8 -6
- 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,1222 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
##
|
|
3
|
-
# A Context is something that can hold modules, classes, methods, attributes,
|
|
4
|
-
# aliases, requires, and includes. Classes, modules, and files are all
|
|
5
|
-
# Contexts.
|
|
6
|
-
|
|
7
|
-
class RDoc::Context < RDoc::CodeObject
|
|
8
|
-
|
|
9
|
-
include Comparable
|
|
10
|
-
|
|
11
|
-
##
|
|
12
|
-
# Types of methods
|
|
13
|
-
|
|
14
|
-
TYPES = %w[class instance]
|
|
15
|
-
|
|
16
|
-
##
|
|
17
|
-
# If a context has these titles it will be sorted in this order.
|
|
18
|
-
|
|
19
|
-
TOMDOC_TITLES = [nil, 'Public', 'Internal', 'Deprecated'] # :nodoc:
|
|
20
|
-
TOMDOC_TITLES_SORT = TOMDOC_TITLES.sort_by { |title| title.to_s } # :nodoc:
|
|
21
|
-
|
|
22
|
-
##
|
|
23
|
-
# Class/module aliases
|
|
24
|
-
|
|
25
|
-
attr_reader :aliases
|
|
26
|
-
|
|
27
|
-
##
|
|
28
|
-
# All attr* methods
|
|
29
|
-
|
|
30
|
-
attr_reader :attributes
|
|
31
|
-
|
|
32
|
-
##
|
|
33
|
-
# Block params to be used in the next MethodAttr parsed under this context
|
|
34
|
-
|
|
35
|
-
attr_accessor :block_params
|
|
36
|
-
|
|
37
|
-
##
|
|
38
|
-
# Constants defined
|
|
39
|
-
|
|
40
|
-
attr_reader :constants
|
|
41
|
-
|
|
42
|
-
##
|
|
43
|
-
# Sets the current documentation section of documentation
|
|
44
|
-
|
|
45
|
-
attr_writer :current_section
|
|
46
|
-
|
|
47
|
-
##
|
|
48
|
-
# Files this context is found in
|
|
49
|
-
|
|
50
|
-
attr_reader :in_files
|
|
51
|
-
|
|
52
|
-
##
|
|
53
|
-
# Modules this context includes
|
|
54
|
-
|
|
55
|
-
attr_reader :includes
|
|
56
|
-
|
|
57
|
-
##
|
|
58
|
-
# Modules this context is extended with
|
|
59
|
-
|
|
60
|
-
attr_reader :extends
|
|
61
|
-
|
|
62
|
-
##
|
|
63
|
-
# Methods defined in this context
|
|
64
|
-
|
|
65
|
-
attr_reader :method_list
|
|
66
|
-
|
|
67
|
-
##
|
|
68
|
-
# Name of this class excluding namespace. See also full_name
|
|
69
|
-
|
|
70
|
-
attr_reader :name
|
|
71
|
-
|
|
72
|
-
##
|
|
73
|
-
# Files this context requires
|
|
74
|
-
|
|
75
|
-
attr_reader :requires
|
|
76
|
-
|
|
77
|
-
##
|
|
78
|
-
# Use this section for the next method, attribute or constant added.
|
|
79
|
-
|
|
80
|
-
attr_accessor :temporary_section
|
|
81
|
-
|
|
82
|
-
##
|
|
83
|
-
# Hash <tt>old_name => [aliases]</tt>, for aliases
|
|
84
|
-
# that haven't (yet) been resolved to a method/attribute.
|
|
85
|
-
# (Not to be confused with the aliases of the context.)
|
|
86
|
-
|
|
87
|
-
attr_accessor :unmatched_alias_lists
|
|
88
|
-
|
|
89
|
-
##
|
|
90
|
-
# Aliases that could not be resolved.
|
|
91
|
-
|
|
92
|
-
attr_reader :external_aliases
|
|
93
|
-
|
|
94
|
-
##
|
|
95
|
-
# Current visibility of this context
|
|
96
|
-
|
|
97
|
-
attr_accessor :visibility
|
|
98
|
-
|
|
99
|
-
##
|
|
100
|
-
# Current visibility of this line
|
|
101
|
-
|
|
102
|
-
attr_writer :current_line_visibility
|
|
103
|
-
|
|
104
|
-
##
|
|
105
|
-
# Hash of registered methods. Attributes are also registered here,
|
|
106
|
-
# twice if they are RW.
|
|
107
|
-
|
|
108
|
-
attr_reader :methods_hash
|
|
109
|
-
|
|
110
|
-
##
|
|
111
|
-
# Params to be used in the next MethodAttr parsed under this context
|
|
112
|
-
|
|
113
|
-
attr_accessor :params
|
|
114
|
-
|
|
115
|
-
##
|
|
116
|
-
# Hash of registered constants.
|
|
117
|
-
|
|
118
|
-
attr_reader :constants_hash
|
|
119
|
-
|
|
120
|
-
##
|
|
121
|
-
# Creates an unnamed empty context with public current visibility
|
|
122
|
-
|
|
123
|
-
def initialize
|
|
124
|
-
super
|
|
125
|
-
|
|
126
|
-
@in_files = []
|
|
127
|
-
|
|
128
|
-
@name ||= "unknown"
|
|
129
|
-
@parent = nil
|
|
130
|
-
@visibility = :public
|
|
131
|
-
|
|
132
|
-
@current_section = Section.new self, nil, nil
|
|
133
|
-
@sections = { nil => @current_section }
|
|
134
|
-
@temporary_section = nil
|
|
135
|
-
|
|
136
|
-
@classes = {}
|
|
137
|
-
@modules = {}
|
|
138
|
-
|
|
139
|
-
initialize_methods_etc
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
##
|
|
143
|
-
# Sets the defaults for methods and so-forth
|
|
144
|
-
|
|
145
|
-
def initialize_methods_etc
|
|
146
|
-
@method_list = []
|
|
147
|
-
@attributes = []
|
|
148
|
-
@aliases = []
|
|
149
|
-
@requires = []
|
|
150
|
-
@includes = []
|
|
151
|
-
@extends = []
|
|
152
|
-
@constants = []
|
|
153
|
-
@external_aliases = []
|
|
154
|
-
@current_line_visibility = nil
|
|
155
|
-
|
|
156
|
-
# This Hash maps a method name to a list of unmatched aliases (aliases of
|
|
157
|
-
# a method not yet encountered).
|
|
158
|
-
@unmatched_alias_lists = {}
|
|
159
|
-
|
|
160
|
-
@methods_hash = {}
|
|
161
|
-
@constants_hash = {}
|
|
162
|
-
|
|
163
|
-
@params = nil
|
|
164
|
-
|
|
165
|
-
@store ||= nil
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
##
|
|
169
|
-
# Contexts are sorted by full_name
|
|
170
|
-
|
|
171
|
-
def <=>(other)
|
|
172
|
-
return nil unless RDoc::CodeObject === other
|
|
173
|
-
|
|
174
|
-
full_name <=> other.full_name
|
|
175
|
-
end
|
|
176
|
-
|
|
177
|
-
##
|
|
178
|
-
# Adds an item of type +klass+ with the given +name+ and +comment+ to the
|
|
179
|
-
# context.
|
|
180
|
-
#
|
|
181
|
-
# Currently only RDoc::Extend and RDoc::Include are supported.
|
|
182
|
-
|
|
183
|
-
def add(klass, name, comment)
|
|
184
|
-
if RDoc::Extend == klass then
|
|
185
|
-
ext = RDoc::Extend.new name, comment
|
|
186
|
-
add_extend ext
|
|
187
|
-
elsif RDoc::Include == klass then
|
|
188
|
-
incl = RDoc::Include.new name, comment
|
|
189
|
-
add_include incl
|
|
190
|
-
else
|
|
191
|
-
raise NotImplementedError, "adding a #{klass} is not implemented"
|
|
192
|
-
end
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
##
|
|
196
|
-
# Adds +an_alias+ that is automatically resolved
|
|
197
|
-
|
|
198
|
-
def add_alias(an_alias)
|
|
199
|
-
return an_alias unless @document_self
|
|
200
|
-
|
|
201
|
-
method_attr = find_method(an_alias.old_name, an_alias.singleton) ||
|
|
202
|
-
find_attribute(an_alias.old_name, an_alias.singleton)
|
|
203
|
-
|
|
204
|
-
if method_attr then
|
|
205
|
-
method_attr.add_alias an_alias, self
|
|
206
|
-
else
|
|
207
|
-
add_to @external_aliases, an_alias
|
|
208
|
-
unmatched_alias_list =
|
|
209
|
-
@unmatched_alias_lists[an_alias.pretty_old_name] ||= []
|
|
210
|
-
unmatched_alias_list.push an_alias
|
|
211
|
-
end
|
|
212
|
-
|
|
213
|
-
an_alias
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
##
|
|
217
|
-
# Adds +attribute+ if not already there. If it is (as method(s) or attribute),
|
|
218
|
-
# updates the comment if it was empty.
|
|
219
|
-
#
|
|
220
|
-
# The attribute is registered only if it defines a new method.
|
|
221
|
-
# For instance, <tt>attr_reader :foo</tt> will not be registered
|
|
222
|
-
# if method +foo+ exists, but <tt>attr_accessor :foo</tt> will be registered
|
|
223
|
-
# if method +foo+ exists, but <tt>foo=</tt> does not.
|
|
224
|
-
|
|
225
|
-
def add_attribute(attribute)
|
|
226
|
-
return attribute unless @document_self
|
|
227
|
-
|
|
228
|
-
# mainly to check for redefinition of an attribute as a method
|
|
229
|
-
# TODO find a policy for 'attr_reader :foo' + 'def foo=()'
|
|
230
|
-
register = false
|
|
231
|
-
|
|
232
|
-
key = nil
|
|
233
|
-
|
|
234
|
-
if attribute.rw.index 'R' then
|
|
235
|
-
key = attribute.pretty_name
|
|
236
|
-
known = @methods_hash[key]
|
|
237
|
-
|
|
238
|
-
if known then
|
|
239
|
-
known.comment = attribute.comment if known.comment.empty?
|
|
240
|
-
elsif registered = @methods_hash[attribute.pretty_name + '='] and
|
|
241
|
-
RDoc::Attr === registered then
|
|
242
|
-
registered.rw = 'RW'
|
|
243
|
-
else
|
|
244
|
-
@methods_hash[key] = attribute
|
|
245
|
-
register = true
|
|
246
|
-
end
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
if attribute.rw.index 'W' then
|
|
250
|
-
key = attribute.pretty_name + '='
|
|
251
|
-
known = @methods_hash[key]
|
|
252
|
-
|
|
253
|
-
if known then
|
|
254
|
-
known.comment = attribute.comment if known.comment.empty?
|
|
255
|
-
elsif registered = @methods_hash[attribute.pretty_name] and
|
|
256
|
-
RDoc::Attr === registered then
|
|
257
|
-
registered.rw = 'RW'
|
|
258
|
-
else
|
|
259
|
-
@methods_hash[key] = attribute
|
|
260
|
-
register = true
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
if register then
|
|
265
|
-
attribute.visibility = @visibility
|
|
266
|
-
add_to @attributes, attribute
|
|
267
|
-
resolve_aliases attribute
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
attribute
|
|
271
|
-
end
|
|
272
|
-
|
|
273
|
-
##
|
|
274
|
-
# Adds a class named +given_name+ with +superclass+.
|
|
275
|
-
#
|
|
276
|
-
# Both +given_name+ and +superclass+ may contain '::', and are
|
|
277
|
-
# interpreted relative to the +self+ context. This allows handling correctly
|
|
278
|
-
# examples like these:
|
|
279
|
-
# class RDoc::Gauntlet < Gauntlet
|
|
280
|
-
# module Mod
|
|
281
|
-
# class Object # implies < ::Object
|
|
282
|
-
# class SubObject < Object # this is _not_ ::Object
|
|
283
|
-
#
|
|
284
|
-
# Given <tt>class Container::Item</tt> RDoc assumes +Container+ is a module
|
|
285
|
-
# unless it later sees <tt>class Container</tt>. +add_class+ automatically
|
|
286
|
-
# upgrades +given_name+ to a class in this case.
|
|
287
|
-
|
|
288
|
-
def add_class(class_type, given_name, superclass = '::Object')
|
|
289
|
-
# superclass +nil+ is passed by the C parser in the following cases:
|
|
290
|
-
# - registering Object in 1.8 (correct)
|
|
291
|
-
# - registering BasicObject in 1.9 (correct)
|
|
292
|
-
# - registering RubyVM in 1.9 in iseq.c (incorrect: < Object in vm.c)
|
|
293
|
-
#
|
|
294
|
-
# If we later find a superclass for a registered class with a nil
|
|
295
|
-
# superclass, we must honor it.
|
|
296
|
-
|
|
297
|
-
# find the name & enclosing context
|
|
298
|
-
if given_name =~ /^:+(\w+)$/ then
|
|
299
|
-
full_name = $1
|
|
300
|
-
enclosing = top_level
|
|
301
|
-
name = full_name.split(/:+/).last
|
|
302
|
-
else
|
|
303
|
-
full_name = child_name given_name
|
|
304
|
-
|
|
305
|
-
if full_name =~ /^(.+)::(\w+)$/ then
|
|
306
|
-
name = $2
|
|
307
|
-
ename = $1
|
|
308
|
-
enclosing = @store.classes_hash[ename] || @store.modules_hash[ename]
|
|
309
|
-
# HACK: crashes in actionpack/lib/action_view/helpers/form_helper.rb (metaprogramming)
|
|
310
|
-
unless enclosing then
|
|
311
|
-
# try the given name at top level (will work for the above example)
|
|
312
|
-
enclosing = @store.classes_hash[given_name] ||
|
|
313
|
-
@store.modules_hash[given_name]
|
|
314
|
-
return enclosing if enclosing
|
|
315
|
-
# not found: create the parent(s)
|
|
316
|
-
names = ename.split('::')
|
|
317
|
-
enclosing = self
|
|
318
|
-
names.each do |n|
|
|
319
|
-
enclosing = enclosing.classes_hash[n] ||
|
|
320
|
-
enclosing.modules_hash[n] ||
|
|
321
|
-
enclosing.add_module(RDoc::NormalModule, n)
|
|
322
|
-
end
|
|
323
|
-
end
|
|
324
|
-
else
|
|
325
|
-
name = full_name
|
|
326
|
-
enclosing = self
|
|
327
|
-
end
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
# fix up superclass
|
|
331
|
-
if full_name == 'BasicObject' then
|
|
332
|
-
superclass = nil
|
|
333
|
-
elsif full_name == 'Object' then
|
|
334
|
-
superclass = '::BasicObject'
|
|
335
|
-
end
|
|
336
|
-
|
|
337
|
-
# find the superclass full name
|
|
338
|
-
if superclass then
|
|
339
|
-
if superclass =~ /^:+/ then
|
|
340
|
-
superclass = $' #'
|
|
341
|
-
else
|
|
342
|
-
if superclass =~ /^(\w+):+(.+)$/ then
|
|
343
|
-
suffix = $2
|
|
344
|
-
mod = find_module_named($1)
|
|
345
|
-
superclass = mod.full_name + '::' + suffix if mod
|
|
346
|
-
else
|
|
347
|
-
mod = find_module_named(superclass)
|
|
348
|
-
superclass = mod.full_name if mod
|
|
349
|
-
end
|
|
350
|
-
end
|
|
351
|
-
|
|
352
|
-
# did we believe it was a module?
|
|
353
|
-
mod = @store.modules_hash.delete superclass
|
|
354
|
-
|
|
355
|
-
upgrade_to_class mod, RDoc::NormalClass, mod.parent if mod
|
|
356
|
-
|
|
357
|
-
# e.g., Object < Object
|
|
358
|
-
superclass = nil if superclass == full_name
|
|
359
|
-
end
|
|
360
|
-
|
|
361
|
-
klass = @store.classes_hash[full_name]
|
|
362
|
-
|
|
363
|
-
if klass then
|
|
364
|
-
# if TopLevel, it may not be registered in the classes:
|
|
365
|
-
enclosing.classes_hash[name] = klass
|
|
366
|
-
|
|
367
|
-
# update the superclass if needed
|
|
368
|
-
if superclass then
|
|
369
|
-
existing = klass.superclass
|
|
370
|
-
existing = existing.full_name unless existing.is_a?(String) if existing
|
|
371
|
-
if existing.nil? ||
|
|
372
|
-
(existing == 'Object' && superclass != 'Object') then
|
|
373
|
-
klass.superclass = superclass
|
|
374
|
-
end
|
|
375
|
-
end
|
|
376
|
-
else
|
|
377
|
-
# this is a new class
|
|
378
|
-
mod = @store.modules_hash.delete full_name
|
|
379
|
-
|
|
380
|
-
if mod then
|
|
381
|
-
klass = upgrade_to_class mod, RDoc::NormalClass, enclosing
|
|
382
|
-
|
|
383
|
-
klass.superclass = superclass unless superclass.nil?
|
|
384
|
-
else
|
|
385
|
-
klass = class_type.new name, superclass
|
|
386
|
-
|
|
387
|
-
enclosing.add_class_or_module(klass, enclosing.classes_hash,
|
|
388
|
-
@store.classes_hash)
|
|
389
|
-
end
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
klass.parent = self
|
|
393
|
-
|
|
394
|
-
klass
|
|
395
|
-
end
|
|
396
|
-
|
|
397
|
-
##
|
|
398
|
-
# Adds the class or module +mod+ to the modules or
|
|
399
|
-
# classes Hash +self_hash+, and to +all_hash+ (either
|
|
400
|
-
# <tt>TopLevel::modules_hash</tt> or <tt>TopLevel::classes_hash</tt>),
|
|
401
|
-
# unless #done_documenting is +true+. Sets the #parent of +mod+
|
|
402
|
-
# to +self+, and its #section to #current_section. Returns +mod+.
|
|
403
|
-
|
|
404
|
-
def add_class_or_module(mod, self_hash, all_hash)
|
|
405
|
-
mod.section = current_section # TODO declaring context? something is
|
|
406
|
-
# wrong here...
|
|
407
|
-
mod.parent = self
|
|
408
|
-
mod.full_name = nil
|
|
409
|
-
mod.store = @store
|
|
410
|
-
|
|
411
|
-
unless @done_documenting then
|
|
412
|
-
self_hash[mod.name] = mod
|
|
413
|
-
# this must be done AFTER adding mod to its parent, so that the full
|
|
414
|
-
# name is correct:
|
|
415
|
-
all_hash[mod.full_name] = mod
|
|
416
|
-
if @store.unmatched_constant_alias[mod.full_name] then
|
|
417
|
-
to, file = @store.unmatched_constant_alias[mod.full_name]
|
|
418
|
-
add_module_alias mod, mod.name, to, file
|
|
419
|
-
end
|
|
420
|
-
end
|
|
421
|
-
|
|
422
|
-
mod
|
|
423
|
-
end
|
|
424
|
-
|
|
425
|
-
##
|
|
426
|
-
# Adds +constant+ if not already there. If it is, updates the comment,
|
|
427
|
-
# value and/or is_alias_for of the known constant if they were empty/nil.
|
|
428
|
-
|
|
429
|
-
def add_constant(constant)
|
|
430
|
-
return constant unless @document_self
|
|
431
|
-
|
|
432
|
-
# HACK: avoid duplicate 'PI' & 'E' in math.c (1.8.7 source code)
|
|
433
|
-
# (this is a #ifdef: should be handled by the C parser)
|
|
434
|
-
known = @constants_hash[constant.name]
|
|
435
|
-
|
|
436
|
-
if known then
|
|
437
|
-
known.comment = constant.comment if known.comment.empty?
|
|
438
|
-
|
|
439
|
-
known.value = constant.value if
|
|
440
|
-
known.value.nil? or known.value.strip.empty?
|
|
441
|
-
|
|
442
|
-
known.is_alias_for ||= constant.is_alias_for
|
|
443
|
-
else
|
|
444
|
-
@constants_hash[constant.name] = constant
|
|
445
|
-
add_to @constants, constant
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
constant
|
|
449
|
-
end
|
|
450
|
-
|
|
451
|
-
##
|
|
452
|
-
# Adds included module +include+ which should be an RDoc::Include
|
|
453
|
-
|
|
454
|
-
def add_include(include)
|
|
455
|
-
add_to @includes, include
|
|
456
|
-
|
|
457
|
-
include
|
|
458
|
-
end
|
|
459
|
-
|
|
460
|
-
##
|
|
461
|
-
# Adds extension module +ext+ which should be an RDoc::Extend
|
|
462
|
-
|
|
463
|
-
def add_extend(ext)
|
|
464
|
-
add_to @extends, ext
|
|
465
|
-
|
|
466
|
-
ext
|
|
467
|
-
end
|
|
468
|
-
|
|
469
|
-
##
|
|
470
|
-
# Adds +method+ if not already there. If it is (as method or attribute),
|
|
471
|
-
# updates the comment if it was empty.
|
|
472
|
-
|
|
473
|
-
def add_method(method)
|
|
474
|
-
return method unless @document_self
|
|
475
|
-
|
|
476
|
-
# HACK: avoid duplicate 'new' in io.c & struct.c (1.8.7 source code)
|
|
477
|
-
key = method.pretty_name
|
|
478
|
-
known = @methods_hash[key]
|
|
479
|
-
|
|
480
|
-
if known then
|
|
481
|
-
if @store then # otherwise we are loading
|
|
482
|
-
known.comment = method.comment if known.comment.empty?
|
|
483
|
-
previously = ", previously in #{known.file}" unless
|
|
484
|
-
method.file == known.file
|
|
485
|
-
@store.options.warn \
|
|
486
|
-
"Duplicate method #{known.full_name} in #{method.file}#{previously}"
|
|
487
|
-
end
|
|
488
|
-
else
|
|
489
|
-
@methods_hash[key] = method
|
|
490
|
-
if @current_line_visibility
|
|
491
|
-
method.visibility, @current_line_visibility = @current_line_visibility, nil
|
|
492
|
-
else
|
|
493
|
-
method.visibility = @visibility
|
|
494
|
-
end
|
|
495
|
-
add_to @method_list, method
|
|
496
|
-
resolve_aliases method
|
|
497
|
-
end
|
|
498
|
-
|
|
499
|
-
method
|
|
500
|
-
end
|
|
501
|
-
|
|
502
|
-
##
|
|
503
|
-
# Adds a module named +name+. If RDoc already knows +name+ is a class then
|
|
504
|
-
# that class is returned instead. See also #add_class.
|
|
505
|
-
|
|
506
|
-
def add_module(class_type, name)
|
|
507
|
-
mod = @classes[name] || @modules[name]
|
|
508
|
-
return mod if mod
|
|
509
|
-
|
|
510
|
-
full_name = child_name name
|
|
511
|
-
mod = @store.modules_hash[full_name] || class_type.new(name)
|
|
512
|
-
|
|
513
|
-
add_class_or_module mod, @modules, @store.modules_hash
|
|
514
|
-
end
|
|
515
|
-
|
|
516
|
-
##
|
|
517
|
-
# Adds a module by +RDoc::NormalModule+ instance. See also #add_module.
|
|
518
|
-
|
|
519
|
-
def add_module_by_normal_module(mod)
|
|
520
|
-
add_class_or_module mod, @modules, @store.modules_hash
|
|
521
|
-
end
|
|
522
|
-
|
|
523
|
-
##
|
|
524
|
-
# Adds an alias from +from+ (a class or module) to +name+ which was defined
|
|
525
|
-
# in +file+.
|
|
526
|
-
|
|
527
|
-
def add_module_alias(from, from_name, to, file)
|
|
528
|
-
return from if @done_documenting
|
|
529
|
-
|
|
530
|
-
to_full_name = child_name to.name
|
|
531
|
-
|
|
532
|
-
# if we already know this name, don't register an alias:
|
|
533
|
-
# see the metaprogramming in lib/active_support/basic_object.rb,
|
|
534
|
-
# where we already know BasicObject is a class when we find
|
|
535
|
-
# BasicObject = BlankSlate
|
|
536
|
-
return from if @store.find_class_or_module to_full_name
|
|
537
|
-
|
|
538
|
-
unless from
|
|
539
|
-
@store.unmatched_constant_alias[child_name(from_name)] = [to, file]
|
|
540
|
-
return to
|
|
541
|
-
end
|
|
542
|
-
|
|
543
|
-
new_to = from.dup
|
|
544
|
-
new_to.name = to.name
|
|
545
|
-
new_to.full_name = nil
|
|
546
|
-
|
|
547
|
-
if new_to.module? then
|
|
548
|
-
@store.modules_hash[to_full_name] = new_to
|
|
549
|
-
@modules[to.name] = new_to
|
|
550
|
-
else
|
|
551
|
-
@store.classes_hash[to_full_name] = new_to
|
|
552
|
-
@classes[to.name] = new_to
|
|
553
|
-
end
|
|
554
|
-
|
|
555
|
-
# Registers a constant for this alias. The constant value and comment
|
|
556
|
-
# will be updated later, when the Ruby parser adds the constant
|
|
557
|
-
const = RDoc::Constant.new to.name, nil, new_to.comment
|
|
558
|
-
const.record_location file
|
|
559
|
-
const.is_alias_for = from
|
|
560
|
-
add_constant const
|
|
561
|
-
|
|
562
|
-
new_to
|
|
563
|
-
end
|
|
564
|
-
|
|
565
|
-
##
|
|
566
|
-
# Adds +require+ to this context's top level
|
|
567
|
-
|
|
568
|
-
def add_require(require)
|
|
569
|
-
return require unless @document_self
|
|
570
|
-
|
|
571
|
-
if RDoc::TopLevel === self then
|
|
572
|
-
add_to @requires, require
|
|
573
|
-
else
|
|
574
|
-
parent.add_require require
|
|
575
|
-
end
|
|
576
|
-
end
|
|
577
|
-
|
|
578
|
-
##
|
|
579
|
-
# Returns a section with +title+, creating it if it doesn't already exist.
|
|
580
|
-
# +comment+ will be appended to the section's comment.
|
|
581
|
-
#
|
|
582
|
-
# A section with a +title+ of +nil+ will return the default section.
|
|
583
|
-
#
|
|
584
|
-
# See also RDoc::Context::Section
|
|
585
|
-
|
|
586
|
-
def add_section(title, comment = nil)
|
|
587
|
-
if section = @sections[title] then
|
|
588
|
-
section.add_comment comment if comment
|
|
589
|
-
else
|
|
590
|
-
section = Section.new self, title, comment
|
|
591
|
-
@sections[title] = section
|
|
592
|
-
end
|
|
593
|
-
|
|
594
|
-
section
|
|
595
|
-
end
|
|
596
|
-
|
|
597
|
-
##
|
|
598
|
-
# Adds +thing+ to the collection +array+
|
|
599
|
-
|
|
600
|
-
def add_to(array, thing)
|
|
601
|
-
array << thing if @document_self
|
|
602
|
-
|
|
603
|
-
thing.parent = self
|
|
604
|
-
thing.store = @store if @store
|
|
605
|
-
thing.section = current_section
|
|
606
|
-
end
|
|
607
|
-
|
|
608
|
-
##
|
|
609
|
-
# Is there any content?
|
|
610
|
-
#
|
|
611
|
-
# This means any of: comment, aliases, methods, attributes, external
|
|
612
|
-
# aliases, require, constant.
|
|
613
|
-
#
|
|
614
|
-
# Includes and extends are also checked unless <tt>includes == false</tt>.
|
|
615
|
-
|
|
616
|
-
def any_content(includes = true)
|
|
617
|
-
@any_content ||= !(
|
|
618
|
-
@comment.empty? &&
|
|
619
|
-
@method_list.empty? &&
|
|
620
|
-
@attributes.empty? &&
|
|
621
|
-
@aliases.empty? &&
|
|
622
|
-
@external_aliases.empty? &&
|
|
623
|
-
@requires.empty? &&
|
|
624
|
-
@constants.empty?
|
|
625
|
-
)
|
|
626
|
-
@any_content || (includes && !(@includes + @extends).empty? )
|
|
627
|
-
end
|
|
628
|
-
|
|
629
|
-
##
|
|
630
|
-
# Creates the full name for a child with +name+
|
|
631
|
-
|
|
632
|
-
def child_name(name)
|
|
633
|
-
if name =~ /^:+/
|
|
634
|
-
$' #'
|
|
635
|
-
elsif RDoc::TopLevel === self then
|
|
636
|
-
name
|
|
637
|
-
else
|
|
638
|
-
"#{self.full_name}::#{name}"
|
|
639
|
-
end
|
|
640
|
-
end
|
|
641
|
-
|
|
642
|
-
##
|
|
643
|
-
# Class attributes
|
|
644
|
-
|
|
645
|
-
def class_attributes
|
|
646
|
-
@class_attributes ||= attributes.select { |a| a.singleton }
|
|
647
|
-
end
|
|
648
|
-
|
|
649
|
-
##
|
|
650
|
-
# Class methods
|
|
651
|
-
|
|
652
|
-
def class_method_list
|
|
653
|
-
@class_method_list ||= method_list.select { |a| a.singleton }
|
|
654
|
-
end
|
|
655
|
-
|
|
656
|
-
##
|
|
657
|
-
# Array of classes in this context
|
|
658
|
-
|
|
659
|
-
def classes
|
|
660
|
-
@classes.values
|
|
661
|
-
end
|
|
662
|
-
|
|
663
|
-
##
|
|
664
|
-
# All classes and modules in this namespace
|
|
665
|
-
|
|
666
|
-
def classes_and_modules
|
|
667
|
-
classes + modules
|
|
668
|
-
end
|
|
669
|
-
|
|
670
|
-
##
|
|
671
|
-
# Hash of classes keyed by class name
|
|
672
|
-
|
|
673
|
-
def classes_hash
|
|
674
|
-
@classes
|
|
675
|
-
end
|
|
676
|
-
|
|
677
|
-
##
|
|
678
|
-
# The current documentation section that new items will be added to. If
|
|
679
|
-
# temporary_section is available it will be used.
|
|
680
|
-
|
|
681
|
-
def current_section
|
|
682
|
-
if section = @temporary_section then
|
|
683
|
-
@temporary_section = nil
|
|
684
|
-
else
|
|
685
|
-
section = @current_section
|
|
686
|
-
end
|
|
687
|
-
|
|
688
|
-
section
|
|
689
|
-
end
|
|
690
|
-
|
|
691
|
-
def display(method_attr) # :nodoc:
|
|
692
|
-
if method_attr.is_a? RDoc::Attr
|
|
693
|
-
"#{method_attr.definition} #{method_attr.pretty_name}"
|
|
694
|
-
else
|
|
695
|
-
"method #{method_attr.pretty_name}"
|
|
696
|
-
end
|
|
697
|
-
end
|
|
698
|
-
|
|
699
|
-
##
|
|
700
|
-
# Iterator for ancestors for duck-typing. Does nothing. See
|
|
701
|
-
# RDoc::ClassModule#each_ancestor.
|
|
702
|
-
#
|
|
703
|
-
# This method exists to make it easy to work with Context subclasses that
|
|
704
|
-
# aren't part of RDoc.
|
|
705
|
-
|
|
706
|
-
def each_ancestor(&_) # :nodoc:
|
|
707
|
-
end
|
|
708
|
-
|
|
709
|
-
##
|
|
710
|
-
# Iterator for classes and modules
|
|
711
|
-
|
|
712
|
-
def each_classmodule(&block) # :yields: module
|
|
713
|
-
classes_and_modules.sort.each(&block)
|
|
714
|
-
end
|
|
715
|
-
|
|
716
|
-
##
|
|
717
|
-
# Iterator for methods
|
|
718
|
-
|
|
719
|
-
def each_method # :yields: method
|
|
720
|
-
return enum_for __method__ unless block_given?
|
|
721
|
-
|
|
722
|
-
@method_list.sort.each { |m| yield m }
|
|
723
|
-
end
|
|
724
|
-
|
|
725
|
-
##
|
|
726
|
-
# Iterator for each section's contents sorted by title. The +section+, the
|
|
727
|
-
# section's +constants+ and the sections +attributes+ are yielded. The
|
|
728
|
-
# +constants+ and +attributes+ collections are sorted.
|
|
729
|
-
#
|
|
730
|
-
# To retrieve methods in a section use #methods_by_type with the optional
|
|
731
|
-
# +section+ parameter.
|
|
732
|
-
#
|
|
733
|
-
# NOTE: Do not edit collections yielded by this method
|
|
734
|
-
|
|
735
|
-
def each_section # :yields: section, constants, attributes
|
|
736
|
-
return enum_for __method__ unless block_given?
|
|
737
|
-
|
|
738
|
-
constants = @constants.group_by do |constant| constant.section end
|
|
739
|
-
attributes = @attributes.group_by do |attribute| attribute.section end
|
|
740
|
-
|
|
741
|
-
constants.default = []
|
|
742
|
-
attributes.default = []
|
|
743
|
-
|
|
744
|
-
sort_sections.each do |section|
|
|
745
|
-
yield section, constants[section].select(&:display?).sort, attributes[section].select(&:display?).sort
|
|
746
|
-
end
|
|
747
|
-
end
|
|
748
|
-
|
|
749
|
-
##
|
|
750
|
-
# Finds an attribute +name+ with singleton value +singleton+.
|
|
751
|
-
|
|
752
|
-
def find_attribute(name, singleton)
|
|
753
|
-
name = $1 if name =~ /^(.*)=$/
|
|
754
|
-
@attributes.find { |a| a.name == name && a.singleton == singleton }
|
|
755
|
-
end
|
|
756
|
-
|
|
757
|
-
##
|
|
758
|
-
# Finds an attribute with +name+ in this context
|
|
759
|
-
|
|
760
|
-
def find_attribute_named(name)
|
|
761
|
-
case name
|
|
762
|
-
when /\A#/ then
|
|
763
|
-
find_attribute name[1..-1], false
|
|
764
|
-
when /\A::/ then
|
|
765
|
-
find_attribute name[2..-1], true
|
|
766
|
-
else
|
|
767
|
-
@attributes.find { |a| a.name == name }
|
|
768
|
-
end
|
|
769
|
-
end
|
|
770
|
-
|
|
771
|
-
##
|
|
772
|
-
# Finds a class method with +name+ in this context
|
|
773
|
-
|
|
774
|
-
def find_class_method_named(name)
|
|
775
|
-
@method_list.find { |meth| meth.singleton && meth.name == name }
|
|
776
|
-
end
|
|
777
|
-
|
|
778
|
-
##
|
|
779
|
-
# Finds a constant with +name+ in this context
|
|
780
|
-
|
|
781
|
-
def find_constant_named(name)
|
|
782
|
-
@constants.find do |m|
|
|
783
|
-
m.name == name || m.full_name == name
|
|
784
|
-
end
|
|
785
|
-
end
|
|
786
|
-
|
|
787
|
-
##
|
|
788
|
-
# Find a module at a higher scope
|
|
789
|
-
|
|
790
|
-
def find_enclosing_module_named(name)
|
|
791
|
-
parent && parent.find_module_named(name)
|
|
792
|
-
end
|
|
793
|
-
|
|
794
|
-
##
|
|
795
|
-
# Finds an external alias +name+ with singleton value +singleton+.
|
|
796
|
-
|
|
797
|
-
def find_external_alias(name, singleton)
|
|
798
|
-
@external_aliases.find { |m| m.name == name && m.singleton == singleton }
|
|
799
|
-
end
|
|
800
|
-
|
|
801
|
-
##
|
|
802
|
-
# Finds an external alias with +name+ in this context
|
|
803
|
-
|
|
804
|
-
def find_external_alias_named(name)
|
|
805
|
-
case name
|
|
806
|
-
when /\A#/ then
|
|
807
|
-
find_external_alias name[1..-1], false
|
|
808
|
-
when /\A::/ then
|
|
809
|
-
find_external_alias name[2..-1], true
|
|
810
|
-
else
|
|
811
|
-
@external_aliases.find { |a| a.name == name }
|
|
812
|
-
end
|
|
813
|
-
end
|
|
814
|
-
|
|
815
|
-
##
|
|
816
|
-
# Finds an instance method with +name+ in this context
|
|
817
|
-
|
|
818
|
-
def find_instance_method_named(name)
|
|
819
|
-
@method_list.find { |meth| !meth.singleton && meth.name == name }
|
|
820
|
-
end
|
|
821
|
-
|
|
822
|
-
##
|
|
823
|
-
# Finds a method, constant, attribute, external alias, module or file
|
|
824
|
-
# named +symbol+ in this context.
|
|
825
|
-
|
|
826
|
-
def find_local_symbol(symbol)
|
|
827
|
-
find_method_named(symbol) or
|
|
828
|
-
find_constant_named(symbol) or
|
|
829
|
-
find_attribute_named(symbol) or
|
|
830
|
-
find_external_alias_named(symbol) or
|
|
831
|
-
find_module_named(symbol) or
|
|
832
|
-
@store.find_file_named(symbol)
|
|
833
|
-
end
|
|
834
|
-
|
|
835
|
-
##
|
|
836
|
-
# Finds a method named +name+ with singleton value +singleton+.
|
|
837
|
-
|
|
838
|
-
def find_method(name, singleton)
|
|
839
|
-
@method_list.find { |m|
|
|
840
|
-
if m.singleton
|
|
841
|
-
m.name == name && m.singleton == singleton
|
|
842
|
-
else
|
|
843
|
-
m.name == name && !m.singleton && !singleton
|
|
844
|
-
end
|
|
845
|
-
}
|
|
846
|
-
end
|
|
847
|
-
|
|
848
|
-
##
|
|
849
|
-
# Finds a instance or module method with +name+ in this context
|
|
850
|
-
|
|
851
|
-
def find_method_named(name)
|
|
852
|
-
case name
|
|
853
|
-
when /\A#/ then
|
|
854
|
-
find_method name[1..-1], false
|
|
855
|
-
when /\A::/ then
|
|
856
|
-
find_method name[2..-1], true
|
|
857
|
-
else
|
|
858
|
-
@method_list.find { |meth| meth.name == name }
|
|
859
|
-
end
|
|
860
|
-
end
|
|
861
|
-
|
|
862
|
-
##
|
|
863
|
-
# Find a module with +name+ using ruby's scoping rules
|
|
864
|
-
|
|
865
|
-
def find_module_named(name)
|
|
866
|
-
res = @modules[name] || @classes[name]
|
|
867
|
-
return res if res
|
|
868
|
-
return self if self.name == name
|
|
869
|
-
find_enclosing_module_named name
|
|
870
|
-
end
|
|
871
|
-
|
|
872
|
-
##
|
|
873
|
-
# Look up +symbol+, first as a module, then as a local symbol.
|
|
874
|
-
|
|
875
|
-
def find_symbol(symbol)
|
|
876
|
-
find_symbol_module(symbol) || find_local_symbol(symbol)
|
|
877
|
-
end
|
|
878
|
-
|
|
879
|
-
##
|
|
880
|
-
# Look up a module named +symbol+.
|
|
881
|
-
|
|
882
|
-
def find_symbol_module(symbol)
|
|
883
|
-
result = nil
|
|
884
|
-
|
|
885
|
-
# look for a class or module 'symbol'
|
|
886
|
-
case symbol
|
|
887
|
-
when /^::/ then
|
|
888
|
-
result = @store.find_class_or_module symbol
|
|
889
|
-
when /^(\w+):+(.+)$/
|
|
890
|
-
suffix = $2
|
|
891
|
-
top = $1
|
|
892
|
-
searched = self
|
|
893
|
-
while searched do
|
|
894
|
-
mod = searched.find_module_named(top)
|
|
895
|
-
break unless mod
|
|
896
|
-
result = @store.find_class_or_module "#{mod.full_name}::#{suffix}"
|
|
897
|
-
break if result || searched.is_a?(RDoc::TopLevel)
|
|
898
|
-
searched = searched.parent
|
|
899
|
-
end
|
|
900
|
-
else
|
|
901
|
-
searched = self
|
|
902
|
-
while searched do
|
|
903
|
-
result = searched.find_module_named(symbol)
|
|
904
|
-
break if result || searched.is_a?(RDoc::TopLevel)
|
|
905
|
-
searched = searched.parent
|
|
906
|
-
end
|
|
907
|
-
end
|
|
908
|
-
|
|
909
|
-
result
|
|
910
|
-
end
|
|
911
|
-
|
|
912
|
-
##
|
|
913
|
-
# The full name for this context. This method is overridden by subclasses.
|
|
914
|
-
|
|
915
|
-
def full_name
|
|
916
|
-
'(unknown)'
|
|
917
|
-
end
|
|
918
|
-
|
|
919
|
-
##
|
|
920
|
-
# Does this context and its methods and constants all have documentation?
|
|
921
|
-
#
|
|
922
|
-
# (Yes, fully documented doesn't mean everything.)
|
|
923
|
-
|
|
924
|
-
def fully_documented?
|
|
925
|
-
documented? and
|
|
926
|
-
attributes.all? { |a| a.documented? } and
|
|
927
|
-
method_list.all? { |m| m.documented? } and
|
|
928
|
-
constants.all? { |c| c.documented? }
|
|
929
|
-
end
|
|
930
|
-
|
|
931
|
-
##
|
|
932
|
-
# URL for this with a +prefix+
|
|
933
|
-
|
|
934
|
-
def http_url
|
|
935
|
-
path = name_for_path
|
|
936
|
-
path = path.gsub(/<<\s*(\w*)/, 'from-\1') if path =~ /<</
|
|
937
|
-
path = path.split('::')
|
|
938
|
-
|
|
939
|
-
File.join(*path.compact) + '.html'
|
|
940
|
-
end
|
|
941
|
-
|
|
942
|
-
##
|
|
943
|
-
# Instance attributes
|
|
944
|
-
|
|
945
|
-
def instance_attributes
|
|
946
|
-
@instance_attributes ||= attributes.reject { |a| a.singleton }
|
|
947
|
-
end
|
|
948
|
-
|
|
949
|
-
##
|
|
950
|
-
# Instance methods
|
|
951
|
-
|
|
952
|
-
def instance_methods
|
|
953
|
-
@instance_methods ||= method_list.reject { |a| a.singleton }
|
|
954
|
-
end
|
|
955
|
-
|
|
956
|
-
##
|
|
957
|
-
# Instance methods
|
|
958
|
-
#--
|
|
959
|
-
# TODO remove this later
|
|
960
|
-
|
|
961
|
-
def instance_method_list
|
|
962
|
-
warn '#instance_method_list is obsoleted, please use #instance_methods'
|
|
963
|
-
@instance_methods ||= method_list.reject { |a| a.singleton }
|
|
964
|
-
end
|
|
965
|
-
|
|
966
|
-
##
|
|
967
|
-
# Breaks method_list into a nested hash by type (<tt>'class'</tt> or
|
|
968
|
-
# <tt>'instance'</tt>) and visibility (+:public+, +:protected+, +:private+).
|
|
969
|
-
#
|
|
970
|
-
# If +section+ is provided only methods in that RDoc::Context::Section will
|
|
971
|
-
# be returned.
|
|
972
|
-
|
|
973
|
-
def methods_by_type(section = nil)
|
|
974
|
-
methods = {}
|
|
975
|
-
|
|
976
|
-
TYPES.each do |type|
|
|
977
|
-
visibilities = {}
|
|
978
|
-
RDoc::VISIBILITIES.each do |vis|
|
|
979
|
-
visibilities[vis] = []
|
|
980
|
-
end
|
|
981
|
-
|
|
982
|
-
methods[type] = visibilities
|
|
983
|
-
end
|
|
984
|
-
|
|
985
|
-
each_method do |method|
|
|
986
|
-
next if section and not method.section == section
|
|
987
|
-
methods[method.type][method.visibility] << method
|
|
988
|
-
end
|
|
989
|
-
|
|
990
|
-
methods
|
|
991
|
-
end
|
|
992
|
-
|
|
993
|
-
##
|
|
994
|
-
# Yields AnyMethod and Attr entries matching the list of names in +methods+.
|
|
995
|
-
|
|
996
|
-
def methods_matching(methods, singleton = false, &block)
|
|
997
|
-
(@method_list + @attributes).each do |m|
|
|
998
|
-
yield m if methods.include?(m.name) and m.singleton == singleton
|
|
999
|
-
end
|
|
1000
|
-
|
|
1001
|
-
each_ancestor do |parent|
|
|
1002
|
-
parent.methods_matching(methods, singleton, &block)
|
|
1003
|
-
end
|
|
1004
|
-
end
|
|
1005
|
-
|
|
1006
|
-
##
|
|
1007
|
-
# Array of modules in this context
|
|
1008
|
-
|
|
1009
|
-
def modules
|
|
1010
|
-
@modules.values
|
|
1011
|
-
end
|
|
1012
|
-
|
|
1013
|
-
##
|
|
1014
|
-
# Hash of modules keyed by module name
|
|
1015
|
-
|
|
1016
|
-
def modules_hash
|
|
1017
|
-
@modules
|
|
1018
|
-
end
|
|
1019
|
-
|
|
1020
|
-
##
|
|
1021
|
-
# Name to use to generate the url.
|
|
1022
|
-
# <tt>#full_name</tt> by default.
|
|
1023
|
-
|
|
1024
|
-
def name_for_path
|
|
1025
|
-
full_name
|
|
1026
|
-
end
|
|
1027
|
-
|
|
1028
|
-
##
|
|
1029
|
-
# Changes the visibility for new methods to +visibility+
|
|
1030
|
-
|
|
1031
|
-
def ongoing_visibility=(visibility)
|
|
1032
|
-
@visibility = visibility
|
|
1033
|
-
end
|
|
1034
|
-
|
|
1035
|
-
##
|
|
1036
|
-
# Record +top_level+ as a file +self+ is in.
|
|
1037
|
-
|
|
1038
|
-
def record_location(top_level)
|
|
1039
|
-
@in_files << top_level unless @in_files.include?(top_level)
|
|
1040
|
-
end
|
|
1041
|
-
|
|
1042
|
-
##
|
|
1043
|
-
# Should we remove this context from the documentation?
|
|
1044
|
-
#
|
|
1045
|
-
# The answer is yes if:
|
|
1046
|
-
# * #received_nodoc is +true+
|
|
1047
|
-
# * #any_content is +false+ (not counting includes)
|
|
1048
|
-
# * All #includes are modules (not a string), and their module has
|
|
1049
|
-
# <tt>#remove_from_documentation? == true</tt>
|
|
1050
|
-
# * All classes and modules have <tt>#remove_from_documentation? == true</tt>
|
|
1051
|
-
|
|
1052
|
-
def remove_from_documentation?
|
|
1053
|
-
@remove_from_documentation ||=
|
|
1054
|
-
@received_nodoc &&
|
|
1055
|
-
!any_content(false) &&
|
|
1056
|
-
@includes.all? { |i| !i.module.is_a?(String) && i.module.remove_from_documentation? } &&
|
|
1057
|
-
classes_and_modules.all? { |cm| cm.remove_from_documentation? }
|
|
1058
|
-
end
|
|
1059
|
-
|
|
1060
|
-
##
|
|
1061
|
-
# Removes methods and attributes with a visibility less than +min_visibility+.
|
|
1062
|
-
#--
|
|
1063
|
-
# TODO mark the visibility of attributes in the template (if not public?)
|
|
1064
|
-
|
|
1065
|
-
def remove_invisible(min_visibility)
|
|
1066
|
-
return if [:private, :nodoc].include? min_visibility
|
|
1067
|
-
remove_invisible_in @method_list, min_visibility
|
|
1068
|
-
remove_invisible_in @attributes, min_visibility
|
|
1069
|
-
remove_invisible_in @constants, min_visibility
|
|
1070
|
-
end
|
|
1071
|
-
|
|
1072
|
-
##
|
|
1073
|
-
# Only called when min_visibility == :public or :private
|
|
1074
|
-
|
|
1075
|
-
def remove_invisible_in(array, min_visibility) # :nodoc:
|
|
1076
|
-
if min_visibility == :public then
|
|
1077
|
-
array.reject! { |e|
|
|
1078
|
-
e.visibility != :public and not e.force_documentation
|
|
1079
|
-
}
|
|
1080
|
-
else
|
|
1081
|
-
array.reject! { |e|
|
|
1082
|
-
e.visibility == :private and not e.force_documentation
|
|
1083
|
-
}
|
|
1084
|
-
end
|
|
1085
|
-
end
|
|
1086
|
-
|
|
1087
|
-
##
|
|
1088
|
-
# Tries to resolve unmatched aliases when a method or attribute has just
|
|
1089
|
-
# been added.
|
|
1090
|
-
|
|
1091
|
-
def resolve_aliases(added)
|
|
1092
|
-
# resolve any pending unmatched aliases
|
|
1093
|
-
key = added.pretty_name
|
|
1094
|
-
unmatched_alias_list = @unmatched_alias_lists[key]
|
|
1095
|
-
return unless unmatched_alias_list
|
|
1096
|
-
unmatched_alias_list.each do |unmatched_alias|
|
|
1097
|
-
added.add_alias unmatched_alias, self
|
|
1098
|
-
@external_aliases.delete unmatched_alias
|
|
1099
|
-
end
|
|
1100
|
-
@unmatched_alias_lists.delete key
|
|
1101
|
-
end
|
|
1102
|
-
|
|
1103
|
-
##
|
|
1104
|
-
# Returns RDoc::Context::Section objects referenced in this context for use
|
|
1105
|
-
# in a table of contents.
|
|
1106
|
-
|
|
1107
|
-
def section_contents
|
|
1108
|
-
used_sections = {}
|
|
1109
|
-
|
|
1110
|
-
each_method do |method|
|
|
1111
|
-
next unless method.display?
|
|
1112
|
-
|
|
1113
|
-
used_sections[method.section] = true
|
|
1114
|
-
end
|
|
1115
|
-
|
|
1116
|
-
# order found sections
|
|
1117
|
-
sections = sort_sections.select do |section|
|
|
1118
|
-
used_sections[section]
|
|
1119
|
-
end
|
|
1120
|
-
|
|
1121
|
-
# only the default section is used
|
|
1122
|
-
return [] if
|
|
1123
|
-
sections.length == 1 and not sections.first.title
|
|
1124
|
-
|
|
1125
|
-
sections
|
|
1126
|
-
end
|
|
1127
|
-
|
|
1128
|
-
##
|
|
1129
|
-
# Sections in this context
|
|
1130
|
-
|
|
1131
|
-
def sections
|
|
1132
|
-
@sections.values
|
|
1133
|
-
end
|
|
1134
|
-
|
|
1135
|
-
def sections_hash # :nodoc:
|
|
1136
|
-
@sections
|
|
1137
|
-
end
|
|
1138
|
-
|
|
1139
|
-
##
|
|
1140
|
-
# Sets the current section to a section with +title+. See also #add_section
|
|
1141
|
-
|
|
1142
|
-
def set_current_section(title, comment)
|
|
1143
|
-
@current_section = add_section title, comment
|
|
1144
|
-
end
|
|
1145
|
-
|
|
1146
|
-
##
|
|
1147
|
-
# Given an array +methods+ of method names, set the visibility of each to
|
|
1148
|
-
# +visibility+
|
|
1149
|
-
|
|
1150
|
-
def set_visibility_for(methods, visibility, singleton = false)
|
|
1151
|
-
methods_matching methods, singleton do |m|
|
|
1152
|
-
m.visibility = visibility
|
|
1153
|
-
end
|
|
1154
|
-
end
|
|
1155
|
-
|
|
1156
|
-
##
|
|
1157
|
-
# Given an array +names+ of constants, set the visibility of each constant to
|
|
1158
|
-
# +visibility+
|
|
1159
|
-
|
|
1160
|
-
def set_constant_visibility_for(names, visibility)
|
|
1161
|
-
names.each do |name|
|
|
1162
|
-
constant = @constants_hash[name] or next
|
|
1163
|
-
constant.visibility = visibility
|
|
1164
|
-
end
|
|
1165
|
-
end
|
|
1166
|
-
|
|
1167
|
-
##
|
|
1168
|
-
# Sorts sections alphabetically (default) or in TomDoc fashion (none,
|
|
1169
|
-
# Public, Internal, Deprecated)
|
|
1170
|
-
|
|
1171
|
-
def sort_sections
|
|
1172
|
-
titles = @sections.map { |title, _| title }
|
|
1173
|
-
|
|
1174
|
-
if titles.length > 1 and
|
|
1175
|
-
TOMDOC_TITLES_SORT ==
|
|
1176
|
-
(titles | TOMDOC_TITLES).sort_by { |title| title.to_s } then
|
|
1177
|
-
@sections.values_at(*TOMDOC_TITLES).compact
|
|
1178
|
-
else
|
|
1179
|
-
@sections.sort_by { |title, _|
|
|
1180
|
-
title.to_s
|
|
1181
|
-
}.map { |_, section|
|
|
1182
|
-
section
|
|
1183
|
-
}
|
|
1184
|
-
end
|
|
1185
|
-
end
|
|
1186
|
-
|
|
1187
|
-
def to_s # :nodoc:
|
|
1188
|
-
"#{self.class.name} #{self.full_name}"
|
|
1189
|
-
end
|
|
1190
|
-
|
|
1191
|
-
##
|
|
1192
|
-
# Return the TopLevel that owns us
|
|
1193
|
-
#--
|
|
1194
|
-
# FIXME we can be 'owned' by several TopLevel (see #record_location &
|
|
1195
|
-
# #in_files)
|
|
1196
|
-
|
|
1197
|
-
def top_level
|
|
1198
|
-
return @top_level if defined? @top_level
|
|
1199
|
-
@top_level = self
|
|
1200
|
-
@top_level = @top_level.parent until RDoc::TopLevel === @top_level
|
|
1201
|
-
@top_level
|
|
1202
|
-
end
|
|
1203
|
-
|
|
1204
|
-
##
|
|
1205
|
-
# Upgrades NormalModule +mod+ in +enclosing+ to a +class_type+
|
|
1206
|
-
|
|
1207
|
-
def upgrade_to_class(mod, class_type, enclosing)
|
|
1208
|
-
enclosing.modules_hash.delete mod.name
|
|
1209
|
-
|
|
1210
|
-
klass = RDoc::ClassModule.from_module class_type, mod
|
|
1211
|
-
klass.store = @store
|
|
1212
|
-
|
|
1213
|
-
# if it was there, then we keep it even if done_documenting
|
|
1214
|
-
@store.classes_hash[mod.full_name] = klass
|
|
1215
|
-
enclosing.classes_hash[mod.name] = klass
|
|
1216
|
-
|
|
1217
|
-
klass
|
|
1218
|
-
end
|
|
1219
|
-
|
|
1220
|
-
autoload :Section, "#{__dir__}/context/section"
|
|
1221
|
-
|
|
1222
|
-
end
|