summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-01-14 19:56:58 -0600
committerSamuel Giddins <segiddins@segiddins.me>2017-01-14 19:56:58 -0600
commitc4ed9102292360054b05cb129d4b400e7fddcdd8 (patch)
treeb2a3aefdd2ee046039ce7d6291b118776762d221
parent3f0075896a60ba1771913fc1118ecc9b91db98bb (diff)
downloadbundler-seg-settings-autoload.tar.gz
[Settings] Autoload Mirror under Settings namespaceseg-settings-autoload
-rw-r--r--lib/bundler.rb2
-rw-r--r--lib/bundler/settings.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 9b96075ca9..852eb51243 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 35ad17ae43..4c14f6369a 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