direct7 0.0.10 → 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 +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- 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 +2055 -3
data/vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/fileutils/lib/fileutils.rb
ADDED
@@ -0,0 +1,2706 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'rbconfig'
|
5
|
+
rescue LoadError
|
6
|
+
# for make rjit-headers
|
7
|
+
end
|
8
|
+
|
9
|
+
# Namespace for file utility methods for copying, moving, removing, etc.
|
10
|
+
#
|
11
|
+
# == What's Here
|
12
|
+
#
|
13
|
+
# First, what’s elsewhere. \Module \Bundler::FileUtils:
|
14
|
+
#
|
15
|
+
# - Inherits from {class Object}[https://docs.ruby-lang.org/en/master/Object.html].
|
16
|
+
# - Supplements {class File}[https://docs.ruby-lang.org/en/master/File.html]
|
17
|
+
# (but is not included or extended there).
|
18
|
+
#
|
19
|
+
# Here, module \Bundler::FileUtils provides methods that are useful for:
|
20
|
+
#
|
21
|
+
# - {Creating}[rdoc-ref:FileUtils@Creating].
|
22
|
+
# - {Deleting}[rdoc-ref:FileUtils@Deleting].
|
23
|
+
# - {Querying}[rdoc-ref:FileUtils@Querying].
|
24
|
+
# - {Setting}[rdoc-ref:FileUtils@Setting].
|
25
|
+
# - {Comparing}[rdoc-ref:FileUtils@Comparing].
|
26
|
+
# - {Copying}[rdoc-ref:FileUtils@Copying].
|
27
|
+
# - {Moving}[rdoc-ref:FileUtils@Moving].
|
28
|
+
# - {Options}[rdoc-ref:FileUtils@Options].
|
29
|
+
#
|
30
|
+
# === Creating
|
31
|
+
#
|
32
|
+
# - ::mkdir: Creates directories.
|
33
|
+
# - ::mkdir_p, ::makedirs, ::mkpath: Creates directories,
|
34
|
+
# also creating ancestor directories as needed.
|
35
|
+
# - ::link_entry: Creates a hard link.
|
36
|
+
# - ::ln, ::link: Creates hard links.
|
37
|
+
# - ::ln_s, ::symlink: Creates symbolic links.
|
38
|
+
# - ::ln_sf: Creates symbolic links, overwriting if necessary.
|
39
|
+
# - ::ln_sr: Creates symbolic links relative to targets
|
40
|
+
#
|
41
|
+
# === Deleting
|
42
|
+
#
|
43
|
+
# - ::remove_dir: Removes a directory and its descendants.
|
44
|
+
# - ::remove_entry: Removes an entry, including its descendants if it is a directory.
|
45
|
+
# - ::remove_entry_secure: Like ::remove_entry, but removes securely.
|
46
|
+
# - ::remove_file: Removes a file entry.
|
47
|
+
# - ::rm, ::remove: Removes entries.
|
48
|
+
# - ::rm_f, ::safe_unlink: Like ::rm, but removes forcibly.
|
49
|
+
# - ::rm_r: Removes entries and their descendants.
|
50
|
+
# - ::rm_rf, ::rmtree: Like ::rm_r, but removes forcibly.
|
51
|
+
# - ::rmdir: Removes directories.
|
52
|
+
#
|
53
|
+
# === Querying
|
54
|
+
#
|
55
|
+
# - ::pwd, ::getwd: Returns the path to the working directory.
|
56
|
+
# - ::uptodate?: Returns whether a given entry is newer than given other entries.
|
57
|
+
#
|
58
|
+
# === Setting
|
59
|
+
#
|
60
|
+
# - ::cd, ::chdir: Sets the working directory.
|
61
|
+
# - ::chmod: Sets permissions for an entry.
|
62
|
+
# - ::chmod_R: Sets permissions for an entry and its descendants.
|
63
|
+
# - ::chown: Sets the owner and group for entries.
|
64
|
+
# - ::chown_R: Sets the owner and group for entries and their descendants.
|
65
|
+
# - ::touch: Sets modification and access times for entries,
|
66
|
+
# creating if necessary.
|
67
|
+
#
|
68
|
+
# === Comparing
|
69
|
+
#
|
70
|
+
# - ::compare_file, ::cmp, ::identical?: Returns whether two entries are identical.
|
71
|
+
# - ::compare_stream: Returns whether two streams are identical.
|
72
|
+
#
|
73
|
+
# === Copying
|
74
|
+
#
|
75
|
+
# - ::copy_entry: Recursively copies an entry.
|
76
|
+
# - ::copy_file: Copies an entry.
|
77
|
+
# - ::copy_stream: Copies a stream.
|
78
|
+
# - ::cp, ::copy: Copies files.
|
79
|
+
# - ::cp_lr: Recursively creates hard links.
|
80
|
+
# - ::cp_r: Recursively copies files, retaining mode, owner, and group.
|
81
|
+
# - ::install: Recursively copies files, optionally setting mode,
|
82
|
+
# owner, and group.
|
83
|
+
#
|
84
|
+
# === Moving
|
85
|
+
#
|
86
|
+
# - ::mv, ::move: Moves entries.
|
87
|
+
#
|
88
|
+
# === Options
|
89
|
+
#
|
90
|
+
# - ::collect_method: Returns the names of methods that accept a given option.
|
91
|
+
# - ::commands: Returns the names of methods that accept options.
|
92
|
+
# - ::have_option?: Returns whether a given method accepts a given option.
|
93
|
+
# - ::options: Returns all option names.
|
94
|
+
# - ::options_of: Returns the names of the options for a given method.
|
95
|
+
#
|
96
|
+
# == Path Arguments
|
97
|
+
#
|
98
|
+
# Some methods in \Bundler::FileUtils accept _path_ arguments,
|
99
|
+
# which are interpreted as paths to filesystem entries:
|
100
|
+
#
|
101
|
+
# - If the argument is a string, that value is the path.
|
102
|
+
# - If the argument has method +:to_path+, it is converted via that method.
|
103
|
+
# - If the argument has method +:to_str+, it is converted via that method.
|
104
|
+
#
|
105
|
+
# == About the Examples
|
106
|
+
#
|
107
|
+
# Some examples here involve trees of file entries.
|
108
|
+
# For these, we sometimes display trees using the
|
109
|
+
# {tree command-line utility}[https://en.wikipedia.org/wiki/Tree_(command)],
|
110
|
+
# which is a recursive directory-listing utility that produces
|
111
|
+
# a depth-indented listing of files and directories.
|
112
|
+
#
|
113
|
+
# We use a helper method to launch the command and control the format:
|
114
|
+
#
|
115
|
+
# def tree(dirpath = '.')
|
116
|
+
# command = "tree --noreport --charset=ascii #{dirpath}"
|
117
|
+
# system(command)
|
118
|
+
# end
|
119
|
+
#
|
120
|
+
# To illustrate:
|
121
|
+
#
|
122
|
+
# tree('src0')
|
123
|
+
# # => src0
|
124
|
+
# # |-- sub0
|
125
|
+
# # | |-- src0.txt
|
126
|
+
# # | `-- src1.txt
|
127
|
+
# # `-- sub1
|
128
|
+
# # |-- src2.txt
|
129
|
+
# # `-- src3.txt
|
130
|
+
#
|
131
|
+
# == Avoiding the TOCTTOU Vulnerability
|
132
|
+
#
|
133
|
+
# For certain methods that recursively remove entries,
|
134
|
+
# there is a potential vulnerability called the
|
135
|
+
# {Time-of-check to time-of-use}[https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use],
|
136
|
+
# or TOCTTOU, vulnerability that can exist when:
|
137
|
+
#
|
138
|
+
# - An ancestor directory of the entry at the target path is world writable;
|
139
|
+
# such directories include <tt>/tmp</tt>.
|
140
|
+
# - The directory tree at the target path includes:
|
141
|
+
#
|
142
|
+
# - A world-writable descendant directory.
|
143
|
+
# - A symbolic link.
|
144
|
+
#
|
145
|
+
# To avoid that vulnerability, you can use this method to remove entries:
|
146
|
+
#
|
147
|
+
# - Bundler::FileUtils.remove_entry_secure: removes recursively
|
148
|
+
# if the target path points to a directory.
|
149
|
+
#
|
150
|
+
# Also available are these methods,
|
151
|
+
# each of which calls \Bundler::FileUtils.remove_entry_secure:
|
152
|
+
#
|
153
|
+
# - Bundler::FileUtils.rm_r with keyword argument <tt>secure: true</tt>.
|
154
|
+
# - Bundler::FileUtils.rm_rf with keyword argument <tt>secure: true</tt>.
|
155
|
+
#
|
156
|
+
# Finally, this method for moving entries calls \Bundler::FileUtils.remove_entry_secure
|
157
|
+
# if the source and destination are on different file systems
|
158
|
+
# (which means that the "move" is really a copy and remove):
|
159
|
+
#
|
160
|
+
# - Bundler::FileUtils.mv with keyword argument <tt>secure: true</tt>.
|
161
|
+
#
|
162
|
+
# \Method \Bundler::FileUtils.remove_entry_secure removes securely
|
163
|
+
# by applying a special pre-process:
|
164
|
+
#
|
165
|
+
# - If the target path points to a directory, this method uses methods
|
166
|
+
# {File#chown}[https://docs.ruby-lang.org/en/master/File.html#method-i-chown]
|
167
|
+
# and {File#chmod}[https://docs.ruby-lang.org/en/master/File.html#method-i-chmod]
|
168
|
+
# in removing directories.
|
169
|
+
# - The owner of the target directory should be either the current process
|
170
|
+
# or the super user (root).
|
171
|
+
#
|
172
|
+
# WARNING: You must ensure that *ALL* parent directories cannot be
|
173
|
+
# moved by other untrusted users. For example, parent directories
|
174
|
+
# should not be owned by untrusted users, and should not be world
|
175
|
+
# writable except when the sticky bit is set.
|
176
|
+
#
|
177
|
+
# For details of this security vulnerability, see Perl cases:
|
178
|
+
#
|
179
|
+
# - {CVE-2005-0448}[https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0448].
|
180
|
+
# - {CVE-2004-0452}[https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0452].
|
181
|
+
#
|
182
|
+
module Bundler::FileUtils
|
183
|
+
VERSION = "1.7.0"
|
184
|
+
|
185
|
+
def self.private_module_function(name) #:nodoc:
|
186
|
+
module_function name
|
187
|
+
private_class_method name
|
188
|
+
end
|
189
|
+
|
190
|
+
#
|
191
|
+
# Returns a string containing the path to the current directory:
|
192
|
+
#
|
193
|
+
# Bundler::FileUtils.pwd # => "/rdoc/fileutils"
|
194
|
+
#
|
195
|
+
# Bundler::FileUtils.getwd is an alias for Bundler::FileUtils.pwd.
|
196
|
+
#
|
197
|
+
# Related: Bundler::FileUtils.cd.
|
198
|
+
#
|
199
|
+
def pwd
|
200
|
+
Dir.pwd
|
201
|
+
end
|
202
|
+
module_function :pwd
|
203
|
+
|
204
|
+
alias getwd pwd
|
205
|
+
module_function :getwd
|
206
|
+
|
207
|
+
# Changes the working directory to the given +dir+, which
|
208
|
+
# should be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments]:
|
209
|
+
#
|
210
|
+
# With no block given,
|
211
|
+
# changes the current directory to the directory at +dir+; returns zero:
|
212
|
+
#
|
213
|
+
# Bundler::FileUtils.pwd # => "/rdoc/fileutils"
|
214
|
+
# Bundler::FileUtils.cd('..')
|
215
|
+
# Bundler::FileUtils.pwd # => "/rdoc"
|
216
|
+
# Bundler::FileUtils.cd('fileutils')
|
217
|
+
#
|
218
|
+
# With a block given, changes the current directory to the directory
|
219
|
+
# at +dir+, calls the block with argument +dir+,
|
220
|
+
# and restores the original current directory; returns the block's value:
|
221
|
+
#
|
222
|
+
# Bundler::FileUtils.pwd # => "/rdoc/fileutils"
|
223
|
+
# Bundler::FileUtils.cd('..') { |arg| [arg, Bundler::FileUtils.pwd] } # => ["..", "/rdoc"]
|
224
|
+
# Bundler::FileUtils.pwd # => "/rdoc/fileutils"
|
225
|
+
#
|
226
|
+
# Keyword arguments:
|
227
|
+
#
|
228
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
229
|
+
#
|
230
|
+
# Bundler::FileUtils.cd('..')
|
231
|
+
# Bundler::FileUtils.cd('fileutils')
|
232
|
+
#
|
233
|
+
# Output:
|
234
|
+
#
|
235
|
+
# cd ..
|
236
|
+
# cd fileutils
|
237
|
+
#
|
238
|
+
# Bundler::FileUtils.chdir is an alias for Bundler::FileUtils.cd.
|
239
|
+
#
|
240
|
+
# Related: Bundler::FileUtils.pwd.
|
241
|
+
#
|
242
|
+
def cd(dir, verbose: nil, &block) # :yield: dir
|
243
|
+
fu_output_message "cd #{dir}" if verbose
|
244
|
+
result = Dir.chdir(dir, &block)
|
245
|
+
fu_output_message 'cd -' if verbose and block
|
246
|
+
result
|
247
|
+
end
|
248
|
+
module_function :cd
|
249
|
+
|
250
|
+
alias chdir cd
|
251
|
+
module_function :chdir
|
252
|
+
|
253
|
+
#
|
254
|
+
# Returns +true+ if the file at path +new+
|
255
|
+
# is newer than all the files at paths in array +old_list+;
|
256
|
+
# +false+ otherwise.
|
257
|
+
#
|
258
|
+
# Argument +new+ and the elements of +old_list+
|
259
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments]:
|
260
|
+
#
|
261
|
+
# Bundler::FileUtils.uptodate?('Rakefile', ['Gemfile', 'README.md']) # => true
|
262
|
+
# Bundler::FileUtils.uptodate?('Gemfile', ['Rakefile', 'README.md']) # => false
|
263
|
+
#
|
264
|
+
# A non-existent file is considered to be infinitely old.
|
265
|
+
#
|
266
|
+
# Related: Bundler::FileUtils.touch.
|
267
|
+
#
|
268
|
+
def uptodate?(new, old_list)
|
269
|
+
return false unless File.exist?(new)
|
270
|
+
new_time = File.mtime(new)
|
271
|
+
old_list.each do |old|
|
272
|
+
if File.exist?(old)
|
273
|
+
return false unless new_time > File.mtime(old)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
true
|
277
|
+
end
|
278
|
+
module_function :uptodate?
|
279
|
+
|
280
|
+
def remove_trailing_slash(dir) #:nodoc:
|
281
|
+
dir == '/' ? dir : dir.chomp(?/)
|
282
|
+
end
|
283
|
+
private_module_function :remove_trailing_slash
|
284
|
+
|
285
|
+
#
|
286
|
+
# Creates directories at the paths in the given +list+
|
287
|
+
# (a single path or an array of paths);
|
288
|
+
# returns +list+ if it is an array, <tt>[list]</tt> otherwise.
|
289
|
+
#
|
290
|
+
# Argument +list+ or its elements
|
291
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
292
|
+
#
|
293
|
+
# With no keyword arguments, creates a directory at each +path+ in +list+
|
294
|
+
# by calling: <tt>Dir.mkdir(path, mode)</tt>;
|
295
|
+
# see {Dir.mkdir}[https://docs.ruby-lang.org/en/master/Dir.html#method-c-mkdir]:
|
296
|
+
#
|
297
|
+
# Bundler::FileUtils.mkdir(%w[tmp0 tmp1]) # => ["tmp0", "tmp1"]
|
298
|
+
# Bundler::FileUtils.mkdir('tmp4') # => ["tmp4"]
|
299
|
+
#
|
300
|
+
# Keyword arguments:
|
301
|
+
#
|
302
|
+
# - <tt>mode: <i>mode</i></tt> - also calls <tt>File.chmod(mode, path)</tt>;
|
303
|
+
# see {File.chmod}[https://docs.ruby-lang.org/en/master/File.html#method-c-chmod].
|
304
|
+
# - <tt>noop: true</tt> - does not create directories.
|
305
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
306
|
+
#
|
307
|
+
# Bundler::FileUtils.mkdir(%w[tmp0 tmp1], verbose: true)
|
308
|
+
# Bundler::FileUtils.mkdir(%w[tmp2 tmp3], mode: 0700, verbose: true)
|
309
|
+
#
|
310
|
+
# Output:
|
311
|
+
#
|
312
|
+
# mkdir tmp0 tmp1
|
313
|
+
# mkdir -m 700 tmp2 tmp3
|
314
|
+
#
|
315
|
+
# Raises an exception if any path points to an existing
|
316
|
+
# file or directory, or if for any reason a directory cannot be created.
|
317
|
+
#
|
318
|
+
# Related: Bundler::FileUtils.mkdir_p.
|
319
|
+
#
|
320
|
+
def mkdir(list, mode: nil, noop: nil, verbose: nil)
|
321
|
+
list = fu_list(list)
|
322
|
+
fu_output_message "mkdir #{mode ? ('-m %03o ' % mode) : ''}#{list.join ' '}" if verbose
|
323
|
+
return if noop
|
324
|
+
|
325
|
+
list.each do |dir|
|
326
|
+
fu_mkdir dir, mode
|
327
|
+
end
|
328
|
+
end
|
329
|
+
module_function :mkdir
|
330
|
+
|
331
|
+
#
|
332
|
+
# Creates directories at the paths in the given +list+
|
333
|
+
# (a single path or an array of paths),
|
334
|
+
# also creating ancestor directories as needed;
|
335
|
+
# returns +list+ if it is an array, <tt>[list]</tt> otherwise.
|
336
|
+
#
|
337
|
+
# Argument +list+ or its elements
|
338
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
339
|
+
#
|
340
|
+
# With no keyword arguments, creates a directory at each +path+ in +list+,
|
341
|
+
# along with any needed ancestor directories,
|
342
|
+
# by calling: <tt>Dir.mkdir(path, mode)</tt>;
|
343
|
+
# see {Dir.mkdir}[https://docs.ruby-lang.org/en/master/Dir.html#method-c-mkdir]:
|
344
|
+
#
|
345
|
+
# Bundler::FileUtils.mkdir_p(%w[tmp0/tmp1 tmp2/tmp3]) # => ["tmp0/tmp1", "tmp2/tmp3"]
|
346
|
+
# Bundler::FileUtils.mkdir_p('tmp4/tmp5') # => ["tmp4/tmp5"]
|
347
|
+
#
|
348
|
+
# Keyword arguments:
|
349
|
+
#
|
350
|
+
# - <tt>mode: <i>mode</i></tt> - also calls <tt>File.chmod(mode, path)</tt>;
|
351
|
+
# see {File.chmod}[https://docs.ruby-lang.org/en/master/File.html#method-c-chmod].
|
352
|
+
# - <tt>noop: true</tt> - does not create directories.
|
353
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
354
|
+
#
|
355
|
+
# Bundler::FileUtils.mkdir_p(%w[tmp0 tmp1], verbose: true)
|
356
|
+
# Bundler::FileUtils.mkdir_p(%w[tmp2 tmp3], mode: 0700, verbose: true)
|
357
|
+
#
|
358
|
+
# Output:
|
359
|
+
#
|
360
|
+
# mkdir -p tmp0 tmp1
|
361
|
+
# mkdir -p -m 700 tmp2 tmp3
|
362
|
+
#
|
363
|
+
# Raises an exception if for any reason a directory cannot be created.
|
364
|
+
#
|
365
|
+
# Bundler::FileUtils.mkpath and Bundler::FileUtils.makedirs are aliases for Bundler::FileUtils.mkdir_p.
|
366
|
+
#
|
367
|
+
# Related: Bundler::FileUtils.mkdir.
|
368
|
+
#
|
369
|
+
def mkdir_p(list, mode: nil, noop: nil, verbose: nil)
|
370
|
+
list = fu_list(list)
|
371
|
+
fu_output_message "mkdir -p #{mode ? ('-m %03o ' % mode) : ''}#{list.join ' '}" if verbose
|
372
|
+
return *list if noop
|
373
|
+
|
374
|
+
list.each do |item|
|
375
|
+
path = remove_trailing_slash(item)
|
376
|
+
|
377
|
+
stack = []
|
378
|
+
until File.directory?(path) || File.dirname(path) == path
|
379
|
+
stack.push path
|
380
|
+
path = File.dirname(path)
|
381
|
+
end
|
382
|
+
stack.reverse_each do |dir|
|
383
|
+
begin
|
384
|
+
fu_mkdir dir, mode
|
385
|
+
rescue SystemCallError
|
386
|
+
raise unless File.directory?(dir)
|
387
|
+
end
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
return *list
|
392
|
+
end
|
393
|
+
module_function :mkdir_p
|
394
|
+
|
395
|
+
alias mkpath mkdir_p
|
396
|
+
alias makedirs mkdir_p
|
397
|
+
module_function :mkpath
|
398
|
+
module_function :makedirs
|
399
|
+
|
400
|
+
def fu_mkdir(path, mode) #:nodoc:
|
401
|
+
path = remove_trailing_slash(path)
|
402
|
+
if mode
|
403
|
+
Dir.mkdir path, mode
|
404
|
+
File.chmod mode, path
|
405
|
+
else
|
406
|
+
Dir.mkdir path
|
407
|
+
end
|
408
|
+
end
|
409
|
+
private_module_function :fu_mkdir
|
410
|
+
|
411
|
+
#
|
412
|
+
# Removes directories at the paths in the given +list+
|
413
|
+
# (a single path or an array of paths);
|
414
|
+
# returns +list+, if it is an array, <tt>[list]</tt> otherwise.
|
415
|
+
#
|
416
|
+
# Argument +list+ or its elements
|
417
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
418
|
+
#
|
419
|
+
# With no keyword arguments, removes the directory at each +path+ in +list+,
|
420
|
+
# by calling: <tt>Dir.rmdir(path)</tt>;
|
421
|
+
# see {Dir.rmdir}[https://docs.ruby-lang.org/en/master/Dir.html#method-c-rmdir]:
|
422
|
+
#
|
423
|
+
# Bundler::FileUtils.rmdir(%w[tmp0/tmp1 tmp2/tmp3]) # => ["tmp0/tmp1", "tmp2/tmp3"]
|
424
|
+
# Bundler::FileUtils.rmdir('tmp4/tmp5') # => ["tmp4/tmp5"]
|
425
|
+
#
|
426
|
+
# Keyword arguments:
|
427
|
+
#
|
428
|
+
# - <tt>parents: true</tt> - removes successive ancestor directories
|
429
|
+
# if empty.
|
430
|
+
# - <tt>noop: true</tt> - does not remove directories.
|
431
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
432
|
+
#
|
433
|
+
# Bundler::FileUtils.rmdir(%w[tmp0/tmp1 tmp2/tmp3], parents: true, verbose: true)
|
434
|
+
# Bundler::FileUtils.rmdir('tmp4/tmp5', parents: true, verbose: true)
|
435
|
+
#
|
436
|
+
# Output:
|
437
|
+
#
|
438
|
+
# rmdir -p tmp0/tmp1 tmp2/tmp3
|
439
|
+
# rmdir -p tmp4/tmp5
|
440
|
+
#
|
441
|
+
# Raises an exception if a directory does not exist
|
442
|
+
# or if for any reason a directory cannot be removed.
|
443
|
+
#
|
444
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
445
|
+
#
|
446
|
+
def rmdir(list, parents: nil, noop: nil, verbose: nil)
|
447
|
+
list = fu_list(list)
|
448
|
+
fu_output_message "rmdir #{parents ? '-p ' : ''}#{list.join ' '}" if verbose
|
449
|
+
return if noop
|
450
|
+
list.each do |dir|
|
451
|
+
Dir.rmdir(dir = remove_trailing_slash(dir))
|
452
|
+
if parents
|
453
|
+
begin
|
454
|
+
until (parent = File.dirname(dir)) == '.' or parent == dir
|
455
|
+
dir = parent
|
456
|
+
Dir.rmdir(dir)
|
457
|
+
end
|
458
|
+
rescue Errno::ENOTEMPTY, Errno::EEXIST, Errno::ENOENT
|
459
|
+
end
|
460
|
+
end
|
461
|
+
end
|
462
|
+
end
|
463
|
+
module_function :rmdir
|
464
|
+
|
465
|
+
# Creates {hard links}[https://en.wikipedia.org/wiki/Hard_link].
|
466
|
+
#
|
467
|
+
# Arguments +src+ (a single path or an array of paths)
|
468
|
+
# and +dest+ (a single path)
|
469
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
470
|
+
#
|
471
|
+
# When +src+ is the path to an existing file
|
472
|
+
# and +dest+ is the path to a non-existent file,
|
473
|
+
# creates a hard link at +dest+ pointing to +src+; returns zero:
|
474
|
+
#
|
475
|
+
# Dir.children('tmp0/') # => ["t.txt"]
|
476
|
+
# Dir.children('tmp1/') # => []
|
477
|
+
# Bundler::FileUtils.ln('tmp0/t.txt', 'tmp1/t.lnk') # => 0
|
478
|
+
# Dir.children('tmp1/') # => ["t.lnk"]
|
479
|
+
#
|
480
|
+
# When +src+ is the path to an existing file
|
481
|
+
# and +dest+ is the path to an existing directory,
|
482
|
+
# creates a hard link at <tt>dest/src</tt> pointing to +src+; returns zero:
|
483
|
+
#
|
484
|
+
# Dir.children('tmp2') # => ["t.dat"]
|
485
|
+
# Dir.children('tmp3') # => []
|
486
|
+
# Bundler::FileUtils.ln('tmp2/t.dat', 'tmp3') # => 0
|
487
|
+
# Dir.children('tmp3') # => ["t.dat"]
|
488
|
+
#
|
489
|
+
# When +src+ is an array of paths to existing files
|
490
|
+
# and +dest+ is the path to an existing directory,
|
491
|
+
# then for each path +target+ in +src+,
|
492
|
+
# creates a hard link at <tt>dest/target</tt> pointing to +target+;
|
493
|
+
# returns +src+:
|
494
|
+
#
|
495
|
+
# Dir.children('tmp4/') # => []
|
496
|
+
# Bundler::FileUtils.ln(['tmp0/t.txt', 'tmp2/t.dat'], 'tmp4/') # => ["tmp0/t.txt", "tmp2/t.dat"]
|
497
|
+
# Dir.children('tmp4/') # => ["t.dat", "t.txt"]
|
498
|
+
#
|
499
|
+
# Keyword arguments:
|
500
|
+
#
|
501
|
+
# - <tt>force: true</tt> - overwrites +dest+ if it exists.
|
502
|
+
# - <tt>noop: true</tt> - does not create links.
|
503
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
504
|
+
#
|
505
|
+
# Bundler::FileUtils.ln('tmp0/t.txt', 'tmp1/t.lnk', verbose: true)
|
506
|
+
# Bundler::FileUtils.ln('tmp2/t.dat', 'tmp3', verbose: true)
|
507
|
+
# Bundler::FileUtils.ln(['tmp0/t.txt', 'tmp2/t.dat'], 'tmp4/', verbose: true)
|
508
|
+
#
|
509
|
+
# Output:
|
510
|
+
#
|
511
|
+
# ln tmp0/t.txt tmp1/t.lnk
|
512
|
+
# ln tmp2/t.dat tmp3
|
513
|
+
# ln tmp0/t.txt tmp2/t.dat tmp4/
|
514
|
+
#
|
515
|
+
# Raises an exception if +dest+ is the path to an existing file
|
516
|
+
# and keyword argument +force+ is not +true+.
|
517
|
+
#
|
518
|
+
# Bundler::FileUtils#link is an alias for Bundler::FileUtils#ln.
|
519
|
+
#
|
520
|
+
# Related: Bundler::FileUtils.link_entry (has different options).
|
521
|
+
#
|
522
|
+
def ln(src, dest, force: nil, noop: nil, verbose: nil)
|
523
|
+
fu_output_message "ln#{force ? ' -f' : ''} #{[src,dest].flatten.join ' '}" if verbose
|
524
|
+
return if noop
|
525
|
+
fu_each_src_dest0(src, dest) do |s,d|
|
526
|
+
remove_file d, true if force
|
527
|
+
File.link s, d
|
528
|
+
end
|
529
|
+
end
|
530
|
+
module_function :ln
|
531
|
+
|
532
|
+
alias link ln
|
533
|
+
module_function :link
|
534
|
+
|
535
|
+
# Creates {hard links}[https://en.wikipedia.org/wiki/Hard_link].
|
536
|
+
#
|
537
|
+
# Arguments +src+ (a single path or an array of paths)
|
538
|
+
# and +dest+ (a single path)
|
539
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
540
|
+
#
|
541
|
+
# If +src+ is the path to a directory and +dest+ does not exist,
|
542
|
+
# creates links +dest+ and descendents pointing to +src+ and its descendents:
|
543
|
+
#
|
544
|
+
# tree('src0')
|
545
|
+
# # => src0
|
546
|
+
# # |-- sub0
|
547
|
+
# # | |-- src0.txt
|
548
|
+
# # | `-- src1.txt
|
549
|
+
# # `-- sub1
|
550
|
+
# # |-- src2.txt
|
551
|
+
# # `-- src3.txt
|
552
|
+
# File.exist?('dest0') # => false
|
553
|
+
# Bundler::FileUtils.cp_lr('src0', 'dest0')
|
554
|
+
# tree('dest0')
|
555
|
+
# # => dest0
|
556
|
+
# # |-- sub0
|
557
|
+
# # | |-- src0.txt
|
558
|
+
# # | `-- src1.txt
|
559
|
+
# # `-- sub1
|
560
|
+
# # |-- src2.txt
|
561
|
+
# # `-- src3.txt
|
562
|
+
#
|
563
|
+
# If +src+ and +dest+ are both paths to directories,
|
564
|
+
# creates links <tt>dest/src</tt> and descendents
|
565
|
+
# pointing to +src+ and its descendents:
|
566
|
+
#
|
567
|
+
# tree('src1')
|
568
|
+
# # => src1
|
569
|
+
# # |-- sub0
|
570
|
+
# # | |-- src0.txt
|
571
|
+
# # | `-- src1.txt
|
572
|
+
# # `-- sub1
|
573
|
+
# # |-- src2.txt
|
574
|
+
# # `-- src3.txt
|
575
|
+
# Bundler::FileUtils.mkdir('dest1')
|
576
|
+
# Bundler::FileUtils.cp_lr('src1', 'dest1')
|
577
|
+
# tree('dest1')
|
578
|
+
# # => dest1
|
579
|
+
# # `-- src1
|
580
|
+
# # |-- sub0
|
581
|
+
# # | |-- src0.txt
|
582
|
+
# # | `-- src1.txt
|
583
|
+
# # `-- sub1
|
584
|
+
# # |-- src2.txt
|
585
|
+
# # `-- src3.txt
|
586
|
+
#
|
587
|
+
# If +src+ is an array of paths to entries and +dest+ is the path to a directory,
|
588
|
+
# for each path +filepath+ in +src+, creates a link at <tt>dest/filepath</tt>
|
589
|
+
# pointing to that path:
|
590
|
+
#
|
591
|
+
# tree('src2')
|
592
|
+
# # => src2
|
593
|
+
# # |-- sub0
|
594
|
+
# # | |-- src0.txt
|
595
|
+
# # | `-- src1.txt
|
596
|
+
# # `-- sub1
|
597
|
+
# # |-- src2.txt
|
598
|
+
# # `-- src3.txt
|
599
|
+
# Bundler::FileUtils.mkdir('dest2')
|
600
|
+
# Bundler::FileUtils.cp_lr(['src2/sub0', 'src2/sub1'], 'dest2')
|
601
|
+
# tree('dest2')
|
602
|
+
# # => dest2
|
603
|
+
# # |-- sub0
|
604
|
+
# # | |-- src0.txt
|
605
|
+
# # | `-- src1.txt
|
606
|
+
# # `-- sub1
|
607
|
+
# # |-- src2.txt
|
608
|
+
# # `-- src3.txt
|
609
|
+
#
|
610
|
+
# Keyword arguments:
|
611
|
+
#
|
612
|
+
# - <tt>dereference_root: false</tt> - if +src+ is a symbolic link,
|
613
|
+
# does not dereference it.
|
614
|
+
# - <tt>noop: true</tt> - does not create links.
|
615
|
+
# - <tt>remove_destination: true</tt> - removes +dest+ before creating links.
|
616
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
617
|
+
#
|
618
|
+
# Bundler::FileUtils.cp_lr('src0', 'dest0', noop: true, verbose: true)
|
619
|
+
# Bundler::FileUtils.cp_lr('src1', 'dest1', noop: true, verbose: true)
|
620
|
+
# Bundler::FileUtils.cp_lr(['src2/sub0', 'src2/sub1'], 'dest2', noop: true, verbose: true)
|
621
|
+
#
|
622
|
+
# Output:
|
623
|
+
#
|
624
|
+
# cp -lr src0 dest0
|
625
|
+
# cp -lr src1 dest1
|
626
|
+
# cp -lr src2/sub0 src2/sub1 dest2
|
627
|
+
#
|
628
|
+
# Raises an exception if +dest+ is the path to an existing file or directory
|
629
|
+
# and keyword argument <tt>remove_destination: true</tt> is not given.
|
630
|
+
#
|
631
|
+
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
|
632
|
+
#
|
633
|
+
def cp_lr(src, dest, noop: nil, verbose: nil,
|
634
|
+
dereference_root: true, remove_destination: false)
|
635
|
+
fu_output_message "cp -lr#{remove_destination ? ' --remove-destination' : ''} #{[src,dest].flatten.join ' '}" if verbose
|
636
|
+
return if noop
|
637
|
+
fu_each_src_dest(src, dest) do |s, d|
|
638
|
+
link_entry s, d, dereference_root, remove_destination
|
639
|
+
end
|
640
|
+
end
|
641
|
+
module_function :cp_lr
|
642
|
+
|
643
|
+
# Creates {symbolic links}[https://en.wikipedia.org/wiki/Symbolic_link].
|
644
|
+
#
|
645
|
+
# Arguments +src+ (a single path or an array of paths)
|
646
|
+
# and +dest+ (a single path)
|
647
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
648
|
+
#
|
649
|
+
# If +src+ is the path to an existing file:
|
650
|
+
#
|
651
|
+
# - When +dest+ is the path to a non-existent file,
|
652
|
+
# creates a symbolic link at +dest+ pointing to +src+:
|
653
|
+
#
|
654
|
+
# Bundler::FileUtils.touch('src0.txt')
|
655
|
+
# File.exist?('dest0.txt') # => false
|
656
|
+
# Bundler::FileUtils.ln_s('src0.txt', 'dest0.txt')
|
657
|
+
# File.symlink?('dest0.txt') # => true
|
658
|
+
#
|
659
|
+
# - When +dest+ is the path to an existing file,
|
660
|
+
# creates a symbolic link at +dest+ pointing to +src+
|
661
|
+
# if and only if keyword argument <tt>force: true</tt> is given
|
662
|
+
# (raises an exception otherwise):
|
663
|
+
#
|
664
|
+
# Bundler::FileUtils.touch('src1.txt')
|
665
|
+
# Bundler::FileUtils.touch('dest1.txt')
|
666
|
+
# Bundler::FileUtils.ln_s('src1.txt', 'dest1.txt', force: true)
|
667
|
+
# FileTest.symlink?('dest1.txt') # => true
|
668
|
+
#
|
669
|
+
# Bundler::FileUtils.ln_s('src1.txt', 'dest1.txt') # Raises Errno::EEXIST.
|
670
|
+
#
|
671
|
+
# If +dest+ is the path to a directory,
|
672
|
+
# creates a symbolic link at <tt>dest/src</tt> pointing to +src+:
|
673
|
+
#
|
674
|
+
# Bundler::FileUtils.touch('src2.txt')
|
675
|
+
# Bundler::FileUtils.mkdir('destdir2')
|
676
|
+
# Bundler::FileUtils.ln_s('src2.txt', 'destdir2')
|
677
|
+
# File.symlink?('destdir2/src2.txt') # => true
|
678
|
+
#
|
679
|
+
# If +src+ is an array of paths to existing files and +dest+ is a directory,
|
680
|
+
# for each child +child+ in +src+ creates a symbolic link <tt>dest/child</tt>
|
681
|
+
# pointing to +child+:
|
682
|
+
#
|
683
|
+
# Bundler::FileUtils.mkdir('srcdir3')
|
684
|
+
# Bundler::FileUtils.touch('srcdir3/src0.txt')
|
685
|
+
# Bundler::FileUtils.touch('srcdir3/src1.txt')
|
686
|
+
# Bundler::FileUtils.mkdir('destdir3')
|
687
|
+
# Bundler::FileUtils.ln_s(['srcdir3/src0.txt', 'srcdir3/src1.txt'], 'destdir3')
|
688
|
+
# File.symlink?('destdir3/src0.txt') # => true
|
689
|
+
# File.symlink?('destdir3/src1.txt') # => true
|
690
|
+
#
|
691
|
+
# Keyword arguments:
|
692
|
+
#
|
693
|
+
# - <tt>force: true</tt> - overwrites +dest+ if it exists.
|
694
|
+
# - <tt>relative: false</tt> - create links relative to +dest+.
|
695
|
+
# - <tt>noop: true</tt> - does not create links.
|
696
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
697
|
+
#
|
698
|
+
# Bundler::FileUtils.ln_s('src0.txt', 'dest0.txt', noop: true, verbose: true)
|
699
|
+
# Bundler::FileUtils.ln_s('src1.txt', 'destdir1', noop: true, verbose: true)
|
700
|
+
# Bundler::FileUtils.ln_s('src2.txt', 'dest2.txt', force: true, noop: true, verbose: true)
|
701
|
+
# Bundler::FileUtils.ln_s(['srcdir3/src0.txt', 'srcdir3/src1.txt'], 'destdir3', noop: true, verbose: true)
|
702
|
+
#
|
703
|
+
# Output:
|
704
|
+
#
|
705
|
+
# ln -s src0.txt dest0.txt
|
706
|
+
# ln -s src1.txt destdir1
|
707
|
+
# ln -sf src2.txt dest2.txt
|
708
|
+
# ln -s srcdir3/src0.txt srcdir3/src1.txt destdir3
|
709
|
+
#
|
710
|
+
# Bundler::FileUtils.symlink is an alias for Bundler::FileUtils.ln_s.
|
711
|
+
#
|
712
|
+
# Related: Bundler::FileUtils.ln_sf.
|
713
|
+
#
|
714
|
+
def ln_s(src, dest, force: nil, relative: false, target_directory: true, noop: nil, verbose: nil)
|
715
|
+
if relative
|
716
|
+
return ln_sr(src, dest, force: force, noop: noop, verbose: verbose)
|
717
|
+
end
|
718
|
+
fu_output_message "ln -s#{force ? 'f' : ''} #{[src,dest].flatten.join ' '}" if verbose
|
719
|
+
return if noop
|
720
|
+
fu_each_src_dest0(src, dest) do |s,d|
|
721
|
+
remove_file d, true if force
|
722
|
+
File.symlink s, d
|
723
|
+
end
|
724
|
+
end
|
725
|
+
module_function :ln_s
|
726
|
+
|
727
|
+
alias symlink ln_s
|
728
|
+
module_function :symlink
|
729
|
+
|
730
|
+
# Like Bundler::FileUtils.ln_s, but always with keyword argument <tt>force: true</tt> given.
|
731
|
+
#
|
732
|
+
def ln_sf(src, dest, noop: nil, verbose: nil)
|
733
|
+
ln_s src, dest, force: true, noop: noop, verbose: verbose
|
734
|
+
end
|
735
|
+
module_function :ln_sf
|
736
|
+
|
737
|
+
# Like Bundler::FileUtils.ln_s, but create links relative to +dest+.
|
738
|
+
#
|
739
|
+
def ln_sr(src, dest, target_directory: true, force: nil, noop: nil, verbose: nil)
|
740
|
+
options = "#{force ? 'f' : ''}#{target_directory ? '' : 'T'}"
|
741
|
+
dest = File.path(dest)
|
742
|
+
srcs = Array(src)
|
743
|
+
link = proc do |s, target_dir_p = true|
|
744
|
+
s = File.path(s)
|
745
|
+
if target_dir_p
|
746
|
+
d = File.join(destdirs = dest, File.basename(s))
|
747
|
+
else
|
748
|
+
destdirs = File.dirname(d = dest)
|
749
|
+
end
|
750
|
+
destdirs = fu_split_path(File.realpath(destdirs))
|
751
|
+
if fu_starting_path?(s)
|
752
|
+
srcdirs = fu_split_path((File.realdirpath(s) rescue File.expand_path(s)))
|
753
|
+
base = fu_relative_components_from(srcdirs, destdirs)
|
754
|
+
s = File.join(*base)
|
755
|
+
else
|
756
|
+
srcdirs = fu_clean_components(*fu_split_path(s))
|
757
|
+
base = fu_relative_components_from(fu_split_path(Dir.pwd), destdirs)
|
758
|
+
while srcdirs.first&. == ".." and base.last&.!=("..") and !fu_starting_path?(base.last)
|
759
|
+
srcdirs.shift
|
760
|
+
base.pop
|
761
|
+
end
|
762
|
+
s = File.join(*base, *srcdirs)
|
763
|
+
end
|
764
|
+
fu_output_message "ln -s#{options} #{s} #{d}" if verbose
|
765
|
+
next if noop
|
766
|
+
remove_file d, true if force
|
767
|
+
File.symlink s, d
|
768
|
+
end
|
769
|
+
case srcs.size
|
770
|
+
when 0
|
771
|
+
when 1
|
772
|
+
link[srcs[0], target_directory && File.directory?(dest)]
|
773
|
+
else
|
774
|
+
srcs.each(&link)
|
775
|
+
end
|
776
|
+
end
|
777
|
+
module_function :ln_sr
|
778
|
+
|
779
|
+
# Creates {hard links}[https://en.wikipedia.org/wiki/Hard_link]; returns +nil+.
|
780
|
+
#
|
781
|
+
# Arguments +src+ and +dest+
|
782
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
783
|
+
#
|
784
|
+
# If +src+ is the path to a file and +dest+ does not exist,
|
785
|
+
# creates a hard link at +dest+ pointing to +src+:
|
786
|
+
#
|
787
|
+
# Bundler::FileUtils.touch('src0.txt')
|
788
|
+
# File.exist?('dest0.txt') # => false
|
789
|
+
# Bundler::FileUtils.link_entry('src0.txt', 'dest0.txt')
|
790
|
+
# File.file?('dest0.txt') # => true
|
791
|
+
#
|
792
|
+
# If +src+ is the path to a directory and +dest+ does not exist,
|
793
|
+
# recursively creates hard links at +dest+ pointing to paths in +src+:
|
794
|
+
#
|
795
|
+
# Bundler::FileUtils.mkdir_p(['src1/dir0', 'src1/dir1'])
|
796
|
+
# src_file_paths = [
|
797
|
+
# 'src1/dir0/t0.txt',
|
798
|
+
# 'src1/dir0/t1.txt',
|
799
|
+
# 'src1/dir1/t2.txt',
|
800
|
+
# 'src1/dir1/t3.txt',
|
801
|
+
# ]
|
802
|
+
# Bundler::FileUtils.touch(src_file_paths)
|
803
|
+
# File.directory?('dest1') # => true
|
804
|
+
# Bundler::FileUtils.link_entry('src1', 'dest1')
|
805
|
+
# File.file?('dest1/dir0/t0.txt') # => true
|
806
|
+
# File.file?('dest1/dir0/t1.txt') # => true
|
807
|
+
# File.file?('dest1/dir1/t2.txt') # => true
|
808
|
+
# File.file?('dest1/dir1/t3.txt') # => true
|
809
|
+
#
|
810
|
+
# Keyword arguments:
|
811
|
+
#
|
812
|
+
# - <tt>dereference_root: true</tt> - dereferences +src+ if it is a symbolic link.
|
813
|
+
# - <tt>remove_destination: true</tt> - removes +dest+ before creating links.
|
814
|
+
#
|
815
|
+
# Raises an exception if +dest+ is the path to an existing file or directory
|
816
|
+
# and keyword argument <tt>remove_destination: true</tt> is not given.
|
817
|
+
#
|
818
|
+
# Related: Bundler::FileUtils.ln (has different options).
|
819
|
+
#
|
820
|
+
def link_entry(src, dest, dereference_root = false, remove_destination = false)
|
821
|
+
Entry_.new(src, nil, dereference_root).traverse do |ent|
|
822
|
+
destent = Entry_.new(dest, ent.rel, false)
|
823
|
+
File.unlink destent.path if remove_destination && File.file?(destent.path)
|
824
|
+
ent.link destent.path
|
825
|
+
end
|
826
|
+
end
|
827
|
+
module_function :link_entry
|
828
|
+
|
829
|
+
# Copies files.
|
830
|
+
#
|
831
|
+
# Arguments +src+ (a single path or an array of paths)
|
832
|
+
# and +dest+ (a single path)
|
833
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
834
|
+
#
|
835
|
+
# If +src+ is the path to a file and +dest+ is not the path to a directory,
|
836
|
+
# copies +src+ to +dest+:
|
837
|
+
#
|
838
|
+
# Bundler::FileUtils.touch('src0.txt')
|
839
|
+
# File.exist?('dest0.txt') # => false
|
840
|
+
# Bundler::FileUtils.cp('src0.txt', 'dest0.txt')
|
841
|
+
# File.file?('dest0.txt') # => true
|
842
|
+
#
|
843
|
+
# If +src+ is the path to a file and +dest+ is the path to a directory,
|
844
|
+
# copies +src+ to <tt>dest/src</tt>:
|
845
|
+
#
|
846
|
+
# Bundler::FileUtils.touch('src1.txt')
|
847
|
+
# Bundler::FileUtils.mkdir('dest1')
|
848
|
+
# Bundler::FileUtils.cp('src1.txt', 'dest1')
|
849
|
+
# File.file?('dest1/src1.txt') # => true
|
850
|
+
#
|
851
|
+
# If +src+ is an array of paths to files and +dest+ is the path to a directory,
|
852
|
+
# copies from each +src+ to +dest+:
|
853
|
+
#
|
854
|
+
# src_file_paths = ['src2.txt', 'src2.dat']
|
855
|
+
# Bundler::FileUtils.touch(src_file_paths)
|
856
|
+
# Bundler::FileUtils.mkdir('dest2')
|
857
|
+
# Bundler::FileUtils.cp(src_file_paths, 'dest2')
|
858
|
+
# File.file?('dest2/src2.txt') # => true
|
859
|
+
# File.file?('dest2/src2.dat') # => true
|
860
|
+
#
|
861
|
+
# Keyword arguments:
|
862
|
+
#
|
863
|
+
# - <tt>preserve: true</tt> - preserves file times.
|
864
|
+
# - <tt>noop: true</tt> - does not copy files.
|
865
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
866
|
+
#
|
867
|
+
# Bundler::FileUtils.cp('src0.txt', 'dest0.txt', noop: true, verbose: true)
|
868
|
+
# Bundler::FileUtils.cp('src1.txt', 'dest1', noop: true, verbose: true)
|
869
|
+
# Bundler::FileUtils.cp(src_file_paths, 'dest2', noop: true, verbose: true)
|
870
|
+
#
|
871
|
+
# Output:
|
872
|
+
#
|
873
|
+
# cp src0.txt dest0.txt
|
874
|
+
# cp src1.txt dest1
|
875
|
+
# cp src2.txt src2.dat dest2
|
876
|
+
#
|
877
|
+
# Raises an exception if +src+ is a directory.
|
878
|
+
#
|
879
|
+
# Bundler::FileUtils.copy is an alias for Bundler::FileUtils.cp.
|
880
|
+
#
|
881
|
+
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
|
882
|
+
#
|
883
|
+
def cp(src, dest, preserve: nil, noop: nil, verbose: nil)
|
884
|
+
fu_output_message "cp#{preserve ? ' -p' : ''} #{[src,dest].flatten.join ' '}" if verbose
|
885
|
+
return if noop
|
886
|
+
fu_each_src_dest(src, dest) do |s, d|
|
887
|
+
copy_file s, d, preserve
|
888
|
+
end
|
889
|
+
end
|
890
|
+
module_function :cp
|
891
|
+
|
892
|
+
alias copy cp
|
893
|
+
module_function :copy
|
894
|
+
|
895
|
+
# Recursively copies files.
|
896
|
+
#
|
897
|
+
# Arguments +src+ (a single path or an array of paths)
|
898
|
+
# and +dest+ (a single path)
|
899
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
900
|
+
#
|
901
|
+
# The mode, owner, and group are retained in the copy;
|
902
|
+
# to change those, use Bundler::FileUtils.install instead.
|
903
|
+
#
|
904
|
+
# If +src+ is the path to a file and +dest+ is not the path to a directory,
|
905
|
+
# copies +src+ to +dest+:
|
906
|
+
#
|
907
|
+
# Bundler::FileUtils.touch('src0.txt')
|
908
|
+
# File.exist?('dest0.txt') # => false
|
909
|
+
# Bundler::FileUtils.cp_r('src0.txt', 'dest0.txt')
|
910
|
+
# File.file?('dest0.txt') # => true
|
911
|
+
#
|
912
|
+
# If +src+ is the path to a file and +dest+ is the path to a directory,
|
913
|
+
# copies +src+ to <tt>dest/src</tt>:
|
914
|
+
#
|
915
|
+
# Bundler::FileUtils.touch('src1.txt')
|
916
|
+
# Bundler::FileUtils.mkdir('dest1')
|
917
|
+
# Bundler::FileUtils.cp_r('src1.txt', 'dest1')
|
918
|
+
# File.file?('dest1/src1.txt') # => true
|
919
|
+
#
|
920
|
+
# If +src+ is the path to a directory and +dest+ does not exist,
|
921
|
+
# recursively copies +src+ to +dest+:
|
922
|
+
#
|
923
|
+
# tree('src2')
|
924
|
+
# # => src2
|
925
|
+
# # |-- dir0
|
926
|
+
# # | |-- src0.txt
|
927
|
+
# # | `-- src1.txt
|
928
|
+
# # `-- dir1
|
929
|
+
# # |-- src2.txt
|
930
|
+
# # `-- src3.txt
|
931
|
+
# Bundler::FileUtils.exist?('dest2') # => false
|
932
|
+
# Bundler::FileUtils.cp_r('src2', 'dest2')
|
933
|
+
# tree('dest2')
|
934
|
+
# # => dest2
|
935
|
+
# # |-- dir0
|
936
|
+
# # | |-- src0.txt
|
937
|
+
# # | `-- src1.txt
|
938
|
+
# # `-- dir1
|
939
|
+
# # |-- src2.txt
|
940
|
+
# # `-- src3.txt
|
941
|
+
#
|
942
|
+
# If +src+ and +dest+ are paths to directories,
|
943
|
+
# recursively copies +src+ to <tt>dest/src</tt>:
|
944
|
+
#
|
945
|
+
# tree('src3')
|
946
|
+
# # => src3
|
947
|
+
# # |-- dir0
|
948
|
+
# # | |-- src0.txt
|
949
|
+
# # | `-- src1.txt
|
950
|
+
# # `-- dir1
|
951
|
+
# # |-- src2.txt
|
952
|
+
# # `-- src3.txt
|
953
|
+
# Bundler::FileUtils.mkdir('dest3')
|
954
|
+
# Bundler::FileUtils.cp_r('src3', 'dest3')
|
955
|
+
# tree('dest3')
|
956
|
+
# # => dest3
|
957
|
+
# # `-- src3
|
958
|
+
# # |-- dir0
|
959
|
+
# # | |-- src0.txt
|
960
|
+
# # | `-- src1.txt
|
961
|
+
# # `-- dir1
|
962
|
+
# # |-- src2.txt
|
963
|
+
# # `-- src3.txt
|
964
|
+
#
|
965
|
+
# If +src+ is an array of paths and +dest+ is a directory,
|
966
|
+
# recursively copies from each path in +src+ to +dest+;
|
967
|
+
# the paths in +src+ may point to files and/or directories.
|
968
|
+
#
|
969
|
+
# Keyword arguments:
|
970
|
+
#
|
971
|
+
# - <tt>dereference_root: false</tt> - if +src+ is a symbolic link,
|
972
|
+
# does not dereference it.
|
973
|
+
# - <tt>noop: true</tt> - does not copy files.
|
974
|
+
# - <tt>preserve: true</tt> - preserves file times.
|
975
|
+
# - <tt>remove_destination: true</tt> - removes +dest+ before copying files.
|
976
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
977
|
+
#
|
978
|
+
# Bundler::FileUtils.cp_r('src0.txt', 'dest0.txt', noop: true, verbose: true)
|
979
|
+
# Bundler::FileUtils.cp_r('src1.txt', 'dest1', noop: true, verbose: true)
|
980
|
+
# Bundler::FileUtils.cp_r('src2', 'dest2', noop: true, verbose: true)
|
981
|
+
# Bundler::FileUtils.cp_r('src3', 'dest3', noop: true, verbose: true)
|
982
|
+
#
|
983
|
+
# Output:
|
984
|
+
#
|
985
|
+
# cp -r src0.txt dest0.txt
|
986
|
+
# cp -r src1.txt dest1
|
987
|
+
# cp -r src2 dest2
|
988
|
+
# cp -r src3 dest3
|
989
|
+
#
|
990
|
+
# Raises an exception of +src+ is the path to a directory
|
991
|
+
# and +dest+ is the path to a file.
|
992
|
+
#
|
993
|
+
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
|
994
|
+
#
|
995
|
+
def cp_r(src, dest, preserve: nil, noop: nil, verbose: nil,
|
996
|
+
dereference_root: true, remove_destination: nil)
|
997
|
+
fu_output_message "cp -r#{preserve ? 'p' : ''}#{remove_destination ? ' --remove-destination' : ''} #{[src,dest].flatten.join ' '}" if verbose
|
998
|
+
return if noop
|
999
|
+
fu_each_src_dest(src, dest) do |s, d|
|
1000
|
+
copy_entry s, d, preserve, dereference_root, remove_destination
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
module_function :cp_r
|
1004
|
+
|
1005
|
+
# Recursively copies files from +src+ to +dest+.
|
1006
|
+
#
|
1007
|
+
# Arguments +src+ and +dest+
|
1008
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1009
|
+
#
|
1010
|
+
# If +src+ is the path to a file, copies +src+ to +dest+:
|
1011
|
+
#
|
1012
|
+
# Bundler::FileUtils.touch('src0.txt')
|
1013
|
+
# File.exist?('dest0.txt') # => false
|
1014
|
+
# Bundler::FileUtils.copy_entry('src0.txt', 'dest0.txt')
|
1015
|
+
# File.file?('dest0.txt') # => true
|
1016
|
+
#
|
1017
|
+
# If +src+ is a directory, recursively copies +src+ to +dest+:
|
1018
|
+
#
|
1019
|
+
# tree('src1')
|
1020
|
+
# # => src1
|
1021
|
+
# # |-- dir0
|
1022
|
+
# # | |-- src0.txt
|
1023
|
+
# # | `-- src1.txt
|
1024
|
+
# # `-- dir1
|
1025
|
+
# # |-- src2.txt
|
1026
|
+
# # `-- src3.txt
|
1027
|
+
# Bundler::FileUtils.copy_entry('src1', 'dest1')
|
1028
|
+
# tree('dest1')
|
1029
|
+
# # => dest1
|
1030
|
+
# # |-- dir0
|
1031
|
+
# # | |-- src0.txt
|
1032
|
+
# # | `-- src1.txt
|
1033
|
+
# # `-- dir1
|
1034
|
+
# # |-- src2.txt
|
1035
|
+
# # `-- src3.txt
|
1036
|
+
#
|
1037
|
+
# The recursive copying preserves file types for regular files,
|
1038
|
+
# directories, and symbolic links;
|
1039
|
+
# other file types (FIFO streams, device files, etc.) are not supported.
|
1040
|
+
#
|
1041
|
+
# Keyword arguments:
|
1042
|
+
#
|
1043
|
+
# - <tt>dereference_root: true</tt> - if +src+ is a symbolic link,
|
1044
|
+
# follows the link.
|
1045
|
+
# - <tt>preserve: true</tt> - preserves file times.
|
1046
|
+
# - <tt>remove_destination: true</tt> - removes +dest+ before copying files.
|
1047
|
+
#
|
1048
|
+
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
|
1049
|
+
#
|
1050
|
+
def copy_entry(src, dest, preserve = false, dereference_root = false, remove_destination = false)
|
1051
|
+
if dereference_root
|
1052
|
+
src = File.realpath(src)
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
Entry_.new(src, nil, false).wrap_traverse(proc do |ent|
|
1056
|
+
destent = Entry_.new(dest, ent.rel, false)
|
1057
|
+
File.unlink destent.path if remove_destination && (File.file?(destent.path) || File.symlink?(destent.path))
|
1058
|
+
ent.copy destent.path
|
1059
|
+
end, proc do |ent|
|
1060
|
+
destent = Entry_.new(dest, ent.rel, false)
|
1061
|
+
ent.copy_metadata destent.path if preserve
|
1062
|
+
end)
|
1063
|
+
end
|
1064
|
+
module_function :copy_entry
|
1065
|
+
|
1066
|
+
# Copies file from +src+ to +dest+, which should not be directories.
|
1067
|
+
#
|
1068
|
+
# Arguments +src+ and +dest+
|
1069
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1070
|
+
#
|
1071
|
+
# Examples:
|
1072
|
+
#
|
1073
|
+
# Bundler::FileUtils.touch('src0.txt')
|
1074
|
+
# Bundler::FileUtils.copy_file('src0.txt', 'dest0.txt')
|
1075
|
+
# File.file?('dest0.txt') # => true
|
1076
|
+
#
|
1077
|
+
# Keyword arguments:
|
1078
|
+
#
|
1079
|
+
# - <tt>dereference: false</tt> - if +src+ is a symbolic link,
|
1080
|
+
# does not follow the link.
|
1081
|
+
# - <tt>preserve: true</tt> - preserves file times.
|
1082
|
+
# - <tt>remove_destination: true</tt> - removes +dest+ before copying files.
|
1083
|
+
#
|
1084
|
+
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
|
1085
|
+
#
|
1086
|
+
def copy_file(src, dest, preserve = false, dereference = true)
|
1087
|
+
ent = Entry_.new(src, nil, dereference)
|
1088
|
+
ent.copy_file dest
|
1089
|
+
ent.copy_metadata dest if preserve
|
1090
|
+
end
|
1091
|
+
module_function :copy_file
|
1092
|
+
|
1093
|
+
# Copies \IO stream +src+ to \IO stream +dest+ via
|
1094
|
+
# {IO.copy_stream}[https://docs.ruby-lang.org/en/master/IO.html#method-c-copy_stream].
|
1095
|
+
#
|
1096
|
+
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
|
1097
|
+
#
|
1098
|
+
def copy_stream(src, dest)
|
1099
|
+
IO.copy_stream(src, dest)
|
1100
|
+
end
|
1101
|
+
module_function :copy_stream
|
1102
|
+
|
1103
|
+
# Moves entries.
|
1104
|
+
#
|
1105
|
+
# Arguments +src+ (a single path or an array of paths)
|
1106
|
+
# and +dest+ (a single path)
|
1107
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1108
|
+
#
|
1109
|
+
# If +src+ and +dest+ are on different file systems,
|
1110
|
+
# first copies, then removes +src+.
|
1111
|
+
#
|
1112
|
+
# May cause a local vulnerability if not called with keyword argument
|
1113
|
+
# <tt>secure: true</tt>;
|
1114
|
+
# see {Avoiding the TOCTTOU Vulnerability}[rdoc-ref:FileUtils@Avoiding+the+TOCTTOU+Vulnerability].
|
1115
|
+
#
|
1116
|
+
# If +src+ is the path to a single file or directory and +dest+ does not exist,
|
1117
|
+
# moves +src+ to +dest+:
|
1118
|
+
#
|
1119
|
+
# tree('src0')
|
1120
|
+
# # => src0
|
1121
|
+
# # |-- src0.txt
|
1122
|
+
# # `-- src1.txt
|
1123
|
+
# File.exist?('dest0') # => false
|
1124
|
+
# Bundler::FileUtils.mv('src0', 'dest0')
|
1125
|
+
# File.exist?('src0') # => false
|
1126
|
+
# tree('dest0')
|
1127
|
+
# # => dest0
|
1128
|
+
# # |-- src0.txt
|
1129
|
+
# # `-- src1.txt
|
1130
|
+
#
|
1131
|
+
# If +src+ is an array of paths to files and directories
|
1132
|
+
# and +dest+ is the path to a directory,
|
1133
|
+
# copies from each path in the array to +dest+:
|
1134
|
+
#
|
1135
|
+
# File.file?('src1.txt') # => true
|
1136
|
+
# tree('src1')
|
1137
|
+
# # => src1
|
1138
|
+
# # |-- src.dat
|
1139
|
+
# # `-- src.txt
|
1140
|
+
# Dir.empty?('dest1') # => true
|
1141
|
+
# Bundler::FileUtils.mv(['src1.txt', 'src1'], 'dest1')
|
1142
|
+
# tree('dest1')
|
1143
|
+
# # => dest1
|
1144
|
+
# # |-- src1
|
1145
|
+
# # | |-- src.dat
|
1146
|
+
# # | `-- src.txt
|
1147
|
+
# # `-- src1.txt
|
1148
|
+
#
|
1149
|
+
# Keyword arguments:
|
1150
|
+
#
|
1151
|
+
# - <tt>force: true</tt> - if the move includes removing +src+
|
1152
|
+
# (that is, if +src+ and +dest+ are on different file systems),
|
1153
|
+
# ignores raised exceptions of StandardError and its descendants.
|
1154
|
+
# - <tt>noop: true</tt> - does not move files.
|
1155
|
+
# - <tt>secure: true</tt> - removes +src+ securely;
|
1156
|
+
# see details at Bundler::FileUtils.remove_entry_secure.
|
1157
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
1158
|
+
#
|
1159
|
+
# Bundler::FileUtils.mv('src0', 'dest0', noop: true, verbose: true)
|
1160
|
+
# Bundler::FileUtils.mv(['src1.txt', 'src1'], 'dest1', noop: true, verbose: true)
|
1161
|
+
#
|
1162
|
+
# Output:
|
1163
|
+
#
|
1164
|
+
# mv src0 dest0
|
1165
|
+
# mv src1.txt src1 dest1
|
1166
|
+
#
|
1167
|
+
# Bundler::FileUtils.move is an alias for Bundler::FileUtils.mv.
|
1168
|
+
#
|
1169
|
+
def mv(src, dest, force: nil, noop: nil, verbose: nil, secure: nil)
|
1170
|
+
fu_output_message "mv#{force ? ' -f' : ''} #{[src,dest].flatten.join ' '}" if verbose
|
1171
|
+
return if noop
|
1172
|
+
fu_each_src_dest(src, dest) do |s, d|
|
1173
|
+
destent = Entry_.new(d, nil, true)
|
1174
|
+
begin
|
1175
|
+
if destent.exist?
|
1176
|
+
if destent.directory?
|
1177
|
+
raise Errno::EEXIST, d
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
begin
|
1181
|
+
File.rename s, d
|
1182
|
+
rescue Errno::EXDEV,
|
1183
|
+
Errno::EPERM # move from unencrypted to encrypted dir (ext4)
|
1184
|
+
copy_entry s, d, true
|
1185
|
+
if secure
|
1186
|
+
remove_entry_secure s, force
|
1187
|
+
else
|
1188
|
+
remove_entry s, force
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
rescue SystemCallError
|
1192
|
+
raise unless force
|
1193
|
+
end
|
1194
|
+
end
|
1195
|
+
end
|
1196
|
+
module_function :mv
|
1197
|
+
|
1198
|
+
alias move mv
|
1199
|
+
module_function :move
|
1200
|
+
|
1201
|
+
# Removes entries at the paths in the given +list+
|
1202
|
+
# (a single path or an array of paths)
|
1203
|
+
# returns +list+, if it is an array, <tt>[list]</tt> otherwise.
|
1204
|
+
#
|
1205
|
+
# Argument +list+ or its elements
|
1206
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1207
|
+
#
|
1208
|
+
# With no keyword arguments, removes files at the paths given in +list+:
|
1209
|
+
#
|
1210
|
+
# Bundler::FileUtils.touch(['src0.txt', 'src0.dat'])
|
1211
|
+
# Bundler::FileUtils.rm(['src0.dat', 'src0.txt']) # => ["src0.dat", "src0.txt"]
|
1212
|
+
#
|
1213
|
+
# Keyword arguments:
|
1214
|
+
#
|
1215
|
+
# - <tt>force: true</tt> - ignores raised exceptions of StandardError
|
1216
|
+
# and its descendants.
|
1217
|
+
# - <tt>noop: true</tt> - does not remove files; returns +nil+.
|
1218
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
1219
|
+
#
|
1220
|
+
# Bundler::FileUtils.rm(['src0.dat', 'src0.txt'], noop: true, verbose: true)
|
1221
|
+
#
|
1222
|
+
# Output:
|
1223
|
+
#
|
1224
|
+
# rm src0.dat src0.txt
|
1225
|
+
#
|
1226
|
+
# Bundler::FileUtils.remove is an alias for Bundler::FileUtils.rm.
|
1227
|
+
#
|
1228
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
1229
|
+
#
|
1230
|
+
def rm(list, force: nil, noop: nil, verbose: nil)
|
1231
|
+
list = fu_list(list)
|
1232
|
+
fu_output_message "rm#{force ? ' -f' : ''} #{list.join ' '}" if verbose
|
1233
|
+
return if noop
|
1234
|
+
|
1235
|
+
list.each do |path|
|
1236
|
+
remove_file path, force
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
module_function :rm
|
1240
|
+
|
1241
|
+
alias remove rm
|
1242
|
+
module_function :remove
|
1243
|
+
|
1244
|
+
# Equivalent to:
|
1245
|
+
#
|
1246
|
+
# Bundler::FileUtils.rm(list, force: true, **kwargs)
|
1247
|
+
#
|
1248
|
+
# Argument +list+ (a single path or an array of paths)
|
1249
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1250
|
+
#
|
1251
|
+
# See Bundler::FileUtils.rm for keyword arguments.
|
1252
|
+
#
|
1253
|
+
# Bundler::FileUtils.safe_unlink is an alias for Bundler::FileUtils.rm_f.
|
1254
|
+
#
|
1255
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
1256
|
+
#
|
1257
|
+
def rm_f(list, noop: nil, verbose: nil)
|
1258
|
+
rm list, force: true, noop: noop, verbose: verbose
|
1259
|
+
end
|
1260
|
+
module_function :rm_f
|
1261
|
+
|
1262
|
+
alias safe_unlink rm_f
|
1263
|
+
module_function :safe_unlink
|
1264
|
+
|
1265
|
+
# Removes entries at the paths in the given +list+
|
1266
|
+
# (a single path or an array of paths);
|
1267
|
+
# returns +list+, if it is an array, <tt>[list]</tt> otherwise.
|
1268
|
+
#
|
1269
|
+
# Argument +list+ or its elements
|
1270
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1271
|
+
#
|
1272
|
+
# May cause a local vulnerability if not called with keyword argument
|
1273
|
+
# <tt>secure: true</tt>;
|
1274
|
+
# see {Avoiding the TOCTTOU Vulnerability}[rdoc-ref:FileUtils@Avoiding+the+TOCTTOU+Vulnerability].
|
1275
|
+
#
|
1276
|
+
# For each file path, removes the file at that path:
|
1277
|
+
#
|
1278
|
+
# Bundler::FileUtils.touch(['src0.txt', 'src0.dat'])
|
1279
|
+
# Bundler::FileUtils.rm_r(['src0.dat', 'src0.txt'])
|
1280
|
+
# File.exist?('src0.txt') # => false
|
1281
|
+
# File.exist?('src0.dat') # => false
|
1282
|
+
#
|
1283
|
+
# For each directory path, recursively removes files and directories:
|
1284
|
+
#
|
1285
|
+
# tree('src1')
|
1286
|
+
# # => src1
|
1287
|
+
# # |-- dir0
|
1288
|
+
# # | |-- src0.txt
|
1289
|
+
# # | `-- src1.txt
|
1290
|
+
# # `-- dir1
|
1291
|
+
# # |-- src2.txt
|
1292
|
+
# # `-- src3.txt
|
1293
|
+
# Bundler::FileUtils.rm_r('src1')
|
1294
|
+
# File.exist?('src1') # => false
|
1295
|
+
#
|
1296
|
+
# Keyword arguments:
|
1297
|
+
#
|
1298
|
+
# - <tt>force: true</tt> - ignores raised exceptions of StandardError
|
1299
|
+
# and its descendants.
|
1300
|
+
# - <tt>noop: true</tt> - does not remove entries; returns +nil+.
|
1301
|
+
# - <tt>secure: true</tt> - removes +src+ securely;
|
1302
|
+
# see details at Bundler::FileUtils.remove_entry_secure.
|
1303
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
1304
|
+
#
|
1305
|
+
# Bundler::FileUtils.rm_r(['src0.dat', 'src0.txt'], noop: true, verbose: true)
|
1306
|
+
# Bundler::FileUtils.rm_r('src1', noop: true, verbose: true)
|
1307
|
+
#
|
1308
|
+
# Output:
|
1309
|
+
#
|
1310
|
+
# rm -r src0.dat src0.txt
|
1311
|
+
# rm -r src1
|
1312
|
+
#
|
1313
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
1314
|
+
#
|
1315
|
+
def rm_r(list, force: nil, noop: nil, verbose: nil, secure: nil)
|
1316
|
+
list = fu_list(list)
|
1317
|
+
fu_output_message "rm -r#{force ? 'f' : ''} #{list.join ' '}" if verbose
|
1318
|
+
return if noop
|
1319
|
+
list.each do |path|
|
1320
|
+
if secure
|
1321
|
+
remove_entry_secure path, force
|
1322
|
+
else
|
1323
|
+
remove_entry path, force
|
1324
|
+
end
|
1325
|
+
end
|
1326
|
+
end
|
1327
|
+
module_function :rm_r
|
1328
|
+
|
1329
|
+
# Equivalent to:
|
1330
|
+
#
|
1331
|
+
# Bundler::FileUtils.rm_r(list, force: true, **kwargs)
|
1332
|
+
#
|
1333
|
+
# Argument +list+ or its elements
|
1334
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1335
|
+
#
|
1336
|
+
# May cause a local vulnerability if not called with keyword argument
|
1337
|
+
# <tt>secure: true</tt>;
|
1338
|
+
# see {Avoiding the TOCTTOU Vulnerability}[rdoc-ref:FileUtils@Avoiding+the+TOCTTOU+Vulnerability].
|
1339
|
+
#
|
1340
|
+
# See Bundler::FileUtils.rm_r for keyword arguments.
|
1341
|
+
#
|
1342
|
+
# Bundler::FileUtils.rmtree is an alias for Bundler::FileUtils.rm_rf.
|
1343
|
+
#
|
1344
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
1345
|
+
#
|
1346
|
+
def rm_rf(list, noop: nil, verbose: nil, secure: nil)
|
1347
|
+
rm_r list, force: true, noop: noop, verbose: verbose, secure: secure
|
1348
|
+
end
|
1349
|
+
module_function :rm_rf
|
1350
|
+
|
1351
|
+
alias rmtree rm_rf
|
1352
|
+
module_function :rmtree
|
1353
|
+
|
1354
|
+
# Securely removes the entry given by +path+,
|
1355
|
+
# which should be the entry for a regular file, a symbolic link,
|
1356
|
+
# or a directory.
|
1357
|
+
#
|
1358
|
+
# Argument +path+
|
1359
|
+
# should be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments].
|
1360
|
+
#
|
1361
|
+
# Avoids a local vulnerability that can exist in certain circumstances;
|
1362
|
+
# see {Avoiding the TOCTTOU Vulnerability}[rdoc-ref:FileUtils@Avoiding+the+TOCTTOU+Vulnerability].
|
1363
|
+
#
|
1364
|
+
# Optional argument +force+ specifies whether to ignore
|
1365
|
+
# raised exceptions of StandardError and its descendants.
|
1366
|
+
#
|
1367
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
1368
|
+
#
|
1369
|
+
def remove_entry_secure(path, force = false)
|
1370
|
+
unless fu_have_symlink?
|
1371
|
+
remove_entry path, force
|
1372
|
+
return
|
1373
|
+
end
|
1374
|
+
fullpath = File.expand_path(path)
|
1375
|
+
st = File.lstat(fullpath)
|
1376
|
+
unless st.directory?
|
1377
|
+
File.unlink fullpath
|
1378
|
+
return
|
1379
|
+
end
|
1380
|
+
# is a directory.
|
1381
|
+
parent_st = File.stat(File.dirname(fullpath))
|
1382
|
+
unless parent_st.world_writable?
|
1383
|
+
remove_entry path, force
|
1384
|
+
return
|
1385
|
+
end
|
1386
|
+
unless parent_st.sticky?
|
1387
|
+
raise ArgumentError, "parent directory is world writable, Bundler::FileUtils#remove_entry_secure does not work; abort: #{path.inspect} (parent directory mode #{'%o' % parent_st.mode})"
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
# freeze tree root
|
1391
|
+
euid = Process.euid
|
1392
|
+
dot_file = fullpath + "/."
|
1393
|
+
begin
|
1394
|
+
File.open(dot_file) {|f|
|
1395
|
+
unless fu_stat_identical_entry?(st, f.stat)
|
1396
|
+
# symlink (TOC-to-TOU attack?)
|
1397
|
+
File.unlink fullpath
|
1398
|
+
return
|
1399
|
+
end
|
1400
|
+
f.chown euid, -1
|
1401
|
+
f.chmod 0700
|
1402
|
+
}
|
1403
|
+
rescue Errno::EISDIR # JRuby in non-native mode can't open files as dirs
|
1404
|
+
File.lstat(dot_file).tap {|fstat|
|
1405
|
+
unless fu_stat_identical_entry?(st, fstat)
|
1406
|
+
# symlink (TOC-to-TOU attack?)
|
1407
|
+
File.unlink fullpath
|
1408
|
+
return
|
1409
|
+
end
|
1410
|
+
File.chown euid, -1, dot_file
|
1411
|
+
File.chmod 0700, dot_file
|
1412
|
+
}
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
unless fu_stat_identical_entry?(st, File.lstat(fullpath))
|
1416
|
+
# TOC-to-TOU attack?
|
1417
|
+
File.unlink fullpath
|
1418
|
+
return
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# ---- tree root is frozen ----
|
1422
|
+
root = Entry_.new(path)
|
1423
|
+
root.preorder_traverse do |ent|
|
1424
|
+
if ent.directory?
|
1425
|
+
ent.chown euid, -1
|
1426
|
+
ent.chmod 0700
|
1427
|
+
end
|
1428
|
+
end
|
1429
|
+
root.postorder_traverse do |ent|
|
1430
|
+
begin
|
1431
|
+
ent.remove
|
1432
|
+
rescue
|
1433
|
+
raise unless force
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
rescue
|
1437
|
+
raise unless force
|
1438
|
+
end
|
1439
|
+
module_function :remove_entry_secure
|
1440
|
+
|
1441
|
+
def fu_have_symlink? #:nodoc:
|
1442
|
+
File.symlink nil, nil
|
1443
|
+
rescue NotImplementedError
|
1444
|
+
return false
|
1445
|
+
rescue TypeError
|
1446
|
+
return true
|
1447
|
+
end
|
1448
|
+
private_module_function :fu_have_symlink?
|
1449
|
+
|
1450
|
+
def fu_stat_identical_entry?(a, b) #:nodoc:
|
1451
|
+
a.dev == b.dev and a.ino == b.ino
|
1452
|
+
end
|
1453
|
+
private_module_function :fu_stat_identical_entry?
|
1454
|
+
|
1455
|
+
# Removes the entry given by +path+,
|
1456
|
+
# which should be the entry for a regular file, a symbolic link,
|
1457
|
+
# or a directory.
|
1458
|
+
#
|
1459
|
+
# Argument +path+
|
1460
|
+
# should be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments].
|
1461
|
+
#
|
1462
|
+
# Optional argument +force+ specifies whether to ignore
|
1463
|
+
# raised exceptions of StandardError and its descendants.
|
1464
|
+
#
|
1465
|
+
# Related: Bundler::FileUtils.remove_entry_secure.
|
1466
|
+
#
|
1467
|
+
def remove_entry(path, force = false)
|
1468
|
+
Entry_.new(path).postorder_traverse do |ent|
|
1469
|
+
begin
|
1470
|
+
ent.remove
|
1471
|
+
rescue
|
1472
|
+
raise unless force
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
rescue
|
1476
|
+
raise unless force
|
1477
|
+
end
|
1478
|
+
module_function :remove_entry
|
1479
|
+
|
1480
|
+
# Removes the file entry given by +path+,
|
1481
|
+
# which should be the entry for a regular file or a symbolic link.
|
1482
|
+
#
|
1483
|
+
# Argument +path+
|
1484
|
+
# should be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments].
|
1485
|
+
#
|
1486
|
+
# Optional argument +force+ specifies whether to ignore
|
1487
|
+
# raised exceptions of StandardError and its descendants.
|
1488
|
+
#
|
1489
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
1490
|
+
#
|
1491
|
+
def remove_file(path, force = false)
|
1492
|
+
Entry_.new(path).remove_file
|
1493
|
+
rescue
|
1494
|
+
raise unless force
|
1495
|
+
end
|
1496
|
+
module_function :remove_file
|
1497
|
+
|
1498
|
+
# Recursively removes the directory entry given by +path+,
|
1499
|
+
# which should be the entry for a regular file, a symbolic link,
|
1500
|
+
# or a directory.
|
1501
|
+
#
|
1502
|
+
# Argument +path+
|
1503
|
+
# should be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments].
|
1504
|
+
#
|
1505
|
+
# Optional argument +force+ specifies whether to ignore
|
1506
|
+
# raised exceptions of StandardError and its descendants.
|
1507
|
+
#
|
1508
|
+
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
|
1509
|
+
#
|
1510
|
+
def remove_dir(path, force = false)
|
1511
|
+
remove_entry path, force # FIXME?? check if it is a directory
|
1512
|
+
end
|
1513
|
+
module_function :remove_dir
|
1514
|
+
|
1515
|
+
# Returns +true+ if the contents of files +a+ and +b+ are identical,
|
1516
|
+
# +false+ otherwise.
|
1517
|
+
#
|
1518
|
+
# Arguments +a+ and +b+
|
1519
|
+
# should be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments].
|
1520
|
+
#
|
1521
|
+
# Bundler::FileUtils.identical? and Bundler::FileUtils.cmp are aliases for Bundler::FileUtils.compare_file.
|
1522
|
+
#
|
1523
|
+
# Related: Bundler::FileUtils.compare_stream.
|
1524
|
+
#
|
1525
|
+
def compare_file(a, b)
|
1526
|
+
return false unless File.size(a) == File.size(b)
|
1527
|
+
File.open(a, 'rb') {|fa|
|
1528
|
+
File.open(b, 'rb') {|fb|
|
1529
|
+
return compare_stream(fa, fb)
|
1530
|
+
}
|
1531
|
+
}
|
1532
|
+
end
|
1533
|
+
module_function :compare_file
|
1534
|
+
|
1535
|
+
alias identical? compare_file
|
1536
|
+
alias cmp compare_file
|
1537
|
+
module_function :identical?
|
1538
|
+
module_function :cmp
|
1539
|
+
|
1540
|
+
# Returns +true+ if the contents of streams +a+ and +b+ are identical,
|
1541
|
+
# +false+ otherwise.
|
1542
|
+
#
|
1543
|
+
# Arguments +a+ and +b+
|
1544
|
+
# should be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments].
|
1545
|
+
#
|
1546
|
+
# Related: Bundler::FileUtils.compare_file.
|
1547
|
+
#
|
1548
|
+
def compare_stream(a, b)
|
1549
|
+
bsize = fu_stream_blksize(a, b)
|
1550
|
+
|
1551
|
+
sa = String.new(capacity: bsize)
|
1552
|
+
sb = String.new(capacity: bsize)
|
1553
|
+
|
1554
|
+
begin
|
1555
|
+
a.read(bsize, sa)
|
1556
|
+
b.read(bsize, sb)
|
1557
|
+
return true if sa.empty? && sb.empty?
|
1558
|
+
end while sa == sb
|
1559
|
+
false
|
1560
|
+
end
|
1561
|
+
module_function :compare_stream
|
1562
|
+
|
1563
|
+
# Copies a file entry.
|
1564
|
+
# See {install(1)}[https://man7.org/linux/man-pages/man1/install.1.html].
|
1565
|
+
#
|
1566
|
+
# Arguments +src+ (a single path or an array of paths)
|
1567
|
+
# and +dest+ (a single path)
|
1568
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments];
|
1569
|
+
#
|
1570
|
+
# If the entry at +dest+ does not exist, copies from +src+ to +dest+:
|
1571
|
+
#
|
1572
|
+
# File.read('src0.txt') # => "aaa\n"
|
1573
|
+
# File.exist?('dest0.txt') # => false
|
1574
|
+
# Bundler::FileUtils.install('src0.txt', 'dest0.txt')
|
1575
|
+
# File.read('dest0.txt') # => "aaa\n"
|
1576
|
+
#
|
1577
|
+
# If +dest+ is a file entry, copies from +src+ to +dest+, overwriting:
|
1578
|
+
#
|
1579
|
+
# File.read('src1.txt') # => "aaa\n"
|
1580
|
+
# File.read('dest1.txt') # => "bbb\n"
|
1581
|
+
# Bundler::FileUtils.install('src1.txt', 'dest1.txt')
|
1582
|
+
# File.read('dest1.txt') # => "aaa\n"
|
1583
|
+
#
|
1584
|
+
# If +dest+ is a directory entry, copies from +src+ to <tt>dest/src</tt>,
|
1585
|
+
# overwriting if necessary:
|
1586
|
+
#
|
1587
|
+
# File.read('src2.txt') # => "aaa\n"
|
1588
|
+
# File.read('dest2/src2.txt') # => "bbb\n"
|
1589
|
+
# Bundler::FileUtils.install('src2.txt', 'dest2')
|
1590
|
+
# File.read('dest2/src2.txt') # => "aaa\n"
|
1591
|
+
#
|
1592
|
+
# If +src+ is an array of paths and +dest+ points to a directory,
|
1593
|
+
# copies each path +path+ in +src+ to <tt>dest/path</tt>:
|
1594
|
+
#
|
1595
|
+
# File.file?('src3.txt') # => true
|
1596
|
+
# File.file?('src3.dat') # => true
|
1597
|
+
# Bundler::FileUtils.mkdir('dest3')
|
1598
|
+
# Bundler::FileUtils.install(['src3.txt', 'src3.dat'], 'dest3')
|
1599
|
+
# File.file?('dest3/src3.txt') # => true
|
1600
|
+
# File.file?('dest3/src3.dat') # => true
|
1601
|
+
#
|
1602
|
+
# Keyword arguments:
|
1603
|
+
#
|
1604
|
+
# - <tt>group: <i>group</i></tt> - changes the group if not +nil+,
|
1605
|
+
# using {File.chown}[https://docs.ruby-lang.org/en/master/File.html#method-c-chown].
|
1606
|
+
# - <tt>mode: <i>permissions</i></tt> - changes the permissions.
|
1607
|
+
# using {File.chmod}[https://docs.ruby-lang.org/en/master/File.html#method-c-chmod].
|
1608
|
+
# - <tt>noop: true</tt> - does not copy entries; returns +nil+.
|
1609
|
+
# - <tt>owner: <i>owner</i></tt> - changes the owner if not +nil+,
|
1610
|
+
# using {File.chown}[https://docs.ruby-lang.org/en/master/File.html#method-c-chown].
|
1611
|
+
# - <tt>preserve: true</tt> - preserve timestamps
|
1612
|
+
# using {File.utime}[https://docs.ruby-lang.org/en/master/File.html#method-c-utime].
|
1613
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
1614
|
+
#
|
1615
|
+
# Bundler::FileUtils.install('src0.txt', 'dest0.txt', noop: true, verbose: true)
|
1616
|
+
# Bundler::FileUtils.install('src1.txt', 'dest1.txt', noop: true, verbose: true)
|
1617
|
+
# Bundler::FileUtils.install('src2.txt', 'dest2', noop: true, verbose: true)
|
1618
|
+
#
|
1619
|
+
# Output:
|
1620
|
+
#
|
1621
|
+
# install -c src0.txt dest0.txt
|
1622
|
+
# install -c src1.txt dest1.txt
|
1623
|
+
# install -c src2.txt dest2
|
1624
|
+
#
|
1625
|
+
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
|
1626
|
+
#
|
1627
|
+
def install(src, dest, mode: nil, owner: nil, group: nil, preserve: nil,
|
1628
|
+
noop: nil, verbose: nil)
|
1629
|
+
if verbose
|
1630
|
+
msg = +"install -c"
|
1631
|
+
msg << ' -p' if preserve
|
1632
|
+
msg << ' -m ' << mode_to_s(mode) if mode
|
1633
|
+
msg << " -o #{owner}" if owner
|
1634
|
+
msg << " -g #{group}" if group
|
1635
|
+
msg << ' ' << [src,dest].flatten.join(' ')
|
1636
|
+
fu_output_message msg
|
1637
|
+
end
|
1638
|
+
return if noop
|
1639
|
+
uid = fu_get_uid(owner)
|
1640
|
+
gid = fu_get_gid(group)
|
1641
|
+
fu_each_src_dest(src, dest) do |s, d|
|
1642
|
+
st = File.stat(s)
|
1643
|
+
unless File.exist?(d) and compare_file(s, d)
|
1644
|
+
remove_file d, true
|
1645
|
+
copy_file s, d
|
1646
|
+
File.utime st.atime, st.mtime, d if preserve
|
1647
|
+
File.chmod fu_mode(mode, st), d if mode
|
1648
|
+
File.chown uid, gid, d if uid or gid
|
1649
|
+
end
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
module_function :install
|
1653
|
+
|
1654
|
+
def user_mask(target) #:nodoc:
|
1655
|
+
target.each_char.inject(0) do |mask, chr|
|
1656
|
+
case chr
|
1657
|
+
when "u"
|
1658
|
+
mask | 04700
|
1659
|
+
when "g"
|
1660
|
+
mask | 02070
|
1661
|
+
when "o"
|
1662
|
+
mask | 01007
|
1663
|
+
when "a"
|
1664
|
+
mask | 07777
|
1665
|
+
else
|
1666
|
+
raise ArgumentError, "invalid `who' symbol in file mode: #{chr}"
|
1667
|
+
end
|
1668
|
+
end
|
1669
|
+
end
|
1670
|
+
private_module_function :user_mask
|
1671
|
+
|
1672
|
+
def apply_mask(mode, user_mask, op, mode_mask) #:nodoc:
|
1673
|
+
case op
|
1674
|
+
when '='
|
1675
|
+
(mode & ~user_mask) | (user_mask & mode_mask)
|
1676
|
+
when '+'
|
1677
|
+
mode | (user_mask & mode_mask)
|
1678
|
+
when '-'
|
1679
|
+
mode & ~(user_mask & mode_mask)
|
1680
|
+
end
|
1681
|
+
end
|
1682
|
+
private_module_function :apply_mask
|
1683
|
+
|
1684
|
+
def symbolic_modes_to_i(mode_sym, path) #:nodoc:
|
1685
|
+
path = File.stat(path) unless File::Stat === path
|
1686
|
+
mode = path.mode
|
1687
|
+
mode_sym.split(/,/).inject(mode & 07777) do |current_mode, clause|
|
1688
|
+
target, *actions = clause.split(/([=+-])/)
|
1689
|
+
raise ArgumentError, "invalid file mode: #{mode_sym}" if actions.empty?
|
1690
|
+
target = 'a' if target.empty?
|
1691
|
+
user_mask = user_mask(target)
|
1692
|
+
actions.each_slice(2) do |op, perm|
|
1693
|
+
need_apply = op == '='
|
1694
|
+
mode_mask = (perm || '').each_char.inject(0) do |mask, chr|
|
1695
|
+
case chr
|
1696
|
+
when "r"
|
1697
|
+
mask | 0444
|
1698
|
+
when "w"
|
1699
|
+
mask | 0222
|
1700
|
+
when "x"
|
1701
|
+
mask | 0111
|
1702
|
+
when "X"
|
1703
|
+
if path.directory?
|
1704
|
+
mask | 0111
|
1705
|
+
else
|
1706
|
+
mask
|
1707
|
+
end
|
1708
|
+
when "s"
|
1709
|
+
mask | 06000
|
1710
|
+
when "t"
|
1711
|
+
mask | 01000
|
1712
|
+
when "u", "g", "o"
|
1713
|
+
if mask.nonzero?
|
1714
|
+
current_mode = apply_mask(current_mode, user_mask, op, mask)
|
1715
|
+
end
|
1716
|
+
need_apply = false
|
1717
|
+
copy_mask = user_mask(chr)
|
1718
|
+
(current_mode & copy_mask) / (copy_mask & 0111) * (user_mask & 0111)
|
1719
|
+
else
|
1720
|
+
raise ArgumentError, "invalid `perm' symbol in file mode: #{chr}"
|
1721
|
+
end
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
if mode_mask.nonzero? || need_apply
|
1725
|
+
current_mode = apply_mask(current_mode, user_mask, op, mode_mask)
|
1726
|
+
end
|
1727
|
+
end
|
1728
|
+
current_mode
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
private_module_function :symbolic_modes_to_i
|
1732
|
+
|
1733
|
+
def fu_mode(mode, path) #:nodoc:
|
1734
|
+
mode.is_a?(String) ? symbolic_modes_to_i(mode, path) : mode
|
1735
|
+
end
|
1736
|
+
private_module_function :fu_mode
|
1737
|
+
|
1738
|
+
def mode_to_s(mode) #:nodoc:
|
1739
|
+
mode.is_a?(String) ? mode : "%o" % mode
|
1740
|
+
end
|
1741
|
+
private_module_function :mode_to_s
|
1742
|
+
|
1743
|
+
# Changes permissions on the entries at the paths given in +list+
|
1744
|
+
# (a single path or an array of paths)
|
1745
|
+
# to the permissions given by +mode+;
|
1746
|
+
# returns +list+ if it is an array, <tt>[list]</tt> otherwise:
|
1747
|
+
#
|
1748
|
+
# - Modifies each entry that is a regular file using
|
1749
|
+
# {File.chmod}[https://docs.ruby-lang.org/en/master/File.html#method-c-chmod].
|
1750
|
+
# - Modifies each entry that is a symbolic link using
|
1751
|
+
# {File.lchmod}[https://docs.ruby-lang.org/en/master/File.html#method-c-lchmod].
|
1752
|
+
#
|
1753
|
+
# Argument +list+ or its elements
|
1754
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1755
|
+
#
|
1756
|
+
# Argument +mode+ may be either an integer or a string:
|
1757
|
+
#
|
1758
|
+
# - \Integer +mode+: represents the permission bits to be set:
|
1759
|
+
#
|
1760
|
+
# Bundler::FileUtils.chmod(0755, 'src0.txt')
|
1761
|
+
# Bundler::FileUtils.chmod(0644, ['src0.txt', 'src0.dat'])
|
1762
|
+
#
|
1763
|
+
# - \String +mode+: represents the permissions to be set:
|
1764
|
+
#
|
1765
|
+
# The string is of the form <tt>[targets][[operator][perms[,perms]]</tt>, where:
|
1766
|
+
#
|
1767
|
+
# - +targets+ may be any combination of these letters:
|
1768
|
+
#
|
1769
|
+
# - <tt>'u'</tt>: permissions apply to the file's owner.
|
1770
|
+
# - <tt>'g'</tt>: permissions apply to users in the file's group.
|
1771
|
+
# - <tt>'o'</tt>: permissions apply to other users not in the file's group.
|
1772
|
+
# - <tt>'a'</tt> (the default): permissions apply to all users.
|
1773
|
+
#
|
1774
|
+
# - +operator+ may be one of these letters:
|
1775
|
+
#
|
1776
|
+
# - <tt>'+'</tt>: adds permissions.
|
1777
|
+
# - <tt>'-'</tt>: removes permissions.
|
1778
|
+
# - <tt>'='</tt>: sets (replaces) permissions.
|
1779
|
+
#
|
1780
|
+
# - +perms+ (may be repeated, with separating commas)
|
1781
|
+
# may be any combination of these letters:
|
1782
|
+
#
|
1783
|
+
# - <tt>'r'</tt>: Read.
|
1784
|
+
# - <tt>'w'</tt>: Write.
|
1785
|
+
# - <tt>'x'</tt>: Execute (search, for a directory).
|
1786
|
+
# - <tt>'X'</tt>: Search (for a directories only;
|
1787
|
+
# must be used with <tt>'+'</tt>)
|
1788
|
+
# - <tt>'s'</tt>: Uid or gid.
|
1789
|
+
# - <tt>'t'</tt>: Sticky bit.
|
1790
|
+
#
|
1791
|
+
# Examples:
|
1792
|
+
#
|
1793
|
+
# Bundler::FileUtils.chmod('u=wrx,go=rx', 'src1.txt')
|
1794
|
+
# Bundler::FileUtils.chmod('u=wrx,go=rx', '/usr/bin/ruby')
|
1795
|
+
#
|
1796
|
+
# Keyword arguments:
|
1797
|
+
#
|
1798
|
+
# - <tt>noop: true</tt> - does not change permissions; returns +nil+.
|
1799
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
1800
|
+
#
|
1801
|
+
# Bundler::FileUtils.chmod(0755, 'src0.txt', noop: true, verbose: true)
|
1802
|
+
# Bundler::FileUtils.chmod(0644, ['src0.txt', 'src0.dat'], noop: true, verbose: true)
|
1803
|
+
# Bundler::FileUtils.chmod('u=wrx,go=rx', 'src1.txt', noop: true, verbose: true)
|
1804
|
+
# Bundler::FileUtils.chmod('u=wrx,go=rx', '/usr/bin/ruby', noop: true, verbose: true)
|
1805
|
+
#
|
1806
|
+
# Output:
|
1807
|
+
#
|
1808
|
+
# chmod 755 src0.txt
|
1809
|
+
# chmod 644 src0.txt src0.dat
|
1810
|
+
# chmod u=wrx,go=rx src1.txt
|
1811
|
+
# chmod u=wrx,go=rx /usr/bin/ruby
|
1812
|
+
#
|
1813
|
+
# Related: Bundler::FileUtils.chmod_R.
|
1814
|
+
#
|
1815
|
+
def chmod(mode, list, noop: nil, verbose: nil)
|
1816
|
+
list = fu_list(list)
|
1817
|
+
fu_output_message sprintf('chmod %s %s', mode_to_s(mode), list.join(' ')) if verbose
|
1818
|
+
return if noop
|
1819
|
+
list.each do |path|
|
1820
|
+
Entry_.new(path).chmod(fu_mode(mode, path))
|
1821
|
+
end
|
1822
|
+
end
|
1823
|
+
module_function :chmod
|
1824
|
+
|
1825
|
+
# Like Bundler::FileUtils.chmod, but changes permissions recursively.
|
1826
|
+
#
|
1827
|
+
def chmod_R(mode, list, noop: nil, verbose: nil, force: nil)
|
1828
|
+
list = fu_list(list)
|
1829
|
+
fu_output_message sprintf('chmod -R%s %s %s',
|
1830
|
+
(force ? 'f' : ''),
|
1831
|
+
mode_to_s(mode), list.join(' ')) if verbose
|
1832
|
+
return if noop
|
1833
|
+
list.each do |root|
|
1834
|
+
Entry_.new(root).traverse do |ent|
|
1835
|
+
begin
|
1836
|
+
ent.chmod(fu_mode(mode, ent.path))
|
1837
|
+
rescue
|
1838
|
+
raise unless force
|
1839
|
+
end
|
1840
|
+
end
|
1841
|
+
end
|
1842
|
+
end
|
1843
|
+
module_function :chmod_R
|
1844
|
+
|
1845
|
+
# Changes the owner and group on the entries at the paths given in +list+
|
1846
|
+
# (a single path or an array of paths)
|
1847
|
+
# to the given +user+ and +group+;
|
1848
|
+
# returns +list+ if it is an array, <tt>[list]</tt> otherwise:
|
1849
|
+
#
|
1850
|
+
# - Modifies each entry that is a regular file using
|
1851
|
+
# {File.chown}[https://docs.ruby-lang.org/en/master/File.html#method-c-chown].
|
1852
|
+
# - Modifies each entry that is a symbolic link using
|
1853
|
+
# {File.lchown}[https://docs.ruby-lang.org/en/master/File.html#method-c-lchown].
|
1854
|
+
#
|
1855
|
+
# Argument +list+ or its elements
|
1856
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1857
|
+
#
|
1858
|
+
# User and group:
|
1859
|
+
#
|
1860
|
+
# - Argument +user+ may be a user name or a user id;
|
1861
|
+
# if +nil+ or +-1+, the user is not changed.
|
1862
|
+
# - Argument +group+ may be a group name or a group id;
|
1863
|
+
# if +nil+ or +-1+, the group is not changed.
|
1864
|
+
# - The user must be a member of the group.
|
1865
|
+
#
|
1866
|
+
# Examples:
|
1867
|
+
#
|
1868
|
+
# # One path.
|
1869
|
+
# # User and group as string names.
|
1870
|
+
# File.stat('src0.txt').uid # => 1004
|
1871
|
+
# File.stat('src0.txt').gid # => 1004
|
1872
|
+
# Bundler::FileUtils.chown('user2', 'group1', 'src0.txt')
|
1873
|
+
# File.stat('src0.txt').uid # => 1006
|
1874
|
+
# File.stat('src0.txt').gid # => 1005
|
1875
|
+
#
|
1876
|
+
# # User and group as uid and gid.
|
1877
|
+
# Bundler::FileUtils.chown(1004, 1004, 'src0.txt')
|
1878
|
+
# File.stat('src0.txt').uid # => 1004
|
1879
|
+
# File.stat('src0.txt').gid # => 1004
|
1880
|
+
#
|
1881
|
+
# # Array of paths.
|
1882
|
+
# Bundler::FileUtils.chown(1006, 1005, ['src0.txt', 'src0.dat'])
|
1883
|
+
#
|
1884
|
+
# # Directory (not recursive).
|
1885
|
+
# Bundler::FileUtils.chown('user2', 'group1', '.')
|
1886
|
+
#
|
1887
|
+
# Keyword arguments:
|
1888
|
+
#
|
1889
|
+
# - <tt>noop: true</tt> - does not change permissions; returns +nil+.
|
1890
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
1891
|
+
#
|
1892
|
+
# Bundler::FileUtils.chown('user2', 'group1', 'src0.txt', noop: true, verbose: true)
|
1893
|
+
# Bundler::FileUtils.chown(1004, 1004, 'src0.txt', noop: true, verbose: true)
|
1894
|
+
# Bundler::FileUtils.chown(1006, 1005, ['src0.txt', 'src0.dat'], noop: true, verbose: true)
|
1895
|
+
# Bundler::FileUtils.chown('user2', 'group1', path, noop: true, verbose: true)
|
1896
|
+
# Bundler::FileUtils.chown('user2', 'group1', '.', noop: true, verbose: true)
|
1897
|
+
#
|
1898
|
+
# Output:
|
1899
|
+
#
|
1900
|
+
# chown user2:group1 src0.txt
|
1901
|
+
# chown 1004:1004 src0.txt
|
1902
|
+
# chown 1006:1005 src0.txt src0.dat
|
1903
|
+
# chown user2:group1 src0.txt
|
1904
|
+
# chown user2:group1 .
|
1905
|
+
#
|
1906
|
+
# Related: Bundler::FileUtils.chown_R.
|
1907
|
+
#
|
1908
|
+
def chown(user, group, list, noop: nil, verbose: nil)
|
1909
|
+
list = fu_list(list)
|
1910
|
+
fu_output_message sprintf('chown %s %s',
|
1911
|
+
(group ? "#{user}:#{group}" : user || ':'),
|
1912
|
+
list.join(' ')) if verbose
|
1913
|
+
return if noop
|
1914
|
+
uid = fu_get_uid(user)
|
1915
|
+
gid = fu_get_gid(group)
|
1916
|
+
list.each do |path|
|
1917
|
+
Entry_.new(path).chown uid, gid
|
1918
|
+
end
|
1919
|
+
end
|
1920
|
+
module_function :chown
|
1921
|
+
|
1922
|
+
# Like Bundler::FileUtils.chown, but changes owner and group recursively.
|
1923
|
+
#
|
1924
|
+
def chown_R(user, group, list, noop: nil, verbose: nil, force: nil)
|
1925
|
+
list = fu_list(list)
|
1926
|
+
fu_output_message sprintf('chown -R%s %s %s',
|
1927
|
+
(force ? 'f' : ''),
|
1928
|
+
(group ? "#{user}:#{group}" : user || ':'),
|
1929
|
+
list.join(' ')) if verbose
|
1930
|
+
return if noop
|
1931
|
+
uid = fu_get_uid(user)
|
1932
|
+
gid = fu_get_gid(group)
|
1933
|
+
list.each do |root|
|
1934
|
+
Entry_.new(root).traverse do |ent|
|
1935
|
+
begin
|
1936
|
+
ent.chown uid, gid
|
1937
|
+
rescue
|
1938
|
+
raise unless force
|
1939
|
+
end
|
1940
|
+
end
|
1941
|
+
end
|
1942
|
+
end
|
1943
|
+
module_function :chown_R
|
1944
|
+
|
1945
|
+
def fu_get_uid(user) #:nodoc:
|
1946
|
+
return nil unless user
|
1947
|
+
case user
|
1948
|
+
when Integer
|
1949
|
+
user
|
1950
|
+
when /\A\d+\z/
|
1951
|
+
user.to_i
|
1952
|
+
else
|
1953
|
+
require 'etc'
|
1954
|
+
Etc.getpwnam(user) ? Etc.getpwnam(user).uid : nil
|
1955
|
+
end
|
1956
|
+
end
|
1957
|
+
private_module_function :fu_get_uid
|
1958
|
+
|
1959
|
+
def fu_get_gid(group) #:nodoc:
|
1960
|
+
return nil unless group
|
1961
|
+
case group
|
1962
|
+
when Integer
|
1963
|
+
group
|
1964
|
+
when /\A\d+\z/
|
1965
|
+
group.to_i
|
1966
|
+
else
|
1967
|
+
require 'etc'
|
1968
|
+
Etc.getgrnam(group) ? Etc.getgrnam(group).gid : nil
|
1969
|
+
end
|
1970
|
+
end
|
1971
|
+
private_module_function :fu_get_gid
|
1972
|
+
|
1973
|
+
# Updates modification times (mtime) and access times (atime)
|
1974
|
+
# of the entries given by the paths in +list+
|
1975
|
+
# (a single path or an array of paths);
|
1976
|
+
# returns +list+ if it is an array, <tt>[list]</tt> otherwise.
|
1977
|
+
#
|
1978
|
+
# By default, creates an empty file for any path to a non-existent entry;
|
1979
|
+
# use keyword argument +nocreate+ to raise an exception instead.
|
1980
|
+
#
|
1981
|
+
# Argument +list+ or its elements
|
1982
|
+
# should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].
|
1983
|
+
#
|
1984
|
+
# Examples:
|
1985
|
+
#
|
1986
|
+
# # Single path.
|
1987
|
+
# f = File.new('src0.txt') # Existing file.
|
1988
|
+
# f.atime # => 2022-06-10 11:11:21.200277 -0700
|
1989
|
+
# f.mtime # => 2022-06-10 11:11:21.200277 -0700
|
1990
|
+
# Bundler::FileUtils.touch('src0.txt')
|
1991
|
+
# f = File.new('src0.txt')
|
1992
|
+
# f.atime # => 2022-06-11 08:28:09.8185343 -0700
|
1993
|
+
# f.mtime # => 2022-06-11 08:28:09.8185343 -0700
|
1994
|
+
#
|
1995
|
+
# # Array of paths.
|
1996
|
+
# Bundler::FileUtils.touch(['src0.txt', 'src0.dat'])
|
1997
|
+
#
|
1998
|
+
# Keyword arguments:
|
1999
|
+
#
|
2000
|
+
# - <tt>mtime: <i>time</i></tt> - sets the entry's mtime to the given time,
|
2001
|
+
# instead of the current time.
|
2002
|
+
# - <tt>nocreate: true</tt> - raises an exception if the entry does not exist.
|
2003
|
+
# - <tt>noop: true</tt> - does not touch entries; returns +nil+.
|
2004
|
+
# - <tt>verbose: true</tt> - prints an equivalent command:
|
2005
|
+
#
|
2006
|
+
# Bundler::FileUtils.touch('src0.txt', noop: true, verbose: true)
|
2007
|
+
# Bundler::FileUtils.touch(['src0.txt', 'src0.dat'], noop: true, verbose: true)
|
2008
|
+
# Bundler::FileUtils.touch(path, noop: true, verbose: true)
|
2009
|
+
#
|
2010
|
+
# Output:
|
2011
|
+
#
|
2012
|
+
# touch src0.txt
|
2013
|
+
# touch src0.txt src0.dat
|
2014
|
+
# touch src0.txt
|
2015
|
+
#
|
2016
|
+
# Related: Bundler::FileUtils.uptodate?.
|
2017
|
+
#
|
2018
|
+
def touch(list, noop: nil, verbose: nil, mtime: nil, nocreate: nil)
|
2019
|
+
list = fu_list(list)
|
2020
|
+
t = mtime
|
2021
|
+
if verbose
|
2022
|
+
fu_output_message "touch #{nocreate ? '-c ' : ''}#{t ? t.strftime('-t %Y%m%d%H%M.%S ') : ''}#{list.join ' '}"
|
2023
|
+
end
|
2024
|
+
return if noop
|
2025
|
+
list.each do |path|
|
2026
|
+
created = nocreate
|
2027
|
+
begin
|
2028
|
+
File.utime(t, t, path)
|
2029
|
+
rescue Errno::ENOENT
|
2030
|
+
raise if created
|
2031
|
+
File.open(path, 'a') {
|
2032
|
+
;
|
2033
|
+
}
|
2034
|
+
created = true
|
2035
|
+
retry if t
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
end
|
2039
|
+
module_function :touch
|
2040
|
+
|
2041
|
+
private
|
2042
|
+
|
2043
|
+
module StreamUtils_
|
2044
|
+
private
|
2045
|
+
|
2046
|
+
case (defined?(::RbConfig) ? ::RbConfig::CONFIG['host_os'] : ::RUBY_PLATFORM)
|
2047
|
+
when /mswin|mingw/
|
2048
|
+
def fu_windows?; true end
|
2049
|
+
else
|
2050
|
+
def fu_windows?; false end
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
def fu_copy_stream0(src, dest, blksize = nil) #:nodoc:
|
2054
|
+
IO.copy_stream(src, dest)
|
2055
|
+
end
|
2056
|
+
|
2057
|
+
def fu_stream_blksize(*streams)
|
2058
|
+
streams.each do |s|
|
2059
|
+
next unless s.respond_to?(:stat)
|
2060
|
+
size = fu_blksize(s.stat)
|
2061
|
+
return size if size
|
2062
|
+
end
|
2063
|
+
fu_default_blksize()
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
def fu_blksize(st)
|
2067
|
+
s = st.blksize
|
2068
|
+
return nil unless s
|
2069
|
+
return nil if s == 0
|
2070
|
+
s
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
def fu_default_blksize
|
2074
|
+
1024
|
2075
|
+
end
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
include StreamUtils_
|
2079
|
+
extend StreamUtils_
|
2080
|
+
|
2081
|
+
class Entry_ #:nodoc: internal use only
|
2082
|
+
include StreamUtils_
|
2083
|
+
|
2084
|
+
def initialize(a, b = nil, deref = false)
|
2085
|
+
@prefix = @rel = @path = nil
|
2086
|
+
if b
|
2087
|
+
@prefix = a
|
2088
|
+
@rel = b
|
2089
|
+
else
|
2090
|
+
@path = a
|
2091
|
+
end
|
2092
|
+
@deref = deref
|
2093
|
+
@stat = nil
|
2094
|
+
@lstat = nil
|
2095
|
+
end
|
2096
|
+
|
2097
|
+
def inspect
|
2098
|
+
"\#<#{self.class} #{path()}>"
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
def path
|
2102
|
+
if @path
|
2103
|
+
File.path(@path)
|
2104
|
+
else
|
2105
|
+
join(@prefix, @rel)
|
2106
|
+
end
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
def prefix
|
2110
|
+
@prefix || @path
|
2111
|
+
end
|
2112
|
+
|
2113
|
+
def rel
|
2114
|
+
@rel
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
def dereference?
|
2118
|
+
@deref
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
def exist?
|
2122
|
+
begin
|
2123
|
+
lstat
|
2124
|
+
true
|
2125
|
+
rescue Errno::ENOENT
|
2126
|
+
false
|
2127
|
+
end
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
def file?
|
2131
|
+
s = lstat!
|
2132
|
+
s and s.file?
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
def directory?
|
2136
|
+
s = lstat!
|
2137
|
+
s and s.directory?
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
def symlink?
|
2141
|
+
s = lstat!
|
2142
|
+
s and s.symlink?
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
def chardev?
|
2146
|
+
s = lstat!
|
2147
|
+
s and s.chardev?
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
def blockdev?
|
2151
|
+
s = lstat!
|
2152
|
+
s and s.blockdev?
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
def socket?
|
2156
|
+
s = lstat!
|
2157
|
+
s and s.socket?
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
def pipe?
|
2161
|
+
s = lstat!
|
2162
|
+
s and s.pipe?
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
S_IF_DOOR = 0xD000
|
2166
|
+
|
2167
|
+
def door?
|
2168
|
+
s = lstat!
|
2169
|
+
s and (s.mode & 0xF000 == S_IF_DOOR)
|
2170
|
+
end
|
2171
|
+
|
2172
|
+
def entries
|
2173
|
+
opts = {}
|
2174
|
+
opts[:encoding] = fu_windows? ? ::Encoding::UTF_8 : path.encoding
|
2175
|
+
|
2176
|
+
files = Dir.children(path, **opts)
|
2177
|
+
|
2178
|
+
untaint = RUBY_VERSION < '2.7'
|
2179
|
+
files.map {|n| Entry_.new(prefix(), join(rel(), untaint ? n.untaint : n)) }
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
def stat
|
2183
|
+
return @stat if @stat
|
2184
|
+
if lstat() and lstat().symlink?
|
2185
|
+
@stat = File.stat(path())
|
2186
|
+
else
|
2187
|
+
@stat = lstat()
|
2188
|
+
end
|
2189
|
+
@stat
|
2190
|
+
end
|
2191
|
+
|
2192
|
+
def stat!
|
2193
|
+
return @stat if @stat
|
2194
|
+
if lstat! and lstat!.symlink?
|
2195
|
+
@stat = File.stat(path())
|
2196
|
+
else
|
2197
|
+
@stat = lstat!
|
2198
|
+
end
|
2199
|
+
@stat
|
2200
|
+
rescue SystemCallError
|
2201
|
+
nil
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
def lstat
|
2205
|
+
if dereference?
|
2206
|
+
@lstat ||= File.stat(path())
|
2207
|
+
else
|
2208
|
+
@lstat ||= File.lstat(path())
|
2209
|
+
end
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
def lstat!
|
2213
|
+
lstat()
|
2214
|
+
rescue SystemCallError
|
2215
|
+
nil
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
def chmod(mode)
|
2219
|
+
if symlink?
|
2220
|
+
File.lchmod mode, path() if have_lchmod?
|
2221
|
+
else
|
2222
|
+
File.chmod mode, path()
|
2223
|
+
end
|
2224
|
+
rescue Errno::EOPNOTSUPP
|
2225
|
+
end
|
2226
|
+
|
2227
|
+
def chown(uid, gid)
|
2228
|
+
if symlink?
|
2229
|
+
File.lchown uid, gid, path() if have_lchown?
|
2230
|
+
else
|
2231
|
+
File.chown uid, gid, path()
|
2232
|
+
end
|
2233
|
+
end
|
2234
|
+
|
2235
|
+
def link(dest)
|
2236
|
+
case
|
2237
|
+
when directory?
|
2238
|
+
if !File.exist?(dest) and descendant_directory?(dest, path)
|
2239
|
+
raise ArgumentError, "cannot link directory %s to itself %s" % [path, dest]
|
2240
|
+
end
|
2241
|
+
begin
|
2242
|
+
Dir.mkdir dest
|
2243
|
+
rescue
|
2244
|
+
raise unless File.directory?(dest)
|
2245
|
+
end
|
2246
|
+
else
|
2247
|
+
File.link path(), dest
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
def copy(dest)
|
2252
|
+
lstat
|
2253
|
+
case
|
2254
|
+
when file?
|
2255
|
+
copy_file dest
|
2256
|
+
when directory?
|
2257
|
+
if !File.exist?(dest) and descendant_directory?(dest, path)
|
2258
|
+
raise ArgumentError, "cannot copy directory %s to itself %s" % [path, dest]
|
2259
|
+
end
|
2260
|
+
begin
|
2261
|
+
Dir.mkdir dest
|
2262
|
+
rescue
|
2263
|
+
raise unless File.directory?(dest)
|
2264
|
+
end
|
2265
|
+
when symlink?
|
2266
|
+
File.symlink File.readlink(path()), dest
|
2267
|
+
when chardev?, blockdev?
|
2268
|
+
raise "cannot handle device file"
|
2269
|
+
when socket?
|
2270
|
+
begin
|
2271
|
+
require 'socket'
|
2272
|
+
rescue LoadError
|
2273
|
+
raise "cannot handle socket"
|
2274
|
+
else
|
2275
|
+
raise "cannot handle socket" unless defined?(UNIXServer)
|
2276
|
+
end
|
2277
|
+
UNIXServer.new(dest).close
|
2278
|
+
File.chmod lstat().mode, dest
|
2279
|
+
when pipe?
|
2280
|
+
raise "cannot handle FIFO" unless File.respond_to?(:mkfifo)
|
2281
|
+
File.mkfifo dest, lstat().mode
|
2282
|
+
when door?
|
2283
|
+
raise "cannot handle door: #{path()}"
|
2284
|
+
else
|
2285
|
+
raise "unknown file type: #{path()}"
|
2286
|
+
end
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
def copy_file(dest)
|
2290
|
+
File.open(path()) do |s|
|
2291
|
+
File.open(dest, 'wb', s.stat.mode) do |f|
|
2292
|
+
IO.copy_stream(s, f)
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
def copy_metadata(path)
|
2298
|
+
st = lstat()
|
2299
|
+
if !st.symlink?
|
2300
|
+
File.utime st.atime, st.mtime, path
|
2301
|
+
end
|
2302
|
+
mode = st.mode
|
2303
|
+
begin
|
2304
|
+
if st.symlink?
|
2305
|
+
begin
|
2306
|
+
File.lchown st.uid, st.gid, path
|
2307
|
+
rescue NotImplementedError
|
2308
|
+
end
|
2309
|
+
else
|
2310
|
+
File.chown st.uid, st.gid, path
|
2311
|
+
end
|
2312
|
+
rescue Errno::EPERM, Errno::EACCES
|
2313
|
+
# clear setuid/setgid
|
2314
|
+
mode &= 01777
|
2315
|
+
end
|
2316
|
+
if st.symlink?
|
2317
|
+
begin
|
2318
|
+
File.lchmod mode, path
|
2319
|
+
rescue NotImplementedError, Errno::EOPNOTSUPP
|
2320
|
+
end
|
2321
|
+
else
|
2322
|
+
File.chmod mode, path
|
2323
|
+
end
|
2324
|
+
end
|
2325
|
+
|
2326
|
+
def remove
|
2327
|
+
if directory?
|
2328
|
+
remove_dir1
|
2329
|
+
else
|
2330
|
+
remove_file
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
def remove_dir1
|
2335
|
+
platform_support {
|
2336
|
+
Dir.rmdir path().chomp(?/)
|
2337
|
+
}
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
def remove_file
|
2341
|
+
platform_support {
|
2342
|
+
File.unlink path
|
2343
|
+
}
|
2344
|
+
end
|
2345
|
+
|
2346
|
+
def platform_support
|
2347
|
+
return yield unless fu_windows?
|
2348
|
+
first_time_p = true
|
2349
|
+
begin
|
2350
|
+
yield
|
2351
|
+
rescue Errno::ENOENT
|
2352
|
+
raise
|
2353
|
+
rescue => err
|
2354
|
+
if first_time_p
|
2355
|
+
first_time_p = false
|
2356
|
+
begin
|
2357
|
+
File.chmod 0700, path() # Windows does not have symlink
|
2358
|
+
retry
|
2359
|
+
rescue SystemCallError
|
2360
|
+
end
|
2361
|
+
end
|
2362
|
+
raise err
|
2363
|
+
end
|
2364
|
+
end
|
2365
|
+
|
2366
|
+
def preorder_traverse
|
2367
|
+
stack = [self]
|
2368
|
+
while ent = stack.pop
|
2369
|
+
yield ent
|
2370
|
+
stack.concat ent.entries.reverse if ent.directory?
|
2371
|
+
end
|
2372
|
+
end
|
2373
|
+
|
2374
|
+
alias traverse preorder_traverse
|
2375
|
+
|
2376
|
+
def postorder_traverse
|
2377
|
+
if directory?
|
2378
|
+
begin
|
2379
|
+
children = entries()
|
2380
|
+
rescue Errno::EACCES
|
2381
|
+
# Failed to get the list of children.
|
2382
|
+
# Assuming there is no children, try to process the parent directory.
|
2383
|
+
yield self
|
2384
|
+
return
|
2385
|
+
end
|
2386
|
+
|
2387
|
+
children.each do |ent|
|
2388
|
+
ent.postorder_traverse do |e|
|
2389
|
+
yield e
|
2390
|
+
end
|
2391
|
+
end
|
2392
|
+
end
|
2393
|
+
yield self
|
2394
|
+
end
|
2395
|
+
|
2396
|
+
def wrap_traverse(pre, post)
|
2397
|
+
pre.call self
|
2398
|
+
if directory?
|
2399
|
+
entries.each do |ent|
|
2400
|
+
ent.wrap_traverse pre, post
|
2401
|
+
end
|
2402
|
+
end
|
2403
|
+
post.call self
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
private
|
2407
|
+
|
2408
|
+
@@fileutils_rb_have_lchmod = nil
|
2409
|
+
|
2410
|
+
def have_lchmod?
|
2411
|
+
# This is not MT-safe, but it does not matter.
|
2412
|
+
if @@fileutils_rb_have_lchmod == nil
|
2413
|
+
@@fileutils_rb_have_lchmod = check_have_lchmod?
|
2414
|
+
end
|
2415
|
+
@@fileutils_rb_have_lchmod
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
def check_have_lchmod?
|
2419
|
+
return false unless File.respond_to?(:lchmod)
|
2420
|
+
File.lchmod 0
|
2421
|
+
return true
|
2422
|
+
rescue NotImplementedError
|
2423
|
+
return false
|
2424
|
+
end
|
2425
|
+
|
2426
|
+
@@fileutils_rb_have_lchown = nil
|
2427
|
+
|
2428
|
+
def have_lchown?
|
2429
|
+
# This is not MT-safe, but it does not matter.
|
2430
|
+
if @@fileutils_rb_have_lchown == nil
|
2431
|
+
@@fileutils_rb_have_lchown = check_have_lchown?
|
2432
|
+
end
|
2433
|
+
@@fileutils_rb_have_lchown
|
2434
|
+
end
|
2435
|
+
|
2436
|
+
def check_have_lchown?
|
2437
|
+
return false unless File.respond_to?(:lchown)
|
2438
|
+
File.lchown nil, nil
|
2439
|
+
return true
|
2440
|
+
rescue NotImplementedError
|
2441
|
+
return false
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
def join(dir, base)
|
2445
|
+
return File.path(dir) if not base or base == '.'
|
2446
|
+
return File.path(base) if not dir or dir == '.'
|
2447
|
+
begin
|
2448
|
+
File.join(dir, base)
|
2449
|
+
rescue EncodingError
|
2450
|
+
if fu_windows?
|
2451
|
+
File.join(dir.encode(::Encoding::UTF_8), base.encode(::Encoding::UTF_8))
|
2452
|
+
else
|
2453
|
+
raise
|
2454
|
+
end
|
2455
|
+
end
|
2456
|
+
end
|
2457
|
+
|
2458
|
+
if File::ALT_SEPARATOR
|
2459
|
+
DIRECTORY_TERM = "(?=[/#{Regexp.quote(File::ALT_SEPARATOR)}]|\\z)"
|
2460
|
+
else
|
2461
|
+
DIRECTORY_TERM = "(?=/|\\z)"
|
2462
|
+
end
|
2463
|
+
|
2464
|
+
def descendant_directory?(descendant, ascendant)
|
2465
|
+
if File::FNM_SYSCASE.nonzero?
|
2466
|
+
File.expand_path(File.dirname(descendant)).casecmp(File.expand_path(ascendant)) == 0
|
2467
|
+
else
|
2468
|
+
File.expand_path(File.dirname(descendant)) == File.expand_path(ascendant)
|
2469
|
+
end
|
2470
|
+
end
|
2471
|
+
end # class Entry_
|
2472
|
+
|
2473
|
+
def fu_list(arg) #:nodoc:
|
2474
|
+
[arg].flatten.map {|path| File.path(path) }
|
2475
|
+
end
|
2476
|
+
private_module_function :fu_list
|
2477
|
+
|
2478
|
+
def fu_each_src_dest(src, dest) #:nodoc:
|
2479
|
+
fu_each_src_dest0(src, dest) do |s, d|
|
2480
|
+
raise ArgumentError, "same file: #{s} and #{d}" if fu_same?(s, d)
|
2481
|
+
yield s, d
|
2482
|
+
end
|
2483
|
+
end
|
2484
|
+
private_module_function :fu_each_src_dest
|
2485
|
+
|
2486
|
+
def fu_each_src_dest0(src, dest, target_directory = true) #:nodoc:
|
2487
|
+
if tmp = Array.try_convert(src)
|
2488
|
+
tmp.each do |s|
|
2489
|
+
s = File.path(s)
|
2490
|
+
yield s, (target_directory ? File.join(dest, File.basename(s)) : dest)
|
2491
|
+
end
|
2492
|
+
else
|
2493
|
+
src = File.path(src)
|
2494
|
+
if target_directory and File.directory?(dest)
|
2495
|
+
yield src, File.join(dest, File.basename(src))
|
2496
|
+
else
|
2497
|
+
yield src, File.path(dest)
|
2498
|
+
end
|
2499
|
+
end
|
2500
|
+
end
|
2501
|
+
private_module_function :fu_each_src_dest0
|
2502
|
+
|
2503
|
+
def fu_same?(a, b) #:nodoc:
|
2504
|
+
File.identical?(a, b)
|
2505
|
+
end
|
2506
|
+
private_module_function :fu_same?
|
2507
|
+
|
2508
|
+
def fu_output_message(msg) #:nodoc:
|
2509
|
+
output = @fileutils_output if defined?(@fileutils_output)
|
2510
|
+
output ||= $stdout
|
2511
|
+
if defined?(@fileutils_label)
|
2512
|
+
msg = @fileutils_label + msg
|
2513
|
+
end
|
2514
|
+
output.puts msg
|
2515
|
+
end
|
2516
|
+
private_module_function :fu_output_message
|
2517
|
+
|
2518
|
+
def fu_split_path(path)
|
2519
|
+
path = File.path(path)
|
2520
|
+
list = []
|
2521
|
+
until (parent, base = File.split(path); parent == path or parent == ".")
|
2522
|
+
list << base
|
2523
|
+
path = parent
|
2524
|
+
end
|
2525
|
+
list << path
|
2526
|
+
list.reverse!
|
2527
|
+
end
|
2528
|
+
private_module_function :fu_split_path
|
2529
|
+
|
2530
|
+
def fu_relative_components_from(target, base) #:nodoc:
|
2531
|
+
i = 0
|
2532
|
+
while target[i]&.== base[i]
|
2533
|
+
i += 1
|
2534
|
+
end
|
2535
|
+
Array.new(base.size-i, '..').concat(target[i..-1])
|
2536
|
+
end
|
2537
|
+
private_module_function :fu_relative_components_from
|
2538
|
+
|
2539
|
+
def fu_clean_components(*comp)
|
2540
|
+
comp.shift while comp.first == "."
|
2541
|
+
return comp if comp.empty?
|
2542
|
+
clean = [comp.shift]
|
2543
|
+
path = File.join(*clean, "") # ending with File::SEPARATOR
|
2544
|
+
while c = comp.shift
|
2545
|
+
if c == ".." and clean.last != ".." and !(fu_have_symlink? && File.symlink?(path))
|
2546
|
+
clean.pop
|
2547
|
+
path.chomp!(%r((?<=\A|/)[^/]+/\z), "")
|
2548
|
+
else
|
2549
|
+
clean << c
|
2550
|
+
path << c << "/"
|
2551
|
+
end
|
2552
|
+
end
|
2553
|
+
clean
|
2554
|
+
end
|
2555
|
+
private_module_function :fu_clean_components
|
2556
|
+
|
2557
|
+
if fu_windows?
|
2558
|
+
def fu_starting_path?(path)
|
2559
|
+
path&.start_with?(%r(\w:|/))
|
2560
|
+
end
|
2561
|
+
else
|
2562
|
+
def fu_starting_path?(path)
|
2563
|
+
path&.start_with?("/")
|
2564
|
+
end
|
2565
|
+
end
|
2566
|
+
private_module_function :fu_starting_path?
|
2567
|
+
|
2568
|
+
# This hash table holds command options.
|
2569
|
+
OPT_TABLE = {} #:nodoc: internal use only
|
2570
|
+
(private_instance_methods & methods(false)).inject(OPT_TABLE) {|tbl, name|
|
2571
|
+
(tbl[name.to_s] = instance_method(name).parameters).map! {|t, n| n if t == :key}.compact!
|
2572
|
+
tbl
|
2573
|
+
}
|
2574
|
+
|
2575
|
+
public
|
2576
|
+
|
2577
|
+
# Returns an array of the string names of \Bundler::FileUtils methods
|
2578
|
+
# that accept one or more keyword arguments:
|
2579
|
+
#
|
2580
|
+
# Bundler::FileUtils.commands.sort.take(3) # => ["cd", "chdir", "chmod"]
|
2581
|
+
#
|
2582
|
+
def self.commands
|
2583
|
+
OPT_TABLE.keys
|
2584
|
+
end
|
2585
|
+
|
2586
|
+
# Returns an array of the string keyword names:
|
2587
|
+
#
|
2588
|
+
# Bundler::FileUtils.options.take(3) # => ["noop", "verbose", "force"]
|
2589
|
+
#
|
2590
|
+
def self.options
|
2591
|
+
OPT_TABLE.values.flatten.uniq.map {|sym| sym.to_s }
|
2592
|
+
end
|
2593
|
+
|
2594
|
+
# Returns +true+ if method +mid+ accepts the given option +opt+, +false+ otherwise;
|
2595
|
+
# the arguments may be strings or symbols:
|
2596
|
+
#
|
2597
|
+
# Bundler::FileUtils.have_option?(:chmod, :noop) # => true
|
2598
|
+
# Bundler::FileUtils.have_option?('chmod', 'secure') # => false
|
2599
|
+
#
|
2600
|
+
def self.have_option?(mid, opt)
|
2601
|
+
li = OPT_TABLE[mid.to_s] or raise ArgumentError, "no such method: #{mid}"
|
2602
|
+
li.include?(opt)
|
2603
|
+
end
|
2604
|
+
|
2605
|
+
# Returns an array of the string keyword name for method +mid+;
|
2606
|
+
# the argument may be a string or a symbol:
|
2607
|
+
#
|
2608
|
+
# Bundler::FileUtils.options_of(:rm) # => ["force", "noop", "verbose"]
|
2609
|
+
# Bundler::FileUtils.options_of('mv') # => ["force", "noop", "verbose", "secure"]
|
2610
|
+
#
|
2611
|
+
def self.options_of(mid)
|
2612
|
+
OPT_TABLE[mid.to_s].map {|sym| sym.to_s }
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
# Returns an array of the string method names of the methods
|
2616
|
+
# that accept the given keyword option +opt+;
|
2617
|
+
# the argument must be a symbol:
|
2618
|
+
#
|
2619
|
+
# Bundler::FileUtils.collect_method(:preserve) # => ["cp", "copy", "cp_r", "install"]
|
2620
|
+
#
|
2621
|
+
def self.collect_method(opt)
|
2622
|
+
OPT_TABLE.keys.select {|m| OPT_TABLE[m].include?(opt) }
|
2623
|
+
end
|
2624
|
+
|
2625
|
+
private
|
2626
|
+
|
2627
|
+
LOW_METHODS = singleton_methods(false) - collect_method(:noop).map(&:intern) # :nodoc:
|
2628
|
+
module LowMethods # :nodoc: internal use only
|
2629
|
+
private
|
2630
|
+
def _do_nothing(*)end
|
2631
|
+
::Bundler::FileUtils::LOW_METHODS.map {|name| alias_method name, :_do_nothing}
|
2632
|
+
end
|
2633
|
+
|
2634
|
+
METHODS = singleton_methods() - [:private_module_function, # :nodoc:
|
2635
|
+
:commands, :options, :have_option?, :options_of, :collect_method]
|
2636
|
+
|
2637
|
+
#
|
2638
|
+
# This module has all methods of Bundler::FileUtils module, but it outputs messages
|
2639
|
+
# before acting. This equates to passing the <tt>:verbose</tt> flag to
|
2640
|
+
# methods in Bundler::FileUtils.
|
2641
|
+
#
|
2642
|
+
module Verbose
|
2643
|
+
include Bundler::FileUtils
|
2644
|
+
names = ::Bundler::FileUtils.collect_method(:verbose)
|
2645
|
+
names.each do |name|
|
2646
|
+
module_eval(<<-EOS, __FILE__, __LINE__ + 1)
|
2647
|
+
def #{name}(*args, **options)
|
2648
|
+
super(*args, **options, verbose: true)
|
2649
|
+
end
|
2650
|
+
EOS
|
2651
|
+
end
|
2652
|
+
private(*names)
|
2653
|
+
extend self
|
2654
|
+
class << self
|
2655
|
+
public(*::Bundler::FileUtils::METHODS)
|
2656
|
+
end
|
2657
|
+
end
|
2658
|
+
|
2659
|
+
#
|
2660
|
+
# This module has all methods of Bundler::FileUtils module, but never changes
|
2661
|
+
# files/directories. This equates to passing the <tt>:noop</tt> flag
|
2662
|
+
# to methods in Bundler::FileUtils.
|
2663
|
+
#
|
2664
|
+
module NoWrite
|
2665
|
+
include Bundler::FileUtils
|
2666
|
+
include LowMethods
|
2667
|
+
names = ::Bundler::FileUtils.collect_method(:noop)
|
2668
|
+
names.each do |name|
|
2669
|
+
module_eval(<<-EOS, __FILE__, __LINE__ + 1)
|
2670
|
+
def #{name}(*args, **options)
|
2671
|
+
super(*args, **options, noop: true)
|
2672
|
+
end
|
2673
|
+
EOS
|
2674
|
+
end
|
2675
|
+
private(*names)
|
2676
|
+
extend self
|
2677
|
+
class << self
|
2678
|
+
public(*::Bundler::FileUtils::METHODS)
|
2679
|
+
end
|
2680
|
+
end
|
2681
|
+
|
2682
|
+
#
|
2683
|
+
# This module has all methods of Bundler::FileUtils module, but never changes
|
2684
|
+
# files/directories, with printing message before acting.
|
2685
|
+
# This equates to passing the <tt>:noop</tt> and <tt>:verbose</tt> flag
|
2686
|
+
# to methods in Bundler::FileUtils.
|
2687
|
+
#
|
2688
|
+
module DryRun
|
2689
|
+
include Bundler::FileUtils
|
2690
|
+
include LowMethods
|
2691
|
+
names = ::Bundler::FileUtils.collect_method(:noop)
|
2692
|
+
names.each do |name|
|
2693
|
+
module_eval(<<-EOS, __FILE__, __LINE__ + 1)
|
2694
|
+
def #{name}(*args, **options)
|
2695
|
+
super(*args, **options, noop: true, verbose: true)
|
2696
|
+
end
|
2697
|
+
EOS
|
2698
|
+
end
|
2699
|
+
private(*names)
|
2700
|
+
extend self
|
2701
|
+
class << self
|
2702
|
+
public(*::Bundler::FileUtils::METHODS)
|
2703
|
+
end
|
2704
|
+
end
|
2705
|
+
|
2706
|
+
end
|