summaryrefslogtreecommitdiff
path: root/lib/bundler/source_list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/source_list.rb')
-rw-r--r--lib/bundler/source_list.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/bundler/source_list.rb b/lib/bundler/source_list.rb
index 546b3b14be..dfb993b771 100644
--- a/lib/bundler/source_list.rb
+++ b/lib/bundler/source_list.rb
@@ -1,7 +1,8 @@
module Bundler
class SourceList
attr_reader :path_sources,
- :git_sources
+ :git_sources,
+ :rubygems_aggregate
def initialize
@path_sources = []
@@ -46,8 +47,7 @@ module Bundler
end
def lock_sources
- lock_sources = (path_sources + git_sources).sort_by(&:to_s)
- lock_sources << combine_rubygems_sources
+ all_sources.sort_by(&:to_s)
end
def replace_sources!(replacement_sources)
@@ -96,10 +96,6 @@ module Bundler
end
end
- def combine_rubygems_sources
- Source::Rubygems.new("remotes" => rubygems_remotes)
- end
-
def warn_on_git_protocol(source)
return if Bundler.settings["git.allow_insecure"]