rubygems-update 3.3.18 → 3.3.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/Manifest.txt +1 -0
- data/bin/gem +2 -2
- data/bin/update_rubygems +4 -4
- data/bundler/CHANGELOG.md +29 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/common.rb +1 -0
- data/bundler/lib/bundler/definition.rb +31 -12
- data/bundler/lib/bundler/dsl.rb +2 -2
- data/bundler/lib/bundler/incomplete_specification.rb +12 -0
- data/bundler/lib/bundler/index.rb +10 -12
- data/bundler/lib/bundler/lazy_specification.rb +15 -6
- data/bundler/lib/bundler/man/bundle-add.1 +1 -1
- data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
- data/bundler/lib/bundler/man/bundle-check.1 +1 -1
- data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
- data/bundler/lib/bundler/man/bundle-config.1 +13 -3
- data/bundler/lib/bundler/man/bundle-config.1.ronn +9 -2
- data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
- data/bundler/lib/bundler/man/bundle-exec.1 +2 -2
- data/bundler/lib/bundler/man/bundle-exec.1.ronn +1 -1
- data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
- data/bundler/lib/bundler/man/bundle-info.1 +1 -1
- data/bundler/lib/bundler/man/bundle-init.1 +1 -1
- data/bundler/lib/bundler/man/bundle-inject.1 +5 -2
- data/bundler/lib/bundler/man/bundle-inject.1.ronn +3 -1
- data/bundler/lib/bundler/man/bundle-install.1 +1 -1
- data/bundler/lib/bundler/man/bundle-list.1 +1 -1
- data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
- data/bundler/lib/bundler/man/bundle-open.1 +1 -1
- data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
- data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
- data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
- data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
- data/bundler/lib/bundler/man/bundle-show.1 +1 -1
- data/bundler/lib/bundler/man/bundle-update.1 +1 -1
- data/bundler/lib/bundler/man/bundle-viz.1 +4 -1
- data/bundler/lib/bundler/man/bundle-viz.1.ronn +2 -0
- data/bundler/lib/bundler/man/bundle.1 +3 -3
- data/bundler/lib/bundler/man/bundle.1.ronn +2 -2
- data/bundler/lib/bundler/man/gemfile.5 +16 -10
- data/bundler/lib/bundler/man/gemfile.5.ronn +23 -16
- data/bundler/lib/bundler/remote_specification.rb +5 -4
- data/bundler/lib/bundler/resolver.rb +5 -6
- data/bundler/lib/bundler/rubygems_gem_installer.rb +19 -12
- data/bundler/lib/bundler/settings.rb +1 -0
- data/bundler/lib/bundler/spec_set.rb +29 -21
- data/bundler/lib/bundler/version.rb +1 -1
- data/bundler/lib/bundler.rb +1 -0
- data/lib/rubygems/basic_specification.rb +2 -2
- data/lib/rubygems/command.rb +19 -19
- data/lib/rubygems/command_manager.rb +9 -9
- data/lib/rubygems/commands/build_command.rb +8 -8
- data/lib/rubygems/commands/cert_command.rb +32 -32
- data/lib/rubygems/commands/check_command.rb +20 -20
- data/lib/rubygems/commands/cleanup_command.rb +16 -16
- data/lib/rubygems/commands/contents_command.rb +12 -12
- data/lib/rubygems/commands/dependency_command.rb +12 -12
- data/lib/rubygems/commands/environment_command.rb +5 -5
- data/lib/rubygems/commands/fetch_command.rb +6 -6
- data/lib/rubygems/commands/generate_index_command.rb +15 -15
- data/lib/rubygems/commands/help_command.rb +3 -3
- data/lib/rubygems/commands/info_command.rb +3 -3
- data/lib/rubygems/commands/install_command.rb +13 -13
- data/lib/rubygems/commands/list_command.rb +3 -3
- data/lib/rubygems/commands/lock_command.rb +4 -4
- data/lib/rubygems/commands/mirror_command.rb +3 -3
- data/lib/rubygems/commands/open_command.rb +9 -9
- data/lib/rubygems/commands/outdated_command.rb +5 -5
- data/lib/rubygems/commands/owner_command.rb +11 -11
- data/lib/rubygems/commands/pristine_command.rb +31 -31
- data/lib/rubygems/commands/push_command.rb +8 -8
- data/lib/rubygems/commands/query_command.rb +8 -8
- data/lib/rubygems/commands/rdoc_command.rb +17 -17
- data/lib/rubygems/commands/search_command.rb +3 -3
- data/lib/rubygems/commands/server_command.rb +3 -3
- data/lib/rubygems/commands/setup_command.rb +92 -102
- data/lib/rubygems/commands/signin_command.rb +9 -9
- data/lib/rubygems/commands/signout_command.rb +7 -7
- data/lib/rubygems/commands/sources_command.rb +19 -19
- data/lib/rubygems/commands/specification_command.rb +11 -11
- data/lib/rubygems/commands/stale_command.rb +2 -2
- data/lib/rubygems/commands/uninstall_command.rb +36 -36
- data/lib/rubygems/commands/unpack_command.rb +12 -12
- data/lib/rubygems/commands/update_command.rb +35 -51
- data/lib/rubygems/commands/which_command.rb +6 -6
- data/lib/rubygems/commands/yank_command.rb +11 -11
- data/lib/rubygems/config_file.rb +14 -14
- data/lib/rubygems/core_ext/kernel_gem.rb +1 -1
- data/lib/rubygems/core_ext/kernel_require.rb +1 -1
- 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 -15
- data/lib/rubygems/dependency.rb +4 -4
- data/lib/rubygems/dependency_installer.rb +8 -8
- data/lib/rubygems/dependency_list.rb +2 -2
- data/lib/rubygems/doctor.rb +16 -16
- data/lib/rubygems/errors.rb +2 -2
- data/lib/rubygems/exceptions.rb +4 -4
- data/lib/rubygems/ext/build_error.rb +1 -1
- data/lib/rubygems/ext/builder.rb +16 -16
- data/lib/rubygems/ext/cargo_builder.rb +7 -7
- data/lib/rubygems/ext/cmake_builder.rb +2 -2
- data/lib/rubygems/ext/configure_builder.rb +1 -1
- data/lib/rubygems/ext/ext_conf_builder.rb +6 -6
- data/lib/rubygems/ext/rake_builder.rb +3 -3
- data/lib/rubygems/ext.rb +7 -7
- data/lib/rubygems/gem_runner.rb +5 -5
- data/lib/rubygems/gemcutter_utilities.rb +30 -27
- data/lib/rubygems/indexer.rb +24 -24
- data/lib/rubygems/install_default_message.rb +2 -2
- data/lib/rubygems/install_message.rb +2 -2
- data/lib/rubygems/install_update_options.rb +55 -55
- data/lib/rubygems/installer.rb +27 -27
- data/lib/rubygems/installer_uninstaller_utils.rb +2 -2
- data/lib/rubygems/local_remote_options.rb +18 -20
- data/lib/rubygems/mock_gem_ui.rb +2 -2
- data/lib/rubygems/name_tuple.rb +1 -1
- data/lib/rubygems/optparse.rb +1 -1
- data/lib/rubygems/package/file_source.rb +2 -2
- data/lib/rubygems/package/old.rb +8 -8
- data/lib/rubygems/package/tar_header.rb +33 -33
- data/lib/rubygems/package/tar_reader/entry.rb +2 -2
- data/lib/rubygems/package/tar_reader.rb +1 -1
- data/lib/rubygems/package/tar_writer.rb +6 -6
- data/lib/rubygems/package.rb +35 -35
- data/lib/rubygems/package_task.rb +4 -4
- data/lib/rubygems/platform.rb +42 -42
- data/lib/rubygems/psych_tree.rb +1 -1
- data/lib/rubygems/query_utils.rb +27 -27
- data/lib/rubygems/rdoc.rb +2 -2
- data/lib/rubygems/remote_fetcher.rb +19 -19
- data/lib/rubygems/request/connection_pools.rb +2 -2
- data/lib/rubygems/request.rb +21 -21
- data/lib/rubygems/request_set/gem_dependency_api.rb +15 -15
- data/lib/rubygems/request_set/lockfile/parser.rb +14 -14
- data/lib/rubygems/request_set/lockfile/tokenizer.rb +2 -2
- data/lib/rubygems/request_set/lockfile.rb +5 -5
- data/lib/rubygems/request_set.rb +14 -14
- data/lib/rubygems/requirement.rb +5 -5
- data/lib/rubygems/resolver/activation_request.rb +3 -3
- data/lib/rubygems/resolver/api_set.rb +4 -4
- data/lib/rubygems/resolver/api_specification.rb +2 -2
- data/lib/rubygems/resolver/best_set.rb +2 -2
- data/lib/rubygems/resolver/conflict.rb +7 -7
- data/lib/rubygems/resolver/dependency_request.rb +2 -2
- data/lib/rubygems/resolver/git_set.rb +2 -2
- data/lib/rubygems/resolver/git_specification.rb +3 -3
- data/lib/rubygems/resolver/index_set.rb +3 -3
- data/lib/rubygems/resolver/index_specification.rb +3 -3
- data/lib/rubygems/resolver/installed_specification.rb +2 -2
- data/lib/rubygems/resolver/installer_set.rb +4 -4
- data/lib/rubygems/resolver/local_specification.rb +2 -2
- data/lib/rubygems/resolver/lock_set.rb +3 -3
- data/lib/rubygems/resolver/lock_specification.rb +3 -3
- data/lib/rubygems/resolver/molinillo.rb +1 -1
- data/lib/rubygems/resolver/specification.rb +1 -1
- data/lib/rubygems/resolver/vendor_set.rb +1 -1
- data/lib/rubygems/resolver.rb +35 -35
- data/lib/rubygems/s3_uri_signer.rb +6 -6
- data/lib/rubygems/safe_yaml.rb +2 -2
- data/lib/rubygems/security/policies.rb +11 -11
- data/lib/rubygems/security/policy.rb +12 -12
- data/lib/rubygems/security/signer.rb +4 -4
- data/lib/rubygems/security/trust_dir.rb +3 -3
- data/lib/rubygems/security.rb +27 -27
- data/lib/rubygems/security_option.rb +5 -5
- data/lib/rubygems/source/git.rb +17 -17
- data/lib/rubygems/source/installed.rb +1 -1
- data/lib/rubygems/source/local.rb +2 -2
- data/lib/rubygems/source/specific_file.rb +1 -1
- data/lib/rubygems/source.rb +15 -15
- data/lib/rubygems/spec_fetcher.rb +8 -8
- data/lib/rubygems/specification.rb +37 -38
- data/lib/rubygems/specification_policy.rb +13 -13
- data/lib/rubygems/stub_specification.rb +5 -5
- data/lib/rubygems/tsort.rb +1 -1
- data/lib/rubygems/uninstaller.rb +14 -14
- data/lib/rubygems/uri.rb +4 -4
- data/lib/rubygems/uri_formatter.rb +1 -1
- data/lib/rubygems/user_interaction.rb +31 -17
- data/lib/rubygems/util/licenses.rb +3 -3
- data/lib/rubygems/util.rb +10 -10
- data/lib/rubygems/validator.rb +5 -5
- data/lib/rubygems/version.rb +3 -5
- data/lib/rubygems/version_option.rb +3 -3
- data/lib/rubygems.rb +59 -58
- data/rubygems-update.gemspec +2 -2
- data/setup.rb +9 -9
- data/test/rubygems/helper.rb +127 -127
- data/test/rubygems/installer_test_case.rb +13 -13
- data/test/rubygems/package/tar_test_case.rb +2 -2
- data/test/rubygems/plugin/exception/rubygems_plugin.rb +1 -1
- data/test/rubygems/plugin/standarderror/rubygems_plugin.rb +1 -1
- data/test/rubygems/rubygems_plugin.rb +2 -2
- data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +4 -4
- data/test/rubygems/test_bundled_ca.rb +10 -10
- data/test/rubygems/test_config.rb +3 -3
- data/test/rubygems/test_deprecate.rb +3 -3
- data/test/rubygems/test_exit.rb +2 -2
- data/test/rubygems/test_gem.rb +342 -342
- data/test/rubygems/test_gem_available_set.rb +21 -21
- data/test/rubygems/test_gem_bundler_version_finder.rb +1 -1
- data/test/rubygems/test_gem_command.rb +44 -44
- data/test/rubygems/test_gem_command_manager.rb +29 -29
- data/test/rubygems/test_gem_commands_build_command.rb +63 -63
- data/test/rubygems/test_gem_commands_cert_command.rb +97 -99
- data/test/rubygems/test_gem_commands_check_command.rb +4 -4
- data/test/rubygems/test_gem_commands_cleanup_command.rb +40 -40
- data/test/rubygems/test_gem_commands_contents_command.rb +27 -27
- data/test/rubygems/test_gem_commands_dependency_command.rb +36 -36
- data/test/rubygems/test_gem_commands_environment_command.rb +16 -16
- data/test/rubygems/test_gem_commands_fetch_command.rb +37 -37
- data/test/rubygems/test_gem_commands_generate_index_command.rb +7 -7
- data/test/rubygems/test_gem_commands_help_command.rb +13 -13
- data/test/rubygems/test_gem_commands_info_command.rb +2 -2
- data/test/rubygems/test_gem_commands_install_command.rb +131 -131
- data/test/rubygems/test_gem_commands_list_command.rb +4 -4
- data/test/rubygems/test_gem_commands_lock_command.rb +10 -10
- data/test/rubygems/test_gem_commands_mirror.rb +2 -2
- data/test/rubygems/test_gem_commands_open_command.rb +4 -4
- data/test/rubygems/test_gem_commands_outdated_command.rb +9 -9
- data/test/rubygems/test_gem_commands_owner_command.rb +41 -41
- data/test/rubygems/test_gem_commands_pristine_command.rb +92 -92
- data/test/rubygems/test_gem_commands_push_command.rb +54 -54
- data/test/rubygems/test_gem_commands_query_command.rb +73 -73
- data/test/rubygems/test_gem_commands_search_command.rb +2 -2
- data/test/rubygems/test_gem_commands_server_command.rb +2 -2
- data/test/rubygems/test_gem_commands_setup_command.rb +119 -85
- data/test/rubygems/test_gem_commands_signin_command.rb +45 -31
- data/test/rubygems/test_gem_commands_signout_command.rb +3 -3
- data/test/rubygems/test_gem_commands_sources_command.rb +28 -29
- data/test/rubygems/test_gem_commands_specification_command.rb +32 -32
- data/test/rubygems/test_gem_commands_stale_command.rb +4 -4
- data/test/rubygems/test_gem_commands_uninstall_command.rb +75 -75
- data/test/rubygems/test_gem_commands_unpack_command.rb +31 -31
- data/test/rubygems/test_gem_commands_update_command.rb +89 -89
- data/test/rubygems/test_gem_commands_which_command.rb +6 -6
- data/test/rubygems/test_gem_commands_yank_command.rb +40 -40
- data/test/rubygems/test_gem_config_file.rb +77 -77
- data/test/rubygems/test_gem_dependency.rb +73 -73
- data/test/rubygems/test_gem_dependency_installer.rb +165 -165
- data/test/rubygems/test_gem_dependency_list.rb +47 -47
- data/test/rubygems/test_gem_dependency_resolution_error.rb +4 -4
- data/test/rubygems/test_gem_doctor.rb +26 -26
- data/test/rubygems/test_gem_ext_builder.rb +59 -59
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.lock +6 -6
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.toml +1 -1
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb +8 -8
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/custom_name.gemspec +1 -1
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock +6 -6
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml +1 -1
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/build.rb +8 -8
- data/test/rubygems/test_gem_ext_cargo_builder.rb +26 -26
- data/test/rubygems/test_gem_ext_cargo_builder_link_flag_converter.rb +3 -3
- data/test/rubygems/test_gem_ext_cargo_builder_unit.rb +23 -23
- data/test/rubygems/test_gem_ext_cmake_builder.rb +15 -15
- data/test/rubygems/test_gem_ext_configure_builder.rb +13 -13
- data/test/rubygems/test_gem_ext_ext_conf_builder.rb +51 -52
- data/test/rubygems/test_gem_ext_rake_builder.rb +15 -15
- data/test/rubygems/test_gem_gem_runner.rb +7 -7
- data/test/rubygems/test_gem_gemcutter_utilities.rb +66 -66
- data/test/rubygems/test_gem_impossible_dependencies_error.rb +4 -4
- data/test/rubygems/test_gem_indexer.rb +48 -48
- data/test/rubygems/test_gem_install_update_options.rb +16 -16
- data/test/rubygems/test_gem_installer.rb +297 -297
- data/test/rubygems/test_gem_local_remote_options.rb +10 -10
- data/test/rubygems/test_gem_name_tuple.rb +4 -4
- data/test/rubygems/test_gem_package.rb +206 -206
- data/test/rubygems/test_gem_package_old.rb +13 -13
- data/test/rubygems/test_gem_package_tar_header.rb +42 -42
- data/test/rubygems/test_gem_package_tar_reader.rb +7 -7
- data/test/rubygems/test_gem_package_tar_reader_entry.rb +10 -10
- data/test/rubygems/test_gem_package_tar_writer.rb +76 -76
- data/test/rubygems/test_gem_package_task.rb +18 -18
- data/test/rubygems/test_gem_path_support.rb +14 -14
- data/test/rubygems/test_gem_platform.rb +227 -227
- data/test/rubygems/test_gem_rdoc.rb +14 -14
- data/test/rubygems/test_gem_remote_fetcher.rb +149 -149
- data/test/rubygems/test_gem_request.rb +55 -55
- data/test/rubygems/test_gem_request_connection_pools.rb +29 -29
- data/test/rubygems/test_gem_request_set.rb +99 -99
- data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +204 -206
- data/test/rubygems/test_gem_request_set_lockfile.rb +86 -86
- data/test/rubygems/test_gem_request_set_lockfile_parser.rb +56 -56
- data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +62 -62
- data/test/rubygems/test_gem_requirement.rb +38 -38
- data/test/rubygems/test_gem_resolver.rb +98 -98
- data/test/rubygems/test_gem_resolver_activation_request.rb +6 -6
- data/test/rubygems/test_gem_resolver_api_set.rb +33 -33
- data/test/rubygems/test_gem_resolver_api_specification.rb +47 -47
- data/test/rubygems/test_gem_resolver_best_set.rb +22 -22
- data/test/rubygems/test_gem_resolver_composed_set.rb +1 -1
- data/test/rubygems/test_gem_resolver_conflict.rb +12 -12
- data/test/rubygems/test_gem_resolver_dependency_request.rb +15 -15
- data/test/rubygems/test_gem_resolver_git_set.rb +21 -21
- data/test/rubygems/test_gem_resolver_git_specification.rb +21 -21
- data/test/rubygems/test_gem_resolver_index_set.rb +12 -12
- data/test/rubygems/test_gem_resolver_index_specification.rb +15 -15
- data/test/rubygems/test_gem_resolver_installed_specification.rb +5 -5
- data/test/rubygems/test_gem_resolver_installer_set.rb +34 -34
- data/test/rubygems/test_gem_resolver_local_specification.rb +7 -7
- data/test/rubygems/test_gem_resolver_lock_set.rb +12 -12
- data/test/rubygems/test_gem_resolver_lock_specification.rb +17 -17
- data/test/rubygems/test_gem_resolver_requirement_list.rb +1 -1
- data/test/rubygems/test_gem_resolver_specification.rb +8 -8
- data/test/rubygems/test_gem_resolver_vendor_set.rb +6 -6
- data/test/rubygems/test_gem_resolver_vendor_specification.rb +10 -10
- data/test/rubygems/test_gem_security.rb +67 -67
- data/test/rubygems/test_gem_security_policy.rb +62 -62
- data/test/rubygems/test_gem_security_signer.rb +28 -28
- data/test/rubygems/test_gem_security_trust_dir.rb +4 -4
- data/test/rubygems/test_gem_silent_ui.rb +38 -32
- data/test/rubygems/test_gem_source.rb +44 -44
- data/test/rubygems/test_gem_source_fetch_problem.rb +9 -9
- data/test/rubygems/test_gem_source_git.rb +59 -59
- data/test/rubygems/test_gem_source_installed.rb +16 -16
- data/test/rubygems/test_gem_source_list.rb +5 -5
- data/test/rubygems/test_gem_source_local.rb +14 -14
- data/test/rubygems/test_gem_source_lock.rb +31 -31
- data/test/rubygems/test_gem_source_specific_file.rb +17 -17
- data/test/rubygems/test_gem_source_subpath_problem.rb +7 -7
- data/test/rubygems/test_gem_source_vendor.rb +13 -13
- data/test/rubygems/test_gem_spec_fetcher.rb +72 -72
- data/test/rubygems/test_gem_specification.rb +434 -435
- data/test/rubygems/test_gem_stream_ui.rb +19 -19
- data/test/rubygems/test_gem_stub_specification.rb +32 -32
- data/test/rubygems/test_gem_text.rb +1 -1
- data/test/rubygems/test_gem_uninstaller.rb +112 -112
- data/test/rubygems/test_gem_unsatisfiable_dependency_error.rb +3 -3
- data/test/rubygems/test_gem_uri.rb +4 -4
- data/test/rubygems/test_gem_uri_formatter.rb +14 -14
- data/test/rubygems/test_gem_util.rb +23 -23
- data/test/rubygems/test_gem_validator.rb +8 -8
- data/test/rubygems/test_gem_version.rb +13 -13
- data/test/rubygems/test_gem_version_option.rb +15 -15
- data/test/rubygems/test_kernel.rb +31 -31
- data/test/rubygems/test_project_sanity.rb +1 -1
- data/test/rubygems/test_remote_fetch_error.rb +6 -6
- data/test/rubygems/test_require.rb +42 -42
- data/test/rubygems/test_rubygems.rb +8 -8
- data/test/rubygems/utilities.rb +17 -17
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c91fd55482e23e4eccd9bb36bf89d1452f1ca38d271f74818acebea8e041b7
|
4
|
+
data.tar.gz: 6cd3ad94c91573c9df933b600e4bdaba8e9f1a1355e8803aa79ce8582f781910
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 620a673d4caef7c550ff2f020a059e378366a4201fe3405b62d67b2411cf0ba4d2c98c4d763c6e93104123ce27275b21a4234fdac60f2b2449c69dc918a8970e
|
7
|
+
data.tar.gz: 9db79232319706dd63ddfab73535912d820a506a08e1d0aad6166b3a070df6ce2b9653815e619261b5c1f51eda2250beb86541eff5b2b4c6e15e55fe5f6f0329
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
# 3.3.19 / 2022-07-27
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
* Display mfa warnings on `gem signin`. Pull request #5590 by aellispierce
|
6
|
+
* Require fileutils more lazily when installing gems. Pull request #5738
|
7
|
+
by deivid-rodriguez
|
8
|
+
* Fix upgrading RubyGems with a customized `Gem.default_dir`. Pull request
|
9
|
+
#5728 by deivid-rodriguez
|
10
|
+
* Stop using `/dev/null` for silent ui for WASI platform. Pull request
|
11
|
+
#5703 by kateinoigakukun
|
12
|
+
* Unify loading `Gem::Requirement`. Pull request #5596 by deivid-rodriguez
|
13
|
+
* Installs bundler 2.3.19 as a default gem.
|
14
|
+
|
15
|
+
## Bug fixes:
|
16
|
+
|
17
|
+
* Fix `ruby setup.rb` with `--destdir` writing outside of `--destdir`.
|
18
|
+
Pull request #5737 by deivid-rodriguez
|
19
|
+
|
20
|
+
## Documentation:
|
21
|
+
|
22
|
+
* Fix wrong information about default RubyGems source. Pull request #5723
|
23
|
+
by tnir
|
24
|
+
|
1
25
|
# 3.3.18 / 2022-07-14
|
2
26
|
|
3
27
|
## Enhancements:
|
data/Manifest.txt
CHANGED
@@ -80,6 +80,7 @@ bundler/lib/bundler/gem_helpers.rb
|
|
80
80
|
bundler/lib/bundler/gem_tasks.rb
|
81
81
|
bundler/lib/bundler/gem_version_promoter.rb
|
82
82
|
bundler/lib/bundler/graph.rb
|
83
|
+
bundler/lib/bundler/incomplete_specification.rb
|
83
84
|
bundler/lib/bundler/index.rb
|
84
85
|
bundler/lib/bundler/injector.rb
|
85
86
|
bundler/lib/bundler/inline.rb
|
data/bin/gem
CHANGED
data/bin/update_rubygems
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
# See LICENSE.txt for permissions.
|
6
6
|
#++
|
7
7
|
|
8
|
-
require
|
8
|
+
require "rubygems"
|
9
9
|
|
10
|
-
if ARGV.include?
|
10
|
+
if ARGV.include? "-h" or ARGV.include? "--help"
|
11
11
|
$stderr.puts "rubygems_update [options]"
|
12
12
|
$stderr.puts
|
13
13
|
$stderr.puts "This will install the latest version of RubyGems."
|
@@ -17,7 +17,7 @@ if ARGV.include? '-h' or ARGV.include? '--help'
|
|
17
17
|
end
|
18
18
|
|
19
19
|
unless ARGV.grep(/--version=([\d\.]*)/).empty?
|
20
|
-
exec Gem.ruby,
|
20
|
+
exec Gem.ruby, "-S", $PROGRAM_NAME, "_#{$1}_"
|
21
21
|
end
|
22
22
|
|
23
23
|
update_dir = $LOAD_PATH.find {|dir| dir =~ /rubygems-update/ }
|
@@ -32,5 +32,5 @@ else
|
|
32
32
|
update_dir = File.dirname(update_dir)
|
33
33
|
Dir.chdir update_dir
|
34
34
|
ENV["GEM_PREV_VER"] = Gem::VERSION
|
35
|
-
abort unless system(Gem.ruby,
|
35
|
+
abort unless system(Gem.ruby, "setup.rb", *ARGV)
|
36
36
|
end
|
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,32 @@
|
|
1
|
+
# 2.3.19 (July 27, 2022)
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
- Add `Bundler.settings[:only]` to install gems of the specified groups [#5759](https://github.com/rubygems/rubygems/pull/5759)
|
6
|
+
- Add `ignore_funding_requests` config flag [#5767](https://github.com/rubygems/rubygems/pull/5767)
|
7
|
+
- Prevent random crash when autoloading `Pathname` [#5769](https://github.com/rubygems/rubygems/pull/5769)
|
8
|
+
- Don't corrupt lockfile when user moves a gem that's already in the lockfile to an incorrect source by mistake [#5070](https://github.com/rubygems/rubygems/pull/5070)
|
9
|
+
- Reconcile error/warning message for multiple global sources with documentation [#5741](https://github.com/rubygems/rubygems/pull/5741)
|
10
|
+
- Improve error message when gems cannot be found to include the source for each gem [#5729](https://github.com/rubygems/rubygems/pull/5729)
|
11
|
+
|
12
|
+
## Bug fixes:
|
13
|
+
|
14
|
+
- Fix yet another TruffleRuby platform selection regression [#5746](https://github.com/rubygems/rubygems/pull/5746)
|
15
|
+
- Show a proper error if extension dir is not writable [#5726](https://github.com/rubygems/rubygems/pull/5726)
|
16
|
+
|
17
|
+
## Performance:
|
18
|
+
|
19
|
+
- Lazily check incomplete lockfile to improve performance [#5546](https://github.com/rubygems/rubygems/pull/5546)
|
20
|
+
|
21
|
+
## Documentation:
|
22
|
+
|
23
|
+
- Add deprecation notice of bundle inject [#5776](https://github.com/rubygems/rubygems/pull/5776)
|
24
|
+
- Add deprecation notice of `bundle viz` to man pages [#5765](https://github.com/rubygems/rubygems/pull/5765)
|
25
|
+
- Update command example in `bundle exec` man page [#5754](https://github.com/rubygems/rubygems/pull/5754)
|
26
|
+
- Remove bundle show from obsolete commands [#5753](https://github.com/rubygems/rubygems/pull/5753)
|
27
|
+
- Improve global source(s) documentation [#5732](https://github.com/rubygems/rubygems/pull/5732)
|
28
|
+
- Use https protocol for URLs for config mirror in bundler man [#5722](https://github.com/rubygems/rubygems/pull/5722)
|
29
|
+
|
1
30
|
# 2.3.18 (July 14, 2022)
|
2
31
|
|
3
32
|
## Enhancements:
|
@@ -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 = "2022-07-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2022-07-27".freeze
|
8
|
+
@git_commit_sha = "4f496f93e6".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
@@ -138,13 +138,13 @@ module Bundler
|
|
138
138
|
@unlock[:gems] ||= @dependencies.map(&:name)
|
139
139
|
else
|
140
140
|
eager_unlock = expand_dependencies(@unlock[:gems] || [], true)
|
141
|
-
@unlock[:gems] = @locked_specs.for(eager_unlock, false,
|
141
|
+
@unlock[:gems] = @locked_specs.for(eager_unlock, false, platforms).map(&:name)
|
142
142
|
end
|
143
143
|
|
144
144
|
@dependency_changes = converge_dependencies
|
145
145
|
@local_changes = converge_locals
|
146
146
|
|
147
|
-
@
|
147
|
+
@reresolve = nil
|
148
148
|
|
149
149
|
@requires = compute_requires
|
150
150
|
end
|
@@ -279,11 +279,8 @@ module Bundler
|
|
279
279
|
end
|
280
280
|
end
|
281
281
|
else
|
282
|
-
last_resolve = converge_locked_specs
|
283
|
-
# Run a resolve against the locally available gems
|
284
282
|
Bundler.ui.debug("Found changes from the lockfile, re-resolving dependencies because #{change_reason}")
|
285
|
-
|
286
|
-
Resolver.resolve(expanded_dependencies, source_requirements, last_resolve, gem_version_promoter, additional_base_requirements_for_resolve, platforms)
|
283
|
+
@reresolve = reresolve
|
287
284
|
end
|
288
285
|
end
|
289
286
|
|
@@ -468,7 +465,7 @@ module Bundler
|
|
468
465
|
private :sources
|
469
466
|
|
470
467
|
def nothing_changed?
|
471
|
-
!@source_changes && !@dependency_changes && !@new_platform && !@path_changes && !@local_changes
|
468
|
+
!@source_changes && !@dependency_changes && !@new_platform && !@path_changes && !@local_changes
|
472
469
|
end
|
473
470
|
|
474
471
|
def unlocking?
|
@@ -477,8 +474,14 @@ module Bundler
|
|
477
474
|
|
478
475
|
private
|
479
476
|
|
477
|
+
def reresolve
|
478
|
+
last_resolve = converge_locked_specs
|
479
|
+
expanded_dependencies = expand_dependencies(dependencies + metadata_dependencies, true)
|
480
|
+
Resolver.resolve(expanded_dependencies, source_requirements, last_resolve, gem_version_promoter, additional_base_requirements_for_resolve, platforms)
|
481
|
+
end
|
482
|
+
|
480
483
|
def filter_specs(specs, deps)
|
481
|
-
SpecSet.new(specs).for(expand_dependencies(deps, true), false,
|
484
|
+
SpecSet.new(specs).for(expand_dependencies(deps, true), false, platforms)
|
482
485
|
end
|
483
486
|
|
484
487
|
def materialize(dependencies)
|
@@ -495,7 +498,22 @@ module Bundler
|
|
495
498
|
"removed in order to install."
|
496
499
|
end
|
497
500
|
|
498
|
-
|
501
|
+
missing_specs_list = missing_specs.group_by(&:source).map do |source, missing_specs_for_source|
|
502
|
+
"#{missing_specs_for_source.map(&:full_name).join(", ")} in #{source}"
|
503
|
+
end
|
504
|
+
|
505
|
+
raise GemNotFound, "Could not find #{missing_specs_list.join(" nor ")}"
|
506
|
+
end
|
507
|
+
|
508
|
+
if @reresolve.nil?
|
509
|
+
incomplete_specs = specs.incomplete_specs
|
510
|
+
|
511
|
+
if incomplete_specs.any?
|
512
|
+
Bundler.ui.debug("The lockfile does not have all gems needed for the current platform though, Bundler will still re-resolve dependencies")
|
513
|
+
@unlock[:gems].concat(incomplete_specs.map(&:name))
|
514
|
+
@resolve = reresolve
|
515
|
+
specs = resolve.materialize(dependencies)
|
516
|
+
end
|
499
517
|
end
|
500
518
|
|
501
519
|
unless specs["bundler"].any?
|
@@ -545,7 +563,6 @@ module Bundler
|
|
545
563
|
[@new_platform, "you added a new platform to your gemfile"],
|
546
564
|
[@path_changes, "the gemspecs for path gems changed"],
|
547
565
|
[@local_changes, "the gemspecs for git local gems changed"],
|
548
|
-
[@locked_specs_incomplete_for_platform, "the lockfile does not have all gems needed for the current platform"],
|
549
566
|
].select(&:first).map(&:last).join(", ")
|
550
567
|
end
|
551
568
|
|
@@ -721,7 +738,7 @@ module Bundler
|
|
721
738
|
# if we won't need the source (according to the lockfile),
|
722
739
|
# don't error if the path/git source isn't available
|
723
740
|
next if specs.
|
724
|
-
for(requested_dependencies, false
|
741
|
+
for(requested_dependencies, false).
|
725
742
|
none? {|locked_spec| locked_spec.source == s.source }
|
726
743
|
|
727
744
|
raise
|
@@ -789,7 +806,9 @@ module Bundler
|
|
789
806
|
end
|
790
807
|
|
791
808
|
def requested_groups
|
792
|
-
groups - Bundler.settings[:without] - @optional_groups + Bundler.settings[:with]
|
809
|
+
values = groups - Bundler.settings[:without] - @optional_groups + Bundler.settings[:with]
|
810
|
+
values &= Bundler.settings[:only] unless Bundler.settings[:only].empty?
|
811
|
+
values
|
793
812
|
end
|
794
813
|
|
795
814
|
def lockfiles_equal?(current, proposed, preserve_unknown_sections)
|
data/bundler/lib/bundler/dsl.rb
CHANGED
@@ -465,12 +465,12 @@ module Bundler
|
|
465
465
|
|
466
466
|
def multiple_global_source_warning
|
467
467
|
if Bundler.feature_flag.bundler_3_mode?
|
468
|
-
msg = "This Gemfile contains multiple
|
468
|
+
msg = "This Gemfile contains multiple global sources. " \
|
469
469
|
"Each source after the first must include a block to indicate which gems " \
|
470
470
|
"should come from that source"
|
471
471
|
raise GemfileEvalError, msg
|
472
472
|
else
|
473
|
-
Bundler::SharedHelpers.major_deprecation 2, "Your Gemfile contains multiple
|
473
|
+
Bundler::SharedHelpers.major_deprecation 2, "Your Gemfile contains multiple global sources. " \
|
474
474
|
"Using `source` more than once without a block is a security risk, and " \
|
475
475
|
"may result in installing unexpected gems. To resolve this warning, use " \
|
476
476
|
"a block to indicate which gems should come from the secondary source."
|
@@ -56,17 +56,17 @@ module Bundler
|
|
56
56
|
|
57
57
|
# Search this index's specs, and any source indexes that this index knows
|
58
58
|
# about, returning all of the results.
|
59
|
-
def search(query
|
60
|
-
sort_specs(unsorted_search(query
|
59
|
+
def search(query)
|
60
|
+
sort_specs(unsorted_search(query))
|
61
61
|
end
|
62
62
|
|
63
|
-
def unsorted_search(query
|
64
|
-
results = local_search(query
|
63
|
+
def unsorted_search(query)
|
64
|
+
results = local_search(query)
|
65
65
|
|
66
66
|
seen = results.map(&:full_name).uniq unless @sources.empty?
|
67
67
|
|
68
68
|
@sources.each do |source|
|
69
|
-
source.unsorted_search(query
|
69
|
+
source.unsorted_search(query).each do |spec|
|
70
70
|
next if seen.include?(spec.full_name)
|
71
71
|
|
72
72
|
seen << spec.full_name
|
@@ -89,12 +89,12 @@ module Bundler
|
|
89
89
|
self.class.sort_specs(specs)
|
90
90
|
end
|
91
91
|
|
92
|
-
def local_search(query
|
92
|
+
def local_search(query)
|
93
93
|
case query
|
94
94
|
when Gem::Specification, RemoteSpecification, LazySpecification, EndpointSpecification then search_by_spec(query)
|
95
95
|
when String then specs_by_name(query)
|
96
|
-
when Gem::Dependency then search_by_dependency(query
|
97
|
-
when DepProxy then search_by_dependency(query.dep
|
96
|
+
when Gem::Dependency then search_by_dependency(query)
|
97
|
+
when DepProxy then search_by_dependency(query.dep)
|
98
98
|
else
|
99
99
|
raise "You can't search for a #{query.inspect}."
|
100
100
|
end
|
@@ -185,11 +185,9 @@ module Bundler
|
|
185
185
|
@specs[name].values
|
186
186
|
end
|
187
187
|
|
188
|
-
def search_by_dependency(dependency
|
189
|
-
@cache[
|
190
|
-
@cache[base || false][dependency] ||= begin
|
188
|
+
def search_by_dependency(dependency)
|
189
|
+
@cache[dependency] ||= begin
|
191
190
|
specs = specs_by_name(dependency.name)
|
192
|
-
specs += base if base
|
193
191
|
found = specs.select do |spec|
|
194
192
|
next true if spec.source.is_a?(Source::Gemspec)
|
195
193
|
dependency.matches_spec?(spec)
|
@@ -19,7 +19,7 @@ module Bundler
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def full_name
|
22
|
-
if platform == Gem::Platform::RUBY
|
22
|
+
if platform == Gem::Platform::RUBY
|
23
23
|
"#{@name}-#{@version}"
|
24
24
|
else
|
25
25
|
"#{@name}-#{@version}-#{platform}"
|
@@ -61,7 +61,7 @@ module Bundler
|
|
61
61
|
def to_lock
|
62
62
|
out = String.new
|
63
63
|
|
64
|
-
if platform == Gem::Platform::RUBY
|
64
|
+
if platform == Gem::Platform::RUBY
|
65
65
|
out << " #{name} (#{version})\n"
|
66
66
|
else
|
67
67
|
out << " #{name} (#{version}-#{platform})\n"
|
@@ -75,7 +75,17 @@ module Bundler
|
|
75
75
|
out
|
76
76
|
end
|
77
77
|
|
78
|
-
def
|
78
|
+
def materialize_for_installation
|
79
|
+
__materialize__(ruby_platform_materializes_to_ruby_platform? ? platform : Bundler.local_platform)
|
80
|
+
end
|
81
|
+
|
82
|
+
def materialize_for_resolution
|
83
|
+
return self unless Gem::Platform.match_spec?(self)
|
84
|
+
|
85
|
+
__materialize__(platform)
|
86
|
+
end
|
87
|
+
|
88
|
+
def __materialize__(platform)
|
79
89
|
@specification = if source.is_a?(Source::Gemspec) && source.gemspec.name == name
|
80
90
|
source.gemspec.tap {|s| s.source = source }
|
81
91
|
else
|
@@ -84,10 +94,9 @@ module Bundler
|
|
84
94
|
else
|
85
95
|
ruby_platform_materializes_to_ruby_platform? ? self : Dependency.new(name, version)
|
86
96
|
end
|
87
|
-
platform_object = ruby_platform_materializes_to_ruby_platform? ? Gem::Platform.new(platform) : Gem::Platform.local
|
88
97
|
candidates = source.specs.search(search_object)
|
89
98
|
same_platform_candidates = candidates.select do |spec|
|
90
|
-
MatchPlatform.platforms_match?(spec.platform,
|
99
|
+
MatchPlatform.platforms_match?(spec.platform, platform)
|
91
100
|
end
|
92
101
|
installable_candidates = same_platform_candidates.select do |spec|
|
93
102
|
spec.is_a?(StubSpecification) ||
|
@@ -105,7 +114,7 @@ module Bundler
|
|
105
114
|
end
|
106
115
|
|
107
116
|
def to_s
|
108
|
-
@__to_s ||= if platform == Gem::Platform::RUBY
|
117
|
+
@__to_s ||= if platform == Gem::Platform::RUBY
|
109
118
|
"#{name} (#{version})"
|
110
119
|
else
|
111
120
|
"#{name} (#{version}-#{platform})"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CACHE" "1" "
|
4
|
+
.TH "BUNDLE\-CACHE" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CHECK" "1" "
|
4
|
+
.TH "BUNDLE\-CHECK" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CONFIG" "1" "
|
4
|
+
.TH "BUNDLE\-CONFIG" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-config\fR \- Set bundler configuration options
|
@@ -74,6 +74,10 @@ Creates a directory (defaults to \fB~/bin\fR) and place any executables from the
|
|
74
74
|
In deployment mode, Bundler will \'roll\-out\' the bundle for \fBproduction\fR use\. Please check carefully if you want to have this option enabled in \fBdevelopment\fR or \fBtest\fR environments\.
|
75
75
|
.
|
76
76
|
.TP
|
77
|
+
\fBonly\fR
|
78
|
+
A space\-separated list of groups to install only gems of the specified groups\.
|
79
|
+
.
|
80
|
+
.TP
|
77
81
|
\fBpath\fR
|
78
82
|
The location to install the specified gems to\. This defaults to Rubygems\' setting\. Bundler shares this location with Rubygems, \fBgem install \.\.\.\fR will have gem installed there, too\. Therefore, gems installed without a \fB\-\-path \.\.\.\fR setting will show up by calling \fBgem list\fR\. Accordingly, gems installed to other locations will not get listed\.
|
79
83
|
.
|
@@ -205,6 +209,9 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
205
209
|
\fBglobal_gem_cache\fR (\fBBUNDLE_GLOBAL_GEM_CACHE\fR): Whether Bundler should cache all gems globally, rather than locally to the installing Ruby installation\.
|
206
210
|
.
|
207
211
|
.IP "\(bu" 4
|
212
|
+
\fBignore_funding_requests\fR (\fBBUNDLE_IGNORE_FUNDING_REQUESTS\fR): When set, no funding requests will be printed\.
|
213
|
+
.
|
214
|
+
.IP "\(bu" 4
|
208
215
|
\fBignore_messages\fR (\fBBUNDLE_IGNORE_MESSAGES\fR): When set, no post install messages will be printed\. To silence a single gem, use dot notation like \fBignore_messages\.httparty true\fR\.
|
209
216
|
.
|
210
217
|
.IP "\(bu" 4
|
@@ -220,6 +227,9 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
220
227
|
\fBno_prune\fR (\fBBUNDLE_NO_PRUNE\fR): Whether Bundler should leave outdated gems unpruned when caching\.
|
221
228
|
.
|
222
229
|
.IP "\(bu" 4
|
230
|
+
\fBonly\fR (\fBBUNDLE_ONLY\fR): A space\-separated list of groups to install only gems of the specified groups\.
|
231
|
+
.
|
232
|
+
.IP "\(bu" 4
|
223
233
|
\fBpath\fR (\fBBUNDLE_PATH\fR): The location on disk where all gems in your bundle will be located regardless of \fB$GEM_HOME\fR or \fB$GEM_PATH\fR values\. Bundle gems not found in this location will be installed by \fBbundle install\fR\. Defaults to \fBGem\.dir\fR\. When \-\-deployment is used, defaults to vendor/bundle\.
|
224
234
|
.
|
225
235
|
.IP "\(bu" 4
|
@@ -342,13 +352,13 @@ bundle config set \-\-global mirror\.SOURCE_URL MIRROR_URL
|
|
342
352
|
.IP "" 0
|
343
353
|
.
|
344
354
|
.P
|
345
|
-
For example, to use a mirror of rubygems\.org hosted at
|
355
|
+
For example, to use a mirror of https://rubygems\.org hosted at https://example\.org:
|
346
356
|
.
|
347
357
|
.IP "" 4
|
348
358
|
.
|
349
359
|
.nf
|
350
360
|
|
351
|
-
bundle config set \-\-global mirror\.
|
361
|
+
bundle config set \-\-global mirror\.https://rubygems\.org https://example\.org
|
352
362
|
.
|
353
363
|
.fi
|
354
364
|
.
|
@@ -74,6 +74,9 @@ The options that can be configured are:
|
|
74
74
|
`production` use. Please check carefully if you want to have this option
|
75
75
|
enabled in `development` or `test` environments.
|
76
76
|
|
77
|
+
* `only`:
|
78
|
+
A space-separated list of groups to install only gems of the specified groups.
|
79
|
+
|
77
80
|
* `path`:
|
78
81
|
The location to install the specified gems to. This defaults to Rubygems'
|
79
82
|
setting. Bundler shares this location with Rubygems, `gem install ...` will
|
@@ -204,6 +207,8 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
204
207
|
* `global_gem_cache` (`BUNDLE_GLOBAL_GEM_CACHE`):
|
205
208
|
Whether Bundler should cache all gems globally, rather than locally to the
|
206
209
|
installing Ruby installation.
|
210
|
+
* `ignore_funding_requests` (`BUNDLE_IGNORE_FUNDING_REQUESTS`):
|
211
|
+
When set, no funding requests will be printed.
|
207
212
|
* `ignore_messages` (`BUNDLE_IGNORE_MESSAGES`):
|
208
213
|
When set, no post install messages will be printed. To silence a single gem,
|
209
214
|
use dot notation like `ignore_messages.httparty true`.
|
@@ -216,6 +221,8 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
216
221
|
Whether `bundle package` should skip installing gems.
|
217
222
|
* `no_prune` (`BUNDLE_NO_PRUNE`):
|
218
223
|
Whether Bundler should leave outdated gems unpruned when caching.
|
224
|
+
* `only` (`BUNDLE_ONLY`):
|
225
|
+
A space-separated list of groups to install only gems of the specified groups.
|
219
226
|
* `path` (`BUNDLE_PATH`):
|
220
227
|
The location on disk where all gems in your bundle will be located regardless
|
221
228
|
of `$GEM_HOME` or `$GEM_PATH` values. Bundle gems not found in this location
|
@@ -321,9 +328,9 @@ mirror to fetch gems.
|
|
321
328
|
|
322
329
|
bundle config set --global mirror.SOURCE_URL MIRROR_URL
|
323
330
|
|
324
|
-
For example, to use a mirror of rubygems.org hosted at
|
331
|
+
For example, to use a mirror of https://rubygems.org hosted at https://example.org:
|
325
332
|
|
326
|
-
bundle config set --global mirror.
|
333
|
+
bundle config set --global mirror.https://rubygems.org https://example.org
|
327
334
|
|
328
335
|
Each mirror also provides a fallback timeout setting. If the mirror does not
|
329
336
|
respond within the fallback timeout, Bundler will try to use the original
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-EXEC" "1" "
|
4
|
+
.TH "BUNDLE\-EXEC" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
@@ -155,7 +155,7 @@ You can find a list of all the gems containing gem plugins by running
|
|
155
155
|
.
|
156
156
|
.nf
|
157
157
|
|
158
|
-
ruby \-
|
158
|
+
ruby \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
|
159
159
|
.
|
160
160
|
.fi
|
161
161
|
.
|
@@ -145,7 +145,7 @@ their plugins.
|
|
145
145
|
You can find a list of all the gems containing gem plugins
|
146
146
|
by running
|
147
147
|
|
148
|
-
ruby -
|
148
|
+
ruby -e "puts Gem.find_files('rubygems_plugin.rb')"
|
149
149
|
|
150
150
|
At the very least, you should remove all but the newest
|
151
151
|
version of each gem plugin, and also remove all gem plugins
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-INJECT" "1" "
|
4
|
+
.TH "BUNDLE\-INJECT" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
@@ -30,4 +30,7 @@ bundle inject \'rack\' \'> 0\'
|
|
30
30
|
.IP "" 0
|
31
31
|
.
|
32
32
|
.P
|
33
|
-
This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock
|
33
|
+
This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock\.
|
34
|
+
.
|
35
|
+
.P
|
36
|
+
The \fBbundle inject\fR command was deprecated in Bundler 2\.1 and will be removed in Bundler 3\.0\.
|
@@ -19,4 +19,6 @@ Example:
|
|
19
19
|
bundle inject 'rack' '> 0'
|
20
20
|
|
21
21
|
This will inject the 'rack' gem with a version greater than 0 in your
|
22
|
-
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock
|
22
|
+
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock.
|
23
|
+
|
24
|
+
The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 3.0.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-INSTALL" "1" "
|
4
|
+
.TH "BUNDLE\-INSTALL" "1" "July 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|