diff options
author | The Bundler Bot <bot@bundler.io> | 2017-01-17 13:37:32 +0000 |
---|---|---|
committer | The Bundler Bot <bot@bundler.io> | 2017-01-17 13:37:32 +0000 |
commit | 01d22f047102db76cfc987eec2ca6c3bcf1456e5 (patch) | |
tree | ed7bb8fc91d0f6b1d877e5ca20828a8d1e3cbf8c | |
parent | 4be855932695fc1fbff677687e7e54102982083d (diff) | |
parent | c4ed9102292360054b05cb129d4b400e7fddcdd8 (diff) | |
download | bundler-01d22f047102db76cfc987eec2ca6c3bcf1456e5.tar.gz |
Auto merge of #5329 - bundler:seg-settings-autoload, r=indirect
[Settings] Autoload Mirror under Settings namespace
Closes #5238
-rw-r--r-- | lib/bundler.rb | 2 | ||||
-rw-r--r-- | 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 b2136384..4ba7ab4a 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 |