aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source_list.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-01-26 18:17:26 -0800
committerAndre Arko <andre@arko.net>2015-01-26 18:17:26 -0800
commitcf87c3196e8373e1883cdbd27c67382ff44be5a2 (patch)
treec37691829a028cf8b8f7e094849eafff0b6d53e8 /lib/bundler/source_list.rb
parenta9e047270adcbe7c0399e5553bb3be48b27f8e64 (diff)
downloadbundler-cf87c3196e8373e1883cdbd27c67382ff44be5a2.tar.gz
warn or error on multiple primary sources
Diffstat (limited to 'lib/bundler/source_list.rb')
-rw-r--r--lib/bundler/source_list.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/source_list.rb b/lib/bundler/source_list.rb
index 49a976ba..49efbf7a 100644
--- a/lib/bundler/source_list.rb
+++ b/lib/bundler/source_list.rb
@@ -74,6 +74,10 @@ module Bundler
all_sources.each(&:remote!)
end
+ def rubygems_primary_remotes
+ @rubygems_aggregate.remotes
+ end
+
private
def add_source_to_list(source, list)