summaryrefslogtreecommitdiff
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r--lib/bundler/source.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index d1fd35a31e..213e98fb98 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -4,16 +4,6 @@ module Bundler
autoload :Path, 'bundler/source/path'
autoload :Git, 'bundler/source/git'
- def self.mirror_for(uri)
- uri = URI(uri.to_s) unless uri.is_a?(URI)
-
- # Settings keys are all downcased
- mirrors = Bundler.settings.gem_mirrors
- normalized_key = URI(uri.to_s.downcase)
-
- mirrors[normalized_key] || uri
- end
-
attr_accessor :dependency_names
def unmet_deps