rubygems-update 3.4.22 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +99 -2
- data/Manifest.txt +34 -221
- data/README.md +1 -3
- data/bundler/CHANGELOG.md +53 -0
- data/bundler/bundler.gemspec +4 -2
- data/bundler/exe/bundle +1 -10
- data/bundler/lib/bundler/build_metadata.rb +3 -3
- data/bundler/lib/bundler/capistrano.rb +1 -1
- data/bundler/lib/bundler/checksum.rb +245 -0
- data/bundler/lib/bundler/ci_detector.rb +75 -0
- data/bundler/lib/bundler/cli/add.rb +3 -3
- data/bundler/lib/bundler/cli/binstubs.rb +4 -4
- data/bundler/lib/bundler/cli/cache.rb +1 -1
- data/bundler/lib/bundler/cli/check.rb +1 -1
- data/bundler/lib/bundler/cli/common.rb +9 -1
- data/bundler/lib/bundler/cli/config.rb +8 -7
- data/bundler/lib/bundler/cli/console.rb +3 -2
- data/bundler/lib/bundler/cli/doctor.rb +2 -2
- data/bundler/lib/bundler/cli/exec.rb +1 -1
- data/bundler/lib/bundler/cli/gem.rb +28 -23
- data/bundler/lib/bundler/cli/info.rb +2 -13
- data/bundler/lib/bundler/cli/install.rb +5 -4
- data/bundler/lib/bundler/cli/issue.rb +1 -1
- data/bundler/lib/bundler/cli/lock.rb +4 -4
- data/bundler/lib/bundler/cli/open.rb +1 -1
- data/bundler/lib/bundler/cli/outdated.rb +6 -6
- data/bundler/lib/bundler/cli/plugin.rb +7 -14
- data/bundler/lib/bundler/cli/pristine.rb +38 -30
- data/bundler/lib/bundler/cli/show.rb +2 -2
- data/bundler/lib/bundler/cli/update.rb +5 -5
- data/bundler/lib/bundler/cli.rb +215 -263
- data/bundler/lib/bundler/compact_index_client/cache.rb +29 -9
- data/bundler/lib/bundler/compact_index_client/cache_file.rb +153 -0
- data/bundler/lib/bundler/compact_index_client/gem_parser.rb +7 -3
- data/bundler/lib/bundler/compact_index_client/updater.rb +79 -81
- data/bundler/lib/bundler/compact_index_client.rb +14 -7
- data/bundler/lib/bundler/constants.rb +1 -1
- data/bundler/lib/bundler/current_ruby.rb +5 -21
- data/bundler/lib/bundler/definition.rb +42 -15
- data/bundler/lib/bundler/dependency.rb +16 -12
- data/bundler/lib/bundler/digest.rb +2 -2
- data/bundler/lib/bundler/dsl.rb +43 -25
- data/bundler/lib/bundler/endpoint_specification.rb +5 -1
- data/bundler/lib/bundler/env.rb +1 -3
- data/bundler/lib/bundler/errors.rb +43 -0
- data/bundler/lib/bundler/fetcher/base.rb +3 -1
- data/bundler/lib/bundler/fetcher/compact_index.rb +4 -4
- data/bundler/lib/bundler/fetcher/downloader.rb +13 -11
- data/bundler/lib/bundler/fetcher/gem_remote_fetcher.rb +16 -0
- data/bundler/lib/bundler/fetcher/index.rb +1 -1
- data/bundler/lib/bundler/fetcher.rb +28 -25
- data/bundler/lib/bundler/friendly_errors.rb +5 -5
- data/bundler/lib/bundler/gem_helper.rb +1 -1
- data/bundler/lib/bundler/gem_helpers.rb +5 -2
- data/bundler/lib/bundler/graph.rb +9 -9
- data/bundler/lib/bundler/index.rb +1 -2
- data/bundler/lib/bundler/injector.rb +1 -1
- data/bundler/lib/bundler/inline.rb +3 -3
- data/bundler/lib/bundler/installer/gem_installer.rb +5 -5
- data/bundler/lib/bundler/installer/parallel_installer.rb +16 -8
- data/bundler/lib/bundler/installer/standalone.rb +2 -3
- data/bundler/lib/bundler/installer.rb +9 -9
- data/bundler/lib/bundler/lazy_specification.rb +24 -17
- data/bundler/lib/bundler/lockfile_generator.rb +9 -0
- data/bundler/lib/bundler/lockfile_parser.rb +81 -10
- data/bundler/lib/bundler/man/bundle-add.1 +3 -26
- data/bundler/lib/bundler/man/bundle-binstubs.1 +4 -16
- data/bundler/lib/bundler/man/bundle-cache.1 +3 -24
- data/bundler/lib/bundler/man/bundle-check.1 +3 -12
- data/bundler/lib/bundler/man/bundle-clean.1 +3 -10
- data/bundler/lib/bundler/man/bundle-config.1 +20 -211
- data/bundler/lib/bundler/man/bundle-config.1.ronn +6 -0
- data/bundler/lib/bundler/man/bundle-console.1 +4 -22
- data/bundler/lib/bundler/man/bundle-doctor.1 +4 -18
- data/bundler/lib/bundler/man/bundle-exec.1 +12 -73
- data/bundler/lib/bundler/man/bundle-gem.1 +13 -49
- data/bundler/lib/bundler/man/bundle-help.1 +3 -7
- data/bundler/lib/bundler/man/bundle-info.1 +3 -9
- data/bundler/lib/bundler/man/bundle-init.1 +3 -12
- data/bundler/lib/bundler/man/bundle-inject.1 +6 -19
- data/bundler/lib/bundler/man/bundle-install.1 +27 -125
- data/bundler/lib/bundler/man/bundle-install.1.ronn +1 -0
- data/bundler/lib/bundler/man/bundle-list.1 +4 -19
- data/bundler/lib/bundler/man/bundle-lock.1 +5 -29
- data/bundler/lib/bundler/man/bundle-open.1 +7 -27
- data/bundler/lib/bundler/man/bundle-outdated.1 +3 -55
- data/bundler/lib/bundler/man/bundle-outdated.1.ronn +1 -0
- data/bundler/lib/bundler/man/bundle-platform.1 +5 -27
- data/bundler/lib/bundler/man/bundle-plugin.1 +3 -29
- data/bundler/lib/bundler/man/bundle-pristine.1 +5 -16
- data/bundler/lib/bundler/man/bundle-remove.1 +4 -14
- data/bundler/lib/bundler/man/bundle-show.1 +3 -10
- data/bundler/lib/bundler/man/bundle-update.1 +18 -137
- data/bundler/lib/bundler/man/bundle-version.1 +3 -16
- data/bundler/lib/bundler/man/bundle-viz.1 +4 -16
- data/bundler/lib/bundler/man/bundle.1 +5 -44
- data/bundler/lib/bundler/man/gemfile.5 +24 -301
- data/bundler/lib/bundler/man/gemfile.5.ronn +4 -0
- data/bundler/lib/bundler/match_metadata.rb +4 -0
- data/bundler/lib/bundler/match_platform.rb +1 -1
- data/bundler/lib/bundler/plugin/api/source.rb +3 -2
- data/bundler/lib/bundler/plugin/installer.rb +1 -1
- data/bundler/lib/bundler/plugin.rb +3 -3
- data/bundler/lib/bundler/resolver/base.rb +1 -1
- data/bundler/lib/bundler/resolver/incompatibility.rb +1 -1
- data/bundler/lib/bundler/resolver/spec_group.rb +1 -4
- data/bundler/lib/bundler/resolver.rb +16 -16
- data/bundler/lib/bundler/ruby_dsl.rb +20 -12
- data/bundler/lib/bundler/ruby_version.rb +1 -1
- data/bundler/lib/bundler/rubygems_ext.rb +24 -50
- data/bundler/lib/bundler/rubygems_gem_installer.rb +6 -56
- data/bundler/lib/bundler/rubygems_integration.rb +25 -94
- data/bundler/lib/bundler/runtime.rb +2 -2
- data/bundler/lib/bundler/self_manager.rb +23 -7
- data/bundler/lib/bundler/settings.rb +27 -7
- data/bundler/lib/bundler/setup.rb +4 -1
- data/bundler/lib/bundler/shared_helpers.rb +35 -13
- data/bundler/lib/bundler/source/git/git_proxy.rb +15 -15
- data/bundler/lib/bundler/source/git.rb +4 -3
- data/bundler/lib/bundler/source/metadata.rb +15 -15
- data/bundler/lib/bundler/source/path.rb +7 -6
- data/bundler/lib/bundler/source/rubygems.rb +21 -14
- data/bundler/lib/bundler/source.rb +2 -0
- data/bundler/lib/bundler/spec_set.rb +38 -10
- data/bundler/lib/bundler/stub_specification.rb +1 -0
- data/bundler/lib/bundler/templates/Executable.bundler +1 -1
- data/bundler/lib/bundler/templates/newgem/README.md.tt +3 -3
- data/bundler/lib/bundler/templates/newgem/Rakefile.tt +2 -6
- data/bundler/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +1 -1
- data/bundler/lib/bundler/templates/newgem/standard.yml.tt +1 -1
- data/bundler/lib/bundler/ui/shell.rb +1 -1
- data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
- data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +53 -6
- data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +8 -20
- data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +3 -3
- data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +2 -2
- data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +1 -1
- data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +35 -35
- data/bundler/lib/bundler/vendor/tsort/lib/tsort.rb +3 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +256 -132
- data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +1 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +95 -31
- data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
- data/bundler/lib/bundler/vendored_net_http.rb +8 -0
- data/bundler/lib/bundler/vendored_persistent.rb +0 -4
- data/bundler/lib/bundler/vendored_timeout.rb +8 -0
- data/bundler/lib/bundler/version.rb +1 -1
- data/bundler/lib/bundler/vlad.rb +1 -1
- data/bundler/lib/bundler/yaml_serializer.rb +3 -3
- data/bundler/lib/bundler.rb +38 -27
- data/lib/rubygems/available_set.rb +4 -4
- data/lib/rubygems/basic_specification.rb +35 -37
- data/lib/rubygems/bundler_version_finder.rb +4 -4
- data/lib/rubygems/ci_detector.rb +75 -0
- data/lib/rubygems/command.rb +13 -15
- data/lib/rubygems/command_manager.rb +5 -4
- data/lib/rubygems/commands/build_command.rb +2 -2
- data/lib/rubygems/commands/cert_command.rb +1 -2
- data/lib/rubygems/commands/check_command.rb +4 -4
- data/lib/rubygems/commands/cleanup_command.rb +12 -14
- data/lib/rubygems/commands/contents_command.rb +4 -4
- data/lib/rubygems/commands/dependency_command.rb +4 -5
- data/lib/rubygems/commands/environment_command.rb +1 -3
- data/lib/rubygems/commands/exec_command.rb +1 -1
- data/lib/rubygems/commands/fetch_command.rb +2 -2
- data/lib/rubygems/commands/generate_index_command.rb +39 -74
- data/lib/rubygems/commands/help_command.rb +3 -3
- data/lib/rubygems/commands/info_command.rb +2 -2
- data/lib/rubygems/commands/install_command.rb +8 -16
- data/lib/rubygems/commands/list_command.rb +2 -2
- data/lib/rubygems/commands/lock_command.rb +1 -1
- data/lib/rubygems/commands/open_command.rb +1 -1
- data/lib/rubygems/commands/owner_command.rb +1 -1
- data/lib/rubygems/commands/pristine_command.rb +13 -15
- data/lib/rubygems/commands/push_command.rb +2 -2
- data/lib/rubygems/commands/query_command.rb +4 -5
- data/lib/rubygems/commands/rdoc_command.rb +2 -2
- data/lib/rubygems/commands/search_command.rb +2 -2
- data/lib/rubygems/commands/setup_command.rb +31 -34
- data/lib/rubygems/commands/sources_command.rb +12 -12
- data/lib/rubygems/commands/specification_command.rb +10 -10
- data/lib/rubygems/commands/stale_command.rb +1 -1
- data/lib/rubygems/commands/uninstall_command.rb +9 -10
- data/lib/rubygems/commands/unpack_command.rb +4 -4
- data/lib/rubygems/commands/update_command.rb +10 -12
- data/lib/rubygems/commands/which_command.rb +1 -1
- data/lib/rubygems/commands/yank_command.rb +1 -1
- data/lib/rubygems/compatibility.rb +5 -6
- data/lib/rubygems/config_file.rb +4 -4
- data/lib/rubygems/core_ext/kernel_gem.rb +0 -2
- data/lib/rubygems/core_ext/kernel_require.rb +19 -48
- data/lib/rubygems/core_ext/kernel_warn.rb +1 -1
- data/lib/rubygems/core_ext/tcpsocket_init.rb +1 -1
- data/lib/rubygems/defaults.rb +15 -3
- data/lib/rubygems/dependency.rb +12 -14
- data/lib/rubygems/dependency_installer.rb +29 -30
- data/lib/rubygems/dependency_list.rb +1 -1
- data/lib/rubygems/deprecate.rb +16 -15
- data/lib/rubygems/doctor.rb +5 -5
- data/lib/rubygems/errors.rb +2 -6
- data/lib/rubygems/exceptions.rb +2 -1
- data/lib/rubygems/ext/builder.rb +15 -10
- data/lib/rubygems/ext/cargo_builder.rb +5 -5
- data/lib/rubygems/ext/ext_conf_builder.rb +1 -3
- data/lib/rubygems/gem_runner.rb +4 -4
- data/lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb +3 -3
- data/lib/rubygems/gemcutter_utilities/webauthn_poller.rb +3 -3
- data/lib/rubygems/gemcutter_utilities.rb +18 -19
- data/lib/rubygems/install_update_options.rb +18 -19
- data/lib/rubygems/installer.rb +59 -33
- data/lib/rubygems/installer_uninstaller_utils.rb +0 -2
- data/lib/rubygems/local_remote_options.rb +7 -10
- data/lib/rubygems/name_tuple.rb +7 -9
- data/lib/rubygems/net/http.rb +3 -0
- data/lib/rubygems/net-http/LICENSE.txt +22 -0
- data/lib/rubygems/net-http/lib/net/http/backward.rb +40 -0
- data/lib/rubygems/net-http/lib/net/http/exceptions.rb +34 -0
- data/lib/rubygems/net-http/lib/net/http/generic_request.rb +414 -0
- data/lib/rubygems/net-http/lib/net/http/header.rb +981 -0
- data/lib/rubygems/net-http/lib/net/http/proxy_delta.rb +17 -0
- data/lib/rubygems/net-http/lib/net/http/request.rb +88 -0
- data/lib/rubygems/net-http/lib/net/http/requests.rb +425 -0
- data/lib/rubygems/net-http/lib/net/http/response.rb +738 -0
- data/lib/rubygems/net-http/lib/net/http/responses.rb +1174 -0
- data/lib/rubygems/net-http/lib/net/http/status.rb +84 -0
- data/lib/rubygems/net-http/lib/net/http.rb +2496 -0
- data/lib/rubygems/net-http/lib/net/https.rb +23 -0
- data/lib/rubygems/net-protocol/LICENSE.txt +22 -0
- data/lib/rubygems/net-protocol/lib/net/protocol.rb +544 -0
- data/lib/rubygems/optparse/lib/optparse.rb +39 -17
- data/lib/rubygems/package/old.rb +2 -2
- data/lib/rubygems/package/tar_header.rb +45 -39
- data/lib/rubygems/package/tar_reader/entry.rb +5 -4
- data/lib/rubygems/package/tar_reader.rb +5 -3
- data/lib/rubygems/package/tar_writer.rb +19 -17
- data/lib/rubygems/package.rb +27 -26
- data/lib/rubygems/package_task.rb +2 -2
- data/lib/rubygems/path_support.rb +9 -10
- data/lib/rubygems/platform.rb +60 -45
- data/lib/rubygems/query_utils.rb +7 -9
- data/lib/rubygems/remote_fetcher.rb +15 -15
- data/lib/rubygems/request/connection_pools.rb +3 -3
- data/lib/rubygems/request.rb +20 -17
- data/lib/rubygems/request_set/gem_dependency_api.rb +119 -122
- data/lib/rubygems/request_set/lockfile/parser.rb +9 -9
- data/lib/rubygems/request_set/lockfile/tokenizer.rb +20 -12
- data/lib/rubygems/request_set/lockfile.rb +6 -11
- data/lib/rubygems/request_set.rb +5 -5
- data/lib/rubygems/requirement.rb +7 -7
- data/lib/rubygems/resolv/LICENSE.txt +22 -0
- data/lib/rubygems/resolv/lib/resolv.rb +3387 -0
- data/lib/rubygems/resolver/activation_request.rb +1 -3
- data/lib/rubygems/resolver/api_set/gem_parser.rb +7 -3
- data/lib/rubygems/resolver/best_set.rb +1 -1
- data/lib/rubygems/resolver/composed_set.rb +1 -1
- data/lib/rubygems/resolver/conflict.rb +4 -12
- data/lib/rubygems/resolver/index_set.rb +4 -4
- data/lib/rubygems/resolver/index_specification.rb +2 -2
- data/lib/rubygems/resolver/installer_set.rb +5 -6
- data/lib/rubygems/resolver/lock_set.rb +1 -1
- data/lib/rubygems/resolver.rb +3 -10
- data/lib/rubygems/s3_uri_signer.rb +6 -6
- data/lib/rubygems/safe_marshal/elements.rb +138 -0
- data/lib/rubygems/safe_marshal/reader.rb +306 -0
- data/lib/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
- data/lib/rubygems/safe_marshal/visitors/to_ruby.rb +385 -0
- data/lib/rubygems/safe_marshal/visitors/visitor.rb +74 -0
- data/lib/rubygems/safe_marshal.rb +74 -0
- data/lib/rubygems/safe_yaml.rb +5 -28
- data/lib/rubygems/security/policies.rb +36 -38
- data/lib/rubygems/security/policy.rb +7 -11
- data/lib/rubygems/security/signer.rb +1 -1
- data/lib/rubygems/security/trust_dir.rb +3 -3
- data/lib/rubygems/security.rb +8 -22
- data/lib/rubygems/source/git.rb +1 -3
- data/lib/rubygems/source/installed.rb +0 -2
- data/lib/rubygems/source/local.rb +5 -8
- data/lib/rubygems/source/lock.rb +1 -3
- data/lib/rubygems/source/specific_file.rb +0 -1
- data/lib/rubygems/source/vendor.rb +0 -2
- data/lib/rubygems/source.rb +12 -12
- data/lib/rubygems/source_list.rb +4 -4
- data/lib/rubygems/spec_fetcher.rb +29 -29
- data/lib/rubygems/specification.rb +125 -138
- data/lib/rubygems/specification_policy.rb +55 -25
- data/lib/rubygems/stub_specification.rb +4 -5
- data/lib/rubygems/text.rb +1 -2
- data/lib/rubygems/timeout/LICENSE.txt +22 -0
- data/lib/rubygems/timeout/lib/timeout.rb +199 -0
- data/lib/rubygems/timeout.rb +3 -0
- data/lib/rubygems/tsort/lib/tsort.rb +3 -0
- data/lib/rubygems/uninstaller.rb +7 -9
- data/lib/rubygems/update_suggestion.rb +5 -18
- data/lib/rubygems/uri_formatter.rb +1 -1
- data/lib/rubygems/user_interaction.rb +15 -21
- data/lib/rubygems/util/licenses.rb +65 -35
- data/lib/rubygems/util/list.rb +3 -1
- data/lib/rubygems/util.rb +2 -4
- data/lib/rubygems/validator.rb +5 -3
- data/lib/rubygems/version.rb +34 -28
- data/lib/rubygems/version_option.rb +2 -5
- data/lib/rubygems/yaml_serializer.rb +3 -3
- data/lib/rubygems.rb +37 -37
- data/rubygems-update.gemspec +4 -4
- data/setup.rb +2 -2
- metadata +38 -225
- data/lib/rubygems/indexer.rb +0 -428
- data/lib/rubygems/mock_gem_ui.rb +0 -86
- data/test/rubygems/alternate_cert.pem +0 -19
- data/test/rubygems/alternate_cert_32.pem +0 -19
- data/test/rubygems/alternate_key.pem +0 -27
- data/test/rubygems/bad_rake.rb +0 -3
- data/test/rubygems/bundler_test_gem.rb +0 -424
- data/test/rubygems/ca_cert.pem +0 -77
- data/test/rubygems/child_cert.pem +0 -19
- data/test/rubygems/child_cert_32.pem +0 -19
- data/test/rubygems/child_key.pem +0 -27
- data/test/rubygems/client.pem +0 -107
- data/test/rubygems/data/excon-0.7.7.gemspec.rz +0 -0
- data/test/rubygems/data/gem-private_key.pem +0 -27
- data/test/rubygems/data/gem-public_cert.pem +0 -20
- data/test/rubygems/data/null-required-ruby-version.gemspec.rz +0 -0
- data/test/rubygems/data/null-required-rubygems-version.gemspec.rz +0 -0
- data/test/rubygems/data/pry-0.4.7.gemspec.rz +0 -0
- data/test/rubygems/encrypted_private_key.pem +0 -30
- data/test/rubygems/expired_cert.pem +0 -19
- data/test/rubygems/fake_certlib/openssl.rb +0 -9
- data/test/rubygems/foo/discover.rb +0 -1
- data/test/rubygems/future_cert.pem +0 -19
- data/test/rubygems/future_cert_32.pem +0 -19
- data/test/rubygems/good_rake.rb +0 -3
- data/test/rubygems/grandchild_cert.pem +0 -19
- data/test/rubygems/grandchild_cert_32.pem +0 -19
- data/test/rubygems/grandchild_key.pem +0 -27
- data/test/rubygems/helper.rb +0 -1649
- data/test/rubygems/installer_test_case.rb +0 -248
- data/test/rubygems/invalid_client.pem +0 -49
- data/test/rubygems/invalid_issuer_cert.pem +0 -20
- data/test/rubygems/invalid_issuer_cert_32.pem +0 -20
- data/test/rubygems/invalid_key.pem +0 -27
- data/test/rubygems/invalid_signer_cert.pem +0 -19
- data/test/rubygems/invalid_signer_cert_32.pem +0 -19
- data/test/rubygems/invalidchild_cert.pem +0 -19
- data/test/rubygems/invalidchild_cert_32.pem +0 -19
- data/test/rubygems/invalidchild_key.pem +0 -27
- data/test/rubygems/multifactor_auth_utilities.rb +0 -111
- data/test/rubygems/package/tar_test_case.rb +0 -175
- data/test/rubygems/packages/Bluebie-legs-0.6.2.gem +0 -0
- data/test/rubygems/packages/ascii_binder-0.1.10.1.gem +0 -0
- data/test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem +0 -0
- data/test/rubygems/plugin/exception/rubygems_plugin.rb +0 -4
- data/test/rubygems/plugin/load/rubygems_plugin.rb +0 -5
- data/test/rubygems/plugin/standarderror/rubygems_plugin.rb +0 -4
- data/test/rubygems/private3072_key.pem +0 -40
- data/test/rubygems/private_ec_key.pem +0 -9
- data/test/rubygems/private_key.pem +0 -27
- data/test/rubygems/public3072_cert.pem +0 -25
- data/test/rubygems/public_cert.pem +0 -20
- data/test/rubygems/public_cert_32.pem +0 -19
- data/test/rubygems/public_key.pem +0 -9
- data/test/rubygems/rubygems/commands/crash_command.rb +0 -5
- data/test/rubygems/rubygems_plugin.rb +0 -24
- data/test/rubygems/sff/discover.rb +0 -1
- data/test/rubygems/simple_gem.rb +0 -68
- data/test/rubygems/specifications/bar-0.0.2.gemspec +0 -9
- data/test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec +0 -0
- data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +0 -14
- data/test/rubygems/ssl_cert.pem +0 -80
- data/test/rubygems/ssl_key.pem +0 -27
- data/test/rubygems/test_bundled_ca.rb +0 -61
- data/test/rubygems/test_config.rb +0 -28
- data/test/rubygems/test_deprecate.rb +0 -158
- data/test/rubygems/test_exit.rb +0 -17
- data/test/rubygems/test_gem.rb +0 -1799
- data/test/rubygems/test_gem_available_set.rb +0 -130
- data/test/rubygems/test_gem_bundler_version_finder.rb +0 -127
- data/test/rubygems/test_gem_command.rb +0 -403
- data/test/rubygems/test_gem_command_manager.rb +0 -400
- data/test/rubygems/test_gem_commands_build_command.rb +0 -739
- data/test/rubygems/test_gem_commands_cert_command.rb +0 -866
- data/test/rubygems/test_gem_commands_check_command.rb +0 -68
- data/test/rubygems/test_gem_commands_cleanup_command.rb +0 -292
- data/test/rubygems/test_gem_commands_contents_command.rb +0 -271
- data/test/rubygems/test_gem_commands_dependency_command.rb +0 -228
- data/test/rubygems/test_gem_commands_environment_command.rb +0 -169
- data/test/rubygems/test_gem_commands_exec_command.rb +0 -857
- data/test/rubygems/test_gem_commands_fetch_command.rb +0 -258
- data/test/rubygems/test_gem_commands_generate_index_command.rb +0 -81
- data/test/rubygems/test_gem_commands_help_command.rb +0 -94
- data/test/rubygems/test_gem_commands_info_command.rb +0 -70
- data/test/rubygems/test_gem_commands_install_command.rb +0 -1573
- data/test/rubygems/test_gem_commands_list_command.rb +0 -33
- data/test/rubygems/test_gem_commands_lock_command.rb +0 -67
- data/test/rubygems/test_gem_commands_mirror.rb +0 -20
- data/test/rubygems/test_gem_commands_open_command.rb +0 -101
- data/test/rubygems/test_gem_commands_outdated_command.rb +0 -50
- data/test/rubygems/test_gem_commands_owner_command.rb +0 -503
- data/test/rubygems/test_gem_commands_pristine_command.rb +0 -708
- data/test/rubygems/test_gem_commands_push_command.rb +0 -603
- data/test/rubygems/test_gem_commands_query_command.rb +0 -858
- data/test/rubygems/test_gem_commands_search_command.rb +0 -16
- data/test/rubygems/test_gem_commands_server_command.rb +0 -20
- data/test/rubygems/test_gem_commands_setup_command.rb +0 -474
- data/test/rubygems/test_gem_commands_signin_command.rb +0 -259
- data/test/rubygems/test_gem_commands_signout_command.rb +0 -30
- data/test/rubygems/test_gem_commands_sources_command.rb +0 -534
- data/test/rubygems/test_gem_commands_specification_command.rb +0 -277
- data/test/rubygems/test_gem_commands_stale_command.rb +0 -43
- data/test/rubygems/test_gem_commands_uninstall_command.rb +0 -542
- data/test/rubygems/test_gem_commands_unpack_command.rb +0 -224
- data/test/rubygems/test_gem_commands_update_command.rb +0 -836
- data/test/rubygems/test_gem_commands_which_command.rb +0 -85
- data/test/rubygems/test_gem_commands_yank_command.rb +0 -299
- data/test/rubygems/test_gem_config_file.rb +0 -551
- data/test/rubygems/test_gem_dependency.rb +0 -398
- data/test/rubygems/test_gem_dependency_installer.rb +0 -1190
- data/test/rubygems/test_gem_dependency_list.rb +0 -265
- data/test/rubygems/test_gem_dependency_resolution_error.rb +0 -27
- data/test/rubygems/test_gem_doctor.rb +0 -195
- data/test/rubygems/test_gem_ext_builder.rb +0 -337
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/.gitignore +0 -1
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/custom_name.gemspec +0 -10
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/Cargo.lock +0 -249
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/Cargo.toml +0 -10
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/src/lib.rs +0 -27
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/lib/custom_name.rb +0 -3
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/.gitignore +0 -1
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock +0 -249
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml +0 -10
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/rust_ruby_example.gemspec +0 -10
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/src/lib.rs +0 -51
- data/test/rubygems/test_gem_ext_cargo_builder.rb +0 -167
- data/test/rubygems/test_gem_ext_cargo_builder_link_flag_converter.rb +0 -34
- data/test/rubygems/test_gem_ext_cargo_builder_unit.rb +0 -60
- data/test/rubygems/test_gem_ext_cmake_builder.rb +0 -84
- data/test/rubygems/test_gem_ext_configure_builder.rb +0 -80
- data/test/rubygems/test_gem_ext_ext_conf_builder.rb +0 -229
- data/test/rubygems/test_gem_ext_rake_builder.rb +0 -113
- data/test/rubygems/test_gem_gem_runner.rb +0 -119
- data/test/rubygems/test_gem_gemcutter_utilities.rb +0 -361
- data/test/rubygems/test_gem_impossible_dependencies_error.rb +0 -60
- data/test/rubygems/test_gem_indexer.rb +0 -381
- data/test/rubygems/test_gem_install_update_options.rb +0 -208
- data/test/rubygems/test_gem_installer.rb +0 -2512
- data/test/rubygems/test_gem_local_remote_options.rb +0 -133
- data/test/rubygems/test_gem_name_tuple.rb +0 -43
- data/test/rubygems/test_gem_package.rb +0 -1306
- data/test/rubygems/test_gem_package_old.rb +0 -91
- data/test/rubygems/test_gem_package_tar_header.rb +0 -226
- data/test/rubygems/test_gem_package_tar_reader.rb +0 -150
- data/test/rubygems/test_gem_package_tar_reader_entry.rb +0 -350
- data/test/rubygems/test_gem_package_tar_writer.rb +0 -331
- data/test/rubygems/test_gem_package_task.rb +0 -118
- data/test/rubygems/test_gem_path_support.rb +0 -139
- data/test/rubygems/test_gem_platform.rb +0 -497
- data/test/rubygems/test_gem_rdoc.rb +0 -137
- data/test/rubygems/test_gem_remote_fetcher.rb +0 -1227
- data/test/rubygems/test_gem_request.rb +0 -547
- data/test/rubygems/test_gem_request_connection_pools.rb +0 -152
- data/test/rubygems/test_gem_request_set.rb +0 -672
- data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +0 -853
- data/test/rubygems/test_gem_request_set_lockfile.rb +0 -469
- data/test/rubygems/test_gem_request_set_lockfile_parser.rb +0 -544
- data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +0 -307
- data/test/rubygems/test_gem_requirement.rb +0 -505
- data/test/rubygems/test_gem_resolver.rb +0 -859
- data/test/rubygems/test_gem_resolver_activation_request.rb +0 -43
- data/test/rubygems/test_gem_resolver_api_set.rb +0 -210
- data/test/rubygems/test_gem_resolver_api_specification.rb +0 -167
- data/test/rubygems/test_gem_resolver_best_set.rb +0 -159
- data/test/rubygems/test_gem_resolver_composed_set.rb +0 -44
- data/test/rubygems/test_gem_resolver_conflict.rb +0 -82
- data/test/rubygems/test_gem_resolver_dependency_request.rb +0 -83
- data/test/rubygems/test_gem_resolver_git_set.rb +0 -188
- data/test/rubygems/test_gem_resolver_git_specification.rb +0 -114
- data/test/rubygems/test_gem_resolver_index_set.rb +0 -88
- data/test/rubygems/test_gem_resolver_index_specification.rb +0 -93
- data/test/rubygems/test_gem_resolver_installed_specification.rb +0 -47
- data/test/rubygems/test_gem_resolver_installer_set.rb +0 -320
- data/test/rubygems/test_gem_resolver_local_specification.rb +0 -44
- data/test/rubygems/test_gem_resolver_lock_set.rb +0 -62
- data/test/rubygems/test_gem_resolver_lock_specification.rb +0 -98
- data/test/rubygems/test_gem_resolver_requirement_list.rb +0 -19
- data/test/rubygems/test_gem_resolver_specification.rb +0 -63
- data/test/rubygems/test_gem_resolver_vendor_set.rb +0 -82
- data/test/rubygems/test_gem_resolver_vendor_specification.rb +0 -82
- data/test/rubygems/test_gem_security.rb +0 -341
- data/test/rubygems/test_gem_security_policy.rb +0 -535
- data/test/rubygems/test_gem_security_signer.rb +0 -218
- data/test/rubygems/test_gem_security_trust_dir.rb +0 -99
- data/test/rubygems/test_gem_silent_ui.rb +0 -123
- data/test/rubygems/test_gem_source.rb +0 -254
- data/test/rubygems/test_gem_source_fetch_problem.rb +0 -37
- data/test/rubygems/test_gem_source_git.rb +0 -310
- data/test/rubygems/test_gem_source_installed.rb +0 -35
- data/test/rubygems/test_gem_source_list.rb +0 -119
- data/test/rubygems/test_gem_source_local.rb +0 -107
- data/test/rubygems/test_gem_source_lock.rb +0 -113
- data/test/rubygems/test_gem_source_specific_file.rb +0 -76
- data/test/rubygems/test_gem_source_subpath_problem.rb +0 -50
- data/test/rubygems/test_gem_source_vendor.rb +0 -30
- data/test/rubygems/test_gem_spec_fetcher.rb +0 -338
- data/test/rubygems/test_gem_specification.rb +0 -3856
- data/test/rubygems/test_gem_stream_ui.rb +0 -255
- data/test/rubygems/test_gem_stub_specification.rb +0 -278
- data/test/rubygems/test_gem_text.rb +0 -103
- data/test/rubygems/test_gem_uninstaller.rb +0 -675
- data/test/rubygems/test_gem_unsatisfiable_dependency_error.rb +0 -31
- data/test/rubygems/test_gem_update_suggestion.rb +0 -209
- data/test/rubygems/test_gem_uri.rb +0 -41
- data/test/rubygems/test_gem_uri_formatter.rb +0 -27
- data/test/rubygems/test_gem_util.rb +0 -91
- data/test/rubygems/test_gem_validator.rb +0 -42
- data/test/rubygems/test_gem_version.rb +0 -305
- data/test/rubygems/test_gem_version_option.rb +0 -165
- data/test/rubygems/test_kernel.rb +0 -124
- data/test/rubygems/test_project_sanity.rb +0 -49
- data/test/rubygems/test_remote_fetch_error.rb +0 -20
- data/test/rubygems/test_require.rb +0 -732
- data/test/rubygems/test_rubygems.rb +0 -76
- data/test/rubygems/test_webauthn_listener.rb +0 -143
- data/test/rubygems/test_webauthn_listener_response.rb +0 -93
- data/test/rubygems/test_webauthn_poller.rb +0 -124
- data/test/rubygems/utilities.rb +0 -436
- data/test/rubygems/wrong_key_cert.pem +0 -19
- data/test/rubygems/wrong_key_cert_32.pem +0 -19
- data/test/test_changelog_generator.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fce6526c315ddb27b7225aa753bc8ed4989c4b3e0f21475a6d89f056621244f
|
4
|
+
data.tar.gz: abbf90a8a960cbf76fa0535675235fff405899bf536030904ca3558b86d90834
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e46fe63d6d1be72ef7284b3a74a947564ab3c1bad56005d3093de37cd17c2113ed250b28989b868b1529d4577b2255a789995dda7426cbe58b540c9dadae0b
|
7
|
+
data.tar.gz: 8210df7d8682222d674c84ed34d06df6deb86be7982d98d5f7df6fd54ba41f37a95dc5366754d42c39d96fa21a0cfc1b4d3712a93deded075f36bf0fbd64f321
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,100 @@
|
|
1
|
+
# 3.5.0 / 2023-12-15
|
2
|
+
|
3
|
+
## Security:
|
4
|
+
|
5
|
+
* Replace `Marshal.load` with a fully-checked safe gemspec loader. Pull
|
6
|
+
request [#6896](https://github.com/rubygems/rubygems/pull/6896) by
|
7
|
+
segiddins
|
8
|
+
|
9
|
+
## Breaking changes:
|
10
|
+
|
11
|
+
* Drop ruby 2.6 and 2.7 support. Pull request
|
12
|
+
[#7116](https://github.com/rubygems/rubygems/pull/7116) by
|
13
|
+
deivid-rodriguez
|
14
|
+
* Release package no longer includes test files. Pull request
|
15
|
+
[#6781](https://github.com/rubygems/rubygems/pull/6781) by hsbt
|
16
|
+
* Hide `Gem::MockGemUi` from users. Pull request
|
17
|
+
[#6623](https://github.com/rubygems/rubygems/pull/6623) by hsbt
|
18
|
+
* Deprecated `Gem.datadir` has been removed. Pull request
|
19
|
+
[#6469](https://github.com/rubygems/rubygems/pull/6469) by hsbt
|
20
|
+
|
21
|
+
## Deprecations:
|
22
|
+
|
23
|
+
* Deprecate `Gem::Platform.match?`. Pull request
|
24
|
+
[#6783](https://github.com/rubygems/rubygems/pull/6783) by hsbt
|
25
|
+
* Deprecate `Gem::List`. Pull request
|
26
|
+
[#6311](https://github.com/rubygems/rubygems/pull/6311) by segiddins
|
27
|
+
|
28
|
+
## Features:
|
29
|
+
|
30
|
+
* The `generate_index` command can now generate compact index files and
|
31
|
+
lives as an external `rubygems-generate_index` gem. Pull request
|
32
|
+
[#7085](https://github.com/rubygems/rubygems/pull/7085) by segiddins
|
33
|
+
* Make `gem install` fallback to user installation directory if default
|
34
|
+
gem home is not writable. Pull request
|
35
|
+
[#5327](https://github.com/rubygems/rubygems/pull/5327) by duckinator
|
36
|
+
* Leverage ruby feature to warn when requiring default gems from stdlib
|
37
|
+
that will be turned into bundled gems in the future. Pull request
|
38
|
+
[#6840](https://github.com/rubygems/rubygems/pull/6840) by hsbt
|
39
|
+
|
40
|
+
## Performance:
|
41
|
+
|
42
|
+
* Use match? when regexp match data is unused. Pull request
|
43
|
+
[#7263](https://github.com/rubygems/rubygems/pull/7263) by segiddins
|
44
|
+
* Fewer allocations in gem installation. Pull request
|
45
|
+
[#6975](https://github.com/rubygems/rubygems/pull/6975) by segiddins
|
46
|
+
* Optimize allocations in `Gem::Version`. Pull request
|
47
|
+
[#6970](https://github.com/rubygems/rubygems/pull/6970) by segiddins
|
48
|
+
|
49
|
+
## Enhancements:
|
50
|
+
|
51
|
+
* Warn for duplicate meta data links when building gems. Pull request
|
52
|
+
[#7213](https://github.com/rubygems/rubygems/pull/7213) by etherbob
|
53
|
+
* Vendor `net-http`, `net-protocol`, `resolv`, and `timeout` to reduce
|
54
|
+
conflicts between Gemfile gems and internal dependencies. Pull request
|
55
|
+
[#6793](https://github.com/rubygems/rubygems/pull/6793) by
|
56
|
+
deivid-rodriguez
|
57
|
+
* Remove non-transparent requirement added to prerelease gems. Pull
|
58
|
+
request [#7226](https://github.com/rubygems/rubygems/pull/7226) by
|
59
|
+
deivid-rodriguez
|
60
|
+
* Stream output from ext builds when --verbose. Pull request
|
61
|
+
[#7240](https://github.com/rubygems/rubygems/pull/7240) by osyoyu
|
62
|
+
* Add missing services to CI detection and make it consistent between
|
63
|
+
RubyGems and Bundler. Pull request
|
64
|
+
[#7205](https://github.com/rubygems/rubygems/pull/7205) by nevinera
|
65
|
+
* Update generate licenses template to not freeze regexps. Pull request
|
66
|
+
[#7154](https://github.com/rubygems/rubygems/pull/7154) by
|
67
|
+
github-actions[bot]
|
68
|
+
* Don't check `LIBRUBY_RELATIVE` in truffleruby to signal a bash prelude
|
69
|
+
in rubygems binstubs. Pull request
|
70
|
+
[#7156](https://github.com/rubygems/rubygems/pull/7156) by
|
71
|
+
deivid-rodriguez
|
72
|
+
* Update SPDX list and warn on deprecated identifiers. Pull request
|
73
|
+
[#6926](https://github.com/rubygems/rubygems/pull/6926) by simi
|
74
|
+
* Simplify extended `require` to potentially fix some deadlocks. Pull
|
75
|
+
request [#6827](https://github.com/rubygems/rubygems/pull/6827) by nobu
|
76
|
+
* Small refactors for `Gem::Resolver`. Pull request
|
77
|
+
[#6766](https://github.com/rubygems/rubygems/pull/6766) by hsbt
|
78
|
+
* Use double-quotes instead of single-quotes consistently in warnings.
|
79
|
+
Pull request [#6550](https://github.com/rubygems/rubygems/pull/6550) by
|
80
|
+
hsbt
|
81
|
+
* Add debug message for `nil` version gemspec. Pull request
|
82
|
+
[#6436](https://github.com/rubygems/rubygems/pull/6436) by hsbt
|
83
|
+
* Installs bundler 2.5.0 as a default gem.
|
84
|
+
|
85
|
+
## Bug fixes:
|
86
|
+
|
87
|
+
* Fix installing from source with same default bundler version already
|
88
|
+
installed. Pull request
|
89
|
+
[#7244](https://github.com/rubygems/rubygems/pull/7244) by
|
90
|
+
deivid-rodriguez
|
91
|
+
|
92
|
+
## Documentation:
|
93
|
+
|
94
|
+
* Improve comment explaining the necessity of `write_default_spec` method.
|
95
|
+
Pull request [#6563](https://github.com/rubygems/rubygems/pull/6563) by
|
96
|
+
voxik
|
97
|
+
|
1
98
|
# 3.4.22 / 2023-11-09
|
2
99
|
|
3
100
|
## Enhancements:
|
@@ -5666,11 +5763,11 @@ annoying issues involving other libraries that RubyGems depends upon.
|
|
5666
5763
|
0.8.3 contains some workarounds for these issues. In particular:
|
5667
5764
|
|
5668
5765
|
* Added workaround for the null byte in Dir string issue. (see
|
5669
|
-
|
5766
|
+
https://blade.ruby-lang.org/ruby-talk/121702).
|
5670
5767
|
(Thanks to Mauricio Fernández for the quick response on this one).
|
5671
5768
|
* Added workaround for old version of Zlib on windows that caused
|
5672
5769
|
Ruwiki to fail to install. (see
|
5673
|
-
|
5770
|
+
https://blade.ruby-lang.org/ruby-talk/121770)
|
5674
5771
|
* Added workaround for large YAML file issues. (We dynamically cut
|
5675
5772
|
down the size of the source index YAML file and seem to have worked
|
5676
5773
|
around immediate issues.
|
data/Manifest.txt
CHANGED
@@ -19,6 +19,8 @@ bundler/lib/bundler.rb
|
|
19
19
|
bundler/lib/bundler/.document
|
20
20
|
bundler/lib/bundler/build_metadata.rb
|
21
21
|
bundler/lib/bundler/capistrano.rb
|
22
|
+
bundler/lib/bundler/checksum.rb
|
23
|
+
bundler/lib/bundler/ci_detector.rb
|
22
24
|
bundler/lib/bundler/cli.rb
|
23
25
|
bundler/lib/bundler/cli/add.rb
|
24
26
|
bundler/lib/bundler/cli/binstubs.rb
|
@@ -50,6 +52,7 @@ bundler/lib/bundler/cli/update.rb
|
|
50
52
|
bundler/lib/bundler/cli/viz.rb
|
51
53
|
bundler/lib/bundler/compact_index_client.rb
|
52
54
|
bundler/lib/bundler/compact_index_client/cache.rb
|
55
|
+
bundler/lib/bundler/compact_index_client/cache_file.rb
|
53
56
|
bundler/lib/bundler/compact_index_client/gem_parser.rb
|
54
57
|
bundler/lib/bundler/compact_index_client/updater.rb
|
55
58
|
bundler/lib/bundler/constants.rb
|
@@ -70,6 +73,7 @@ bundler/lib/bundler/fetcher/base.rb
|
|
70
73
|
bundler/lib/bundler/fetcher/compact_index.rb
|
71
74
|
bundler/lib/bundler/fetcher/dependency.rb
|
72
75
|
bundler/lib/bundler/fetcher/downloader.rb
|
76
|
+
bundler/lib/bundler/fetcher/gem_remote_fetcher.rb
|
73
77
|
bundler/lib/bundler/fetcher/index.rb
|
74
78
|
bundler/lib/bundler/force_platform.rb
|
75
79
|
bundler/lib/bundler/friendly_errors.rb
|
@@ -329,9 +333,11 @@ bundler/lib/bundler/vendor/uri/lib/uri/version.rb
|
|
329
333
|
bundler/lib/bundler/vendor/uri/lib/uri/ws.rb
|
330
334
|
bundler/lib/bundler/vendor/uri/lib/uri/wss.rb
|
331
335
|
bundler/lib/bundler/vendored_fileutils.rb
|
336
|
+
bundler/lib/bundler/vendored_net_http.rb
|
332
337
|
bundler/lib/bundler/vendored_persistent.rb
|
333
338
|
bundler/lib/bundler/vendored_pub_grub.rb
|
334
339
|
bundler/lib/bundler/vendored_thor.rb
|
340
|
+
bundler/lib/bundler/vendored_timeout.rb
|
335
341
|
bundler/lib/bundler/vendored_tsort.rb
|
336
342
|
bundler/lib/bundler/vendored_uri.rb
|
337
343
|
bundler/lib/bundler/version.rb
|
@@ -345,6 +351,7 @@ lib/rubygems.rb
|
|
345
351
|
lib/rubygems/available_set.rb
|
346
352
|
lib/rubygems/basic_specification.rb
|
347
353
|
lib/rubygems/bundler_version_finder.rb
|
354
|
+
lib/rubygems/ci_detector.rb
|
348
355
|
lib/rubygems/command.rb
|
349
356
|
lib/rubygems/command_manager.rb
|
350
357
|
lib/rubygems/commands/build_command.rb
|
@@ -411,15 +418,29 @@ lib/rubygems/gemcutter_utilities.rb
|
|
411
418
|
lib/rubygems/gemcutter_utilities/webauthn_listener.rb
|
412
419
|
lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb
|
413
420
|
lib/rubygems/gemcutter_utilities/webauthn_poller.rb
|
414
|
-
lib/rubygems/indexer.rb
|
415
421
|
lib/rubygems/install_default_message.rb
|
416
422
|
lib/rubygems/install_message.rb
|
417
423
|
lib/rubygems/install_update_options.rb
|
418
424
|
lib/rubygems/installer.rb
|
419
425
|
lib/rubygems/installer_uninstaller_utils.rb
|
420
426
|
lib/rubygems/local_remote_options.rb
|
421
|
-
lib/rubygems/mock_gem_ui.rb
|
422
427
|
lib/rubygems/name_tuple.rb
|
428
|
+
lib/rubygems/net-http/LICENSE.txt
|
429
|
+
lib/rubygems/net-http/lib/net/http.rb
|
430
|
+
lib/rubygems/net-http/lib/net/http/backward.rb
|
431
|
+
lib/rubygems/net-http/lib/net/http/exceptions.rb
|
432
|
+
lib/rubygems/net-http/lib/net/http/generic_request.rb
|
433
|
+
lib/rubygems/net-http/lib/net/http/header.rb
|
434
|
+
lib/rubygems/net-http/lib/net/http/proxy_delta.rb
|
435
|
+
lib/rubygems/net-http/lib/net/http/request.rb
|
436
|
+
lib/rubygems/net-http/lib/net/http/requests.rb
|
437
|
+
lib/rubygems/net-http/lib/net/http/response.rb
|
438
|
+
lib/rubygems/net-http/lib/net/http/responses.rb
|
439
|
+
lib/rubygems/net-http/lib/net/http/status.rb
|
440
|
+
lib/rubygems/net-http/lib/net/https.rb
|
441
|
+
lib/rubygems/net-protocol/LICENSE.txt
|
442
|
+
lib/rubygems/net-protocol/lib/net/protocol.rb
|
443
|
+
lib/rubygems/net/http.rb
|
423
444
|
lib/rubygems/openssl.rb
|
424
445
|
lib/rubygems/optparse.rb
|
425
446
|
lib/rubygems/optparse/.document
|
@@ -460,6 +481,8 @@ lib/rubygems/request_set/lockfile.rb
|
|
460
481
|
lib/rubygems/request_set/lockfile/parser.rb
|
461
482
|
lib/rubygems/request_set/lockfile/tokenizer.rb
|
462
483
|
lib/rubygems/requirement.rb
|
484
|
+
lib/rubygems/resolv/LICENSE.txt
|
485
|
+
lib/rubygems/resolv/lib/resolv.rb
|
463
486
|
lib/rubygems/resolver.rb
|
464
487
|
lib/rubygems/resolver/activation_request.rb
|
465
488
|
lib/rubygems/resolver/api_set.rb
|
@@ -510,6 +533,12 @@ lib/rubygems/resolver/stats.rb
|
|
510
533
|
lib/rubygems/resolver/vendor_set.rb
|
511
534
|
lib/rubygems/resolver/vendor_specification.rb
|
512
535
|
lib/rubygems/s3_uri_signer.rb
|
536
|
+
lib/rubygems/safe_marshal.rb
|
537
|
+
lib/rubygems/safe_marshal/elements.rb
|
538
|
+
lib/rubygems/safe_marshal/reader.rb
|
539
|
+
lib/rubygems/safe_marshal/visitors/stream_printer.rb
|
540
|
+
lib/rubygems/safe_marshal/visitors/to_ruby.rb
|
541
|
+
lib/rubygems/safe_marshal/visitors/visitor.rb
|
513
542
|
lib/rubygems/safe_yaml.rb
|
514
543
|
lib/rubygems/security.rb
|
515
544
|
lib/rubygems/security/policies.rb
|
@@ -534,6 +563,9 @@ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
|
|
534
563
|
lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
|
535
564
|
lib/rubygems/stub_specification.rb
|
536
565
|
lib/rubygems/text.rb
|
566
|
+
lib/rubygems/timeout.rb
|
567
|
+
lib/rubygems/timeout/LICENSE.txt
|
568
|
+
lib/rubygems/timeout/lib/timeout.rb
|
537
569
|
lib/rubygems/tsort.rb
|
538
570
|
lib/rubygems/tsort/.document
|
539
571
|
lib/rubygems/tsort/LICENSE.txt
|
@@ -553,222 +585,3 @@ lib/rubygems/version_option.rb
|
|
553
585
|
lib/rubygems/yaml_serializer.rb
|
554
586
|
rubygems-update.gemspec
|
555
587
|
setup.rb
|
556
|
-
test/rubygems/alternate_cert.pem
|
557
|
-
test/rubygems/alternate_cert_32.pem
|
558
|
-
test/rubygems/alternate_key.pem
|
559
|
-
test/rubygems/bad_rake.rb
|
560
|
-
test/rubygems/bundler_test_gem.rb
|
561
|
-
test/rubygems/ca_cert.pem
|
562
|
-
test/rubygems/child_cert.pem
|
563
|
-
test/rubygems/child_cert_32.pem
|
564
|
-
test/rubygems/child_key.pem
|
565
|
-
test/rubygems/client.pem
|
566
|
-
test/rubygems/data/excon-0.7.7.gemspec.rz
|
567
|
-
test/rubygems/data/gem-private_key.pem
|
568
|
-
test/rubygems/data/gem-public_cert.pem
|
569
|
-
test/rubygems/data/null-required-ruby-version.gemspec.rz
|
570
|
-
test/rubygems/data/null-required-rubygems-version.gemspec.rz
|
571
|
-
test/rubygems/data/pry-0.4.7.gemspec.rz
|
572
|
-
test/rubygems/encrypted_private_key.pem
|
573
|
-
test/rubygems/expired_cert.pem
|
574
|
-
test/rubygems/fake_certlib/openssl.rb
|
575
|
-
test/rubygems/foo/discover.rb
|
576
|
-
test/rubygems/future_cert.pem
|
577
|
-
test/rubygems/future_cert_32.pem
|
578
|
-
test/rubygems/good_rake.rb
|
579
|
-
test/rubygems/grandchild_cert.pem
|
580
|
-
test/rubygems/grandchild_cert_32.pem
|
581
|
-
test/rubygems/grandchild_key.pem
|
582
|
-
test/rubygems/helper.rb
|
583
|
-
test/rubygems/installer_test_case.rb
|
584
|
-
test/rubygems/invalid_client.pem
|
585
|
-
test/rubygems/invalid_issuer_cert.pem
|
586
|
-
test/rubygems/invalid_issuer_cert_32.pem
|
587
|
-
test/rubygems/invalid_key.pem
|
588
|
-
test/rubygems/invalid_signer_cert.pem
|
589
|
-
test/rubygems/invalid_signer_cert_32.pem
|
590
|
-
test/rubygems/invalidchild_cert.pem
|
591
|
-
test/rubygems/invalidchild_cert_32.pem
|
592
|
-
test/rubygems/invalidchild_key.pem
|
593
|
-
test/rubygems/multifactor_auth_utilities.rb
|
594
|
-
test/rubygems/package/tar_test_case.rb
|
595
|
-
test/rubygems/packages/Bluebie-legs-0.6.2.gem
|
596
|
-
test/rubygems/packages/ascii_binder-0.1.10.1.gem
|
597
|
-
test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem
|
598
|
-
test/rubygems/plugin/exception/rubygems_plugin.rb
|
599
|
-
test/rubygems/plugin/load/rubygems_plugin.rb
|
600
|
-
test/rubygems/plugin/standarderror/rubygems_plugin.rb
|
601
|
-
test/rubygems/private3072_key.pem
|
602
|
-
test/rubygems/private_ec_key.pem
|
603
|
-
test/rubygems/private_key.pem
|
604
|
-
test/rubygems/public3072_cert.pem
|
605
|
-
test/rubygems/public_cert.pem
|
606
|
-
test/rubygems/public_cert_32.pem
|
607
|
-
test/rubygems/public_key.pem
|
608
|
-
test/rubygems/rubygems/commands/crash_command.rb
|
609
|
-
test/rubygems/rubygems_plugin.rb
|
610
|
-
test/rubygems/sff/discover.rb
|
611
|
-
test/rubygems/simple_gem.rb
|
612
|
-
test/rubygems/specifications/bar-0.0.2.gemspec
|
613
|
-
test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec
|
614
|
-
test/rubygems/specifications/rubyforge-0.0.1.gemspec
|
615
|
-
test/rubygems/ssl_cert.pem
|
616
|
-
test/rubygems/ssl_key.pem
|
617
|
-
test/rubygems/test_bundled_ca.rb
|
618
|
-
test/rubygems/test_config.rb
|
619
|
-
test/rubygems/test_deprecate.rb
|
620
|
-
test/rubygems/test_exit.rb
|
621
|
-
test/rubygems/test_gem.rb
|
622
|
-
test/rubygems/test_gem_available_set.rb
|
623
|
-
test/rubygems/test_gem_bundler_version_finder.rb
|
624
|
-
test/rubygems/test_gem_command.rb
|
625
|
-
test/rubygems/test_gem_command_manager.rb
|
626
|
-
test/rubygems/test_gem_commands_build_command.rb
|
627
|
-
test/rubygems/test_gem_commands_cert_command.rb
|
628
|
-
test/rubygems/test_gem_commands_check_command.rb
|
629
|
-
test/rubygems/test_gem_commands_cleanup_command.rb
|
630
|
-
test/rubygems/test_gem_commands_contents_command.rb
|
631
|
-
test/rubygems/test_gem_commands_dependency_command.rb
|
632
|
-
test/rubygems/test_gem_commands_environment_command.rb
|
633
|
-
test/rubygems/test_gem_commands_exec_command.rb
|
634
|
-
test/rubygems/test_gem_commands_fetch_command.rb
|
635
|
-
test/rubygems/test_gem_commands_generate_index_command.rb
|
636
|
-
test/rubygems/test_gem_commands_help_command.rb
|
637
|
-
test/rubygems/test_gem_commands_info_command.rb
|
638
|
-
test/rubygems/test_gem_commands_install_command.rb
|
639
|
-
test/rubygems/test_gem_commands_list_command.rb
|
640
|
-
test/rubygems/test_gem_commands_lock_command.rb
|
641
|
-
test/rubygems/test_gem_commands_mirror.rb
|
642
|
-
test/rubygems/test_gem_commands_open_command.rb
|
643
|
-
test/rubygems/test_gem_commands_outdated_command.rb
|
644
|
-
test/rubygems/test_gem_commands_owner_command.rb
|
645
|
-
test/rubygems/test_gem_commands_pristine_command.rb
|
646
|
-
test/rubygems/test_gem_commands_push_command.rb
|
647
|
-
test/rubygems/test_gem_commands_query_command.rb
|
648
|
-
test/rubygems/test_gem_commands_search_command.rb
|
649
|
-
test/rubygems/test_gem_commands_server_command.rb
|
650
|
-
test/rubygems/test_gem_commands_setup_command.rb
|
651
|
-
test/rubygems/test_gem_commands_signin_command.rb
|
652
|
-
test/rubygems/test_gem_commands_signout_command.rb
|
653
|
-
test/rubygems/test_gem_commands_sources_command.rb
|
654
|
-
test/rubygems/test_gem_commands_specification_command.rb
|
655
|
-
test/rubygems/test_gem_commands_stale_command.rb
|
656
|
-
test/rubygems/test_gem_commands_uninstall_command.rb
|
657
|
-
test/rubygems/test_gem_commands_unpack_command.rb
|
658
|
-
test/rubygems/test_gem_commands_update_command.rb
|
659
|
-
test/rubygems/test_gem_commands_which_command.rb
|
660
|
-
test/rubygems/test_gem_commands_yank_command.rb
|
661
|
-
test/rubygems/test_gem_config_file.rb
|
662
|
-
test/rubygems/test_gem_dependency.rb
|
663
|
-
test/rubygems/test_gem_dependency_installer.rb
|
664
|
-
test/rubygems/test_gem_dependency_list.rb
|
665
|
-
test/rubygems/test_gem_dependency_resolution_error.rb
|
666
|
-
test/rubygems/test_gem_doctor.rb
|
667
|
-
test/rubygems/test_gem_ext_builder.rb
|
668
|
-
test/rubygems/test_gem_ext_cargo_builder.rb
|
669
|
-
test/rubygems/test_gem_ext_cargo_builder/custom_name/.gitignore
|
670
|
-
test/rubygems/test_gem_ext_cargo_builder/custom_name/custom_name.gemspec
|
671
|
-
test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/Cargo.lock
|
672
|
-
test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/Cargo.toml
|
673
|
-
test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/src/lib.rs
|
674
|
-
test/rubygems/test_gem_ext_cargo_builder/custom_name/lib/custom_name.rb
|
675
|
-
test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/.gitignore
|
676
|
-
test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock
|
677
|
-
test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml
|
678
|
-
test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/rust_ruby_example.gemspec
|
679
|
-
test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/src/lib.rs
|
680
|
-
test/rubygems/test_gem_ext_cargo_builder_link_flag_converter.rb
|
681
|
-
test/rubygems/test_gem_ext_cargo_builder_unit.rb
|
682
|
-
test/rubygems/test_gem_ext_cmake_builder.rb
|
683
|
-
test/rubygems/test_gem_ext_configure_builder.rb
|
684
|
-
test/rubygems/test_gem_ext_ext_conf_builder.rb
|
685
|
-
test/rubygems/test_gem_ext_rake_builder.rb
|
686
|
-
test/rubygems/test_gem_gem_runner.rb
|
687
|
-
test/rubygems/test_gem_gemcutter_utilities.rb
|
688
|
-
test/rubygems/test_gem_impossible_dependencies_error.rb
|
689
|
-
test/rubygems/test_gem_indexer.rb
|
690
|
-
test/rubygems/test_gem_install_update_options.rb
|
691
|
-
test/rubygems/test_gem_installer.rb
|
692
|
-
test/rubygems/test_gem_local_remote_options.rb
|
693
|
-
test/rubygems/test_gem_name_tuple.rb
|
694
|
-
test/rubygems/test_gem_package.rb
|
695
|
-
test/rubygems/test_gem_package_old.rb
|
696
|
-
test/rubygems/test_gem_package_tar_header.rb
|
697
|
-
test/rubygems/test_gem_package_tar_reader.rb
|
698
|
-
test/rubygems/test_gem_package_tar_reader_entry.rb
|
699
|
-
test/rubygems/test_gem_package_tar_writer.rb
|
700
|
-
test/rubygems/test_gem_package_task.rb
|
701
|
-
test/rubygems/test_gem_path_support.rb
|
702
|
-
test/rubygems/test_gem_platform.rb
|
703
|
-
test/rubygems/test_gem_rdoc.rb
|
704
|
-
test/rubygems/test_gem_remote_fetcher.rb
|
705
|
-
test/rubygems/test_gem_request.rb
|
706
|
-
test/rubygems/test_gem_request_connection_pools.rb
|
707
|
-
test/rubygems/test_gem_request_set.rb
|
708
|
-
test/rubygems/test_gem_request_set_gem_dependency_api.rb
|
709
|
-
test/rubygems/test_gem_request_set_lockfile.rb
|
710
|
-
test/rubygems/test_gem_request_set_lockfile_parser.rb
|
711
|
-
test/rubygems/test_gem_request_set_lockfile_tokenizer.rb
|
712
|
-
test/rubygems/test_gem_requirement.rb
|
713
|
-
test/rubygems/test_gem_resolver.rb
|
714
|
-
test/rubygems/test_gem_resolver_activation_request.rb
|
715
|
-
test/rubygems/test_gem_resolver_api_set.rb
|
716
|
-
test/rubygems/test_gem_resolver_api_specification.rb
|
717
|
-
test/rubygems/test_gem_resolver_best_set.rb
|
718
|
-
test/rubygems/test_gem_resolver_composed_set.rb
|
719
|
-
test/rubygems/test_gem_resolver_conflict.rb
|
720
|
-
test/rubygems/test_gem_resolver_dependency_request.rb
|
721
|
-
test/rubygems/test_gem_resolver_git_set.rb
|
722
|
-
test/rubygems/test_gem_resolver_git_specification.rb
|
723
|
-
test/rubygems/test_gem_resolver_index_set.rb
|
724
|
-
test/rubygems/test_gem_resolver_index_specification.rb
|
725
|
-
test/rubygems/test_gem_resolver_installed_specification.rb
|
726
|
-
test/rubygems/test_gem_resolver_installer_set.rb
|
727
|
-
test/rubygems/test_gem_resolver_local_specification.rb
|
728
|
-
test/rubygems/test_gem_resolver_lock_set.rb
|
729
|
-
test/rubygems/test_gem_resolver_lock_specification.rb
|
730
|
-
test/rubygems/test_gem_resolver_requirement_list.rb
|
731
|
-
test/rubygems/test_gem_resolver_specification.rb
|
732
|
-
test/rubygems/test_gem_resolver_vendor_set.rb
|
733
|
-
test/rubygems/test_gem_resolver_vendor_specification.rb
|
734
|
-
test/rubygems/test_gem_security.rb
|
735
|
-
test/rubygems/test_gem_security_policy.rb
|
736
|
-
test/rubygems/test_gem_security_signer.rb
|
737
|
-
test/rubygems/test_gem_security_trust_dir.rb
|
738
|
-
test/rubygems/test_gem_silent_ui.rb
|
739
|
-
test/rubygems/test_gem_source.rb
|
740
|
-
test/rubygems/test_gem_source_fetch_problem.rb
|
741
|
-
test/rubygems/test_gem_source_git.rb
|
742
|
-
test/rubygems/test_gem_source_installed.rb
|
743
|
-
test/rubygems/test_gem_source_list.rb
|
744
|
-
test/rubygems/test_gem_source_local.rb
|
745
|
-
test/rubygems/test_gem_source_lock.rb
|
746
|
-
test/rubygems/test_gem_source_specific_file.rb
|
747
|
-
test/rubygems/test_gem_source_subpath_problem.rb
|
748
|
-
test/rubygems/test_gem_source_vendor.rb
|
749
|
-
test/rubygems/test_gem_spec_fetcher.rb
|
750
|
-
test/rubygems/test_gem_specification.rb
|
751
|
-
test/rubygems/test_gem_stream_ui.rb
|
752
|
-
test/rubygems/test_gem_stub_specification.rb
|
753
|
-
test/rubygems/test_gem_text.rb
|
754
|
-
test/rubygems/test_gem_uninstaller.rb
|
755
|
-
test/rubygems/test_gem_unsatisfiable_dependency_error.rb
|
756
|
-
test/rubygems/test_gem_update_suggestion.rb
|
757
|
-
test/rubygems/test_gem_uri.rb
|
758
|
-
test/rubygems/test_gem_uri_formatter.rb
|
759
|
-
test/rubygems/test_gem_util.rb
|
760
|
-
test/rubygems/test_gem_validator.rb
|
761
|
-
test/rubygems/test_gem_version.rb
|
762
|
-
test/rubygems/test_gem_version_option.rb
|
763
|
-
test/rubygems/test_kernel.rb
|
764
|
-
test/rubygems/test_project_sanity.rb
|
765
|
-
test/rubygems/test_remote_fetch_error.rb
|
766
|
-
test/rubygems/test_require.rb
|
767
|
-
test/rubygems/test_rubygems.rb
|
768
|
-
test/rubygems/test_webauthn_listener.rb
|
769
|
-
test/rubygems/test_webauthn_listener_response.rb
|
770
|
-
test/rubygems/test_webauthn_poller.rb
|
771
|
-
test/rubygems/utilities.rb
|
772
|
-
test/rubygems/wrong_key_cert.pem
|
773
|
-
test/rubygems/wrong_key_cert_32.pem
|
774
|
-
test/test_changelog_generator.rb
|
data/README.md
CHANGED
@@ -27,9 +27,7 @@ For more information about how to use RubyGems, see our RubyGems basics guide at
|
|
27
27
|
|
28
28
|
## Requirements
|
29
29
|
|
30
|
-
* RubyGems
|
31
|
-
* RubyGems 2.7 supports Ruby 2.5 or lower.
|
32
|
-
* RubyGems 3.0 supports Ruby 2.3 or later.
|
30
|
+
* RubyGems supports Ruby 3.0 or later.
|
33
31
|
|
34
32
|
## Installation
|
35
33
|
|
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,55 @@
|
|
1
|
+
# 2.5.0 (December 15, 2023)
|
2
|
+
|
3
|
+
## Breaking changes:
|
4
|
+
|
5
|
+
- Drop ruby 2.6 and 2.7 support [#7116](https://github.com/rubygems/rubygems/pull/7116)
|
6
|
+
- The `:mswin`, `:mswin64`, `:mingw`, and `:x64_mingw` Gemfile `platform` values are soft-deprecated and aliased to `:windows` [#6391](https://github.com/rubygems/rubygems/pull/6391)
|
7
|
+
|
8
|
+
## Features:
|
9
|
+
|
10
|
+
- Leverage ruby feature to warn when requiring default gems not included in the bundle that will be turned into bundled gems in the future [#6831](https://github.com/rubygems/rubygems/pull/6831)
|
11
|
+
- Introduce `bundle config set version` feature to choose the version of Bundler that should be used and potentially disable using the `lockfile` version by setting it to `system` [#6817](https://github.com/rubygems/rubygems/pull/6817)
|
12
|
+
|
13
|
+
## Performance:
|
14
|
+
|
15
|
+
- Use match? when regexp match data is unused [#7263](https://github.com/rubygems/rubygems/pull/7263)
|
16
|
+
- Avoid some allocations when evaluating `ruby` Gemfile DSL [#7251](https://github.com/rubygems/rubygems/pull/7251)
|
17
|
+
- Reduce array allocations when loading definition [#7199](https://github.com/rubygems/rubygems/pull/7199)
|
18
|
+
- Avoid re-compiling static regexp in a loop [#7198](https://github.com/rubygems/rubygems/pull/7198)
|
19
|
+
- Reduce allocations when installing gems with bundler [#6977](https://github.com/rubygems/rubygems/pull/6977)
|
20
|
+
- Use a shared connection pool for fetching gems [#7079](https://github.com/rubygems/rubygems/pull/7079)
|
21
|
+
- Reduce allocations when parsing compact index [#6971](https://github.com/rubygems/rubygems/pull/6971)
|
22
|
+
|
23
|
+
## Enhancements:
|
24
|
+
|
25
|
+
- Add 3.4 as a supported ruby version in Gemfile DSL [#7264](https://github.com/rubygems/rubygems/pull/7264)
|
26
|
+
- Improve install advice when some gems are not found [#7265](https://github.com/rubygems/rubygems/pull/7265)
|
27
|
+
- Vendor `net-http`, `net-protocol`, `resolv`, and `timeout` to reduce conflicts between Gemfile gems and internal dependencies [#6793](https://github.com/rubygems/rubygems/pull/6793)
|
28
|
+
- Allow `bundle pristine` to run in parallel [#6927](https://github.com/rubygems/rubygems/pull/6927)
|
29
|
+
- Make `bundle lock` always touch the lockfile in non-frozen mode [#7220](https://github.com/rubygems/rubygems/pull/7220)
|
30
|
+
- Use `Minitest::TestTask` in a template file for `minitest` [#7234](https://github.com/rubygems/rubygems/pull/7234)
|
31
|
+
- Add missing services to CI detection and make it consistent between RubyGems and Bundler [#7205](https://github.com/rubygems/rubygems/pull/7205)
|
32
|
+
- Allow auto-install to install missing git gems [#7197](https://github.com/rubygems/rubygems/pull/7197)
|
33
|
+
- Stop remembering cli flags like `--jobs` or `--retry` in configuration [#7191](https://github.com/rubygems/rubygems/pull/7191)
|
34
|
+
- Simplify remembered flags deprecation message [#7189](https://github.com/rubygems/rubygems/pull/7189)
|
35
|
+
- Make sure to `require "rubygems"` explicitly [#7139](https://github.com/rubygems/rubygems/pull/7139)
|
36
|
+
- Handle development dependencies duplicated in gemspec vs Gemfile [#6014](https://github.com/rubygems/rubygems/pull/6014)
|
37
|
+
- Make lockfiles generated on macOS include a lock for Linux by default [#5700](https://github.com/rubygems/rubygems/pull/5700)
|
38
|
+
- Only add a dummy bundler spec to the metadata source when necessary [#4443](https://github.com/rubygems/rubygems/pull/4443)
|
39
|
+
|
40
|
+
## Bug fixes:
|
41
|
+
|
42
|
+
- Resolve `ruby file: ".ruby-version"` relative to containing Gemfile [#7250](https://github.com/rubygems/rubygems/pull/7250)
|
43
|
+
- Implement opaque ETag in Compact Index to avoid falling back to old index in servers with different etag implementations [#7122](https://github.com/rubygems/rubygems/pull/7122)
|
44
|
+
- Fix `bundle install --system` deprecation advice [#7190](https://github.com/rubygems/rubygems/pull/7190)
|
45
|
+
- Fix invalid platform removal missing adjacent platforms [#7170](https://github.com/rubygems/rubygems/pull/7170)
|
46
|
+
|
47
|
+
## Documentation:
|
48
|
+
|
49
|
+
- Add missing --prefer-local to Synopsis in bundle-install.1.ronn [#7194](https://github.com/rubygems/rubygems/pull/7194)
|
50
|
+
- Update GitHub organization of Standard Ruby in `bundle gem` output and generated configuration [#6818](https://github.com/rubygems/rubygems/pull/6818)
|
51
|
+
- Replace "prior to" with "immediately after" in `bundle gem` generated README file [#6338](https://github.com/rubygems/rubygems/pull/6338)
|
52
|
+
|
1
53
|
# 2.4.22 (November 9, 2023)
|
2
54
|
|
3
55
|
## Enhancements:
|
@@ -757,6 +809,7 @@
|
|
757
809
|
|
758
810
|
## Enhancements:
|
759
811
|
|
812
|
+
- Cancel deprecation of custom git sources [#5147](https://github.com/rubygems/rubygems/pull/5147)
|
760
813
|
- Print warning when running Bundler on potentially problematic RubyGems & Ruby combinations [#5177](https://github.com/rubygems/rubygems/pull/5177)
|
761
814
|
- Error tracing should be printed to stderr [#5179](https://github.com/rubygems/rubygems/pull/5179)
|
762
815
|
- Add `github` and `ref` options to `bundle add` [#5159](https://github.com/rubygems/rubygems/pull/5159)
|
data/bundler/bundler.gemspec
CHANGED
@@ -29,8 +29,10 @@ Gem::Specification.new do |s|
|
|
29
29
|
"source_code_uri" => "https://github.com/rubygems/rubygems/tree/master/bundler",
|
30
30
|
}
|
31
31
|
|
32
|
-
s.required_ruby_version = ">=
|
33
|
-
|
32
|
+
s.required_ruby_version = ">= 3.0.0"
|
33
|
+
|
34
|
+
# It should match the RubyGems version shipped with `required_ruby_version` above
|
35
|
+
s.required_rubygems_version = ">= 3.2.3"
|
34
36
|
|
35
37
|
s.files = Dir.glob("lib/bundler{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
|
36
38
|
|
data/bundler/exe/bundle
CHANGED
@@ -15,15 +15,6 @@ end
|
|
15
15
|
|
16
16
|
require "bundler"
|
17
17
|
|
18
|
-
if Gem.rubygems_version < Gem::Version.new("3.2.3") && Gem.ruby_version < Gem::Version.new("2.7.a") && !ENV["BUNDLER_NO_OLD_RUBYGEMS_WARNING"]
|
19
|
-
Bundler.ui.warn \
|
20
|
-
"Your RubyGems version (#{Gem::VERSION}) has a bug that prevents " \
|
21
|
-
"`required_ruby_version` from working for Bundler. Any scripts that use " \
|
22
|
-
"`gem install bundler` will break as soon as Bundler drops support for " \
|
23
|
-
"your Ruby version. Please upgrade RubyGems to avoid future breakage " \
|
24
|
-
"and silence this warning by running `gem update --system 3.2.3`"
|
25
|
-
end
|
26
|
-
|
27
18
|
require "bundler/friendly_errors"
|
28
19
|
|
29
20
|
Bundler.with_friendly_errors do
|
@@ -34,5 +25,5 @@ Bundler.with_friendly_errors do
|
|
34
25
|
help_flag_used = ARGV.any? {|a| help_flags.include? a }
|
35
26
|
args = help_flag_used ? Bundler::CLI.reformatted_help_args(ARGV) : ARGV
|
36
27
|
|
37
|
-
Bundler::CLI.start(args, :
|
28
|
+
Bundler::CLI.start(args, debug: true)
|
38
29
|
end
|
@@ -4,8 +4,8 @@ module Bundler
|
|
4
4
|
# Represents metadata from when the Bundler gem was built.
|
5
5
|
module BuildMetadata
|
6
6
|
# begin ivars
|
7
|
-
@built_at = "2023-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2023-12-15".freeze
|
8
|
+
@git_commit_sha = "58fdbff35a".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
@@ -31,7 +31,7 @@ module Bundler
|
|
31
31
|
# commit instance variable then we can't determine its commits SHA.
|
32
32
|
git_dir = File.expand_path("../../../.git", __dir__)
|
33
33
|
if File.directory?(git_dir)
|
34
|
-
return @git_commit_sha = IO.popen(%w[git rev-parse --short HEAD], { :
|
34
|
+
return @git_commit_sha = IO.popen(%w[git rev-parse --short HEAD], { chdir: git_dir }, &:read).strip.freeze
|
35
35
|
end
|
36
36
|
|
37
37
|
@git_commit_sha ||= "unknown"
|
@@ -17,6 +17,6 @@ end
|
|
17
17
|
|
18
18
|
Capistrano::Configuration.instance(:must_exist).load do
|
19
19
|
before "deploy:finalize_update", "bundle:install"
|
20
|
-
Bundler::Deployment.define_task(self, :task, :
|
20
|
+
Bundler::Deployment.define_task(self, :task, except: { no_release: true })
|
21
21
|
set :rake, lambda { "#{fetch(:bundle_cmd, "bundle")} exec rake" }
|
22
22
|
end
|