direct7 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundle/config +2 -0
- data/.gitignore +15 -0
- data/.idea/.gitignore +8 -0
- data/.idea/direct7-ruby-sdk.iml +8 -0
- data/.idea/inspectionProfiles/Project_Default.xml +50 -0
- data/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- data/.idea/misc.xml +7 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.yardoc/checksums +10 -0
- data/.yardoc/complete +0 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +58 -0
- data/LICENSE +21 -0
- data/README.md +222 -0
- data/Rakefile +10 -0
- data/VERSION +1 -0
- data/direct7-0.0.10.gem +0 -0
- data/direct7-0.0.9.gem +0 -0
- data/direct7.gemspec +28 -0
- data/doc/Direct7/AuthenticationError.html +1 -1
- data/doc/Direct7/BadRequest.html +1 -1
- data/doc/Direct7/Client.html +1 -1
- data/doc/Direct7/ClientError.html +1 -1
- data/doc/Direct7/InsufficientCreditError.html +1 -1
- data/doc/Direct7/NUMBER_LOOKUP.html +1 -1
- data/doc/Direct7/NotFoundError.html +1 -1
- data/doc/Direct7/SLACK.html +1 -1
- data/doc/Direct7/SMS.html +1 -1
- data/doc/Direct7/ServerError.html +1 -1
- data/doc/Direct7/VERIFY.html +1 -1
- data/doc/Direct7/VIBER.html +1 -1
- data/doc/Direct7/ValidationError.html +1 -1
- data/doc/Direct7/WHATSAPP.html +1 -1
- data/doc/Direct7.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +13 -3
- data/doc/index.html +13 -3
- data/doc/top-level-namespace.html +1 -1
- data/test/test.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/bin/bundle +29 -0
- data/vendor/bundle/ruby/2.7.0/bin/bundler +29 -0
- data/vendor/bundle/ruby/2.7.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/yard +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/yardoc +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/yri +27 -0
- data/vendor/bundle/ruby/2.7.0/cache/addressable-2.8.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler-2.4.21.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/connection_pool-2.4.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/domain_name-0.5.20190701.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/ffi-1.16.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/ffi-compiler-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/http-5.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/http-cookie-1.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/http-form_data-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/json-2.6.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/llhttp-ffi-0.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/minitest-5.20.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/net-http-persistent-4.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/public_suffix-5.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rake-13.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/unf-0.1.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/unf_ext-0.0.8.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/yard-0.9.34.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/ffi-1.16.3/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/ffi-1.16.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/ffi-1.16.3/gem_make.out +164 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/ffi-1.16.3/mkmf.log +155 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/json-2.6.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/json-2.6.3/gem_make.out +13 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/json-2.6.3/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/json-2.6.3/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/json-2.6.3/mkmf.log +120 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/llhttp-ffi-0.4.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/llhttp-ffi-0.4.0/gem_make.out +8 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8.2/gem_make.out +16 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8.2/mkmf.log +35 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8.2/unf_ext.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/CHANGELOG.md +291 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/Gemfile +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/README.md +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/Rakefile +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable/idna/native.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable/idna/pure.rb +505 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable/idna.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable/template.rb +1029 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable/uri.rb +2591 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable/version.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/addressable/idna_spec.rb +302 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/addressable/net_http_compat_spec.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/addressable/security_spec.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/addressable/template_spec.rb +1264 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/addressable/uri_spec.rb +6840 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/spec_helper.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/clobber.rake +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/gem.rake +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/git.rake +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/metrics.rake +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/profile.rake +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/rspec.rake +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/yard.rake +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/CHANGELOG.md +4645 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/LICENSE.md +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/README.md +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/bundler.gemspec +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/exe/bundle +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/exe/bundler +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/.document +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/build_metadata.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/capistrano.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/add.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/binstubs.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/cache.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/check.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/clean.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/common.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/config.rb +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/console.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/doctor.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/exec.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/fund.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/gem.rb +463 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/info.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/init.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/inject.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/install.rb +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/issue.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/list.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/lock.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/open.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/outdated.rb +297 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/platform.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/plugin.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/pristine.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/remove.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/show.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/update.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli/viz.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/cli.rb +894 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/compact_index_client/cache.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/compact_index_client/gem_parser.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/compact_index_client/updater.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/compact_index_client.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/constants.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/current_ruby.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/definition.rb +978 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/dependency.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/deployment.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/deprecate.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/digest.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/dsl.rb +583 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/endpoint_specification.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/env.rb +150 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/environment_preserver.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/errors.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/feature_flag.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/fetcher/base.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/fetcher/compact_index.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/fetcher/dependency.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/fetcher/downloader.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/fetcher/index.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/fetcher.rb +321 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/force_platform.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/friendly_errors.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/gem_helper.rb +237 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/gem_helpers.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/gem_tasks.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/gem_version_promoter.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/graph.rb +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/index.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/injector.rb +287 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/inline.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/installer/gem_installer.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/installer/standalone.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/installer.rb +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/lazy_specification.rb +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/lockfile_generator.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/lockfile_parser.rb +218 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/.document +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-add.1 +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-add.1.ronn +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-binstubs.1 +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-binstubs.1.ronn +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-cache.1 +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-cache.1.ronn +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-check.1 +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-check.1.ronn +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-clean.1 +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-clean.1.ronn +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-config.1 +512 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-config.1.ronn +405 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-console.1 +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-console.1.ronn +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-doctor.1 +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-doctor.1.ronn +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-exec.1 +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-exec.1.ronn +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-gem.1 +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-gem.1.ronn +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-help.1 +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-help.1.ronn +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-info.1 +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-info.1.ronn +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1 +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-init.1.ronn +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-inject.1 +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-inject.1.ronn +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-install.1 +313 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-install.1.ronn +382 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-list.1 +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-list.1.ronn +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-lock.1 +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-lock.1.ronn +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-open.1 +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-open.1.ronn +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-outdated.1 +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-outdated.1.ronn +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-platform.1 +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-platform.1.ronn +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-plugin.1 +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-plugin.1.ronn +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-pristine.1 +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-pristine.1.ronn +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-remove.1 +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-remove.1.ronn +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-show.1 +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-show.1.ronn +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-update.1 +394 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-update.1.ronn +351 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-version.1 +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-version.1.ronn +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-viz.1 +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle-viz.1.ronn +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle.1 +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/bundle.1.ronn +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/gemfile.5 +747 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/gemfile.5.ronn +548 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/man/index.txt +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/match_metadata.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/match_platform.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/match_remote_metadata.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/mirror.rb +221 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/api/source.rb +320 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/api.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/dsl.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/events.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/index.rb +185 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/installer/git.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/installer/rubygems.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/installer.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/source_list.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin.rb +352 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/process_lock.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/remote_specification.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/resolver/base.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/resolver/candidate.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/resolver/incompatibility.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/resolver/package.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/resolver/root.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/resolver/spec_group.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/resolver.rb +462 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/retry.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/ruby_dsl.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/ruby_version.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/rubygems_ext.rb +355 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/rubygems_gem_installer.rb +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/rubygems_integration.rb +562 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/runtime.rb +307 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/safe_marshal.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/self_manager.rb +170 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/settings/validator.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/settings.rb +568 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/setup.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/shared_helpers.rb +358 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/similarity_detector.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/gemspec.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/git/git_proxy.rb +447 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/git.rb +379 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/metadata.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/path/installer.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/path.rb +260 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/rubygems/remote.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/rubygems.rb +509 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source/rubygems_aggregate.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source_list.rb +227 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/source_map.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/spec_set.rb +216 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/stub_specification.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/.document +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/Executable +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/Executable.bundler +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/Executable.standalone +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/Gemfile +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/Cargo.toml.tt +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/Gemfile.tt +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/LICENSE.txt.tt +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/README.md.tt +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/Rakefile.tt +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/bin/console.tt +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/bin/setup.tt +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/circleci/config.yml.tt +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/exe/newgem.tt +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/gitignore.tt +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/newgem.gemspec.tt +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/rspec.tt +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/rubocop.yml.tt +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/standard.yml.tt +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/ui/rg_proxy.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/ui/shell.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/ui/silent.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/ui.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/uri_credentials_filter.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/uri_normalizer.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/.document +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/connection_pool/LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/fileutils/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/fileutils/lib/fileutils.rb +2706 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1073 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +411 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +375 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/actions.rb +340 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/base.rb +699 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/command.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/error.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/group.rb +281 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +179 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/parser/option.rb +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/parser/options.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/runner.rb +325 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +512 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/shell/color.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/shell/html.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/shell.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/util.rb +284 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor.rb +516 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/tsort/lib/tsort.rb +452 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/common.rb +729 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/file.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/generic.rb +1587 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/http.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +539 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/ws.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri/wss.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/uri/lib/uri.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendored_fileutils.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendored_persistent.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendored_pub_grub.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendored_thor.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendored_tsort.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendored_uri.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/version.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vlad.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/worker.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/yaml_serializer.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler.rb +662 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/Changes.md +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/README.md +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/connection_pool.gemspec +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/lib/connection_pool/timed_stack.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/lib/connection_pool/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/connection_pool-2.4.1/lib/connection_pool.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/.document +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/.gitignore +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/.travis.yml +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/CHANGELOG.md +219 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/LICENSE.txt +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/README.md +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/Rakefile +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/data/public_suffix_list.dat +12985 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/domain_name.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/lib/domain_name/etld_data.rb +8787 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/lib/domain_name/etld_data.rb.erb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/lib/domain_name/punycode.rb +283 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/lib/domain_name/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/lib/domain_name.rb +297 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/test/helper.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/test/test_domain_name-punycode.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/test/test_domain_name.rb +317 -0
- data/vendor/bundle/ruby/2.7.0/gems/domain_name-0.5.20190701/tool/gen_etld_data.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/CHANGELOG.md +414 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/COPYING +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/Gemfile +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/LICENSE +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/README.md +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/Rakefile +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/AbstractMemory.c +1128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/AbstractMemory.h +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ArrayType.c +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ArrayType.h +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Buffer.c +417 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Call.c +498 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Call.h +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ClosurePool.c +333 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ClosurePool.h +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/DynamicLibrary.c +397 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/DynamicLibrary.h +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Function.c +1063 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Function.h +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/FunctionInfo.c +322 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/LastError.c +243 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/LastError.h +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/LongDouble.c +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/LongDouble.h +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +268 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MappedType.c +211 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MappedType.h +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MemoryPointer.c +219 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MemoryPointer.h +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MethodHandle.c +350 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MethodHandle.h +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Platform.c +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Platform.h +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Pointer.c +546 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Pointer.h +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Struct.c +897 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Struct.h +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/StructByValue.c +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/StructByValue.h +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/StructLayout.c +769 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Thread.c +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Thread.h +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Type.c +447 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Type.h +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Types.c +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Types.h +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Variadic.c +345 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/compat.h +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/extconf.h +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/extconf.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ffi.c +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.appveyor/site.exp +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.appveyor/unix-noexec.exp +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.appveyor.yml +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/ar-lib +270 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/bfin-sim.exp +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/build-cross-in-container.sh +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/build-in-container.sh +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/build.sh +124 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/compile +351 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/install.sh +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/m32r-sim.exp +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/moxie-sim.exp +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/msvs-detect +1103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/or1k-sim.exp +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/powerpc-eabisim.exp +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/site.exp +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/wine-sim.exp +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.circleci/config.yml +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.gitattributes +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.github/issue_template.md +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.github/workflows/build.yml +460 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.github/workflows/emscripten.yml +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.gitignore +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/ChangeLog.old +7407 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +353 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/Makefile.am +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/README.md +526 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/acinclude.m4 +377 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/autogen.sh +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/config.guess +1754 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/config.sub +1892 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/configure.ac +451 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/configure.host +337 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/doc/Makefile.am +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/doc/libffi.texi +1046 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +312 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/ffi.h.in +527 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/ffi_cfi.h +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/ffi_common.h +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/tramp.h +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libffi.map.in +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libffi.pc.in +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +997 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libtool-ldflags +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_append_flag.m4 +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_configure_args.m4 +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_prepend_flag.m4 +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/make_sunver.pl +333 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi.3 +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvcc.sh +353 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/ffi.c +1129 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/ffitarget.h +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/internal.h +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/sysv.S +543 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arc/arcompact.S +210 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arc/ffi.c +443 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arc/ffitarget.h +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/ffi.c +921 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/internal.h +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/sysv.S +456 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/closures.c +1107 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/debug.c +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/dlmalloc.c +5171 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/ffi.c +616 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/unix.S +585 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/loongarch64/ffi.c +621 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/loongarch64/ffitarget.h +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/loongarch64/sysv.S +327 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m32r/ffi.c +249 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/ffi.c +1309 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/ffitarget.h +251 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/n32.S +772 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/o32.S +561 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/moxie/ffi.c +310 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/or1k/ffi.c +341 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/ffi.c +673 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/ffi64.c +614 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/ffitarget.h +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/hpux32.S +417 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/hpux64.S +681 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/linux.S +427 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi.c +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1452 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1153 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffitarget.h +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/linux64.S +293 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +566 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/sysv.S +173 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/t-aix +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/prep_cif.c +283 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/raw_api.c +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/riscv/ffi.c +514 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/riscv/ffitarget.h +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/riscv/sysv.S +293 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/internal.h +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/ffi64.c +624 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tile/tile.S +360 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tramp.c +716 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/types.c +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/wasm32/ffi.c +934 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/wasm32/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffi.c +832 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffi64.c +950 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffitarget.h +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffiw64.c +361 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/internal.h +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/internal64.h +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/sysv.S +1272 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/sysv_intel.S +998 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/unix64.S +711 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/win64.S +254 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/win64_intel.S +238 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/xtensa/ffi.c +306 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/xtensa/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/xtensa/sysv.S +268 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/stamp-h.in +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/Makefile.am +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/build-tests.sh +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/build.sh +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/conftest.py +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/node-tests.sh +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/test.html +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/test_libffi.py +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/lib/libffi.exp +682 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1746 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +747 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/bpo_38748.c +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc_tc.c +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/s55.c +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_2.c +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3.c +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3f.c +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4.c +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4f.c +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_big.c +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_small.c +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_2H.c +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_8H.c +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_2.c +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_3.c +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +148 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +343 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct12.c +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct13.c +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs1.c +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs2.c +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs3.c +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +148 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +124 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/.libs/libffi.a +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/.libs/libffi.la +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/.libs/libffi.lai +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/.libs/libffi_convenience.a +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/.libs/libffi_convenience.la +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/Makefile +2127 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/a.out +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/config.log +1588 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/config.status +2407 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/doc/Makefile +818 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/fficonfig.h +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/include/Makefile +609 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/include/ffi.h +527 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/include/ffitarget.h +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/libffi.la +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/libffi.pc +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/libffi_convenience.la +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/libtool +12114 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/local.exp +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/man/Makefile +565 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/.deps/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/closures.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/closures.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/java_raw_api.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/java_raw_api.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/prep_cif.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/prep_cif.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/raw_api.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/raw_api.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/tramp.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/tramp.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/types.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/types.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/.deps/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/ffi64.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/ffi64.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/ffiw64.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/ffiw64.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/unix64.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/unix64.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/win64.lo +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/src/x86/win64.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/stamp-h1 +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x86_64-linux/testsuite/Makefile +664 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi.bsd.mk +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi.darwin.mk +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi.gnu.mk +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi.mk +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/rbffi.h +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ffi.gemspec +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/abstract_memory.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/autopointer.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/compat.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/data_converter.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/dynamic_library.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/enum.rb +303 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/ffi.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/function.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/library.rb +576 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/library_path.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/aarch64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/arm-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/hppa1.1-linux/types.conf +178 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/hppa2.0-linux/types.conf +178 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/i386-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/loongarch64-linux/types.conf +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/powerpc-linux/types.conf +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/sparcv9-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/sw_64-linux/types.conf +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform/x86_64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/platform.rb +187 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/pointer.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/struct.rb +317 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/struct_by_reference.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/struct_layout.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/tools/const_generator.rb +232 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/tools/generator.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/tools/generator_task.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/tools/struct_generator.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/tools/types_generator.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/types.rb +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/variadic.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/rakelib/ffi_gem_helper.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/hello.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/hello_ractor.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/pty.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/qsort.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/samples/qsort_ractor.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/Gemfile +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/LICENSE +202 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/README.md +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/Rakefile +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/ffi-compiler.gemspec +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/compile_task.rb +243 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/export_task.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/exporter.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/fake_ffi/ffi-compiler/loader.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/fake_ffi/ffi.rb +282 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/loader.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/platform.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/task.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.github/workflows/ci.yml +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.gitignore +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.rspec +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.rubocop/layout.yml +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.rubocop/style.yml +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.rubocop.yml +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.rubocop_todo.yml +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/.yardopts +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/CHANGES.md +1002 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/CONTRIBUTING.md +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/Gemfile +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/Guardfile +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/README.md +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/Rakefile +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/SECURITY.md +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/http.gemspec +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/chainable.rb +257 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/client.rb +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/connection.rb +227 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/content_type.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/errors.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/feature.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/features/auto_deflate.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/features/auto_inflate.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/features/instrumentation.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/features/logging.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/features/normalize_uri.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/headers/known.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/headers/mixin.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/headers.rb +250 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/mime_type/adapter.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/mime_type/json.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/mime_type.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/options.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/redirector.rb +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/request/body.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/request/writer.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/request.rb +249 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/response/body.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/response/inflater.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/response/parser.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/response/status/reasons.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/response/status.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/response.rb +192 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/timeout/global.rb +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/timeout/null.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/timeout/per_operation.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/uri.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/lib/http.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/logo.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/client_spec.rb +555 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/connection_spec.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/content_type_spec.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/features/auto_deflate_spec.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/features/auto_inflate_spec.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/features/instrumentation_spec.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/features/logging_spec.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/headers/mixin_spec.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/headers_spec.rb +527 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/body_spec.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/features_spec.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/form_spec.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/headers_spec.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/json_spec.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/merge_spec.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/new_spec.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options/proxy_spec.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/options_spec.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/redirector_spec.rb +529 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/request/body_spec.rb +211 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/request/writer_spec.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/request_spec.rb +234 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/response/body_spec.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/response/parser_spec.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/response/status_spec.rb +253 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/response_spec.rb +262 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http/uri_spec.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/lib/http_spec.rb +489 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/regression_specs.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/spec_helper.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/black_hole.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/capture_warning.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/dummy_server/servlet.rb +190 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/dummy_server.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/fakeio.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/fuubar.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/http_handling_shared.rb +190 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/proxy_server.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/servers/config.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/servers/runner.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/simplecov.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-5.1.1/spec/support/ssl_helper.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/.github/workflows/ci.yml +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/.gitignore +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/CHANGELOG.md +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/LICENSE.txt +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/README.md +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/Rakefile +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/http-cookie.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie/ruby_compat.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie/scanner.rb +231 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie.rb +685 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie_jar/abstract_saver.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie_jar/abstract_store.rb +124 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie_jar/cookiestxt_saver.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie_jar/hash_store.rb +161 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie_jar/mozilla_store.rb +581 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie_jar/yaml_saver.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http/cookie_jar.rb +344 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/lib/http-cookie.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/test/helper.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/test/mechanize.yml +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/test/simplecov_start.rb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/test/test_http_cookie.rb +1134 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-cookie-1.0.5/test/test_http_cookie_jar.rb +988 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/.editorconfig +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/.gitignore +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/.rspec +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/.rubocop.yml +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/.travis.yml +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/.yardopts +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/CHANGES.md +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/Gemfile +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/Guardfile +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/README.md +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/Rakefile +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/appveyor.yml +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/http-form_data.gemspec +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/composite_io.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/file.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/multipart/param.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/multipart.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/part.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/readable.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/urlencoded.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data/version.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/lib/http/form_data.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/fixtures/expected-multipart-body.tpl +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/fixtures/the-http-gem.info +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/lib/http/form_data/composite_io_spec.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/lib/http/form_data/file_spec.rb +217 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/lib/http/form_data/multipart_spec.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/lib/http/form_data/part_spec.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/lib/http/form_data/urlencoded_spec.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/lib/http/form_data_spec.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/spec_helper.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/http-form_data-2.3.0/spec/support/fixtures_helper.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/CHANGES.md +457 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/LICENSE +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/README.md +425 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/VERSION +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/Makefile +202 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/generator.c +1608 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/generator.h +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/extconf.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/parser.c +3347 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/parser.h +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/parser.rl +986 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/ext/json/extconf.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/json.gemspec +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/complex.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/rational.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/set.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/common.rb +703 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/pure/generator.rb +479 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/pure/parser.rb +337 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/json-2.6.3/lib/json.rb +583 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/CHANGELOG.md +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/LICENSE +353 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/README.md +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/Rakefile +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/llhttp/api.c +392 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/llhttp/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/llhttp/http.c +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/llhttp/llhttp.c +14949 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/llhttp/llhttp.h +587 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/llhttp/llhttp_ext.c +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/x86_64-linux/libllhttp-ext.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/x86_64-linux/llhttp/api.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/x86_64-linux/llhttp/http.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/x86_64-linux/llhttp/llhttp.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/ext/x86_64-linux/llhttp/llhttp_ext.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/delegate.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/error.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/parser.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/version.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/.autotest +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/History.rdoc +1529 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/Manifest.txt +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/README.rdoc +832 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/Rakefile +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/hoe/minitest.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/assertions.rb +858 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/expectations.rb +321 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/mock.rb +327 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/spec.rb +349 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/test.rb +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/test_task.rb +302 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest/unit.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/minitest.rb +1121 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/test_minitest_assertions.rb +1701 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/test_minitest_mock.rb +1146 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/test_minitest_reporter.rb +341 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/test_minitest_spec.rb +1146 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/test_minitest_test.rb +1282 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/test/minitest/test_minitest_test_task.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/.autotest +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/.gemtest +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/Gemfile +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/History.txt +442 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/Manifest.txt +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/README.rdoc +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/Rakefile +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent/connection.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent/pool.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent.rb +1095 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/test/test_net_http_persistent.rb +1458 -0
- data/vendor/bundle/ruby/2.7.0/gems/net-http-persistent-4.0.2/test/test_net_http_persistent_timed_stack_multi.rb +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.github/FUNDING.yml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.github/dependabot.yml +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.github/workflows/psl-update.yml +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.github/workflows/release.yml +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.github/workflows/tests.yml +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.gitignore +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.rubocop.yml +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.rubocop_opinionated.yml +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/.yardopts +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/CHANGELOG.md +444 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/Gemfile +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/README.md +224 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/Rakefile +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/SECURITY.md +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/bin/console +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/data/list.txt +13827 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/lib/public_suffix/version.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/lib/public_suffix.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/public_suffix.gemspec +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/.empty +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/acceptance_test.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/psl_test.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/test_helper.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/tests.txt +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/unit/domain_test.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/unit/errors_test.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/unit/list_test.rb +241 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/unit/public_suffix_test.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-5.0.3/test/unit/rule_test.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/History.rdoc +2403 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/application.rb +855 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/file_task.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/file_utils.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/rake.gemspec +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/.gitignore +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/.travis.yml +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/CHANGELOG.md +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/LICENSE +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/Rakefile +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/lib/unf/normalizer.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/lib/unf/normalizer_cruby.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/lib/unf/normalizer_jruby.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/lib/unf/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/lib/unf.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/test/helper.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/test/normalization-test.txt +108816 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/test/test_unf.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/unf.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/.document +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/.github/workflows/unf_ext.yml +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/.gitignore +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/CHANGELOG.md +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/README.md +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/Rakefile +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/extconf.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf/normalizer.hh +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf/table.hh +13617 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf/trie/char_stream.hh +150 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf/trie/node.hh +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf/trie/searcher.hh +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf/util.hh +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf.cc +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext/unf.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/lib/unf_ext/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/lib/unf_ext.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/test/helper.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/test/normalization-test.txt +112332 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/test/test_unf_ext.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/unf_ext.gemspec +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/.yardopts +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/.yardopts_guide +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/.yardopts_i18n +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/CHANGELOG.md +877 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/LEGAL +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/LICENSE +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/README.md +325 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/bin/yard +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/bin/yardoc +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/bin/yri +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/CodeObjects.md +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/GettingStarted.md +679 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/Handlers.md +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/Overview.md +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/Parser.md +191 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/Tags.md +283 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/TagsArch.md +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/Templates.md +496 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/WhatsNew.md +1245 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/templates/default/fulldoc/html/full_list_tag.erb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/templates/default/layout/html/setup.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/templates/default/yard_tags/html/setup.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/docs/templates/plugin.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/rubygems_plugin.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/autoload.rb +309 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/command.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/command_parser.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/config.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/diff.rb +273 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/display.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/gems.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/graph.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/help.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/i18n.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/list.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/markup_types.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/server.rb +266 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/stats.rb +234 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/yardoc.rb +791 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/yardopts_command.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/cli/yri.rb +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/base.rb +625 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/class_object.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/class_variable_object.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/constant_object.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/extended_method_object.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/extra_file_object.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/macro_object.rb +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/method_object.rb +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/module_object.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/namespace_mapper.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/namespace_object.rb +200 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/proxy.rb +245 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/code_objects/root_object.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/config.rb +274 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/core_ext/array.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/core_ext/file.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/core_ext/hash.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/core_ext/insertion.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/core_ext/module.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/core_ext/string.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/core_ext/symbol_hash.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/docstring.rb +386 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/docstring_parser.rb +345 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/gem_index.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/globals.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/base.rb +595 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/alias_handler.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/base.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/class_handler.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/constant_handler.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/handler_methods.rb +212 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/init_handler.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/method_handler.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/mixin_handler.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/module_handler.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/override_comment_handler.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/path_handler.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/struct_handler.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/c/symbol_handler.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/common/method_handler.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/processor.rb +200 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/alias_handler.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/attribute_handler.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/base.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/class_condition_handler.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/class_handler.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/class_variable_handler.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/comment_handler.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/constant_handler.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/decorator_handler_methods.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/dsl_handler.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/dsl_handler_methods.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/exception_handler.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/extend_handler.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/alias_handler.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/attribute_handler.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/base.rb +245 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/class_handler.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/comment_handler.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/constant_handler.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/dsl_handler.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/exception_handler.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/extend_handler.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/method_handler.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/module_function_handler.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/module_handler.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/visibility_handler.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/legacy/yield_handler.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/method_condition_handler.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/method_handler.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/mixin_handler.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/module_function_handler.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/module_handler.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/private_class_method_handler.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/private_constant_handler.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/public_class_method_handler.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/struct_handler_methods.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/visibility_handler.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/handlers/ruby/yield_handler.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/i18n/locale.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/i18n/message.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/i18n/messages.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/i18n/po_parser.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/i18n/pot_generator.rb +290 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/i18n/text.rb +173 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/logging.rb +205 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/options.rb +217 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/base.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/c/c_parser.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/c/comment_parser.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/c/statement.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/ast_node.rb +558 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/legacy/irb/slex.rb +276 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/legacy/ruby_lex.rb +1345 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/legacy/ruby_parser.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/legacy/statement.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/legacy/statement_list.rb +394 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/legacy/token_list.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/ruby_parser.rb +707 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/ruby/token_resolver.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/parser/source_parser.rb +526 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rake/yardoc_task.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/registry.rb +439 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/registry_resolver.rb +218 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/registry_store.rb +342 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/backports/gem.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/backports/source_index.rb +365 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/backports.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/doc_manager.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/hook.rb +197 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/rubygems/specification.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/serializers/base.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/serializers/file_system_serializer.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/serializers/stdout_serializer.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/serializers/yardoc_serializer.rb +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/base.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/display_file_command.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/display_object_command.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/frames_command.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/library_command.rb +187 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/library_index_command.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/list_command.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/root_request_command.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/search_command.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/static_file_command.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/commands/static_file_helpers.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/doc_server_helper.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/doc_server_serializer.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/http_utils.rb +512 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/library_version.rb +277 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/rack_adapter.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/router.rb +187 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/static_caching.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/fulldoc/html/css/custom.css +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/layout/html/breadcrumb.erb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/layout/html/script_setup.erb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/layout/html/setup.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/default/method_details/html/setup.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/library_list/html/headers.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/library_list/html/listing.erb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/library_list/html/setup.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/processing/html/processing.erb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/processing/html/setup.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/templates/doc_server/search/html/setup.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server/webrick_adapter.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/server.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/default_factory.rb +191 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/default_tag.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/directives.rb +625 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/library.rb +633 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/option_tag.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/overload_tag.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/ref_tag.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/ref_tag_list.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/tag.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/tag_format_error.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/tags/types_explainer.rb +162 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/engine.rb +186 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/erb_cache.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/base_helper.rb +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/filter_helper.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/html_helper.rb +673 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/markup/rdoc_markdown.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/markup/rdoc_markup.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/markup_helper.rb +173 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/method_helper.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/module_helper.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/text_helper.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/helpers/uml_helper.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/section.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/template.rb +420 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/templates/template_options.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/verifier.rb +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard/version.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/lib/yard.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/po/ja.po +31108 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/dot/setup.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/setup.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/text/setup.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/constant/text/setup.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/setup.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/css/full_list.css +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/css/style.css +497 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/frames.erb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/full_list.erb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/full_list_file.erb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/full_list_method.erb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/js/app.js +314 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/js/full_list.js +216 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/fulldoc/html/setup.rb +241 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/dot/setup.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/breadcrumb.erb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/headers.erb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/layout.erb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/script_setup.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/search.erb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/layout/html/setup.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method/html/header.erb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method/setup.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method/text/header.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method_details/setup.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/method_details/text/setup.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/dot/setup.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/box_info.erb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/children.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/constant_summary.erb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/header.erb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/setup.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/text/children.erb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/text/header.erb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/text/setup.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/onefile/html/headers.erb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/onefile/html/setup.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/root/dot/setup.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/root/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/html/example.erb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/html/option.erb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/setup.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/class/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/docstring/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/fulldoc/html/setup.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/layout/html/setup.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/method/html/setup.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/module/html/setup.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/onefile/html/setup.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/guide/tags/html/setup.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/specifications/addressable-2.8.5.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/specifications/bundler-2.4.21.gemspec +25 -0
- data/vendor/bundle/ruby/2.7.0/specifications/connection_pool-2.4.1.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/domain_name-0.5.20190701.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/ffi-1.16.3.gemspec +43 -0
- data/vendor/bundle/ruby/2.7.0/specifications/ffi-compiler-1.0.1.gemspec +38 -0
- data/vendor/bundle/ruby/2.7.0/specifications/http-5.1.1.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/http-cookie-1.0.5.gemspec +44 -0
- data/vendor/bundle/ruby/2.7.0/specifications/http-form_data-2.3.0.gemspec +20 -0
- data/vendor/bundle/ruby/2.7.0/specifications/json-2.6.3.gemspec +0 -0
- data/vendor/bundle/ruby/2.7.0/specifications/llhttp-ffi-0.4.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/minitest-5.20.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.7.0/specifications/net-http-persistent-4.0.2.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/specifications/public_suffix-5.0.3.gemspec +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rake-13.1.0.gemspec +26 -0
- data/vendor/bundle/ruby/2.7.0/specifications/unf-0.1.4.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/unf_ext-0.0.8.2.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/specifications/yard-0.9.34.gemspec +23 -0
- data/vendor/bundle/ruby/3.0.0/bin/rake +29 -0
- data/vendor/bundle/ruby/3.0.0/cache/connection_pool-2.4.1.gem +0 -0
- data/vendor/bundle/ruby/3.0.0/cache/minitest-5.20.0.gem +0 -0
- data/vendor/bundle/ruby/3.0.0/cache/net-http-persistent-4.0.2.gem +0 -0
- data/vendor/bundle/ruby/3.0.0/cache/rake-13.1.0.gem +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/Changes.md +157 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/README.md +135 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/connection_pool.gemspec +24 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/lib/connection_pool/timed_stack.rb +174 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/lib/connection_pool/version.rb +3 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/lib/connection_pool/wrapper.rb +56 -0
- data/vendor/bundle/ruby/3.0.0/gems/connection_pool-2.4.1/lib/connection_pool.rb +175 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/.autotest +34 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/History.rdoc +1529 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/Manifest.txt +29 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/README.rdoc +832 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/Rakefile +75 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/hoe/minitest.rb +28 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/assertions.rb +858 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/expectations.rb +321 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/mock.rb +327 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/spec.rb +349 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/test.rb +248 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/test_task.rb +302 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest/unit.rb +42 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/minitest.rb +1121 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/test_minitest_assertions.rb +1701 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/test_minitest_mock.rb +1146 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/test_minitest_reporter.rb +341 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/test_minitest_spec.rb +1146 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/test_minitest_test.rb +1282 -0
- data/vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/test/minitest/test_minitest_test_task.rb +46 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/.autotest +9 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/.gemtest +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/Gemfile +14 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/History.txt +442 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/Manifest.txt +13 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/README.rdoc +82 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/Rakefile +25 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent/connection.rb +41 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent/pool.rb +65 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/lib/net/http/persistent.rb +1095 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/test/test_net_http_persistent.rb +1458 -0
- data/vendor/bundle/ruby/3.0.0/gems/net-http-persistent-4.0.2/test/test_net_http_persistent_timed_stack_multi.rb +151 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/History.rdoc +2403 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/exe/rake +27 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/application.rb +855 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/file_task.rb +58 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/file_utils.rb +132 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/rake.gemspec +101 -0
- data/vendor/bundle/ruby/3.0.0/specifications/connection_pool-2.4.1.gemspec +36 -0
- data/vendor/bundle/ruby/3.0.0/specifications/minitest-5.20.0.gemspec +38 -0
- data/vendor/bundle/ruby/3.0.0/specifications/net-http-persistent-4.0.2.gemspec +35 -0
- data/vendor/bundle/ruby/3.0.0/specifications/rake-13.1.0.gemspec +26 -0
- metadata +2097 -3
@@ -0,0 +1,2591 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
#--
|
4
|
+
# Copyright (C) Bob Aman
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#++
|
18
|
+
|
19
|
+
|
20
|
+
require "addressable/version"
|
21
|
+
require "addressable/idna"
|
22
|
+
require "public_suffix"
|
23
|
+
|
24
|
+
##
|
25
|
+
# Addressable is a library for processing links and URIs.
|
26
|
+
module Addressable
|
27
|
+
##
|
28
|
+
# This is an implementation of a URI parser based on
|
29
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>,
|
30
|
+
# <a href="http://www.ietf.org/rfc/rfc3987.txt">RFC 3987</a>.
|
31
|
+
class URI
|
32
|
+
##
|
33
|
+
# Raised if something other than a uri is supplied.
|
34
|
+
class InvalidURIError < StandardError
|
35
|
+
end
|
36
|
+
|
37
|
+
##
|
38
|
+
# Container for the character classes specified in
|
39
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>.
|
40
|
+
#
|
41
|
+
# Note: Concatenated and interpolated `String`s are not affected by the
|
42
|
+
# `frozen_string_literal` directive and must be frozen explicitly.
|
43
|
+
#
|
44
|
+
# Interpolated `String`s *were* frozen this way before Ruby 3.0:
|
45
|
+
# https://bugs.ruby-lang.org/issues/17104
|
46
|
+
module CharacterClasses
|
47
|
+
ALPHA = "a-zA-Z"
|
48
|
+
DIGIT = "0-9"
|
49
|
+
GEN_DELIMS = "\\:\\/\\?\\#\\[\\]\\@"
|
50
|
+
SUB_DELIMS = "\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\="
|
51
|
+
RESERVED = (GEN_DELIMS + SUB_DELIMS).freeze
|
52
|
+
UNRESERVED = (ALPHA + DIGIT + "\\-\\.\\_\\~").freeze
|
53
|
+
PCHAR = (UNRESERVED + SUB_DELIMS + "\\:\\@").freeze
|
54
|
+
SCHEME = (ALPHA + DIGIT + "\\-\\+\\.").freeze
|
55
|
+
HOST = (UNRESERVED + SUB_DELIMS + "\\[\\:\\]").freeze
|
56
|
+
AUTHORITY = (PCHAR + "\\[\\]").freeze
|
57
|
+
PATH = (PCHAR + "\\/").freeze
|
58
|
+
QUERY = (PCHAR + "\\/\\?").freeze
|
59
|
+
FRAGMENT = (PCHAR + "\\/\\?").freeze
|
60
|
+
end
|
61
|
+
|
62
|
+
module NormalizeCharacterClasses
|
63
|
+
HOST = /[^#{CharacterClasses::HOST}]/
|
64
|
+
UNRESERVED = /[^#{CharacterClasses::UNRESERVED}]/
|
65
|
+
PCHAR = /[^#{CharacterClasses::PCHAR}]/
|
66
|
+
SCHEME = /[^#{CharacterClasses::SCHEME}]/
|
67
|
+
FRAGMENT = /[^#{CharacterClasses::FRAGMENT}]/
|
68
|
+
QUERY = %r{[^a-zA-Z0-9\-\.\_\~\!\$\'\(\)\*\+\,\=\:\@\/\?%]|%(?!2B|2b)}
|
69
|
+
end
|
70
|
+
|
71
|
+
SLASH = '/'
|
72
|
+
EMPTY_STR = ''
|
73
|
+
|
74
|
+
URIREGEX = /^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/
|
75
|
+
|
76
|
+
PORT_MAPPING = {
|
77
|
+
"http" => 80,
|
78
|
+
"https" => 443,
|
79
|
+
"ftp" => 21,
|
80
|
+
"tftp" => 69,
|
81
|
+
"sftp" => 22,
|
82
|
+
"ssh" => 22,
|
83
|
+
"svn+ssh" => 22,
|
84
|
+
"telnet" => 23,
|
85
|
+
"nntp" => 119,
|
86
|
+
"gopher" => 70,
|
87
|
+
"wais" => 210,
|
88
|
+
"ldap" => 389,
|
89
|
+
"prospero" => 1525
|
90
|
+
}.freeze
|
91
|
+
|
92
|
+
##
|
93
|
+
# Returns a URI object based on the parsed string.
|
94
|
+
#
|
95
|
+
# @param [String, Addressable::URI, #to_str] uri
|
96
|
+
# The URI string to parse.
|
97
|
+
# No parsing is performed if the object is already an
|
98
|
+
# <code>Addressable::URI</code>.
|
99
|
+
#
|
100
|
+
# @return [Addressable::URI] The parsed URI.
|
101
|
+
def self.parse(uri)
|
102
|
+
# If we were given nil, return nil.
|
103
|
+
return nil unless uri
|
104
|
+
# If a URI object is passed, just return itself.
|
105
|
+
return uri.dup if uri.kind_of?(self)
|
106
|
+
|
107
|
+
# If a URI object of the Ruby standard library variety is passed,
|
108
|
+
# convert it to a string, then parse the string.
|
109
|
+
# We do the check this way because we don't want to accidentally
|
110
|
+
# cause a missing constant exception to be thrown.
|
111
|
+
if uri.class.name =~ /^URI\b/
|
112
|
+
uri = uri.to_s
|
113
|
+
end
|
114
|
+
|
115
|
+
# Otherwise, convert to a String
|
116
|
+
begin
|
117
|
+
uri = uri.to_str
|
118
|
+
rescue TypeError, NoMethodError
|
119
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
120
|
+
end unless uri.is_a?(String)
|
121
|
+
|
122
|
+
# This Regexp supplied as an example in RFC 3986, and it works great.
|
123
|
+
scan = uri.scan(URIREGEX)
|
124
|
+
fragments = scan[0]
|
125
|
+
scheme = fragments[1]
|
126
|
+
authority = fragments[3]
|
127
|
+
path = fragments[4]
|
128
|
+
query = fragments[6]
|
129
|
+
fragment = fragments[8]
|
130
|
+
user = nil
|
131
|
+
password = nil
|
132
|
+
host = nil
|
133
|
+
port = nil
|
134
|
+
if authority != nil
|
135
|
+
# The Regexp above doesn't split apart the authority.
|
136
|
+
userinfo = authority[/^([^\[\]]*)@/, 1]
|
137
|
+
if userinfo != nil
|
138
|
+
user = userinfo.strip[/^([^:]*):?/, 1]
|
139
|
+
password = userinfo.strip[/:(.*)$/, 1]
|
140
|
+
end
|
141
|
+
|
142
|
+
host = authority.sub(
|
143
|
+
/^([^\[\]]*)@/, EMPTY_STR
|
144
|
+
).sub(
|
145
|
+
/:([^:@\[\]]*?)$/, EMPTY_STR
|
146
|
+
)
|
147
|
+
|
148
|
+
port = authority[/:([^:@\[\]]*?)$/, 1]
|
149
|
+
port = nil if port == EMPTY_STR
|
150
|
+
end
|
151
|
+
|
152
|
+
return new(
|
153
|
+
:scheme => scheme,
|
154
|
+
:user => user,
|
155
|
+
:password => password,
|
156
|
+
:host => host,
|
157
|
+
:port => port,
|
158
|
+
:path => path,
|
159
|
+
:query => query,
|
160
|
+
:fragment => fragment
|
161
|
+
)
|
162
|
+
end
|
163
|
+
|
164
|
+
##
|
165
|
+
# Converts an input to a URI. The input does not have to be a valid
|
166
|
+
# URI — the method will use heuristics to guess what URI was intended.
|
167
|
+
# This is not standards-compliant, merely user-friendly.
|
168
|
+
#
|
169
|
+
# @param [String, Addressable::URI, #to_str] uri
|
170
|
+
# The URI string to parse.
|
171
|
+
# No parsing is performed if the object is already an
|
172
|
+
# <code>Addressable::URI</code>.
|
173
|
+
# @param [Hash] hints
|
174
|
+
# A <code>Hash</code> of hints to the heuristic parser.
|
175
|
+
# Defaults to <code>{:scheme => "http"}</code>.
|
176
|
+
#
|
177
|
+
# @return [Addressable::URI] The parsed URI.
|
178
|
+
def self.heuristic_parse(uri, hints={})
|
179
|
+
# If we were given nil, return nil.
|
180
|
+
return nil unless uri
|
181
|
+
# If a URI object is passed, just return itself.
|
182
|
+
return uri.dup if uri.kind_of?(self)
|
183
|
+
|
184
|
+
# If a URI object of the Ruby standard library variety is passed,
|
185
|
+
# convert it to a string, then parse the string.
|
186
|
+
# We do the check this way because we don't want to accidentally
|
187
|
+
# cause a missing constant exception to be thrown.
|
188
|
+
if uri.class.name =~ /^URI\b/
|
189
|
+
uri = uri.to_s
|
190
|
+
end
|
191
|
+
|
192
|
+
unless uri.respond_to?(:to_str)
|
193
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
194
|
+
end
|
195
|
+
# Otherwise, convert to a String
|
196
|
+
uri = uri.to_str.dup.strip
|
197
|
+
hints = {
|
198
|
+
:scheme => "http"
|
199
|
+
}.merge(hints)
|
200
|
+
case uri
|
201
|
+
when /^http:\//i
|
202
|
+
uri.sub!(/^http:\/+/i, "http://")
|
203
|
+
when /^https:\//i
|
204
|
+
uri.sub!(/^https:\/+/i, "https://")
|
205
|
+
when /^feed:\/+http:\//i
|
206
|
+
uri.sub!(/^feed:\/+http:\/+/i, "feed:http://")
|
207
|
+
when /^feed:\//i
|
208
|
+
uri.sub!(/^feed:\/+/i, "feed://")
|
209
|
+
when %r[^file:/{4}]i
|
210
|
+
uri.sub!(%r[^file:/+]i, "file:////")
|
211
|
+
when %r[^file://localhost/]i
|
212
|
+
uri.sub!(%r[^file://localhost/+]i, "file:///")
|
213
|
+
when %r[^file:/+]i
|
214
|
+
uri.sub!(%r[^file:/+]i, "file:///")
|
215
|
+
when /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/
|
216
|
+
uri.sub!(/^/, hints[:scheme] + "://")
|
217
|
+
when /\A\d+\..*:\d+\z/
|
218
|
+
uri = "#{hints[:scheme]}://#{uri}"
|
219
|
+
end
|
220
|
+
match = uri.match(URIREGEX)
|
221
|
+
fragments = match.captures
|
222
|
+
authority = fragments[3]
|
223
|
+
if authority && authority.length > 0
|
224
|
+
new_authority = authority.tr("\\", "/").gsub(" ", "%20")
|
225
|
+
# NOTE: We want offset 4, not 3!
|
226
|
+
offset = match.offset(4)
|
227
|
+
uri = uri.dup
|
228
|
+
uri[offset[0]...offset[1]] = new_authority
|
229
|
+
end
|
230
|
+
parsed = self.parse(uri)
|
231
|
+
if parsed.scheme =~ /^[^\/?#\.]+\.[^\/?#]+$/
|
232
|
+
parsed = self.parse(hints[:scheme] + "://" + uri)
|
233
|
+
end
|
234
|
+
if parsed.path.include?(".")
|
235
|
+
if parsed.path[/\b@\b/]
|
236
|
+
parsed.scheme = "mailto" unless parsed.scheme
|
237
|
+
elsif new_host = parsed.path[/^([^\/]+\.[^\/]*)/, 1]
|
238
|
+
parsed.defer_validation do
|
239
|
+
new_path = parsed.path.sub(
|
240
|
+
Regexp.new("^" + Regexp.escape(new_host)), EMPTY_STR)
|
241
|
+
parsed.host = new_host
|
242
|
+
parsed.path = new_path
|
243
|
+
parsed.scheme = hints[:scheme] unless parsed.scheme
|
244
|
+
end
|
245
|
+
end
|
246
|
+
end
|
247
|
+
return parsed
|
248
|
+
end
|
249
|
+
|
250
|
+
##
|
251
|
+
# Converts a path to a file scheme URI. If the path supplied is
|
252
|
+
# relative, it will be returned as a relative URI. If the path supplied
|
253
|
+
# is actually a non-file URI, it will parse the URI as if it had been
|
254
|
+
# parsed with <code>Addressable::URI.parse</code>. Handles all of the
|
255
|
+
# various Microsoft-specific formats for specifying paths.
|
256
|
+
#
|
257
|
+
# @param [String, Addressable::URI, #to_str] path
|
258
|
+
# Typically a <code>String</code> path to a file or directory, but
|
259
|
+
# will return a sensible return value if an absolute URI is supplied
|
260
|
+
# instead.
|
261
|
+
#
|
262
|
+
# @return [Addressable::URI]
|
263
|
+
# The parsed file scheme URI or the original URI if some other URI
|
264
|
+
# scheme was provided.
|
265
|
+
#
|
266
|
+
# @example
|
267
|
+
# base = Addressable::URI.convert_path("/absolute/path/")
|
268
|
+
# uri = Addressable::URI.convert_path("relative/path")
|
269
|
+
# (base + uri).to_s
|
270
|
+
# #=> "file:///absolute/path/relative/path"
|
271
|
+
#
|
272
|
+
# Addressable::URI.convert_path(
|
273
|
+
# "c:\\windows\\My Documents 100%20\\foo.txt"
|
274
|
+
# ).to_s
|
275
|
+
# #=> "file:///c:/windows/My%20Documents%20100%20/foo.txt"
|
276
|
+
#
|
277
|
+
# Addressable::URI.convert_path("http://example.com/").to_s
|
278
|
+
# #=> "http://example.com/"
|
279
|
+
def self.convert_path(path)
|
280
|
+
# If we were given nil, return nil.
|
281
|
+
return nil unless path
|
282
|
+
# If a URI object is passed, just return itself.
|
283
|
+
return path if path.kind_of?(self)
|
284
|
+
unless path.respond_to?(:to_str)
|
285
|
+
raise TypeError, "Can't convert #{path.class} into String."
|
286
|
+
end
|
287
|
+
# Otherwise, convert to a String
|
288
|
+
path = path.to_str.strip
|
289
|
+
|
290
|
+
path.sub!(/^file:\/?\/?/, EMPTY_STR) if path =~ /^file:\/?\/?/
|
291
|
+
path = SLASH + path if path =~ /^([a-zA-Z])[\|:]/
|
292
|
+
uri = self.parse(path)
|
293
|
+
|
294
|
+
if uri.scheme == nil
|
295
|
+
# Adjust windows-style uris
|
296
|
+
uri.path.sub!(/^\/?([a-zA-Z])[\|:][\\\/]/) do
|
297
|
+
"/#{$1.downcase}:/"
|
298
|
+
end
|
299
|
+
uri.path.tr!("\\", SLASH)
|
300
|
+
if File.exist?(uri.path) &&
|
301
|
+
File.stat(uri.path).directory?
|
302
|
+
uri.path.chomp!(SLASH)
|
303
|
+
uri.path = uri.path + '/'
|
304
|
+
end
|
305
|
+
|
306
|
+
# If the path is absolute, set the scheme and host.
|
307
|
+
if uri.path.start_with?(SLASH)
|
308
|
+
uri.scheme = "file"
|
309
|
+
uri.host = EMPTY_STR
|
310
|
+
end
|
311
|
+
uri.normalize!
|
312
|
+
end
|
313
|
+
|
314
|
+
return uri
|
315
|
+
end
|
316
|
+
|
317
|
+
##
|
318
|
+
# Joins several URIs together.
|
319
|
+
#
|
320
|
+
# @param [String, Addressable::URI, #to_str] *uris
|
321
|
+
# The URIs to join.
|
322
|
+
#
|
323
|
+
# @return [Addressable::URI] The joined URI.
|
324
|
+
#
|
325
|
+
# @example
|
326
|
+
# base = "http://example.com/"
|
327
|
+
# uri = Addressable::URI.parse("relative/path")
|
328
|
+
# Addressable::URI.join(base, uri)
|
329
|
+
# #=> #<Addressable::URI:0xcab390 URI:http://example.com/relative/path>
|
330
|
+
def self.join(*uris)
|
331
|
+
uri_objects = uris.collect do |uri|
|
332
|
+
unless uri.respond_to?(:to_str)
|
333
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
334
|
+
end
|
335
|
+
uri.kind_of?(self) ? uri : self.parse(uri.to_str)
|
336
|
+
end
|
337
|
+
result = uri_objects.shift.dup
|
338
|
+
uri_objects.each do |uri|
|
339
|
+
result.join!(uri)
|
340
|
+
end
|
341
|
+
return result
|
342
|
+
end
|
343
|
+
|
344
|
+
##
|
345
|
+
# Tables used to optimize encoding operations in `self.encode_component`
|
346
|
+
# and `self.normalize_component`
|
347
|
+
SEQUENCE_ENCODING_TABLE = (0..255).map do |byte|
|
348
|
+
format("%02x", byte).freeze
|
349
|
+
end.freeze
|
350
|
+
|
351
|
+
SEQUENCE_UPCASED_PERCENT_ENCODING_TABLE = (0..255).map do |byte|
|
352
|
+
format("%%%02X", byte).freeze
|
353
|
+
end.freeze
|
354
|
+
|
355
|
+
##
|
356
|
+
# Percent encodes a URI component.
|
357
|
+
#
|
358
|
+
# @param [String, #to_str] component The URI component to encode.
|
359
|
+
#
|
360
|
+
# @param [String, Regexp] character_class
|
361
|
+
# The characters which are not percent encoded. If a <code>String</code>
|
362
|
+
# is passed, the <code>String</code> must be formatted as a regular
|
363
|
+
# expression character class. (Do not include the surrounding square
|
364
|
+
# brackets.) For example, <code>"b-zB-Z0-9"</code> would cause
|
365
|
+
# everything but the letters 'b' through 'z' and the numbers '0' through
|
366
|
+
# '9' to be percent encoded. If a <code>Regexp</code> is passed, the
|
367
|
+
# value <code>/[^b-zB-Z0-9]/</code> would have the same effect. A set of
|
368
|
+
# useful <code>String</code> values may be found in the
|
369
|
+
# <code>Addressable::URI::CharacterClasses</code> module. The default
|
370
|
+
# value is the reserved plus unreserved character classes specified in
|
371
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>.
|
372
|
+
#
|
373
|
+
# @param [Regexp] upcase_encoded
|
374
|
+
# A string of characters that may already be percent encoded, and whose
|
375
|
+
# encodings should be upcased. This allows normalization of percent
|
376
|
+
# encodings for characters not included in the
|
377
|
+
# <code>character_class</code>.
|
378
|
+
#
|
379
|
+
# @return [String] The encoded component.
|
380
|
+
#
|
381
|
+
# @example
|
382
|
+
# Addressable::URI.encode_component("simple/example", "b-zB-Z0-9")
|
383
|
+
# => "simple%2Fex%61mple"
|
384
|
+
# Addressable::URI.encode_component("simple/example", /[^b-zB-Z0-9]/)
|
385
|
+
# => "simple%2Fex%61mple"
|
386
|
+
# Addressable::URI.encode_component(
|
387
|
+
# "simple/example", Addressable::URI::CharacterClasses::UNRESERVED
|
388
|
+
# )
|
389
|
+
# => "simple%2Fexample"
|
390
|
+
def self.encode_component(component, character_class=
|
391
|
+
CharacterClasses::RESERVED + CharacterClasses::UNRESERVED,
|
392
|
+
upcase_encoded='')
|
393
|
+
return nil if component.nil?
|
394
|
+
|
395
|
+
begin
|
396
|
+
if component.kind_of?(Symbol) ||
|
397
|
+
component.kind_of?(Numeric) ||
|
398
|
+
component.kind_of?(TrueClass) ||
|
399
|
+
component.kind_of?(FalseClass)
|
400
|
+
component = component.to_s
|
401
|
+
else
|
402
|
+
component = component.to_str
|
403
|
+
end
|
404
|
+
rescue TypeError, NoMethodError
|
405
|
+
raise TypeError, "Can't convert #{component.class} into String."
|
406
|
+
end if !component.is_a? String
|
407
|
+
|
408
|
+
if ![String, Regexp].include?(character_class.class)
|
409
|
+
raise TypeError,
|
410
|
+
"Expected String or Regexp, got #{character_class.inspect}"
|
411
|
+
end
|
412
|
+
if character_class.kind_of?(String)
|
413
|
+
character_class = /[^#{character_class}]/
|
414
|
+
end
|
415
|
+
# We can't perform regexps on invalid UTF sequences, but
|
416
|
+
# here we need to, so switch to ASCII.
|
417
|
+
component = component.dup
|
418
|
+
component.force_encoding(Encoding::ASCII_8BIT)
|
419
|
+
# Avoiding gsub! because there are edge cases with frozen strings
|
420
|
+
component = component.gsub(character_class) do |char|
|
421
|
+
SEQUENCE_UPCASED_PERCENT_ENCODING_TABLE[char.ord]
|
422
|
+
end
|
423
|
+
if upcase_encoded.length > 0
|
424
|
+
upcase_encoded_chars = upcase_encoded.bytes.map do |byte|
|
425
|
+
SEQUENCE_ENCODING_TABLE[byte]
|
426
|
+
end
|
427
|
+
component = component.gsub(/%(#{upcase_encoded_chars.join('|')})/,
|
428
|
+
&:upcase)
|
429
|
+
end
|
430
|
+
|
431
|
+
return component
|
432
|
+
end
|
433
|
+
|
434
|
+
class << self
|
435
|
+
alias_method :escape_component, :encode_component
|
436
|
+
end
|
437
|
+
|
438
|
+
##
|
439
|
+
# Unencodes any percent encoded characters within a URI component.
|
440
|
+
# This method may be used for unencoding either components or full URIs,
|
441
|
+
# however, it is recommended to use the <code>unencode_component</code>
|
442
|
+
# alias when unencoding components.
|
443
|
+
#
|
444
|
+
# @param [String, Addressable::URI, #to_str] uri
|
445
|
+
# The URI or component to unencode.
|
446
|
+
#
|
447
|
+
# @param [Class] return_type
|
448
|
+
# The type of object to return.
|
449
|
+
# This value may only be set to <code>String</code> or
|
450
|
+
# <code>Addressable::URI</code>. All other values are invalid. Defaults
|
451
|
+
# to <code>String</code>.
|
452
|
+
#
|
453
|
+
# @param [String] leave_encoded
|
454
|
+
# A string of characters to leave encoded. If a percent encoded character
|
455
|
+
# in this list is encountered then it will remain percent encoded.
|
456
|
+
#
|
457
|
+
# @return [String, Addressable::URI]
|
458
|
+
# The unencoded component or URI.
|
459
|
+
# The return type is determined by the <code>return_type</code>
|
460
|
+
# parameter.
|
461
|
+
def self.unencode(uri, return_type=String, leave_encoded='')
|
462
|
+
return nil if uri.nil?
|
463
|
+
|
464
|
+
begin
|
465
|
+
uri = uri.to_str
|
466
|
+
rescue NoMethodError, TypeError
|
467
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
468
|
+
end if !uri.is_a? String
|
469
|
+
if ![String, ::Addressable::URI].include?(return_type)
|
470
|
+
raise TypeError,
|
471
|
+
"Expected Class (String or Addressable::URI), " +
|
472
|
+
"got #{return_type.inspect}"
|
473
|
+
end
|
474
|
+
|
475
|
+
result = uri.gsub(/%[0-9a-f]{2}/i) do |sequence|
|
476
|
+
c = sequence[1..3].to_i(16).chr
|
477
|
+
c.force_encoding(sequence.encoding)
|
478
|
+
leave_encoded.include?(c) ? sequence : c
|
479
|
+
end
|
480
|
+
|
481
|
+
result.force_encoding(Encoding::UTF_8)
|
482
|
+
if return_type == String
|
483
|
+
return result
|
484
|
+
elsif return_type == ::Addressable::URI
|
485
|
+
return ::Addressable::URI.parse(result)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
class << self
|
490
|
+
alias_method :unescape, :unencode
|
491
|
+
alias_method :unencode_component, :unencode
|
492
|
+
alias_method :unescape_component, :unencode
|
493
|
+
end
|
494
|
+
|
495
|
+
|
496
|
+
##
|
497
|
+
# Normalizes the encoding of a URI component.
|
498
|
+
#
|
499
|
+
# @param [String, #to_str] component The URI component to encode.
|
500
|
+
#
|
501
|
+
# @param [String, Regexp] character_class
|
502
|
+
# The characters which are not percent encoded. If a <code>String</code>
|
503
|
+
# is passed, the <code>String</code> must be formatted as a regular
|
504
|
+
# expression character class. (Do not include the surrounding square
|
505
|
+
# brackets.) For example, <code>"b-zB-Z0-9"</code> would cause
|
506
|
+
# everything but the letters 'b' through 'z' and the numbers '0'
|
507
|
+
# through '9' to be percent encoded. If a <code>Regexp</code> is passed,
|
508
|
+
# the value <code>/[^b-zB-Z0-9]/</code> would have the same effect. A
|
509
|
+
# set of useful <code>String</code> values may be found in the
|
510
|
+
# <code>Addressable::URI::CharacterClasses</code> module. The default
|
511
|
+
# value is the reserved plus unreserved character classes specified in
|
512
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>.
|
513
|
+
#
|
514
|
+
# @param [String] leave_encoded
|
515
|
+
# When <code>character_class</code> is a <code>String</code> then
|
516
|
+
# <code>leave_encoded</code> is a string of characters that should remain
|
517
|
+
# percent encoded while normalizing the component; if they appear percent
|
518
|
+
# encoded in the original component, then they will be upcased ("%2f"
|
519
|
+
# normalized to "%2F") but otherwise left alone.
|
520
|
+
#
|
521
|
+
# @return [String] The normalized component.
|
522
|
+
#
|
523
|
+
# @example
|
524
|
+
# Addressable::URI.normalize_component("simpl%65/%65xampl%65", "b-zB-Z")
|
525
|
+
# => "simple%2Fex%61mple"
|
526
|
+
# Addressable::URI.normalize_component(
|
527
|
+
# "simpl%65/%65xampl%65", /[^b-zB-Z]/
|
528
|
+
# )
|
529
|
+
# => "simple%2Fex%61mple"
|
530
|
+
# Addressable::URI.normalize_component(
|
531
|
+
# "simpl%65/%65xampl%65",
|
532
|
+
# Addressable::URI::CharacterClasses::UNRESERVED
|
533
|
+
# )
|
534
|
+
# => "simple%2Fexample"
|
535
|
+
# Addressable::URI.normalize_component(
|
536
|
+
# "one%20two%2fthree%26four",
|
537
|
+
# "0-9a-zA-Z &/",
|
538
|
+
# "/"
|
539
|
+
# )
|
540
|
+
# => "one two%2Fthree&four"
|
541
|
+
def self.normalize_component(component, character_class=
|
542
|
+
CharacterClasses::RESERVED + CharacterClasses::UNRESERVED,
|
543
|
+
leave_encoded='')
|
544
|
+
return nil if component.nil?
|
545
|
+
|
546
|
+
begin
|
547
|
+
component = component.to_str
|
548
|
+
rescue NoMethodError, TypeError
|
549
|
+
raise TypeError, "Can't convert #{component.class} into String."
|
550
|
+
end if !component.is_a? String
|
551
|
+
|
552
|
+
if ![String, Regexp].include?(character_class.class)
|
553
|
+
raise TypeError,
|
554
|
+
"Expected String or Regexp, got #{character_class.inspect}"
|
555
|
+
end
|
556
|
+
if character_class.kind_of?(String)
|
557
|
+
leave_re = if leave_encoded.length > 0
|
558
|
+
character_class = "#{character_class}%" unless character_class.include?('%')
|
559
|
+
|
560
|
+
bytes = leave_encoded.bytes
|
561
|
+
leave_encoded_pattern = bytes.map { |b| SEQUENCE_ENCODING_TABLE[b] }.join('|')
|
562
|
+
"|%(?!#{leave_encoded_pattern}|#{leave_encoded_pattern.upcase})"
|
563
|
+
end
|
564
|
+
|
565
|
+
character_class = if leave_re
|
566
|
+
/[^#{character_class}]#{leave_re}/
|
567
|
+
else
|
568
|
+
/[^#{character_class}]/
|
569
|
+
end
|
570
|
+
end
|
571
|
+
# We can't perform regexps on invalid UTF sequences, but
|
572
|
+
# here we need to, so switch to ASCII.
|
573
|
+
component = component.dup
|
574
|
+
component.force_encoding(Encoding::ASCII_8BIT)
|
575
|
+
unencoded = self.unencode_component(component, String, leave_encoded)
|
576
|
+
begin
|
577
|
+
encoded = self.encode_component(
|
578
|
+
unencoded.unicode_normalize(:nfc),
|
579
|
+
character_class,
|
580
|
+
leave_encoded
|
581
|
+
)
|
582
|
+
rescue ArgumentError
|
583
|
+
encoded = self.encode_component(unencoded)
|
584
|
+
end
|
585
|
+
encoded.force_encoding(Encoding::UTF_8)
|
586
|
+
return encoded
|
587
|
+
end
|
588
|
+
|
589
|
+
##
|
590
|
+
# Percent encodes any special characters in the URI.
|
591
|
+
#
|
592
|
+
# @param [String, Addressable::URI, #to_str] uri
|
593
|
+
# The URI to encode.
|
594
|
+
#
|
595
|
+
# @param [Class] return_type
|
596
|
+
# The type of object to return.
|
597
|
+
# This value may only be set to <code>String</code> or
|
598
|
+
# <code>Addressable::URI</code>. All other values are invalid. Defaults
|
599
|
+
# to <code>String</code>.
|
600
|
+
#
|
601
|
+
# @return [String, Addressable::URI]
|
602
|
+
# The encoded URI.
|
603
|
+
# The return type is determined by the <code>return_type</code>
|
604
|
+
# parameter.
|
605
|
+
def self.encode(uri, return_type=String)
|
606
|
+
return nil if uri.nil?
|
607
|
+
|
608
|
+
begin
|
609
|
+
uri = uri.to_str
|
610
|
+
rescue NoMethodError, TypeError
|
611
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
612
|
+
end if !uri.is_a? String
|
613
|
+
|
614
|
+
if ![String, ::Addressable::URI].include?(return_type)
|
615
|
+
raise TypeError,
|
616
|
+
"Expected Class (String or Addressable::URI), " +
|
617
|
+
"got #{return_type.inspect}"
|
618
|
+
end
|
619
|
+
uri_object = uri.kind_of?(self) ? uri : self.parse(uri)
|
620
|
+
encoded_uri = Addressable::URI.new(
|
621
|
+
:scheme => self.encode_component(uri_object.scheme,
|
622
|
+
Addressable::URI::CharacterClasses::SCHEME),
|
623
|
+
:authority => self.encode_component(uri_object.authority,
|
624
|
+
Addressable::URI::CharacterClasses::AUTHORITY),
|
625
|
+
:path => self.encode_component(uri_object.path,
|
626
|
+
Addressable::URI::CharacterClasses::PATH),
|
627
|
+
:query => self.encode_component(uri_object.query,
|
628
|
+
Addressable::URI::CharacterClasses::QUERY),
|
629
|
+
:fragment => self.encode_component(uri_object.fragment,
|
630
|
+
Addressable::URI::CharacterClasses::FRAGMENT)
|
631
|
+
)
|
632
|
+
if return_type == String
|
633
|
+
return encoded_uri.to_s
|
634
|
+
elsif return_type == ::Addressable::URI
|
635
|
+
return encoded_uri
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
class << self
|
640
|
+
alias_method :escape, :encode
|
641
|
+
end
|
642
|
+
|
643
|
+
##
|
644
|
+
# Normalizes the encoding of a URI. Characters within a hostname are
|
645
|
+
# not percent encoded to allow for internationalized domain names.
|
646
|
+
#
|
647
|
+
# @param [String, Addressable::URI, #to_str] uri
|
648
|
+
# The URI to encode.
|
649
|
+
#
|
650
|
+
# @param [Class] return_type
|
651
|
+
# The type of object to return.
|
652
|
+
# This value may only be set to <code>String</code> or
|
653
|
+
# <code>Addressable::URI</code>. All other values are invalid. Defaults
|
654
|
+
# to <code>String</code>.
|
655
|
+
#
|
656
|
+
# @return [String, Addressable::URI]
|
657
|
+
# The encoded URI.
|
658
|
+
# The return type is determined by the <code>return_type</code>
|
659
|
+
# parameter.
|
660
|
+
def self.normalized_encode(uri, return_type=String)
|
661
|
+
begin
|
662
|
+
uri = uri.to_str
|
663
|
+
rescue NoMethodError, TypeError
|
664
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
665
|
+
end if !uri.is_a? String
|
666
|
+
|
667
|
+
if ![String, ::Addressable::URI].include?(return_type)
|
668
|
+
raise TypeError,
|
669
|
+
"Expected Class (String or Addressable::URI), " +
|
670
|
+
"got #{return_type.inspect}"
|
671
|
+
end
|
672
|
+
uri_object = uri.kind_of?(self) ? uri : self.parse(uri)
|
673
|
+
components = {
|
674
|
+
:scheme => self.unencode_component(uri_object.scheme),
|
675
|
+
:user => self.unencode_component(uri_object.user),
|
676
|
+
:password => self.unencode_component(uri_object.password),
|
677
|
+
:host => self.unencode_component(uri_object.host),
|
678
|
+
:port => (uri_object.port.nil? ? nil : uri_object.port.to_s),
|
679
|
+
:path => self.unencode_component(uri_object.path),
|
680
|
+
:query => self.unencode_component(uri_object.query),
|
681
|
+
:fragment => self.unencode_component(uri_object.fragment)
|
682
|
+
}
|
683
|
+
components.each do |key, value|
|
684
|
+
if value != nil
|
685
|
+
begin
|
686
|
+
components[key] = value.to_str.unicode_normalize(:nfc)
|
687
|
+
rescue ArgumentError
|
688
|
+
# Likely a malformed UTF-8 character, skip unicode normalization
|
689
|
+
components[key] = value.to_str
|
690
|
+
end
|
691
|
+
end
|
692
|
+
end
|
693
|
+
encoded_uri = Addressable::URI.new(
|
694
|
+
:scheme => self.encode_component(components[:scheme],
|
695
|
+
Addressable::URI::CharacterClasses::SCHEME),
|
696
|
+
:user => self.encode_component(components[:user],
|
697
|
+
Addressable::URI::CharacterClasses::UNRESERVED),
|
698
|
+
:password => self.encode_component(components[:password],
|
699
|
+
Addressable::URI::CharacterClasses::UNRESERVED),
|
700
|
+
:host => components[:host],
|
701
|
+
:port => components[:port],
|
702
|
+
:path => self.encode_component(components[:path],
|
703
|
+
Addressable::URI::CharacterClasses::PATH),
|
704
|
+
:query => self.encode_component(components[:query],
|
705
|
+
Addressable::URI::CharacterClasses::QUERY),
|
706
|
+
:fragment => self.encode_component(components[:fragment],
|
707
|
+
Addressable::URI::CharacterClasses::FRAGMENT)
|
708
|
+
)
|
709
|
+
if return_type == String
|
710
|
+
return encoded_uri.to_s
|
711
|
+
elsif return_type == ::Addressable::URI
|
712
|
+
return encoded_uri
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
##
|
717
|
+
# Encodes a set of key/value pairs according to the rules for the
|
718
|
+
# <code>application/x-www-form-urlencoded</code> MIME type.
|
719
|
+
#
|
720
|
+
# @param [#to_hash, #to_ary] form_values
|
721
|
+
# The form values to encode.
|
722
|
+
#
|
723
|
+
# @param [TrueClass, FalseClass] sort
|
724
|
+
# Sort the key/value pairs prior to encoding.
|
725
|
+
# Defaults to <code>false</code>.
|
726
|
+
#
|
727
|
+
# @return [String]
|
728
|
+
# The encoded value.
|
729
|
+
def self.form_encode(form_values, sort=false)
|
730
|
+
if form_values.respond_to?(:to_hash)
|
731
|
+
form_values = form_values.to_hash.to_a
|
732
|
+
elsif form_values.respond_to?(:to_ary)
|
733
|
+
form_values = form_values.to_ary
|
734
|
+
else
|
735
|
+
raise TypeError, "Can't convert #{form_values.class} into Array."
|
736
|
+
end
|
737
|
+
|
738
|
+
form_values = form_values.inject([]) do |accu, (key, value)|
|
739
|
+
if value.kind_of?(Array)
|
740
|
+
value.each do |v|
|
741
|
+
accu << [key.to_s, v.to_s]
|
742
|
+
end
|
743
|
+
else
|
744
|
+
accu << [key.to_s, value.to_s]
|
745
|
+
end
|
746
|
+
accu
|
747
|
+
end
|
748
|
+
|
749
|
+
if sort
|
750
|
+
# Useful for OAuth and optimizing caching systems
|
751
|
+
form_values = form_values.sort
|
752
|
+
end
|
753
|
+
escaped_form_values = form_values.map do |(key, value)|
|
754
|
+
# Line breaks are CRLF pairs
|
755
|
+
[
|
756
|
+
self.encode_component(
|
757
|
+
key.gsub(/(\r\n|\n|\r)/, "\r\n"),
|
758
|
+
CharacterClasses::UNRESERVED
|
759
|
+
).gsub("%20", "+"),
|
760
|
+
self.encode_component(
|
761
|
+
value.gsub(/(\r\n|\n|\r)/, "\r\n"),
|
762
|
+
CharacterClasses::UNRESERVED
|
763
|
+
).gsub("%20", "+")
|
764
|
+
]
|
765
|
+
end
|
766
|
+
return escaped_form_values.map do |(key, value)|
|
767
|
+
"#{key}=#{value}"
|
768
|
+
end.join("&")
|
769
|
+
end
|
770
|
+
|
771
|
+
##
|
772
|
+
# Decodes a <code>String</code> according to the rules for the
|
773
|
+
# <code>application/x-www-form-urlencoded</code> MIME type.
|
774
|
+
#
|
775
|
+
# @param [String, #to_str] encoded_value
|
776
|
+
# The form values to decode.
|
777
|
+
#
|
778
|
+
# @return [Array]
|
779
|
+
# The decoded values.
|
780
|
+
# This is not a <code>Hash</code> because of the possibility for
|
781
|
+
# duplicate keys.
|
782
|
+
def self.form_unencode(encoded_value)
|
783
|
+
if !encoded_value.respond_to?(:to_str)
|
784
|
+
raise TypeError, "Can't convert #{encoded_value.class} into String."
|
785
|
+
end
|
786
|
+
encoded_value = encoded_value.to_str
|
787
|
+
split_values = encoded_value.split("&").map do |pair|
|
788
|
+
pair.split("=", 2)
|
789
|
+
end
|
790
|
+
return split_values.map do |(key, value)|
|
791
|
+
[
|
792
|
+
key ? self.unencode_component(
|
793
|
+
key.gsub("+", "%20")).gsub(/(\r\n|\n|\r)/, "\n") : nil,
|
794
|
+
value ? (self.unencode_component(
|
795
|
+
value.gsub("+", "%20")).gsub(/(\r\n|\n|\r)/, "\n")) : nil
|
796
|
+
]
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
800
|
+
##
|
801
|
+
# Creates a new uri object from component parts.
|
802
|
+
#
|
803
|
+
# @option [String, #to_str] scheme The scheme component.
|
804
|
+
# @option [String, #to_str] user The user component.
|
805
|
+
# @option [String, #to_str] password The password component.
|
806
|
+
# @option [String, #to_str] userinfo
|
807
|
+
# The userinfo component. If this is supplied, the user and password
|
808
|
+
# components must be omitted.
|
809
|
+
# @option [String, #to_str] host The host component.
|
810
|
+
# @option [String, #to_str] port The port component.
|
811
|
+
# @option [String, #to_str] authority
|
812
|
+
# The authority component. If this is supplied, the user, password,
|
813
|
+
# userinfo, host, and port components must be omitted.
|
814
|
+
# @option [String, #to_str] path The path component.
|
815
|
+
# @option [String, #to_str] query The query component.
|
816
|
+
# @option [String, #to_str] fragment The fragment component.
|
817
|
+
#
|
818
|
+
# @return [Addressable::URI] The constructed URI object.
|
819
|
+
def initialize(options={})
|
820
|
+
if options.has_key?(:authority)
|
821
|
+
if (options.keys & [:userinfo, :user, :password, :host, :port]).any?
|
822
|
+
raise ArgumentError,
|
823
|
+
"Cannot specify both an authority and any of the components " +
|
824
|
+
"within the authority."
|
825
|
+
end
|
826
|
+
end
|
827
|
+
if options.has_key?(:userinfo)
|
828
|
+
if (options.keys & [:user, :password]).any?
|
829
|
+
raise ArgumentError,
|
830
|
+
"Cannot specify both a userinfo and either the user or password."
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
reset_ivs
|
835
|
+
|
836
|
+
defer_validation do
|
837
|
+
# Bunch of crazy logic required because of the composite components
|
838
|
+
# like userinfo and authority.
|
839
|
+
self.scheme = options[:scheme] if options[:scheme]
|
840
|
+
self.user = options[:user] if options[:user]
|
841
|
+
self.password = options[:password] if options[:password]
|
842
|
+
self.userinfo = options[:userinfo] if options[:userinfo]
|
843
|
+
self.host = options[:host] if options[:host]
|
844
|
+
self.port = options[:port] if options[:port]
|
845
|
+
self.authority = options[:authority] if options[:authority]
|
846
|
+
self.path = options[:path] if options[:path]
|
847
|
+
self.query = options[:query] if options[:query]
|
848
|
+
self.query_values = options[:query_values] if options[:query_values]
|
849
|
+
self.fragment = options[:fragment] if options[:fragment]
|
850
|
+
end
|
851
|
+
|
852
|
+
to_s # force path validation
|
853
|
+
end
|
854
|
+
|
855
|
+
##
|
856
|
+
# Freeze URI, initializing instance variables.
|
857
|
+
#
|
858
|
+
# @return [Addressable::URI] The frozen URI object.
|
859
|
+
def freeze
|
860
|
+
self.normalized_scheme
|
861
|
+
self.normalized_user
|
862
|
+
self.normalized_password
|
863
|
+
self.normalized_userinfo
|
864
|
+
self.normalized_host
|
865
|
+
self.normalized_port
|
866
|
+
self.normalized_authority
|
867
|
+
self.normalized_site
|
868
|
+
self.normalized_path
|
869
|
+
self.normalized_query
|
870
|
+
self.normalized_fragment
|
871
|
+
self.hash
|
872
|
+
super
|
873
|
+
end
|
874
|
+
|
875
|
+
##
|
876
|
+
# The scheme component for this URI.
|
877
|
+
#
|
878
|
+
# @return [String] The scheme component.
|
879
|
+
attr_reader :scheme
|
880
|
+
|
881
|
+
##
|
882
|
+
# The scheme component for this URI, normalized.
|
883
|
+
#
|
884
|
+
# @return [String] The scheme component, normalized.
|
885
|
+
def normalized_scheme
|
886
|
+
return nil unless self.scheme
|
887
|
+
if @normalized_scheme == NONE
|
888
|
+
@normalized_scheme = if self.scheme =~ /^\s*ssh\+svn\s*$/i
|
889
|
+
"svn+ssh".dup
|
890
|
+
else
|
891
|
+
Addressable::URI.normalize_component(
|
892
|
+
self.scheme.strip.downcase,
|
893
|
+
Addressable::URI::NormalizeCharacterClasses::SCHEME
|
894
|
+
)
|
895
|
+
end
|
896
|
+
end
|
897
|
+
# All normalized values should be UTF-8
|
898
|
+
force_utf8_encoding_if_needed(@normalized_scheme)
|
899
|
+
@normalized_scheme
|
900
|
+
end
|
901
|
+
|
902
|
+
##
|
903
|
+
# Sets the scheme component for this URI.
|
904
|
+
#
|
905
|
+
# @param [String, #to_str] new_scheme The new scheme component.
|
906
|
+
def scheme=(new_scheme)
|
907
|
+
if new_scheme && !new_scheme.respond_to?(:to_str)
|
908
|
+
raise TypeError, "Can't convert #{new_scheme.class} into String."
|
909
|
+
elsif new_scheme
|
910
|
+
new_scheme = new_scheme.to_str
|
911
|
+
end
|
912
|
+
if new_scheme && new_scheme !~ /\A[a-z][a-z0-9\.\+\-]*\z/i
|
913
|
+
raise InvalidURIError, "Invalid scheme format: '#{new_scheme}'"
|
914
|
+
end
|
915
|
+
@scheme = new_scheme
|
916
|
+
@scheme = nil if @scheme.to_s.strip.empty?
|
917
|
+
|
918
|
+
# Reset dependent values
|
919
|
+
@normalized_scheme = NONE
|
920
|
+
remove_composite_values
|
921
|
+
|
922
|
+
# Ensure we haven't created an invalid URI
|
923
|
+
validate()
|
924
|
+
end
|
925
|
+
|
926
|
+
##
|
927
|
+
# The user component for this URI.
|
928
|
+
#
|
929
|
+
# @return [String] The user component.
|
930
|
+
attr_reader :user
|
931
|
+
|
932
|
+
##
|
933
|
+
# The user component for this URI, normalized.
|
934
|
+
#
|
935
|
+
# @return [String] The user component, normalized.
|
936
|
+
def normalized_user
|
937
|
+
return nil unless self.user
|
938
|
+
return @normalized_user unless @normalized_user == NONE
|
939
|
+
@normalized_user = begin
|
940
|
+
if normalized_scheme =~ /https?/ && self.user.strip.empty? &&
|
941
|
+
(!self.password || self.password.strip.empty?)
|
942
|
+
nil
|
943
|
+
else
|
944
|
+
Addressable::URI.normalize_component(
|
945
|
+
self.user.strip,
|
946
|
+
Addressable::URI::NormalizeCharacterClasses::UNRESERVED
|
947
|
+
)
|
948
|
+
end
|
949
|
+
end
|
950
|
+
# All normalized values should be UTF-8
|
951
|
+
force_utf8_encoding_if_needed(@normalized_user)
|
952
|
+
@normalized_user
|
953
|
+
end
|
954
|
+
|
955
|
+
##
|
956
|
+
# Sets the user component for this URI.
|
957
|
+
#
|
958
|
+
# @param [String, #to_str] new_user The new user component.
|
959
|
+
def user=(new_user)
|
960
|
+
if new_user && !new_user.respond_to?(:to_str)
|
961
|
+
raise TypeError, "Can't convert #{new_user.class} into String."
|
962
|
+
end
|
963
|
+
@user = new_user ? new_user.to_str : nil
|
964
|
+
|
965
|
+
# You can't have a nil user with a non-nil password
|
966
|
+
if password != nil
|
967
|
+
@user = EMPTY_STR unless user
|
968
|
+
end
|
969
|
+
|
970
|
+
# Reset dependent values
|
971
|
+
@userinfo = nil
|
972
|
+
@normalized_userinfo = NONE
|
973
|
+
@authority = nil
|
974
|
+
@normalized_user = NONE
|
975
|
+
remove_composite_values
|
976
|
+
|
977
|
+
# Ensure we haven't created an invalid URI
|
978
|
+
validate()
|
979
|
+
end
|
980
|
+
|
981
|
+
##
|
982
|
+
# The password component for this URI.
|
983
|
+
#
|
984
|
+
# @return [String] The password component.
|
985
|
+
attr_reader :password
|
986
|
+
|
987
|
+
##
|
988
|
+
# The password component for this URI, normalized.
|
989
|
+
#
|
990
|
+
# @return [String] The password component, normalized.
|
991
|
+
def normalized_password
|
992
|
+
return nil unless self.password
|
993
|
+
return @normalized_password unless @normalized_password == NONE
|
994
|
+
@normalized_password = begin
|
995
|
+
if self.normalized_scheme =~ /https?/ && self.password.strip.empty? &&
|
996
|
+
(!self.user || self.user.strip.empty?)
|
997
|
+
nil
|
998
|
+
else
|
999
|
+
Addressable::URI.normalize_component(
|
1000
|
+
self.password.strip,
|
1001
|
+
Addressable::URI::NormalizeCharacterClasses::UNRESERVED
|
1002
|
+
)
|
1003
|
+
end
|
1004
|
+
end
|
1005
|
+
# All normalized values should be UTF-8
|
1006
|
+
force_utf8_encoding_if_needed(@normalized_password)
|
1007
|
+
@normalized_password
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
##
|
1011
|
+
# Sets the password component for this URI.
|
1012
|
+
#
|
1013
|
+
# @param [String, #to_str] new_password The new password component.
|
1014
|
+
def password=(new_password)
|
1015
|
+
if new_password && !new_password.respond_to?(:to_str)
|
1016
|
+
raise TypeError, "Can't convert #{new_password.class} into String."
|
1017
|
+
end
|
1018
|
+
@password = new_password ? new_password.to_str : nil
|
1019
|
+
|
1020
|
+
# You can't have a nil user with a non-nil password
|
1021
|
+
if @password != nil
|
1022
|
+
self.user = EMPTY_STR if user.nil?
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
# Reset dependent values
|
1026
|
+
@userinfo = nil
|
1027
|
+
@normalized_userinfo = NONE
|
1028
|
+
@authority = nil
|
1029
|
+
@normalized_password = NONE
|
1030
|
+
remove_composite_values
|
1031
|
+
|
1032
|
+
# Ensure we haven't created an invalid URI
|
1033
|
+
validate()
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
##
|
1037
|
+
# The userinfo component for this URI.
|
1038
|
+
# Combines the user and password components.
|
1039
|
+
#
|
1040
|
+
# @return [String] The userinfo component.
|
1041
|
+
def userinfo
|
1042
|
+
current_user = self.user
|
1043
|
+
current_password = self.password
|
1044
|
+
(current_user || current_password) && @userinfo ||= begin
|
1045
|
+
if current_user && current_password
|
1046
|
+
"#{current_user}:#{current_password}"
|
1047
|
+
elsif current_user && !current_password
|
1048
|
+
"#{current_user}"
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
##
|
1054
|
+
# The userinfo component for this URI, normalized.
|
1055
|
+
#
|
1056
|
+
# @return [String] The userinfo component, normalized.
|
1057
|
+
def normalized_userinfo
|
1058
|
+
return nil unless self.userinfo
|
1059
|
+
return @normalized_userinfo unless @normalized_userinfo == NONE
|
1060
|
+
@normalized_userinfo = begin
|
1061
|
+
current_user = self.normalized_user
|
1062
|
+
current_password = self.normalized_password
|
1063
|
+
if !current_user && !current_password
|
1064
|
+
nil
|
1065
|
+
elsif current_user && current_password
|
1066
|
+
"#{current_user}:#{current_password}".dup
|
1067
|
+
elsif current_user && !current_password
|
1068
|
+
"#{current_user}".dup
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
# All normalized values should be UTF-8
|
1072
|
+
force_utf8_encoding_if_needed(@normalized_userinfo)
|
1073
|
+
@normalized_userinfo
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
##
|
1077
|
+
# Sets the userinfo component for this URI.
|
1078
|
+
#
|
1079
|
+
# @param [String, #to_str] new_userinfo The new userinfo component.
|
1080
|
+
def userinfo=(new_userinfo)
|
1081
|
+
if new_userinfo && !new_userinfo.respond_to?(:to_str)
|
1082
|
+
raise TypeError, "Can't convert #{new_userinfo.class} into String."
|
1083
|
+
end
|
1084
|
+
new_user, new_password = if new_userinfo
|
1085
|
+
[
|
1086
|
+
new_userinfo.to_str.strip[/^(.*):/, 1],
|
1087
|
+
new_userinfo.to_str.strip[/:(.*)$/, 1]
|
1088
|
+
]
|
1089
|
+
else
|
1090
|
+
[nil, nil]
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
# Password assigned first to ensure validity in case of nil
|
1094
|
+
self.password = new_password
|
1095
|
+
self.user = new_user
|
1096
|
+
|
1097
|
+
# Reset dependent values
|
1098
|
+
@authority = nil
|
1099
|
+
remove_composite_values
|
1100
|
+
|
1101
|
+
# Ensure we haven't created an invalid URI
|
1102
|
+
validate()
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
##
|
1106
|
+
# The host component for this URI.
|
1107
|
+
#
|
1108
|
+
# @return [String] The host component.
|
1109
|
+
attr_reader :host
|
1110
|
+
|
1111
|
+
##
|
1112
|
+
# The host component for this URI, normalized.
|
1113
|
+
#
|
1114
|
+
# @return [String] The host component, normalized.
|
1115
|
+
def normalized_host
|
1116
|
+
return nil unless self.host
|
1117
|
+
|
1118
|
+
@normalized_host ||= begin
|
1119
|
+
if !self.host.strip.empty?
|
1120
|
+
result = ::Addressable::IDNA.to_ascii(
|
1121
|
+
URI.unencode_component(self.host.strip.downcase)
|
1122
|
+
)
|
1123
|
+
if result =~ /[^\.]\.$/
|
1124
|
+
# Single trailing dots are unnecessary.
|
1125
|
+
result = result[0...-1]
|
1126
|
+
end
|
1127
|
+
result = Addressable::URI.normalize_component(
|
1128
|
+
result,
|
1129
|
+
NormalizeCharacterClasses::HOST
|
1130
|
+
)
|
1131
|
+
result
|
1132
|
+
else
|
1133
|
+
EMPTY_STR.dup
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
# All normalized values should be UTF-8
|
1137
|
+
force_utf8_encoding_if_needed(@normalized_host)
|
1138
|
+
@normalized_host
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
##
|
1142
|
+
# Sets the host component for this URI.
|
1143
|
+
#
|
1144
|
+
# @param [String, #to_str] new_host The new host component.
|
1145
|
+
def host=(new_host)
|
1146
|
+
if new_host && !new_host.respond_to?(:to_str)
|
1147
|
+
raise TypeError, "Can't convert #{new_host.class} into String."
|
1148
|
+
end
|
1149
|
+
@host = new_host ? new_host.to_str : nil
|
1150
|
+
|
1151
|
+
# Reset dependent values
|
1152
|
+
@authority = nil
|
1153
|
+
@normalized_host = nil
|
1154
|
+
remove_composite_values
|
1155
|
+
|
1156
|
+
# Ensure we haven't created an invalid URI
|
1157
|
+
validate()
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
##
|
1161
|
+
# This method is same as URI::Generic#host except
|
1162
|
+
# brackets for IPv6 (and 'IPvFuture') addresses are removed.
|
1163
|
+
#
|
1164
|
+
# @see Addressable::URI#host
|
1165
|
+
#
|
1166
|
+
# @return [String] The hostname for this URI.
|
1167
|
+
def hostname
|
1168
|
+
v = self.host
|
1169
|
+
/\A\[(.*)\]\z/ =~ v ? $1 : v
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
##
|
1173
|
+
# This method is same as URI::Generic#host= except
|
1174
|
+
# the argument can be a bare IPv6 address (or 'IPvFuture').
|
1175
|
+
#
|
1176
|
+
# @see Addressable::URI#host=
|
1177
|
+
#
|
1178
|
+
# @param [String, #to_str] new_hostname The new hostname for this URI.
|
1179
|
+
def hostname=(new_hostname)
|
1180
|
+
if new_hostname &&
|
1181
|
+
(new_hostname.respond_to?(:ipv4?) || new_hostname.respond_to?(:ipv6?))
|
1182
|
+
new_hostname = new_hostname.to_s
|
1183
|
+
elsif new_hostname && !new_hostname.respond_to?(:to_str)
|
1184
|
+
raise TypeError, "Can't convert #{new_hostname.class} into String."
|
1185
|
+
end
|
1186
|
+
v = new_hostname ? new_hostname.to_str : nil
|
1187
|
+
v = "[#{v}]" if /\A\[.*\]\z/ !~ v && /:/ =~ v
|
1188
|
+
self.host = v
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
##
|
1192
|
+
# Returns the top-level domain for this host.
|
1193
|
+
#
|
1194
|
+
# @example
|
1195
|
+
# Addressable::URI.parse("http://www.example.co.uk").tld # => "co.uk"
|
1196
|
+
def tld
|
1197
|
+
PublicSuffix.parse(self.host, ignore_private: true).tld
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
##
|
1201
|
+
# Sets the top-level domain for this URI.
|
1202
|
+
#
|
1203
|
+
# @param [String, #to_str] new_tld The new top-level domain.
|
1204
|
+
def tld=(new_tld)
|
1205
|
+
replaced_tld = host.sub(/#{tld}\z/, new_tld)
|
1206
|
+
self.host = PublicSuffix::Domain.new(replaced_tld).to_s
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
##
|
1210
|
+
# Returns the public suffix domain for this host.
|
1211
|
+
#
|
1212
|
+
# @example
|
1213
|
+
# Addressable::URI.parse("http://www.example.co.uk").domain # => "example.co.uk"
|
1214
|
+
def domain
|
1215
|
+
PublicSuffix.domain(self.host, ignore_private: true)
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
##
|
1219
|
+
# The authority component for this URI.
|
1220
|
+
# Combines the user, password, host, and port components.
|
1221
|
+
#
|
1222
|
+
# @return [String] The authority component.
|
1223
|
+
def authority
|
1224
|
+
self.host && @authority ||= begin
|
1225
|
+
authority = String.new
|
1226
|
+
if self.userinfo != nil
|
1227
|
+
authority << "#{self.userinfo}@"
|
1228
|
+
end
|
1229
|
+
authority << self.host
|
1230
|
+
if self.port != nil
|
1231
|
+
authority << ":#{self.port}"
|
1232
|
+
end
|
1233
|
+
authority
|
1234
|
+
end
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
##
|
1238
|
+
# The authority component for this URI, normalized.
|
1239
|
+
#
|
1240
|
+
# @return [String] The authority component, normalized.
|
1241
|
+
def normalized_authority
|
1242
|
+
return nil unless self.authority
|
1243
|
+
@normalized_authority ||= begin
|
1244
|
+
authority = String.new
|
1245
|
+
if self.normalized_userinfo != nil
|
1246
|
+
authority << "#{self.normalized_userinfo}@"
|
1247
|
+
end
|
1248
|
+
authority << self.normalized_host
|
1249
|
+
if self.normalized_port != nil
|
1250
|
+
authority << ":#{self.normalized_port}"
|
1251
|
+
end
|
1252
|
+
authority
|
1253
|
+
end
|
1254
|
+
# All normalized values should be UTF-8
|
1255
|
+
force_utf8_encoding_if_needed(@normalized_authority)
|
1256
|
+
@normalized_authority
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
##
|
1260
|
+
# Sets the authority component for this URI.
|
1261
|
+
#
|
1262
|
+
# @param [String, #to_str] new_authority The new authority component.
|
1263
|
+
def authority=(new_authority)
|
1264
|
+
if new_authority
|
1265
|
+
if !new_authority.respond_to?(:to_str)
|
1266
|
+
raise TypeError, "Can't convert #{new_authority.class} into String."
|
1267
|
+
end
|
1268
|
+
new_authority = new_authority.to_str
|
1269
|
+
new_userinfo = new_authority[/^([^\[\]]*)@/, 1]
|
1270
|
+
if new_userinfo
|
1271
|
+
new_user = new_userinfo.strip[/^([^:]*):?/, 1]
|
1272
|
+
new_password = new_userinfo.strip[/:(.*)$/, 1]
|
1273
|
+
end
|
1274
|
+
new_host = new_authority.sub(
|
1275
|
+
/^([^\[\]]*)@/, EMPTY_STR
|
1276
|
+
).sub(
|
1277
|
+
/:([^:@\[\]]*?)$/, EMPTY_STR
|
1278
|
+
)
|
1279
|
+
new_port =
|
1280
|
+
new_authority[/:([^:@\[\]]*?)$/, 1]
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
# Password assigned first to ensure validity in case of nil
|
1284
|
+
self.password = new_password
|
1285
|
+
self.user = new_user
|
1286
|
+
self.host = new_host
|
1287
|
+
self.port = new_port
|
1288
|
+
|
1289
|
+
# Reset dependent values
|
1290
|
+
@userinfo = nil
|
1291
|
+
@normalized_userinfo = NONE
|
1292
|
+
remove_composite_values
|
1293
|
+
|
1294
|
+
# Ensure we haven't created an invalid URI
|
1295
|
+
validate()
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
##
|
1299
|
+
# The origin for this URI, serialized to ASCII, as per
|
1300
|
+
# RFC 6454, section 6.2.
|
1301
|
+
#
|
1302
|
+
# @return [String] The serialized origin.
|
1303
|
+
def origin
|
1304
|
+
if self.scheme && self.authority
|
1305
|
+
if self.normalized_port
|
1306
|
+
"#{self.normalized_scheme}://#{self.normalized_host}" +
|
1307
|
+
":#{self.normalized_port}"
|
1308
|
+
else
|
1309
|
+
"#{self.normalized_scheme}://#{self.normalized_host}"
|
1310
|
+
end
|
1311
|
+
else
|
1312
|
+
"null"
|
1313
|
+
end
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
##
|
1317
|
+
# Sets the origin for this URI, serialized to ASCII, as per
|
1318
|
+
# RFC 6454, section 6.2. This assignment will reset the `userinfo`
|
1319
|
+
# component.
|
1320
|
+
#
|
1321
|
+
# @param [String, #to_str] new_origin The new origin component.
|
1322
|
+
def origin=(new_origin)
|
1323
|
+
if new_origin
|
1324
|
+
if !new_origin.respond_to?(:to_str)
|
1325
|
+
raise TypeError, "Can't convert #{new_origin.class} into String."
|
1326
|
+
end
|
1327
|
+
new_origin = new_origin.to_str
|
1328
|
+
new_scheme = new_origin[/^([^:\/?#]+):\/\//, 1]
|
1329
|
+
unless new_scheme
|
1330
|
+
raise InvalidURIError, 'An origin cannot omit the scheme.'
|
1331
|
+
end
|
1332
|
+
new_host = new_origin[/:\/\/([^\/?#:]+)/, 1]
|
1333
|
+
unless new_host
|
1334
|
+
raise InvalidURIError, 'An origin cannot omit the host.'
|
1335
|
+
end
|
1336
|
+
new_port = new_origin[/:([^:@\[\]\/]*?)$/, 1]
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
self.scheme = new_scheme
|
1340
|
+
self.host = new_host
|
1341
|
+
self.port = new_port
|
1342
|
+
self.userinfo = nil
|
1343
|
+
|
1344
|
+
# Reset dependent values
|
1345
|
+
@userinfo = nil
|
1346
|
+
@normalized_userinfo = NONE
|
1347
|
+
@authority = nil
|
1348
|
+
@normalized_authority = nil
|
1349
|
+
remove_composite_values
|
1350
|
+
|
1351
|
+
# Ensure we haven't created an invalid URI
|
1352
|
+
validate()
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# Returns an array of known ip-based schemes. These schemes typically
|
1356
|
+
# use a similar URI form:
|
1357
|
+
# <code>//<user>:<password>@<host>:<port>/<url-path></code>
|
1358
|
+
def self.ip_based_schemes
|
1359
|
+
return self.port_mapping.keys
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# Returns a hash of common IP-based schemes and their default port
|
1363
|
+
# numbers. Adding new schemes to this hash, as necessary, will allow
|
1364
|
+
# for better URI normalization.
|
1365
|
+
def self.port_mapping
|
1366
|
+
PORT_MAPPING
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
##
|
1370
|
+
# The port component for this URI.
|
1371
|
+
# This is the port number actually given in the URI. This does not
|
1372
|
+
# infer port numbers from default values.
|
1373
|
+
#
|
1374
|
+
# @return [Integer] The port component.
|
1375
|
+
attr_reader :port
|
1376
|
+
|
1377
|
+
##
|
1378
|
+
# The port component for this URI, normalized.
|
1379
|
+
#
|
1380
|
+
# @return [Integer] The port component, normalized.
|
1381
|
+
def normalized_port
|
1382
|
+
return nil unless self.port
|
1383
|
+
return @normalized_port unless @normalized_port == NONE
|
1384
|
+
@normalized_port = begin
|
1385
|
+
if URI.port_mapping[self.normalized_scheme] == self.port
|
1386
|
+
nil
|
1387
|
+
else
|
1388
|
+
self.port
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
##
|
1394
|
+
# Sets the port component for this URI.
|
1395
|
+
#
|
1396
|
+
# @param [String, Integer, #to_s] new_port The new port component.
|
1397
|
+
def port=(new_port)
|
1398
|
+
if new_port != nil && new_port.respond_to?(:to_str)
|
1399
|
+
new_port = Addressable::URI.unencode_component(new_port.to_str)
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
if new_port.respond_to?(:valid_encoding?) && !new_port.valid_encoding?
|
1403
|
+
raise InvalidURIError, "Invalid encoding in port"
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
if new_port != nil && !(new_port.to_s =~ /^\d+$/)
|
1407
|
+
raise InvalidURIError,
|
1408
|
+
"Invalid port number: #{new_port.inspect}"
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
@port = new_port.to_s.to_i
|
1412
|
+
@port = nil if @port == 0
|
1413
|
+
|
1414
|
+
# Reset dependent values
|
1415
|
+
@authority = nil
|
1416
|
+
@normalized_port = NONE
|
1417
|
+
remove_composite_values
|
1418
|
+
|
1419
|
+
# Ensure we haven't created an invalid URI
|
1420
|
+
validate()
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
##
|
1424
|
+
# The inferred port component for this URI.
|
1425
|
+
# This method will normalize to the default port for the URI's scheme if
|
1426
|
+
# the port isn't explicitly specified in the URI.
|
1427
|
+
#
|
1428
|
+
# @return [Integer] The inferred port component.
|
1429
|
+
def inferred_port
|
1430
|
+
if self.port.to_i == 0
|
1431
|
+
self.default_port
|
1432
|
+
else
|
1433
|
+
self.port.to_i
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
##
|
1438
|
+
# The default port for this URI's scheme.
|
1439
|
+
# This method will always returns the default port for the URI's scheme
|
1440
|
+
# regardless of the presence of an explicit port in the URI.
|
1441
|
+
#
|
1442
|
+
# @return [Integer] The default port.
|
1443
|
+
def default_port
|
1444
|
+
URI.port_mapping[self.scheme.strip.downcase] if self.scheme
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
##
|
1448
|
+
# The combination of components that represent a site.
|
1449
|
+
# Combines the scheme, user, password, host, and port components.
|
1450
|
+
# Primarily useful for HTTP and HTTPS.
|
1451
|
+
#
|
1452
|
+
# For example, <code>"http://example.com/path?query"</code> would have a
|
1453
|
+
# <code>site</code> value of <code>"http://example.com"</code>.
|
1454
|
+
#
|
1455
|
+
# @return [String] The components that identify a site.
|
1456
|
+
def site
|
1457
|
+
(self.scheme || self.authority) && @site ||= begin
|
1458
|
+
site_string = "".dup
|
1459
|
+
site_string << "#{self.scheme}:" if self.scheme != nil
|
1460
|
+
site_string << "//#{self.authority}" if self.authority != nil
|
1461
|
+
site_string
|
1462
|
+
end
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
##
|
1466
|
+
# The normalized combination of components that represent a site.
|
1467
|
+
# Combines the scheme, user, password, host, and port components.
|
1468
|
+
# Primarily useful for HTTP and HTTPS.
|
1469
|
+
#
|
1470
|
+
# For example, <code>"http://example.com/path?query"</code> would have a
|
1471
|
+
# <code>site</code> value of <code>"http://example.com"</code>.
|
1472
|
+
#
|
1473
|
+
# @return [String] The normalized components that identify a site.
|
1474
|
+
def normalized_site
|
1475
|
+
return nil unless self.site
|
1476
|
+
@normalized_site ||= begin
|
1477
|
+
site_string = "".dup
|
1478
|
+
if self.normalized_scheme != nil
|
1479
|
+
site_string << "#{self.normalized_scheme}:"
|
1480
|
+
end
|
1481
|
+
if self.normalized_authority != nil
|
1482
|
+
site_string << "//#{self.normalized_authority}"
|
1483
|
+
end
|
1484
|
+
site_string
|
1485
|
+
end
|
1486
|
+
# All normalized values should be UTF-8
|
1487
|
+
force_utf8_encoding_if_needed(@normalized_site)
|
1488
|
+
@normalized_site
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
##
|
1492
|
+
# Sets the site value for this URI.
|
1493
|
+
#
|
1494
|
+
# @param [String, #to_str] new_site The new site value.
|
1495
|
+
def site=(new_site)
|
1496
|
+
if new_site
|
1497
|
+
if !new_site.respond_to?(:to_str)
|
1498
|
+
raise TypeError, "Can't convert #{new_site.class} into String."
|
1499
|
+
end
|
1500
|
+
new_site = new_site.to_str
|
1501
|
+
# These two regular expressions derived from the primary parsing
|
1502
|
+
# expression
|
1503
|
+
self.scheme = new_site[/^(?:([^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?$/, 1]
|
1504
|
+
self.authority = new_site[
|
1505
|
+
/^(?:(?:[^:\/?#]+):)?(?:\/\/([^\/?#]*))?$/, 1
|
1506
|
+
]
|
1507
|
+
else
|
1508
|
+
self.scheme = nil
|
1509
|
+
self.authority = nil
|
1510
|
+
end
|
1511
|
+
end
|
1512
|
+
|
1513
|
+
##
|
1514
|
+
# The path component for this URI.
|
1515
|
+
#
|
1516
|
+
# @return [String] The path component.
|
1517
|
+
attr_reader :path
|
1518
|
+
|
1519
|
+
NORMPATH = /^(?!\/)[^\/:]*:.*$/
|
1520
|
+
##
|
1521
|
+
# The path component for this URI, normalized.
|
1522
|
+
#
|
1523
|
+
# @return [String] The path component, normalized.
|
1524
|
+
def normalized_path
|
1525
|
+
@normalized_path ||= begin
|
1526
|
+
path = self.path.to_s
|
1527
|
+
if self.scheme == nil && path =~ NORMPATH
|
1528
|
+
# Relative paths with colons in the first segment are ambiguous.
|
1529
|
+
path = path.sub(":", "%2F")
|
1530
|
+
end
|
1531
|
+
# String#split(delimeter, -1) uses the more strict splitting behavior
|
1532
|
+
# found by default in Python.
|
1533
|
+
result = path.strip.split(SLASH, -1).map do |segment|
|
1534
|
+
Addressable::URI.normalize_component(
|
1535
|
+
segment,
|
1536
|
+
Addressable::URI::NormalizeCharacterClasses::PCHAR
|
1537
|
+
)
|
1538
|
+
end.join(SLASH)
|
1539
|
+
|
1540
|
+
result = URI.normalize_path(result)
|
1541
|
+
if result.empty? &&
|
1542
|
+
["http", "https", "ftp", "tftp"].include?(self.normalized_scheme)
|
1543
|
+
result = SLASH.dup
|
1544
|
+
end
|
1545
|
+
result
|
1546
|
+
end
|
1547
|
+
# All normalized values should be UTF-8
|
1548
|
+
force_utf8_encoding_if_needed(@normalized_path)
|
1549
|
+
@normalized_path
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
##
|
1553
|
+
# Sets the path component for this URI.
|
1554
|
+
#
|
1555
|
+
# @param [String, #to_str] new_path The new path component.
|
1556
|
+
def path=(new_path)
|
1557
|
+
if new_path && !new_path.respond_to?(:to_str)
|
1558
|
+
raise TypeError, "Can't convert #{new_path.class} into String."
|
1559
|
+
end
|
1560
|
+
@path = (new_path || EMPTY_STR).to_str
|
1561
|
+
if !@path.empty? && @path[0..0] != SLASH && host != nil
|
1562
|
+
@path = "/#{@path}"
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
# Reset dependent values
|
1566
|
+
@normalized_path = nil
|
1567
|
+
remove_composite_values
|
1568
|
+
|
1569
|
+
# Ensure we haven't created an invalid URI
|
1570
|
+
validate()
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
##
|
1574
|
+
# The basename, if any, of the file in the path component.
|
1575
|
+
#
|
1576
|
+
# @return [String] The path's basename.
|
1577
|
+
def basename
|
1578
|
+
# Path cannot be nil
|
1579
|
+
return File.basename(self.path).sub(/;[^\/]*$/, EMPTY_STR)
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
##
|
1583
|
+
# The extname, if any, of the file in the path component.
|
1584
|
+
# Empty string if there is no extension.
|
1585
|
+
#
|
1586
|
+
# @return [String] The path's extname.
|
1587
|
+
def extname
|
1588
|
+
return nil unless self.path
|
1589
|
+
return File.extname(self.basename)
|
1590
|
+
end
|
1591
|
+
|
1592
|
+
##
|
1593
|
+
# The query component for this URI.
|
1594
|
+
#
|
1595
|
+
# @return [String] The query component.
|
1596
|
+
attr_reader :query
|
1597
|
+
|
1598
|
+
##
|
1599
|
+
# The query component for this URI, normalized.
|
1600
|
+
#
|
1601
|
+
# @return [String] The query component, normalized.
|
1602
|
+
def normalized_query(*flags)
|
1603
|
+
return nil unless self.query
|
1604
|
+
return @normalized_query unless @normalized_query == NONE
|
1605
|
+
@normalized_query = begin
|
1606
|
+
modified_query_class = Addressable::URI::CharacterClasses::QUERY.dup
|
1607
|
+
# Make sure possible key-value pair delimiters are escaped.
|
1608
|
+
modified_query_class.sub!("\\&", "").sub!("\\;", "")
|
1609
|
+
pairs = (query || "").split("&", -1)
|
1610
|
+
pairs.delete_if(&:empty?).uniq! if flags.include?(:compacted)
|
1611
|
+
pairs.sort! if flags.include?(:sorted)
|
1612
|
+
component = pairs.map do |pair|
|
1613
|
+
Addressable::URI.normalize_component(
|
1614
|
+
pair,
|
1615
|
+
Addressable::URI::NormalizeCharacterClasses::QUERY,
|
1616
|
+
"+"
|
1617
|
+
)
|
1618
|
+
end.join("&")
|
1619
|
+
component == "" ? nil : component
|
1620
|
+
end
|
1621
|
+
# All normalized values should be UTF-8
|
1622
|
+
force_utf8_encoding_if_needed(@normalized_query)
|
1623
|
+
@normalized_query
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
##
|
1627
|
+
# Sets the query component for this URI.
|
1628
|
+
#
|
1629
|
+
# @param [String, #to_str] new_query The new query component.
|
1630
|
+
def query=(new_query)
|
1631
|
+
if new_query && !new_query.respond_to?(:to_str)
|
1632
|
+
raise TypeError, "Can't convert #{new_query.class} into String."
|
1633
|
+
end
|
1634
|
+
@query = new_query ? new_query.to_str : nil
|
1635
|
+
|
1636
|
+
# Reset dependent values
|
1637
|
+
@normalized_query = NONE
|
1638
|
+
remove_composite_values
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
##
|
1642
|
+
# Converts the query component to a Hash value.
|
1643
|
+
#
|
1644
|
+
# @param [Class] return_type The return type desired. Value must be either
|
1645
|
+
# `Hash` or `Array`.
|
1646
|
+
#
|
1647
|
+
# @return [Hash, Array, nil] The query string parsed as a Hash or Array
|
1648
|
+
# or nil if the query string is blank.
|
1649
|
+
#
|
1650
|
+
# @example
|
1651
|
+
# Addressable::URI.parse("?one=1&two=2&three=3").query_values
|
1652
|
+
# #=> {"one" => "1", "two" => "2", "three" => "3"}
|
1653
|
+
# Addressable::URI.parse("?one=two&one=three").query_values(Array)
|
1654
|
+
# #=> [["one", "two"], ["one", "three"]]
|
1655
|
+
# Addressable::URI.parse("?one=two&one=three").query_values(Hash)
|
1656
|
+
# #=> {"one" => "three"}
|
1657
|
+
# Addressable::URI.parse("?").query_values
|
1658
|
+
# #=> {}
|
1659
|
+
# Addressable::URI.parse("").query_values
|
1660
|
+
# #=> nil
|
1661
|
+
def query_values(return_type=Hash)
|
1662
|
+
empty_accumulator = Array == return_type ? [] : {}
|
1663
|
+
if return_type != Hash && return_type != Array
|
1664
|
+
raise ArgumentError, "Invalid return type. Must be Hash or Array."
|
1665
|
+
end
|
1666
|
+
return nil if self.query == nil
|
1667
|
+
split_query = self.query.split("&").map do |pair|
|
1668
|
+
pair.split("=", 2) if pair && !pair.empty?
|
1669
|
+
end.compact
|
1670
|
+
return split_query.inject(empty_accumulator.dup) do |accu, pair|
|
1671
|
+
# I'd rather use key/value identifiers instead of array lookups,
|
1672
|
+
# but in this case I really want to maintain the exact pair structure,
|
1673
|
+
# so it's best to make all changes in-place.
|
1674
|
+
pair[0] = URI.unencode_component(pair[0])
|
1675
|
+
if pair[1].respond_to?(:to_str)
|
1676
|
+
value = pair[1].to_str
|
1677
|
+
# I loathe the fact that I have to do this. Stupid HTML 4.01.
|
1678
|
+
# Treating '+' as a space was just an unbelievably bad idea.
|
1679
|
+
# There was nothing wrong with '%20'!
|
1680
|
+
# If it ain't broke, don't fix it!
|
1681
|
+
value = value.tr("+", " ") if ["http", "https", nil].include?(scheme)
|
1682
|
+
pair[1] = URI.unencode_component(value)
|
1683
|
+
end
|
1684
|
+
if return_type == Hash
|
1685
|
+
accu[pair[0]] = pair[1]
|
1686
|
+
else
|
1687
|
+
accu << pair
|
1688
|
+
end
|
1689
|
+
accu
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
##
|
1694
|
+
# Sets the query component for this URI from a Hash object.
|
1695
|
+
# An empty Hash or Array will result in an empty query string.
|
1696
|
+
#
|
1697
|
+
# @param [Hash, #to_hash, Array] new_query_values The new query values.
|
1698
|
+
#
|
1699
|
+
# @example
|
1700
|
+
# uri.query_values = {:a => "a", :b => ["c", "d", "e"]}
|
1701
|
+
# uri.query
|
1702
|
+
# # => "a=a&b=c&b=d&b=e"
|
1703
|
+
# uri.query_values = [['a', 'a'], ['b', 'c'], ['b', 'd'], ['b', 'e']]
|
1704
|
+
# uri.query
|
1705
|
+
# # => "a=a&b=c&b=d&b=e"
|
1706
|
+
# uri.query_values = [['a', 'a'], ['b', ['c', 'd', 'e']]]
|
1707
|
+
# uri.query
|
1708
|
+
# # => "a=a&b=c&b=d&b=e"
|
1709
|
+
# uri.query_values = [['flag'], ['key', 'value']]
|
1710
|
+
# uri.query
|
1711
|
+
# # => "flag&key=value"
|
1712
|
+
def query_values=(new_query_values)
|
1713
|
+
if new_query_values == nil
|
1714
|
+
self.query = nil
|
1715
|
+
return nil
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
if !new_query_values.is_a?(Array)
|
1719
|
+
if !new_query_values.respond_to?(:to_hash)
|
1720
|
+
raise TypeError,
|
1721
|
+
"Can't convert #{new_query_values.class} into Hash."
|
1722
|
+
end
|
1723
|
+
new_query_values = new_query_values.to_hash
|
1724
|
+
new_query_values = new_query_values.map do |key, value|
|
1725
|
+
key = key.to_s if key.kind_of?(Symbol)
|
1726
|
+
[key, value]
|
1727
|
+
end
|
1728
|
+
# Useful default for OAuth and caching.
|
1729
|
+
# Only to be used for non-Array inputs. Arrays should preserve order.
|
1730
|
+
new_query_values.sort!
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# new_query_values have form [['key1', 'value1'], ['key2', 'value2']]
|
1734
|
+
buffer = "".dup
|
1735
|
+
new_query_values.each do |key, value|
|
1736
|
+
encoded_key = URI.encode_component(
|
1737
|
+
key, CharacterClasses::UNRESERVED
|
1738
|
+
)
|
1739
|
+
if value == nil
|
1740
|
+
buffer << "#{encoded_key}&"
|
1741
|
+
elsif value.kind_of?(Array)
|
1742
|
+
value.each do |sub_value|
|
1743
|
+
encoded_value = URI.encode_component(
|
1744
|
+
sub_value, CharacterClasses::UNRESERVED
|
1745
|
+
)
|
1746
|
+
buffer << "#{encoded_key}=#{encoded_value}&"
|
1747
|
+
end
|
1748
|
+
else
|
1749
|
+
encoded_value = URI.encode_component(
|
1750
|
+
value, CharacterClasses::UNRESERVED
|
1751
|
+
)
|
1752
|
+
buffer << "#{encoded_key}=#{encoded_value}&"
|
1753
|
+
end
|
1754
|
+
end
|
1755
|
+
self.query = buffer.chop
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
##
|
1759
|
+
# The HTTP request URI for this URI. This is the path and the
|
1760
|
+
# query string.
|
1761
|
+
#
|
1762
|
+
# @return [String] The request URI required for an HTTP request.
|
1763
|
+
def request_uri
|
1764
|
+
return nil if self.absolute? && self.scheme !~ /^https?$/i
|
1765
|
+
return (
|
1766
|
+
(!self.path.empty? ? self.path : SLASH) +
|
1767
|
+
(self.query ? "?#{self.query}" : EMPTY_STR)
|
1768
|
+
)
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
##
|
1772
|
+
# Sets the HTTP request URI for this URI.
|
1773
|
+
#
|
1774
|
+
# @param [String, #to_str] new_request_uri The new HTTP request URI.
|
1775
|
+
def request_uri=(new_request_uri)
|
1776
|
+
if !new_request_uri.respond_to?(:to_str)
|
1777
|
+
raise TypeError, "Can't convert #{new_request_uri.class} into String."
|
1778
|
+
end
|
1779
|
+
if self.absolute? && self.scheme !~ /^https?$/i
|
1780
|
+
raise InvalidURIError,
|
1781
|
+
"Cannot set an HTTP request URI for a non-HTTP URI."
|
1782
|
+
end
|
1783
|
+
new_request_uri = new_request_uri.to_str
|
1784
|
+
path_component = new_request_uri[/^([^\?]*)\??(?:.*)$/, 1]
|
1785
|
+
query_component = new_request_uri[/^(?:[^\?]*)\?(.*)$/, 1]
|
1786
|
+
path_component = path_component.to_s
|
1787
|
+
path_component = (!path_component.empty? ? path_component : SLASH)
|
1788
|
+
self.path = path_component
|
1789
|
+
self.query = query_component
|
1790
|
+
|
1791
|
+
# Reset dependent values
|
1792
|
+
remove_composite_values
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
##
|
1796
|
+
# The fragment component for this URI.
|
1797
|
+
#
|
1798
|
+
# @return [String] The fragment component.
|
1799
|
+
attr_reader :fragment
|
1800
|
+
|
1801
|
+
##
|
1802
|
+
# The fragment component for this URI, normalized.
|
1803
|
+
#
|
1804
|
+
# @return [String] The fragment component, normalized.
|
1805
|
+
def normalized_fragment
|
1806
|
+
return nil unless self.fragment
|
1807
|
+
return @normalized_fragment unless @normalized_fragment == NONE
|
1808
|
+
@normalized_fragment = begin
|
1809
|
+
component = Addressable::URI.normalize_component(
|
1810
|
+
self.fragment,
|
1811
|
+
Addressable::URI::NormalizeCharacterClasses::FRAGMENT
|
1812
|
+
)
|
1813
|
+
component == "" ? nil : component
|
1814
|
+
end
|
1815
|
+
# All normalized values should be UTF-8
|
1816
|
+
force_utf8_encoding_if_needed(@normalized_fragment)
|
1817
|
+
@normalized_fragment
|
1818
|
+
end
|
1819
|
+
|
1820
|
+
##
|
1821
|
+
# Sets the fragment component for this URI.
|
1822
|
+
#
|
1823
|
+
# @param [String, #to_str] new_fragment The new fragment component.
|
1824
|
+
def fragment=(new_fragment)
|
1825
|
+
if new_fragment && !new_fragment.respond_to?(:to_str)
|
1826
|
+
raise TypeError, "Can't convert #{new_fragment.class} into String."
|
1827
|
+
end
|
1828
|
+
@fragment = new_fragment ? new_fragment.to_str : nil
|
1829
|
+
|
1830
|
+
# Reset dependent values
|
1831
|
+
@normalized_fragment = NONE
|
1832
|
+
remove_composite_values
|
1833
|
+
|
1834
|
+
# Ensure we haven't created an invalid URI
|
1835
|
+
validate()
|
1836
|
+
end
|
1837
|
+
|
1838
|
+
##
|
1839
|
+
# Determines if the scheme indicates an IP-based protocol.
|
1840
|
+
#
|
1841
|
+
# @return [TrueClass, FalseClass]
|
1842
|
+
# <code>true</code> if the scheme indicates an IP-based protocol.
|
1843
|
+
# <code>false</code> otherwise.
|
1844
|
+
def ip_based?
|
1845
|
+
if self.scheme
|
1846
|
+
return URI.ip_based_schemes.include?(
|
1847
|
+
self.scheme.strip.downcase)
|
1848
|
+
end
|
1849
|
+
return false
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
##
|
1853
|
+
# Determines if the URI is relative.
|
1854
|
+
#
|
1855
|
+
# @return [TrueClass, FalseClass]
|
1856
|
+
# <code>true</code> if the URI is relative. <code>false</code>
|
1857
|
+
# otherwise.
|
1858
|
+
def relative?
|
1859
|
+
return self.scheme.nil?
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
##
|
1863
|
+
# Determines if the URI is absolute.
|
1864
|
+
#
|
1865
|
+
# @return [TrueClass, FalseClass]
|
1866
|
+
# <code>true</code> if the URI is absolute. <code>false</code>
|
1867
|
+
# otherwise.
|
1868
|
+
def absolute?
|
1869
|
+
return !relative?
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
##
|
1873
|
+
# Joins two URIs together.
|
1874
|
+
#
|
1875
|
+
# @param [String, Addressable::URI, #to_str] The URI to join with.
|
1876
|
+
#
|
1877
|
+
# @return [Addressable::URI] The joined URI.
|
1878
|
+
def join(uri)
|
1879
|
+
if !uri.respond_to?(:to_str)
|
1880
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
1881
|
+
end
|
1882
|
+
if !uri.kind_of?(URI)
|
1883
|
+
# Otherwise, convert to a String, then parse.
|
1884
|
+
uri = URI.parse(uri.to_str)
|
1885
|
+
end
|
1886
|
+
if uri.to_s.empty?
|
1887
|
+
return self.dup
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
joined_scheme = nil
|
1891
|
+
joined_user = nil
|
1892
|
+
joined_password = nil
|
1893
|
+
joined_host = nil
|
1894
|
+
joined_port = nil
|
1895
|
+
joined_path = nil
|
1896
|
+
joined_query = nil
|
1897
|
+
joined_fragment = nil
|
1898
|
+
|
1899
|
+
# Section 5.2.2 of RFC 3986
|
1900
|
+
if uri.scheme != nil
|
1901
|
+
joined_scheme = uri.scheme
|
1902
|
+
joined_user = uri.user
|
1903
|
+
joined_password = uri.password
|
1904
|
+
joined_host = uri.host
|
1905
|
+
joined_port = uri.port
|
1906
|
+
joined_path = URI.normalize_path(uri.path)
|
1907
|
+
joined_query = uri.query
|
1908
|
+
else
|
1909
|
+
if uri.authority != nil
|
1910
|
+
joined_user = uri.user
|
1911
|
+
joined_password = uri.password
|
1912
|
+
joined_host = uri.host
|
1913
|
+
joined_port = uri.port
|
1914
|
+
joined_path = URI.normalize_path(uri.path)
|
1915
|
+
joined_query = uri.query
|
1916
|
+
else
|
1917
|
+
if uri.path == nil || uri.path.empty?
|
1918
|
+
joined_path = self.path
|
1919
|
+
if uri.query != nil
|
1920
|
+
joined_query = uri.query
|
1921
|
+
else
|
1922
|
+
joined_query = self.query
|
1923
|
+
end
|
1924
|
+
else
|
1925
|
+
if uri.path[0..0] == SLASH
|
1926
|
+
joined_path = URI.normalize_path(uri.path)
|
1927
|
+
else
|
1928
|
+
base_path = self.path.dup
|
1929
|
+
base_path = EMPTY_STR if base_path == nil
|
1930
|
+
base_path = URI.normalize_path(base_path)
|
1931
|
+
|
1932
|
+
# Section 5.2.3 of RFC 3986
|
1933
|
+
#
|
1934
|
+
# Removes the right-most path segment from the base path.
|
1935
|
+
if base_path.include?(SLASH)
|
1936
|
+
base_path.sub!(/\/[^\/]+$/, SLASH)
|
1937
|
+
else
|
1938
|
+
base_path = EMPTY_STR
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
# If the base path is empty and an authority segment has been
|
1942
|
+
# defined, use a base path of SLASH
|
1943
|
+
if base_path.empty? && self.authority != nil
|
1944
|
+
base_path = SLASH
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
joined_path = URI.normalize_path(base_path + uri.path)
|
1948
|
+
end
|
1949
|
+
joined_query = uri.query
|
1950
|
+
end
|
1951
|
+
joined_user = self.user
|
1952
|
+
joined_password = self.password
|
1953
|
+
joined_host = self.host
|
1954
|
+
joined_port = self.port
|
1955
|
+
end
|
1956
|
+
joined_scheme = self.scheme
|
1957
|
+
end
|
1958
|
+
joined_fragment = uri.fragment
|
1959
|
+
|
1960
|
+
return self.class.new(
|
1961
|
+
:scheme => joined_scheme,
|
1962
|
+
:user => joined_user,
|
1963
|
+
:password => joined_password,
|
1964
|
+
:host => joined_host,
|
1965
|
+
:port => joined_port,
|
1966
|
+
:path => joined_path,
|
1967
|
+
:query => joined_query,
|
1968
|
+
:fragment => joined_fragment
|
1969
|
+
)
|
1970
|
+
end
|
1971
|
+
alias_method :+, :join
|
1972
|
+
|
1973
|
+
##
|
1974
|
+
# Destructive form of <code>join</code>.
|
1975
|
+
#
|
1976
|
+
# @param [String, Addressable::URI, #to_str] The URI to join with.
|
1977
|
+
#
|
1978
|
+
# @return [Addressable::URI] The joined URI.
|
1979
|
+
#
|
1980
|
+
# @see Addressable::URI#join
|
1981
|
+
def join!(uri)
|
1982
|
+
replace_self(self.join(uri))
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
##
|
1986
|
+
# Merges a URI with a <code>Hash</code> of components.
|
1987
|
+
# This method has different behavior from <code>join</code>. Any
|
1988
|
+
# components present in the <code>hash</code> parameter will override the
|
1989
|
+
# original components. The path component is not treated specially.
|
1990
|
+
#
|
1991
|
+
# @param [Hash, Addressable::URI, #to_hash] The components to merge with.
|
1992
|
+
#
|
1993
|
+
# @return [Addressable::URI] The merged URI.
|
1994
|
+
#
|
1995
|
+
# @see Hash#merge
|
1996
|
+
def merge(hash)
|
1997
|
+
unless hash.respond_to?(:to_hash)
|
1998
|
+
raise TypeError, "Can't convert #{hash.class} into Hash."
|
1999
|
+
end
|
2000
|
+
hash = hash.to_hash
|
2001
|
+
|
2002
|
+
if hash.has_key?(:authority)
|
2003
|
+
if (hash.keys & [:userinfo, :user, :password, :host, :port]).any?
|
2004
|
+
raise ArgumentError,
|
2005
|
+
"Cannot specify both an authority and any of the components " +
|
2006
|
+
"within the authority."
|
2007
|
+
end
|
2008
|
+
end
|
2009
|
+
if hash.has_key?(:userinfo)
|
2010
|
+
if (hash.keys & [:user, :password]).any?
|
2011
|
+
raise ArgumentError,
|
2012
|
+
"Cannot specify both a userinfo and either the user or password."
|
2013
|
+
end
|
2014
|
+
end
|
2015
|
+
|
2016
|
+
uri = self.class.new
|
2017
|
+
uri.defer_validation do
|
2018
|
+
# Bunch of crazy logic required because of the composite components
|
2019
|
+
# like userinfo and authority.
|
2020
|
+
uri.scheme =
|
2021
|
+
hash.has_key?(:scheme) ? hash[:scheme] : self.scheme
|
2022
|
+
if hash.has_key?(:authority)
|
2023
|
+
uri.authority =
|
2024
|
+
hash.has_key?(:authority) ? hash[:authority] : self.authority
|
2025
|
+
end
|
2026
|
+
if hash.has_key?(:userinfo)
|
2027
|
+
uri.userinfo =
|
2028
|
+
hash.has_key?(:userinfo) ? hash[:userinfo] : self.userinfo
|
2029
|
+
end
|
2030
|
+
if !hash.has_key?(:userinfo) && !hash.has_key?(:authority)
|
2031
|
+
uri.user =
|
2032
|
+
hash.has_key?(:user) ? hash[:user] : self.user
|
2033
|
+
uri.password =
|
2034
|
+
hash.has_key?(:password) ? hash[:password] : self.password
|
2035
|
+
end
|
2036
|
+
if !hash.has_key?(:authority)
|
2037
|
+
uri.host =
|
2038
|
+
hash.has_key?(:host) ? hash[:host] : self.host
|
2039
|
+
uri.port =
|
2040
|
+
hash.has_key?(:port) ? hash[:port] : self.port
|
2041
|
+
end
|
2042
|
+
uri.path =
|
2043
|
+
hash.has_key?(:path) ? hash[:path] : self.path
|
2044
|
+
uri.query =
|
2045
|
+
hash.has_key?(:query) ? hash[:query] : self.query
|
2046
|
+
uri.fragment =
|
2047
|
+
hash.has_key?(:fragment) ? hash[:fragment] : self.fragment
|
2048
|
+
end
|
2049
|
+
|
2050
|
+
return uri
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
##
|
2054
|
+
# Destructive form of <code>merge</code>.
|
2055
|
+
#
|
2056
|
+
# @param [Hash, Addressable::URI, #to_hash] The components to merge with.
|
2057
|
+
#
|
2058
|
+
# @return [Addressable::URI] The merged URI.
|
2059
|
+
#
|
2060
|
+
# @see Addressable::URI#merge
|
2061
|
+
def merge!(uri)
|
2062
|
+
replace_self(self.merge(uri))
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
##
|
2066
|
+
# Returns the shortest normalized relative form of this URI that uses the
|
2067
|
+
# supplied URI as a base for resolution. Returns an absolute URI if
|
2068
|
+
# necessary. This is effectively the opposite of <code>route_to</code>.
|
2069
|
+
#
|
2070
|
+
# @param [String, Addressable::URI, #to_str] uri The URI to route from.
|
2071
|
+
#
|
2072
|
+
# @return [Addressable::URI]
|
2073
|
+
# The normalized relative URI that is equivalent to the original URI.
|
2074
|
+
def route_from(uri)
|
2075
|
+
uri = URI.parse(uri).normalize
|
2076
|
+
normalized_self = self.normalize
|
2077
|
+
if normalized_self.relative?
|
2078
|
+
raise ArgumentError, "Expected absolute URI, got: #{self.to_s}"
|
2079
|
+
end
|
2080
|
+
if uri.relative?
|
2081
|
+
raise ArgumentError, "Expected absolute URI, got: #{uri.to_s}"
|
2082
|
+
end
|
2083
|
+
if normalized_self == uri
|
2084
|
+
return Addressable::URI.parse("##{normalized_self.fragment}")
|
2085
|
+
end
|
2086
|
+
components = normalized_self.to_hash
|
2087
|
+
if normalized_self.scheme == uri.scheme
|
2088
|
+
components[:scheme] = nil
|
2089
|
+
if normalized_self.authority == uri.authority
|
2090
|
+
components[:user] = nil
|
2091
|
+
components[:password] = nil
|
2092
|
+
components[:host] = nil
|
2093
|
+
components[:port] = nil
|
2094
|
+
if normalized_self.path == uri.path
|
2095
|
+
components[:path] = nil
|
2096
|
+
if normalized_self.query == uri.query
|
2097
|
+
components[:query] = nil
|
2098
|
+
end
|
2099
|
+
else
|
2100
|
+
if uri.path != SLASH and components[:path]
|
2101
|
+
self_splitted_path = split_path(components[:path])
|
2102
|
+
uri_splitted_path = split_path(uri.path)
|
2103
|
+
self_dir = self_splitted_path.shift
|
2104
|
+
uri_dir = uri_splitted_path.shift
|
2105
|
+
while !self_splitted_path.empty? && !uri_splitted_path.empty? and self_dir == uri_dir
|
2106
|
+
self_dir = self_splitted_path.shift
|
2107
|
+
uri_dir = uri_splitted_path.shift
|
2108
|
+
end
|
2109
|
+
components[:path] = (uri_splitted_path.fill('..') + [self_dir] + self_splitted_path).join(SLASH)
|
2110
|
+
end
|
2111
|
+
end
|
2112
|
+
end
|
2113
|
+
end
|
2114
|
+
# Avoid network-path references.
|
2115
|
+
if components[:host] != nil
|
2116
|
+
components[:scheme] = normalized_self.scheme
|
2117
|
+
end
|
2118
|
+
return Addressable::URI.new(
|
2119
|
+
:scheme => components[:scheme],
|
2120
|
+
:user => components[:user],
|
2121
|
+
:password => components[:password],
|
2122
|
+
:host => components[:host],
|
2123
|
+
:port => components[:port],
|
2124
|
+
:path => components[:path],
|
2125
|
+
:query => components[:query],
|
2126
|
+
:fragment => components[:fragment]
|
2127
|
+
)
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
##
|
2131
|
+
# Returns the shortest normalized relative form of the supplied URI that
|
2132
|
+
# uses this URI as a base for resolution. Returns an absolute URI if
|
2133
|
+
# necessary. This is effectively the opposite of <code>route_from</code>.
|
2134
|
+
#
|
2135
|
+
# @param [String, Addressable::URI, #to_str] uri The URI to route to.
|
2136
|
+
#
|
2137
|
+
# @return [Addressable::URI]
|
2138
|
+
# The normalized relative URI that is equivalent to the supplied URI.
|
2139
|
+
def route_to(uri)
|
2140
|
+
return URI.parse(uri).route_from(self)
|
2141
|
+
end
|
2142
|
+
|
2143
|
+
##
|
2144
|
+
# Returns a normalized URI object.
|
2145
|
+
#
|
2146
|
+
# NOTE: This method does not attempt to fully conform to specifications.
|
2147
|
+
# It exists largely to correct other people's failures to read the
|
2148
|
+
# specifications, and also to deal with caching issues since several
|
2149
|
+
# different URIs may represent the same resource and should not be
|
2150
|
+
# cached multiple times.
|
2151
|
+
#
|
2152
|
+
# @return [Addressable::URI] The normalized URI.
|
2153
|
+
def normalize
|
2154
|
+
# This is a special exception for the frequently misused feed
|
2155
|
+
# URI scheme.
|
2156
|
+
if normalized_scheme == "feed"
|
2157
|
+
if self.to_s =~ /^feed:\/*http:\/*/
|
2158
|
+
return URI.parse(
|
2159
|
+
self.to_s[/^feed:\/*(http:\/*.*)/, 1]
|
2160
|
+
).normalize
|
2161
|
+
end
|
2162
|
+
end
|
2163
|
+
|
2164
|
+
return self.class.new(
|
2165
|
+
:scheme => normalized_scheme,
|
2166
|
+
:authority => normalized_authority,
|
2167
|
+
:path => normalized_path,
|
2168
|
+
:query => normalized_query,
|
2169
|
+
:fragment => normalized_fragment
|
2170
|
+
)
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
##
|
2174
|
+
# Destructively normalizes this URI object.
|
2175
|
+
#
|
2176
|
+
# @return [Addressable::URI] The normalized URI.
|
2177
|
+
#
|
2178
|
+
# @see Addressable::URI#normalize
|
2179
|
+
def normalize!
|
2180
|
+
replace_self(self.normalize)
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
##
|
2184
|
+
# Creates a URI suitable for display to users. If semantic attacks are
|
2185
|
+
# likely, the application should try to detect these and warn the user.
|
2186
|
+
# See <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>,
|
2187
|
+
# section 7.6 for more information.
|
2188
|
+
#
|
2189
|
+
# @return [Addressable::URI] A URI suitable for display purposes.
|
2190
|
+
def display_uri
|
2191
|
+
display_uri = self.normalize
|
2192
|
+
display_uri.host = ::Addressable::IDNA.to_unicode(display_uri.host)
|
2193
|
+
return display_uri
|
2194
|
+
end
|
2195
|
+
|
2196
|
+
##
|
2197
|
+
# Returns <code>true</code> if the URI objects are equal. This method
|
2198
|
+
# normalizes both URIs before doing the comparison, and allows comparison
|
2199
|
+
# against <code>Strings</code>.
|
2200
|
+
#
|
2201
|
+
# @param [Object] uri The URI to compare.
|
2202
|
+
#
|
2203
|
+
# @return [TrueClass, FalseClass]
|
2204
|
+
# <code>true</code> if the URIs are equivalent, <code>false</code>
|
2205
|
+
# otherwise.
|
2206
|
+
def ===(uri)
|
2207
|
+
if uri.respond_to?(:normalize)
|
2208
|
+
uri_string = uri.normalize.to_s
|
2209
|
+
else
|
2210
|
+
begin
|
2211
|
+
uri_string = ::Addressable::URI.parse(uri).normalize.to_s
|
2212
|
+
rescue InvalidURIError, TypeError
|
2213
|
+
return false
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
return self.normalize.to_s == uri_string
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
##
|
2220
|
+
# Returns <code>true</code> if the URI objects are equal. This method
|
2221
|
+
# normalizes both URIs before doing the comparison.
|
2222
|
+
#
|
2223
|
+
# @param [Object] uri The URI to compare.
|
2224
|
+
#
|
2225
|
+
# @return [TrueClass, FalseClass]
|
2226
|
+
# <code>true</code> if the URIs are equivalent, <code>false</code>
|
2227
|
+
# otherwise.
|
2228
|
+
def ==(uri)
|
2229
|
+
return false unless uri.kind_of?(URI)
|
2230
|
+
return self.normalize.to_s == uri.normalize.to_s
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
##
|
2234
|
+
# Returns <code>true</code> if the URI objects are equal. This method
|
2235
|
+
# does NOT normalize either URI before doing the comparison.
|
2236
|
+
#
|
2237
|
+
# @param [Object] uri The URI to compare.
|
2238
|
+
#
|
2239
|
+
# @return [TrueClass, FalseClass]
|
2240
|
+
# <code>true</code> if the URIs are equivalent, <code>false</code>
|
2241
|
+
# otherwise.
|
2242
|
+
def eql?(uri)
|
2243
|
+
return false unless uri.kind_of?(URI)
|
2244
|
+
return self.to_s == uri.to_s
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
##
|
2248
|
+
# A hash value that will make a URI equivalent to its normalized
|
2249
|
+
# form.
|
2250
|
+
#
|
2251
|
+
# @return [Integer] A hash of the URI.
|
2252
|
+
def hash
|
2253
|
+
@hash ||= self.to_s.hash * -1
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
##
|
2257
|
+
# Clones the URI object.
|
2258
|
+
#
|
2259
|
+
# @return [Addressable::URI] The cloned URI.
|
2260
|
+
def dup
|
2261
|
+
duplicated_uri = self.class.new(
|
2262
|
+
:scheme => self.scheme ? self.scheme.dup : nil,
|
2263
|
+
:user => self.user ? self.user.dup : nil,
|
2264
|
+
:password => self.password ? self.password.dup : nil,
|
2265
|
+
:host => self.host ? self.host.dup : nil,
|
2266
|
+
:port => self.port,
|
2267
|
+
:path => self.path ? self.path.dup : nil,
|
2268
|
+
:query => self.query ? self.query.dup : nil,
|
2269
|
+
:fragment => self.fragment ? self.fragment.dup : nil
|
2270
|
+
)
|
2271
|
+
return duplicated_uri
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
##
|
2275
|
+
# Omits components from a URI.
|
2276
|
+
#
|
2277
|
+
# @param [Symbol] *components The components to be omitted.
|
2278
|
+
#
|
2279
|
+
# @return [Addressable::URI] The URI with components omitted.
|
2280
|
+
#
|
2281
|
+
# @example
|
2282
|
+
# uri = Addressable::URI.parse("http://example.com/path?query")
|
2283
|
+
# #=> #<Addressable::URI:0xcc5e7a URI:http://example.com/path?query>
|
2284
|
+
# uri.omit(:scheme, :authority)
|
2285
|
+
# #=> #<Addressable::URI:0xcc4d86 URI:/path?query>
|
2286
|
+
def omit(*components)
|
2287
|
+
invalid_components = components - [
|
2288
|
+
:scheme, :user, :password, :userinfo, :host, :port, :authority,
|
2289
|
+
:path, :query, :fragment
|
2290
|
+
]
|
2291
|
+
unless invalid_components.empty?
|
2292
|
+
raise ArgumentError,
|
2293
|
+
"Invalid component names: #{invalid_components.inspect}."
|
2294
|
+
end
|
2295
|
+
duplicated_uri = self.dup
|
2296
|
+
duplicated_uri.defer_validation do
|
2297
|
+
components.each do |component|
|
2298
|
+
duplicated_uri.send((component.to_s + "=").to_sym, nil)
|
2299
|
+
end
|
2300
|
+
duplicated_uri.user = duplicated_uri.normalized_user
|
2301
|
+
end
|
2302
|
+
duplicated_uri
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
##
|
2306
|
+
# Destructive form of omit.
|
2307
|
+
#
|
2308
|
+
# @param [Symbol] *components The components to be omitted.
|
2309
|
+
#
|
2310
|
+
# @return [Addressable::URI] The URI with components omitted.
|
2311
|
+
#
|
2312
|
+
# @see Addressable::URI#omit
|
2313
|
+
def omit!(*components)
|
2314
|
+
replace_self(self.omit(*components))
|
2315
|
+
end
|
2316
|
+
|
2317
|
+
##
|
2318
|
+
# Determines if the URI is an empty string.
|
2319
|
+
#
|
2320
|
+
# @return [TrueClass, FalseClass]
|
2321
|
+
# Returns <code>true</code> if empty, <code>false</code> otherwise.
|
2322
|
+
def empty?
|
2323
|
+
return self.to_s.empty?
|
2324
|
+
end
|
2325
|
+
|
2326
|
+
##
|
2327
|
+
# Converts the URI to a <code>String</code>.
|
2328
|
+
#
|
2329
|
+
# @return [String] The URI's <code>String</code> representation.
|
2330
|
+
def to_s
|
2331
|
+
if self.scheme == nil && self.path != nil && !self.path.empty? &&
|
2332
|
+
self.path =~ NORMPATH
|
2333
|
+
raise InvalidURIError,
|
2334
|
+
"Cannot assemble URI string with ambiguous path: '#{self.path}'"
|
2335
|
+
end
|
2336
|
+
@uri_string ||= begin
|
2337
|
+
uri_string = String.new
|
2338
|
+
uri_string << "#{self.scheme}:" if self.scheme != nil
|
2339
|
+
uri_string << "//#{self.authority}" if self.authority != nil
|
2340
|
+
uri_string << self.path.to_s
|
2341
|
+
uri_string << "?#{self.query}" if self.query != nil
|
2342
|
+
uri_string << "##{self.fragment}" if self.fragment != nil
|
2343
|
+
uri_string.force_encoding(Encoding::UTF_8)
|
2344
|
+
uri_string
|
2345
|
+
end
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
##
|
2349
|
+
# URI's are glorified <code>Strings</code>. Allow implicit conversion.
|
2350
|
+
alias_method :to_str, :to_s
|
2351
|
+
|
2352
|
+
##
|
2353
|
+
# Returns a Hash of the URI components.
|
2354
|
+
#
|
2355
|
+
# @return [Hash] The URI as a <code>Hash</code> of components.
|
2356
|
+
def to_hash
|
2357
|
+
return {
|
2358
|
+
:scheme => self.scheme,
|
2359
|
+
:user => self.user,
|
2360
|
+
:password => self.password,
|
2361
|
+
:host => self.host,
|
2362
|
+
:port => self.port,
|
2363
|
+
:path => self.path,
|
2364
|
+
:query => self.query,
|
2365
|
+
:fragment => self.fragment
|
2366
|
+
}
|
2367
|
+
end
|
2368
|
+
|
2369
|
+
##
|
2370
|
+
# Returns a <code>String</code> representation of the URI object's state.
|
2371
|
+
#
|
2372
|
+
# @return [String] The URI object's state, as a <code>String</code>.
|
2373
|
+
def inspect
|
2374
|
+
sprintf("#<%s:%#0x URI:%s>", URI.to_s, self.object_id, self.to_s)
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
##
|
2378
|
+
# This method allows you to make several changes to a URI simultaneously,
|
2379
|
+
# which separately would cause validation errors, but in conjunction,
|
2380
|
+
# are valid. The URI will be revalidated as soon as the entire block has
|
2381
|
+
# been executed.
|
2382
|
+
#
|
2383
|
+
# @param [Proc] block
|
2384
|
+
# A set of operations to perform on a given URI.
|
2385
|
+
def defer_validation
|
2386
|
+
raise LocalJumpError, "No block given." unless block_given?
|
2387
|
+
@validation_deferred = true
|
2388
|
+
yield
|
2389
|
+
@validation_deferred = false
|
2390
|
+
validate
|
2391
|
+
ensure
|
2392
|
+
@validation_deferred = false
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
def encode_with(coder)
|
2396
|
+
instance_variables.each do |ivar|
|
2397
|
+
value = instance_variable_get(ivar)
|
2398
|
+
if value != NONE
|
2399
|
+
key = ivar.to_s.slice(1..-1)
|
2400
|
+
coder[key] = value
|
2401
|
+
end
|
2402
|
+
end
|
2403
|
+
nil
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
def init_with(coder)
|
2407
|
+
reset_ivs
|
2408
|
+
coder.map.each do |key, value|
|
2409
|
+
instance_variable_set("@#{key}", value)
|
2410
|
+
end
|
2411
|
+
nil
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
protected
|
2415
|
+
SELF_REF = '.'
|
2416
|
+
PARENT = '..'
|
2417
|
+
|
2418
|
+
RULE_2A = /\/\.\/|\/\.$/
|
2419
|
+
RULE_2B_2C = /\/([^\/]*)\/\.\.\/|\/([^\/]*)\/\.\.$/
|
2420
|
+
RULE_2D = /^\.\.?\/?/
|
2421
|
+
RULE_PREFIXED_PARENT = /^\/\.\.?\/|^(\/\.\.?)+\/?$/
|
2422
|
+
|
2423
|
+
##
|
2424
|
+
# Resolves paths to their simplest form.
|
2425
|
+
#
|
2426
|
+
# @param [String] path The path to normalize.
|
2427
|
+
#
|
2428
|
+
# @return [String] The normalized path.
|
2429
|
+
def self.normalize_path(path)
|
2430
|
+
# Section 5.2.4 of RFC 3986
|
2431
|
+
|
2432
|
+
return if path.nil?
|
2433
|
+
normalized_path = path.dup
|
2434
|
+
loop do
|
2435
|
+
mod ||= normalized_path.gsub!(RULE_2A, SLASH)
|
2436
|
+
|
2437
|
+
pair = normalized_path.match(RULE_2B_2C)
|
2438
|
+
if pair
|
2439
|
+
parent = pair[1]
|
2440
|
+
current = pair[2]
|
2441
|
+
else
|
2442
|
+
parent = nil
|
2443
|
+
current = nil
|
2444
|
+
end
|
2445
|
+
|
2446
|
+
regexp = "/#{Regexp.escape(parent.to_s)}/\\.\\./|"
|
2447
|
+
regexp += "(/#{Regexp.escape(current.to_s)}/\\.\\.$)"
|
2448
|
+
|
2449
|
+
if pair && ((parent != SELF_REF && parent != PARENT) ||
|
2450
|
+
(current != SELF_REF && current != PARENT))
|
2451
|
+
mod ||= normalized_path.gsub!(Regexp.new(regexp), SLASH)
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
mod ||= normalized_path.gsub!(RULE_2D, EMPTY_STR)
|
2455
|
+
# Non-standard, removes prefixed dotted segments from path.
|
2456
|
+
mod ||= normalized_path.gsub!(RULE_PREFIXED_PARENT, SLASH)
|
2457
|
+
break if mod.nil?
|
2458
|
+
end
|
2459
|
+
|
2460
|
+
normalized_path
|
2461
|
+
end
|
2462
|
+
|
2463
|
+
##
|
2464
|
+
# Ensures that the URI is valid.
|
2465
|
+
def validate
|
2466
|
+
return if !!@validation_deferred
|
2467
|
+
if self.scheme != nil && self.ip_based? &&
|
2468
|
+
(self.host == nil || self.host.empty?) &&
|
2469
|
+
(self.path == nil || self.path.empty?)
|
2470
|
+
raise InvalidURIError,
|
2471
|
+
"Absolute URI missing hierarchical segment: '#{self.to_s}'"
|
2472
|
+
end
|
2473
|
+
if self.host == nil
|
2474
|
+
if self.port != nil ||
|
2475
|
+
self.user != nil ||
|
2476
|
+
self.password != nil
|
2477
|
+
raise InvalidURIError, "Hostname not supplied: '#{self.to_s}'"
|
2478
|
+
end
|
2479
|
+
end
|
2480
|
+
if self.path != nil && !self.path.empty? && self.path[0..0] != SLASH &&
|
2481
|
+
self.authority != nil
|
2482
|
+
raise InvalidURIError,
|
2483
|
+
"Cannot have a relative path with an authority set: '#{self.to_s}'"
|
2484
|
+
end
|
2485
|
+
if self.path != nil && !self.path.empty? &&
|
2486
|
+
self.path[0..1] == SLASH + SLASH && self.authority == nil
|
2487
|
+
raise InvalidURIError,
|
2488
|
+
"Cannot have a path with two leading slashes " +
|
2489
|
+
"without an authority set: '#{self.to_s}'"
|
2490
|
+
end
|
2491
|
+
unreserved = CharacterClasses::UNRESERVED
|
2492
|
+
sub_delims = CharacterClasses::SUB_DELIMS
|
2493
|
+
if !self.host.nil? && (self.host =~ /[<>{}\/\\\?\#\@"[[:space:]]]/ ||
|
2494
|
+
(self.host[/^\[(.*)\]$/, 1] != nil && self.host[/^\[(.*)\]$/, 1] !~
|
2495
|
+
Regexp.new("^[#{unreserved}#{sub_delims}:]*$")))
|
2496
|
+
raise InvalidURIError, "Invalid character in host: '#{self.host.to_s}'"
|
2497
|
+
end
|
2498
|
+
return nil
|
2499
|
+
end
|
2500
|
+
|
2501
|
+
##
|
2502
|
+
# Replaces the internal state of self with the specified URI's state.
|
2503
|
+
# Used in destructive operations to avoid massive code repetition.
|
2504
|
+
#
|
2505
|
+
# @param [Addressable::URI] uri The URI to replace <code>self</code> with.
|
2506
|
+
#
|
2507
|
+
# @return [Addressable::URI] <code>self</code>.
|
2508
|
+
def replace_self(uri)
|
2509
|
+
# Reset dependent values
|
2510
|
+
reset_ivs
|
2511
|
+
|
2512
|
+
@scheme = uri.scheme
|
2513
|
+
@user = uri.user
|
2514
|
+
@password = uri.password
|
2515
|
+
@host = uri.host
|
2516
|
+
@port = uri.port
|
2517
|
+
@path = uri.path
|
2518
|
+
@query = uri.query
|
2519
|
+
@fragment = uri.fragment
|
2520
|
+
return self
|
2521
|
+
end
|
2522
|
+
|
2523
|
+
##
|
2524
|
+
# Splits path string with "/" (slash).
|
2525
|
+
# It is considered that there is empty string after last slash when
|
2526
|
+
# path ends with slash.
|
2527
|
+
#
|
2528
|
+
# @param [String] path The path to split.
|
2529
|
+
#
|
2530
|
+
# @return [Array<String>] An array of parts of path.
|
2531
|
+
def split_path(path)
|
2532
|
+
splitted = path.split(SLASH)
|
2533
|
+
splitted << EMPTY_STR if path.end_with? SLASH
|
2534
|
+
splitted
|
2535
|
+
end
|
2536
|
+
|
2537
|
+
##
|
2538
|
+
# Resets composite values for the entire URI
|
2539
|
+
#
|
2540
|
+
# @api private
|
2541
|
+
def remove_composite_values
|
2542
|
+
@uri_string = nil
|
2543
|
+
@hash = nil
|
2544
|
+
end
|
2545
|
+
|
2546
|
+
##
|
2547
|
+
# Converts the string to be UTF-8 if it is not already UTF-8
|
2548
|
+
#
|
2549
|
+
# @api private
|
2550
|
+
def force_utf8_encoding_if_needed(str)
|
2551
|
+
if str && str.encoding != Encoding::UTF_8
|
2552
|
+
str.force_encoding(Encoding::UTF_8)
|
2553
|
+
end
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
private
|
2557
|
+
|
2558
|
+
##
|
2559
|
+
# Resets instance variables
|
2560
|
+
#
|
2561
|
+
# @api private
|
2562
|
+
def reset_ivs
|
2563
|
+
@scheme = nil
|
2564
|
+
@user = nil
|
2565
|
+
@normalized_scheme = NONE
|
2566
|
+
@normalized_user = NONE
|
2567
|
+
@uri_string = nil
|
2568
|
+
@hash = nil
|
2569
|
+
@userinfo = nil
|
2570
|
+
@normalized_userinfo = NONE
|
2571
|
+
@authority = nil
|
2572
|
+
@password = nil
|
2573
|
+
@normalized_authority = nil
|
2574
|
+
@port = nil
|
2575
|
+
@normalized_password = NONE
|
2576
|
+
@host = nil
|
2577
|
+
@normalized_host = nil
|
2578
|
+
@normalized_port = NONE
|
2579
|
+
@path = EMPTY_STR
|
2580
|
+
@normalized_path = nil
|
2581
|
+
@normalized_query = NONE
|
2582
|
+
@fragment = nil
|
2583
|
+
@normalized_fragment = NONE
|
2584
|
+
@query = nil
|
2585
|
+
end
|
2586
|
+
|
2587
|
+
NONE = Module.new.freeze
|
2588
|
+
|
2589
|
+
private_constant :NONE
|
2590
|
+
end
|
2591
|
+
end
|