nano-pure-sys 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bundler-4.0.15/CHANGELOG.md +5670 -0
- data/bundler-4.0.15/LICENSE.md +22 -0
- data/bundler-4.0.15/README.md +58 -0
- data/bundler-4.0.15/bundler.gemspec +46 -0
- data/bundler-4.0.15/exe/bundle +29 -0
- data/bundler-4.0.15/exe/bundler +4 -0
- data/bundler-4.0.15/lib/bundler/build_metadata.rb +44 -0
- data/bundler-4.0.15/lib/bundler/capistrano.rb +4 -0
- data/bundler-4.0.15/lib/bundler/checksum.rb +270 -0
- data/bundler-4.0.15/lib/bundler/ci_detector.rb +75 -0
- data/bundler-4.0.15/lib/bundler/cli/add.rb +62 -0
- data/bundler-4.0.15/lib/bundler/cli/binstubs.rb +57 -0
- data/bundler-4.0.15/lib/bundler/cli/cache.rb +32 -0
- data/bundler-4.0.15/lib/bundler/cli/check.rb +40 -0
- data/bundler-4.0.15/lib/bundler/cli/clean.rb +25 -0
- data/bundler-4.0.15/lib/bundler/cli/common.rb +161 -0
- data/bundler-4.0.15/lib/bundler/cli/config.rb +208 -0
- data/bundler-4.0.15/lib/bundler/cli/console.rb +47 -0
- data/bundler-4.0.15/lib/bundler/cli/doctor/diagnose.rb +167 -0
- data/bundler-4.0.15/lib/bundler/cli/doctor/ssl.rb +249 -0
- data/bundler-4.0.15/lib/bundler/cli/doctor.rb +33 -0
- data/bundler-4.0.15/lib/bundler/cli/exec.rb +114 -0
- data/bundler-4.0.15/lib/bundler/cli/fund.rb +36 -0
- data/bundler-4.0.15/lib/bundler/cli/gem.rb +493 -0
- data/bundler-4.0.15/lib/bundler/cli/info.rb +83 -0
- data/bundler-4.0.15/lib/bundler/cli/init.rb +51 -0
- data/bundler-4.0.15/lib/bundler/cli/install.rb +127 -0
- data/bundler-4.0.15/lib/bundler/cli/issue.rb +41 -0
- data/bundler-4.0.15/lib/bundler/cli/list.rb +97 -0
- data/bundler-4.0.15/lib/bundler/cli/lock.rb +94 -0
- data/bundler-4.0.15/lib/bundler/cli/open.rb +29 -0
- data/bundler-4.0.15/lib/bundler/cli/outdated.rb +337 -0
- data/bundler-4.0.15/lib/bundler/cli/platform.rb +48 -0
- data/bundler-4.0.15/lib/bundler/cli/plugin.rb +39 -0
- data/bundler-4.0.15/lib/bundler/cli/pristine.rb +64 -0
- data/bundler-4.0.15/lib/bundler/cli/remove.rb +17 -0
- data/bundler-4.0.15/lib/bundler/cli/show.rb +71 -0
- data/bundler-4.0.15/lib/bundler/cli/update.rb +125 -0
- data/bundler-4.0.15/lib/bundler/cli.rb +829 -0
- data/bundler-4.0.15/lib/bundler/compact_index_client/cache.rb +96 -0
- data/bundler-4.0.15/lib/bundler/compact_index_client/cache_file.rb +148 -0
- data/bundler-4.0.15/lib/bundler/compact_index_client/parser.rb +87 -0
- data/bundler-4.0.15/lib/bundler/compact_index_client/updater.rb +105 -0
- data/bundler-4.0.15/lib/bundler/compact_index_client.rb +92 -0
- data/bundler-4.0.15/lib/bundler/constants.rb +14 -0
- data/bundler-4.0.15/lib/bundler/current_ruby.rb +94 -0
- data/bundler-4.0.15/lib/bundler/definition.rb +1304 -0
- data/bundler-4.0.15/lib/bundler/dependency.rb +151 -0
- data/bundler-4.0.15/lib/bundler/deployment.rb +6 -0
- data/bundler-4.0.15/lib/bundler/deprecate.rb +44 -0
- data/bundler-4.0.15/lib/bundler/digest.rb +71 -0
- data/bundler-4.0.15/lib/bundler/dsl.rb +642 -0
- data/bundler-4.0.15/lib/bundler/endpoint_specification.rb +184 -0
- data/bundler-4.0.15/lib/bundler/env.rb +148 -0
- data/bundler-4.0.15/lib/bundler/environment_preserver.rb +69 -0
- data/bundler-4.0.15/lib/bundler/errors.rb +277 -0
- data/bundler-4.0.15/lib/bundler/feature_flag.rb +20 -0
- data/bundler-4.0.15/lib/bundler/fetcher/base.rb +55 -0
- data/bundler-4.0.15/lib/bundler/fetcher/compact_index.rb +133 -0
- data/bundler-4.0.15/lib/bundler/fetcher/dependency.rb +85 -0
- data/bundler-4.0.15/lib/bundler/fetcher/downloader.rb +116 -0
- data/bundler-4.0.15/lib/bundler/fetcher/gem_remote_fetcher.rb +24 -0
- data/bundler-4.0.15/lib/bundler/fetcher/index.rb +25 -0
- data/bundler-4.0.15/lib/bundler/fetcher.rb +365 -0
- data/bundler-4.0.15/lib/bundler/force_platform.rb +16 -0
- data/bundler-4.0.15/lib/bundler/friendly_errors.rb +127 -0
- data/bundler-4.0.15/lib/bundler/gem_helper.rb +237 -0
- data/bundler-4.0.15/lib/bundler/gem_tasks.rb +7 -0
- data/bundler-4.0.15/lib/bundler/gem_version_promoter.rb +147 -0
- data/bundler-4.0.15/lib/bundler/index.rb +203 -0
- data/bundler-4.0.15/lib/bundler/injector.rb +284 -0
- data/bundler-4.0.15/lib/bundler/inline.rb +106 -0
- data/bundler-4.0.15/lib/bundler/installer/gem_installer.rb +88 -0
- data/bundler-4.0.15/lib/bundler/installer/parallel_installer.rb +280 -0
- data/bundler-4.0.15/lib/bundler/installer/standalone.rb +113 -0
- data/bundler-4.0.15/lib/bundler/installer.rb +241 -0
- data/bundler-4.0.15/lib/bundler/lazy_specification.rb +270 -0
- data/bundler-4.0.15/lib/bundler/lockfile_generator.rb +119 -0
- data/bundler-4.0.15/lib/bundler/lockfile_parser.rb +328 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-add.1 +79 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-add.1.ronn +92 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-binstubs.1 +30 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-binstubs.1.ronn +42 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-cache.1 +56 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-cache.1.ronn +95 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-check.1 +21 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-check.1.ronn +26 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-clean.1 +17 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-clean.1.ronn +18 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-config.1 +339 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-config.1.ronn +455 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-console.1 +33 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-console.1.ronn +39 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-doctor.1 +69 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-doctor.1.ronn +77 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-env.1 +9 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-env.1.ronn +10 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-exec.1 +104 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-exec.1.ronn +150 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-fund.1 +22 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-fund.1.ronn +25 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-gem.1 +107 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-gem.1.ronn +150 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-help.1 +9 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-help.1.ronn +12 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-info.1 +17 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-info.1.ronn +21 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-init.1 +20 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-init.1.ronn +32 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-install.1 +178 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-install.1.ronn +314 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-issue.1 +45 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-issue.1.ronn +37 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-licenses.1 +9 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-licenses.1.ronn +10 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-list.1 +40 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-list.1.ronn +41 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-lock.1 +75 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-lock.1.ronn +115 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-open.1 +32 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-open.1.ronn +28 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-outdated.1 +106 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-outdated.1.ronn +117 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-platform.1 +49 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-platform.1.ronn +49 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-plugin.1 +76 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-plugin.1.ronn +84 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-pristine.1 +23 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-pristine.1.ronn +34 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-remove.1 +15 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-remove.1.ronn +16 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-show.1 +16 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-show.1.ronn +21 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-update.1 +284 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-update.1.ronn +367 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-version.1 +22 -0
- data/bundler-4.0.15/lib/bundler/man/bundle-version.1.ronn +24 -0
- data/bundler-4.0.15/lib/bundler/man/bundle.1 +93 -0
- data/bundler-4.0.15/lib/bundler/man/bundle.1.ronn +107 -0
- data/bundler-4.0.15/lib/bundler/man/gemfile.5 +503 -0
- data/bundler-4.0.15/lib/bundler/man/gemfile.5.ronn +586 -0
- data/bundler-4.0.15/lib/bundler/man/index.txt +31 -0
- data/bundler-4.0.15/lib/bundler/match_metadata.rb +30 -0
- data/bundler-4.0.15/lib/bundler/match_platform.rb +42 -0
- data/bundler-4.0.15/lib/bundler/match_remote_metadata.rb +29 -0
- data/bundler-4.0.15/lib/bundler/materialization.rb +59 -0
- data/bundler-4.0.15/lib/bundler/mirror.rb +221 -0
- data/bundler-4.0.15/lib/bundler/plugin/api/source.rb +330 -0
- data/bundler-4.0.15/lib/bundler/plugin/api.rb +81 -0
- data/bundler-4.0.15/lib/bundler/plugin/dsl.rb +53 -0
- data/bundler-4.0.15/lib/bundler/plugin/events.rb +85 -0
- data/bundler-4.0.15/lib/bundler/plugin/index.rb +203 -0
- data/bundler-4.0.15/lib/bundler/plugin/installer/git.rb +34 -0
- data/bundler-4.0.15/lib/bundler/plugin/installer/path.rb +26 -0
- data/bundler-4.0.15/lib/bundler/plugin/installer/rubygems.rb +19 -0
- data/bundler-4.0.15/lib/bundler/plugin/installer.rb +123 -0
- data/bundler-4.0.15/lib/bundler/plugin/source_list.rb +31 -0
- data/bundler-4.0.15/lib/bundler/plugin/unloaded_source.rb +25 -0
- data/bundler-4.0.15/lib/bundler/plugin.rb +387 -0
- data/bundler-4.0.15/lib/bundler/process_lock.rb +20 -0
- data/bundler-4.0.15/lib/bundler/remote_specification.rb +126 -0
- data/bundler-4.0.15/lib/bundler/resolver/base.rb +127 -0
- data/bundler-4.0.15/lib/bundler/resolver/candidate.rb +85 -0
- data/bundler-4.0.15/lib/bundler/resolver/incompatibility.rb +15 -0
- data/bundler-4.0.15/lib/bundler/resolver/package.rb +95 -0
- data/bundler-4.0.15/lib/bundler/resolver/root.rb +25 -0
- data/bundler-4.0.15/lib/bundler/resolver/spec_group.rb +74 -0
- data/bundler-4.0.15/lib/bundler/resolver/strategy.rb +43 -0
- data/bundler-4.0.15/lib/bundler/resolver.rb +603 -0
- data/bundler-4.0.15/lib/bundler/retry.rb +92 -0
- data/bundler-4.0.15/lib/bundler/ruby_dsl.rb +67 -0
- data/bundler-4.0.15/lib/bundler/ruby_version.rb +135 -0
- data/bundler-4.0.15/lib/bundler/rubygems_ext.rb +503 -0
- data/bundler-4.0.15/lib/bundler/rubygems_gem_installer.rb +206 -0
- data/bundler-4.0.15/lib/bundler/rubygems_integration.rb +456 -0
- data/bundler-4.0.15/lib/bundler/runtime.rb +331 -0
- data/bundler-4.0.15/lib/bundler/safe_marshal.rb +31 -0
- data/bundler-4.0.15/lib/bundler/self_manager.rb +197 -0
- data/bundler-4.0.15/lib/bundler/settings/validator.rb +86 -0
- data/bundler-4.0.15/lib/bundler/settings.rb +585 -0
- data/bundler-4.0.15/lib/bundler/setup.rb +39 -0
- data/bundler-4.0.15/lib/bundler/shared_helpers.rb +392 -0
- data/bundler-4.0.15/lib/bundler/source/gemspec.rb +19 -0
- data/bundler-4.0.15/lib/bundler/source/git/git_proxy.rb +509 -0
- data/bundler-4.0.15/lib/bundler/source/git.rb +451 -0
- data/bundler-4.0.15/lib/bundler/source/metadata.rb +67 -0
- data/bundler-4.0.15/lib/bundler/source/path/installer.rb +53 -0
- data/bundler-4.0.15/lib/bundler/source/path.rb +256 -0
- data/bundler-4.0.15/lib/bundler/source/rubygems/remote.rb +86 -0
- data/bundler-4.0.15/lib/bundler/source/rubygems.rb +606 -0
- data/bundler-4.0.15/lib/bundler/source/rubygems_aggregate.rb +71 -0
- data/bundler-4.0.15/lib/bundler/source.rb +120 -0
- data/bundler-4.0.15/lib/bundler/source_list.rb +240 -0
- data/bundler-4.0.15/lib/bundler/source_map.rb +72 -0
- data/bundler-4.0.15/lib/bundler/spec_set.rb +390 -0
- data/bundler-4.0.15/lib/bundler/stub_specification.rb +147 -0
- data/bundler-4.0.15/lib/bundler/templates/Executable +16 -0
- data/bundler-4.0.15/lib/bundler/templates/Executable.standalone +14 -0
- data/bundler-4.0.15/lib/bundler/templates/Gemfile +5 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +10 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/Cargo.toml.tt +13 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/Gemfile.tt +24 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/LICENSE.txt.tt +21 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/README.md.tt +49 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/Rakefile.tt +72 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/bin/console.tt +11 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/bin/setup.tt +8 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/circleci/config.yml.tt +37 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/exe/newgem.tt +3 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +22 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/build.rs.tt +5 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/extconf-go.rb.tt +11 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/go.mod.tt +5 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/newgem-go.c.tt +2 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/newgem.go.tt +31 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +23 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/github/workflows/build-gems.yml.tt +69 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/github/workflows/main.yml.tt +48 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/gitignore.tt +23 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/gitlab-ci.yml.tt +27 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/newgem.gemspec.tt +58 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/rspec.tt +3 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/rubocop.yml.tt +8 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +19 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/standard.yml.tt +3 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +19 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
- data/bundler-4.0.15/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
- data/bundler-4.0.15/lib/bundler/ui/rg_proxy.rb +19 -0
- data/bundler-4.0.15/lib/bundler/ui/shell.rb +191 -0
- data/bundler-4.0.15/lib/bundler/ui/silent.rb +96 -0
- data/bundler-4.0.15/lib/bundler/ui.rb +9 -0
- data/bundler-4.0.15/lib/bundler/uri_credentials_filter.rb +43 -0
- data/bundler-4.0.15/lib/bundler/uri_normalizer.rb +23 -0
- data/bundler-4.0.15/lib/bundler/vendor/connection_pool/LICENSE +20 -0
- data/bundler-4.0.15/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +227 -0
- data/bundler-4.0.15/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
- data/bundler-4.0.15/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
- data/bundler-4.0.15/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +230 -0
- data/bundler-4.0.15/lib/bundler/vendor/fileutils/COPYING +56 -0
- data/bundler-4.0.15/lib/bundler/vendor/fileutils/lib/fileutils.rb +2701 -0
- data/bundler-4.0.15/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
- data/bundler-4.0.15/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
- data/bundler-4.0.15/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
- data/bundler-4.0.15/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +80 -0
- data/bundler-4.0.15/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1153 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/LICENSE.txt +21 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
- data/bundler-4.0.15/lib/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
- data/bundler-4.0.15/lib/bundler/vendor/securerandom/COPYING +56 -0
- data/bundler-4.0.15/lib/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/LICENSE.md +20 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +407 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/actions.rb +340 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/base.rb +825 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/command.rb +151 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/error.rb +106 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/group.rb +292 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/runner.rb +335 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +384 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/shell.rb +81 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/util.rb +285 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor/version.rb +3 -0
- data/bundler-4.0.15/lib/bundler/vendor/thor/lib/thor.rb +674 -0
- data/bundler-4.0.15/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
- data/bundler-4.0.15/lib/bundler/vendor/tsort/lib/tsort.rb +455 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/COPYING +56 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/common.rb +922 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/file.rb +100 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/http.rb +137 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +547 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/ws.rb +83 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri/wss.rb +23 -0
- data/bundler-4.0.15/lib/bundler/vendor/uri/lib/uri.rb +104 -0
- data/bundler-4.0.15/lib/bundler/vendored_fileutils.rb +4 -0
- data/bundler-4.0.15/lib/bundler/vendored_net_http.rb +23 -0
- data/bundler-4.0.15/lib/bundler/vendored_persistent.rb +11 -0
- data/bundler-4.0.15/lib/bundler/vendored_pub_grub.rb +4 -0
- data/bundler-4.0.15/lib/bundler/vendored_securerandom.rb +12 -0
- data/bundler-4.0.15/lib/bundler/vendored_thor.rb +8 -0
- data/bundler-4.0.15/lib/bundler/vendored_timeout.rb +12 -0
- data/bundler-4.0.15/lib/bundler/vendored_tsort.rb +4 -0
- data/bundler-4.0.15/lib/bundler/vendored_uri.rb +21 -0
- data/bundler-4.0.15/lib/bundler/version.rb +21 -0
- data/bundler-4.0.15/lib/bundler/vlad.rb +4 -0
- data/bundler-4.0.15/lib/bundler/worker.rb +125 -0
- data/bundler-4.0.15/lib/bundler/yaml_serializer.rb +98 -0
- data/bundler-4.0.15/lib/bundler.rb +691 -0
- data/nano-pure-sys.gemspec +11 -0
- metadata +385 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
= net-http-persistent
|
|
2
|
+
|
|
3
|
+
home :: https://github.com/drbrain/net-http-persistent
|
|
4
|
+
rdoc :: https://rubydoc.info/gems/net-http-persistent
|
|
5
|
+
|
|
6
|
+
== DESCRIPTION:
|
|
7
|
+
|
|
8
|
+
Manages persistent connections using Net::HTTP including a thread pool for
|
|
9
|
+
connecting to multiple hosts.
|
|
10
|
+
|
|
11
|
+
Using persistent HTTP connections can dramatically increase the speed of HTTP.
|
|
12
|
+
Creating a new HTTP connection for every request involves an extra TCP
|
|
13
|
+
round-trip and causes TCP congestion avoidance negotiation to start over.
|
|
14
|
+
|
|
15
|
+
Net::HTTP supports persistent connections with some API methods but does not
|
|
16
|
+
make setting up a single persistent connection or managing multiple
|
|
17
|
+
connections easy. Net::HTTP::Persistent wraps Net::HTTP and allows you to
|
|
18
|
+
focus on how to make HTTP requests.
|
|
19
|
+
|
|
20
|
+
== FEATURES/PROBLEMS:
|
|
21
|
+
|
|
22
|
+
* Supports TLS with secure defaults
|
|
23
|
+
* Thread-safe
|
|
24
|
+
* Pure ruby
|
|
25
|
+
|
|
26
|
+
== SYNOPSIS
|
|
27
|
+
|
|
28
|
+
The following example will make two requests to the same server. The
|
|
29
|
+
connection is kept alive between requests:
|
|
30
|
+
|
|
31
|
+
require 'net/http/persistent'
|
|
32
|
+
|
|
33
|
+
uri = URI 'http://example.com/awesome/web/service'
|
|
34
|
+
|
|
35
|
+
http = Net::HTTP::Persistent.new name: 'my_app_name'
|
|
36
|
+
|
|
37
|
+
# perform a GET
|
|
38
|
+
response = http.request uri
|
|
39
|
+
|
|
40
|
+
# create a POST
|
|
41
|
+
post_uri = uri + 'create'
|
|
42
|
+
post = Net::HTTP::Post.new post_uri.path
|
|
43
|
+
post.set_form_data 'some' => 'cool data'
|
|
44
|
+
|
|
45
|
+
# perform the POST, the URI is always required
|
|
46
|
+
response = http.request post_uri, post
|
|
47
|
+
|
|
48
|
+
# if you are done making http requests, or won't make requests for several
|
|
49
|
+
# minutes
|
|
50
|
+
http.shutdown
|
|
51
|
+
|
|
52
|
+
Please see the documentation on Net::HTTP::Persistent for more information,
|
|
53
|
+
including SSL connection verification, header handling and tunable options.
|
|
54
|
+
|
|
55
|
+
== INSTALL:
|
|
56
|
+
|
|
57
|
+
gem install net-http-persistent
|
|
58
|
+
|
|
59
|
+
== LICENSE:
|
|
60
|
+
|
|
61
|
+
(The MIT License)
|
|
62
|
+
|
|
63
|
+
Copyright (c) Eric Hodel, Aaron Patterson
|
|
64
|
+
|
|
65
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
66
|
+
a copy of this software and associated documentation files (the
|
|
67
|
+
'Software'), to deal in the Software without restriction, including
|
|
68
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
69
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
70
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
71
|
+
the following conditions:
|
|
72
|
+
|
|
73
|
+
The above copyright notice and this permission notice shall be
|
|
74
|
+
included in all copies or substantial portions of the Software.
|
|
75
|
+
|
|
76
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
77
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
78
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
79
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
80
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
81
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
82
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/bundler-4.0.15/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
##
|
|
2
|
+
# A Gem::Net::HTTP connection wrapper that holds extra information for managing the
|
|
3
|
+
# connection's lifetime.
|
|
4
|
+
|
|
5
|
+
class Gem::Net::HTTP::Persistent::Connection # :nodoc:
|
|
6
|
+
|
|
7
|
+
attr_accessor :http
|
|
8
|
+
|
|
9
|
+
attr_accessor :last_use
|
|
10
|
+
|
|
11
|
+
attr_accessor :requests
|
|
12
|
+
|
|
13
|
+
attr_accessor :ssl_generation
|
|
14
|
+
|
|
15
|
+
def initialize http_class, http_args, ssl_generation
|
|
16
|
+
@http = http_class.new(*http_args)
|
|
17
|
+
@ssl_generation = ssl_generation
|
|
18
|
+
|
|
19
|
+
reset
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def finish
|
|
23
|
+
@http.finish
|
|
24
|
+
rescue IOError
|
|
25
|
+
ensure
|
|
26
|
+
reset
|
|
27
|
+
end
|
|
28
|
+
alias_method :close, :finish
|
|
29
|
+
|
|
30
|
+
def reset
|
|
31
|
+
@last_use = Gem::Net::HTTP::Persistent::EPOCH
|
|
32
|
+
@requests = 0
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def ressl ssl_generation
|
|
36
|
+
@ssl_generation = ssl_generation
|
|
37
|
+
|
|
38
|
+
finish
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
class Gem::Net::HTTP::Persistent::Pool < Bundler::ConnectionPool # :nodoc:
|
|
2
|
+
|
|
3
|
+
attr_reader :available # :nodoc:
|
|
4
|
+
attr_reader :key # :nodoc:
|
|
5
|
+
|
|
6
|
+
def initialize(options = {}, &block)
|
|
7
|
+
super
|
|
8
|
+
|
|
9
|
+
@available = Gem::Net::HTTP::Persistent::TimedStackMulti.new(@size, &block)
|
|
10
|
+
@key = "current-#{@available.object_id}"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def checkin net_http_args
|
|
14
|
+
if net_http_args.is_a?(Hash) && net_http_args.size == 1 && net_http_args[:force]
|
|
15
|
+
# Bundler::ConnectionPool 2.4+ calls `checkin(force: true)` after fork.
|
|
16
|
+
# When this happens, we should remove all connections from Thread.current
|
|
17
|
+
if stacks = Thread.current[@key]
|
|
18
|
+
stacks.each do |http_args, connections|
|
|
19
|
+
connections.each do |conn|
|
|
20
|
+
@available.push conn, connection_args: http_args
|
|
21
|
+
end
|
|
22
|
+
connections.clear
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
else
|
|
26
|
+
stack = Thread.current[@key][net_http_args] ||= []
|
|
27
|
+
|
|
28
|
+
raise Bundler::ConnectionPool::Error, 'no connections are checked out' if
|
|
29
|
+
stack.empty?
|
|
30
|
+
|
|
31
|
+
conn = stack.pop
|
|
32
|
+
|
|
33
|
+
if stack.empty?
|
|
34
|
+
@available.push conn, connection_args: net_http_args
|
|
35
|
+
|
|
36
|
+
Thread.current[@key].delete(net_http_args)
|
|
37
|
+
Thread.current[@key] = nil if Thread.current[@key].empty?
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
nil
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def checkout net_http_args
|
|
44
|
+
stacks = Thread.current[@key] ||= {}
|
|
45
|
+
stack = stacks[net_http_args] ||= []
|
|
46
|
+
|
|
47
|
+
if stack.empty? then
|
|
48
|
+
conn = @available.pop connection_args: net_http_args
|
|
49
|
+
else
|
|
50
|
+
conn = stack.last
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
stack.push conn
|
|
54
|
+
|
|
55
|
+
conn
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def shutdown
|
|
59
|
+
Thread.current[@key] = nil
|
|
60
|
+
super
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
require_relative 'timed_stack_multi'
|
|
65
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
class Gem::Net::HTTP::Persistent::TimedStackMulti < Bundler::ConnectionPool::TimedStack # :nodoc:
|
|
2
|
+
|
|
3
|
+
##
|
|
4
|
+
# Returns a new hash that has arrays for keys
|
|
5
|
+
#
|
|
6
|
+
# Using a class method to limit the bindings referenced by the hash's
|
|
7
|
+
# default_proc
|
|
8
|
+
|
|
9
|
+
def self.hash_of_arrays # :nodoc:
|
|
10
|
+
Hash.new { |h,k| h[k] = [] }
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def initialize(size = 0, &block)
|
|
14
|
+
super
|
|
15
|
+
|
|
16
|
+
@enqueued = 0
|
|
17
|
+
@ques = self.class.hash_of_arrays
|
|
18
|
+
@lru = {}
|
|
19
|
+
@key = :"connection_args-#{object_id}"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def empty?
|
|
23
|
+
(@created - @enqueued) >= @max
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def length
|
|
27
|
+
@max - @created + @enqueued
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
private
|
|
31
|
+
|
|
32
|
+
def connection_stored? options = {} # :nodoc:
|
|
33
|
+
!@ques[options[:connection_args]].empty?
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def fetch_connection options = {} # :nodoc:
|
|
37
|
+
connection_args = options[:connection_args]
|
|
38
|
+
|
|
39
|
+
@enqueued -= 1
|
|
40
|
+
lru_update connection_args
|
|
41
|
+
@ques[connection_args].pop
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def lru_update connection_args # :nodoc:
|
|
45
|
+
@lru.delete connection_args
|
|
46
|
+
@lru[connection_args] = true
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def shutdown_connections # :nodoc:
|
|
50
|
+
@ques.each_key do |key|
|
|
51
|
+
super connection_args: key
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def store_connection obj, options = {} # :nodoc:
|
|
56
|
+
@ques[options[:connection_args]].push obj
|
|
57
|
+
@enqueued += 1
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def try_create options = {} # :nodoc:
|
|
61
|
+
connection_args = options[:connection_args]
|
|
62
|
+
|
|
63
|
+
if @created >= @max && @enqueued >= 1
|
|
64
|
+
oldest, = @lru.first
|
|
65
|
+
@lru.delete oldest
|
|
66
|
+
connection = @ques[oldest].pop
|
|
67
|
+
connection.close if connection.respond_to?(:close)
|
|
68
|
+
|
|
69
|
+
@created -= 1
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
if @created < @max
|
|
73
|
+
@created += 1
|
|
74
|
+
lru_update connection_args
|
|
75
|
+
return @create_block.call(connection_args)
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
end
|
|
80
|
+
|