class Bundler::Settings

def gem_mirrors

def gem_mirrors
  all.inject({}) do |h, k|
    if k =~ /^mirror\./
      uri = normalize_uri($')
      h[uri] = normalize_uri(self[k])
    end
    h
  end
end