mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
49176e8c8c
`check_rubygems_source_safety` is responsible for: 1. if there are multiple global sources - for bundle 3.x raise an error - for bundle 2.x print a warning 2. print a warning if there is no explicit global source The second responsibility was added recently and now the logic could be extracted to improve readability. Conditions are still live in the `check_rubygems_source_safety` method since we don't want to call both functions always and that would help us achieve that. https://github.com/rubygems/rubygems/commit/f3d7e946ee |
||
---|---|---|
.. | ||
compact_index_client | ||
fetcher | ||
installer | ||
plugin | ||
settings | ||
source | ||
ui | ||
build_metadata_spec.rb | ||
bundler_spec.rb | ||
cli_spec.rb | ||
definition_spec.rb | ||
dep_proxy_spec.rb | ||
dsl_spec.rb | ||
endpoint_specification_spec.rb | ||
env_spec.rb | ||
environment_preserver_spec.rb | ||
fetcher_spec.rb | ||
friendly_errors_spec.rb | ||
gem_helper_spec.rb | ||
gem_version_promoter_spec.rb | ||
index_spec.rb | ||
lockfile_parser_spec.rb | ||
mirror_spec.rb | ||
plugin_spec.rb | ||
psyched_yaml_spec.rb | ||
remote_specification_spec.rb | ||
retry_spec.rb | ||
ruby_dsl_spec.rb | ||
ruby_version_spec.rb | ||
rubygems_integration_spec.rb | ||
settings_spec.rb | ||
shared_helpers_spec.rb | ||
source_list_spec.rb | ||
source_spec.rb | ||
spec_set_spec.rb | ||
stub_specification_spec.rb | ||
ui_spec.rb | ||
uri_credentials_filter_spec.rb | ||
vendored_persistent_spec.rb | ||
version_ranges_spec.rb | ||
worker_spec.rb | ||
yaml_serializer_spec.rb |