From b82d344131258ce9f2a968741ba19c17227b5cc7 Mon Sep 17 00:00:00 2001 From: The Bundler Bot Date: Tue, 17 Jan 2017 13:37:32 +0000 Subject: Auto merge of #5329 - bundler:seg-settings-autoload, r=indirect [Settings] Autoload Mirror under Settings namespace Closes #5238 (cherry picked from commit 01d22f047102db76cfc987eec2ca6c3bcf1456e5) --- lib/bundler.rb | 2 -- lib/bundler/settings.rb | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/bundler.rb b/lib/bundler.rb index d4837524..2cd8d991 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -40,8 +40,6 @@ module Bundler autoload :LazySpecification, "bundler/lazy_specification" autoload :LockfileParser, "bundler/lockfile_parser" autoload :MatchPlatform, "bundler/match_platform" - autoload :Mirror, "bundler/mirror" - autoload :Mirrors, "bundler/mirror" autoload :RemoteSpecification, "bundler/remote_specification" autoload :Resolver, "bundler/resolver" autoload :Retry, "bundler/retry" diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index 35ad17ae..4c14f636 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -3,6 +3,9 @@ require "uri" module Bundler class Settings + autoload :Mirror, "bundler/mirror" + autoload :Mirrors, "bundler/mirror" + BOOL_KEYS = %w( allow_offline_install auto_install -- cgit v1.2.3