[rubygems/rubygems] Re-order configuraiton keys
https://github.com/rubygems/rubygems/commit/b2a88983db
This commit is contained in:
parent
41e9d6641b
commit
0be7133b7f
@ -213,19 +213,20 @@ class Gem::ConfigFile
|
|||||||
# HACK: these override command-line args, which is bad
|
# HACK: these override command-line args, which is bad
|
||||||
@backtrace = @hash[:backtrace] if @hash.key? :backtrace
|
@backtrace = @hash[:backtrace] if @hash.key? :backtrace
|
||||||
@bulk_threshold = @hash[:bulk_threshold] if @hash.key? :bulk_threshold
|
@bulk_threshold = @hash[:bulk_threshold] if @hash.key? :bulk_threshold
|
||||||
@home = @hash[:gemhome] if @hash.key? :gemhome
|
|
||||||
@path = @hash[:gempath] if @hash.key? :gempath
|
|
||||||
@update_sources = @hash[:update_sources] if @hash.key? :update_sources
|
|
||||||
@verbose = @hash[:verbose] if @hash.key? :verbose
|
@verbose = @hash[:verbose] if @hash.key? :verbose
|
||||||
@disable_default_gem_server = @hash[:disable_default_gem_server] if @hash.key? :disable_default_gem_server
|
@update_sources = @hash[:update_sources] if @hash.key? :update_sources
|
||||||
@sources = @hash[:sources] if @hash.key? :sources
|
# TODO: We should handle concurrent_downloads same as other options
|
||||||
@cert_expiration_length_days = @hash[:cert_expiration_length_days] if @hash.key? :cert_expiration_length_days
|
@cert_expiration_length_days = @hash[:cert_expiration_length_days] if @hash.key? :cert_expiration_length_days
|
||||||
@install_extension_in_lib = @hash[:install_extension_in_lib] if @hash.key? :install_extension_in_lib
|
@install_extension_in_lib = @hash[:install_extension_in_lib] if @hash.key? :install_extension_in_lib
|
||||||
@ipv4_fallback_enabled = @hash[:ipv4_fallback_enabled] if @hash.key? :ipv4_fallback_enabled
|
@ipv4_fallback_enabled = @hash[:ipv4_fallback_enabled] if @hash.key? :ipv4_fallback_enabled
|
||||||
|
|
||||||
@ssl_verify_mode = @hash[:ssl_verify_mode] if @hash.key? :ssl_verify_mode
|
@home = @hash[:gemhome] if @hash.key? :gemhome
|
||||||
@ssl_ca_cert = @hash[:ssl_ca_cert] if @hash.key? :ssl_ca_cert
|
@path = @hash[:gempath] if @hash.key? :gempath
|
||||||
@ssl_client_cert = @hash[:ssl_client_cert] if @hash.key? :ssl_client_cert
|
@sources = @hash[:sources] if @hash.key? :sources
|
||||||
|
@disable_default_gem_server = @hash[:disable_default_gem_server] if @hash.key? :disable_default_gem_server
|
||||||
|
@ssl_verify_mode = @hash[:ssl_verify_mode] if @hash.key? :ssl_verify_mode
|
||||||
|
@ssl_ca_cert = @hash[:ssl_ca_cert] if @hash.key? :ssl_ca_cert
|
||||||
|
@ssl_client_cert = @hash[:ssl_client_cert] if @hash.key? :ssl_client_cert
|
||||||
|
|
||||||
@api_keys = nil
|
@api_keys = nil
|
||||||
@rubygems_api_key = nil
|
@rubygems_api_key = nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user