aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/plugin/source_list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/plugin/source_list.rb')
-rw-r--r--lib/bundler/plugin/source_list.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/plugin/source_list.rb b/lib/bundler/plugin/source_list.rb
index 457b4ef7..c1903e9d 100644
--- a/lib/bundler/plugin/source_list.rb
+++ b/lib/bundler/plugin/source_list.rb
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module Bundler
+ # SourceList object to be used while parsing the Gemfile, setting the
+ # approptiate options to be used with Source classes for plugin installation
class Plugin::SourceList < Bundler::SourceList
-
def initialize
@rubygems_aggregate = Source::Rubygems.new :plugin => true
super
@@ -15,6 +16,5 @@ module Bundler
def add_rubygems_source(options = {})
add_source_to_list Source::Rubygems.new(options.merge(:plugin => true)), @rubygems_sources
end
-
end
end