diff options
author | The Bundler Bot <bot@bundler.io> | 2017-01-17 13:37:32 +0000 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-01-20 17:34:39 -0600 |
commit | b82d344131258ce9f2a968741ba19c17227b5cc7 (patch) | |
tree | 59446f1649ec70b0e0516409265d15be3661f689 | |
parent | 0dbe74bbcae4582133df6340c25d43934265ca21 (diff) | |
download | bundler-b82d344131258ce9f2a968741ba19c17227b5cc7.tar.gz |
Auto merge of #5329 - bundler:seg-settings-autoload, r=indirect
[Settings] Autoload Mirror under Settings namespace
Closes #5238
(cherry picked from commit 01d22f047102db76cfc987eec2ca6c3bcf1456e5)
-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 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 |