summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-05-31 19:23:42 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-05-31 19:23:44 +0530
commit94eef749d39fd3c12da6398f3de6775f7bd72213 (patch)
tree5277e6a35c056d852a436ef1716e638f12f1fdd2
parente51b967c537ed5deb133c24961ec7a51968be150 (diff)
downloadbundler-94eef749d39fd3c12da6398f3de6775f7bd72213.tar.gz
Removed an unwanted change in source_list
-rw-r--r--lib/bundler/plugin/source_list.rb2
-rw-r--r--lib/bundler/source_list.rb8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/plugin/source_list.rb b/lib/bundler/plugin/source_list.rb
index c1903e9dd2..2959a408f2 100644
--- a/lib/bundler/plugin/source_list.rb
+++ b/lib/bundler/plugin/source_list.rb
@@ -5,8 +5,8 @@ module Bundler
# 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
+ @rubygems_aggregate = Source::Rubygems.new :plugin => true
end
def add_git_source(options = {})
diff --git a/lib/bundler/source_list.rb b/lib/bundler/source_list.rb
index 3e9ed51ba3..dc62c8926a 100644
--- a/lib/bundler/source_list.rb
+++ b/lib/bundler/source_list.rb
@@ -5,10 +5,10 @@ module Bundler
:git_sources
def initialize
- @path_sources = []
- @git_sources = []
- @rubygems_aggregate ||= Source::Rubygems.new
- @rubygems_sources = []
+ @path_sources = []
+ @git_sources = []
+ @rubygems_aggregate = Source::Rubygems.new
+ @rubygems_sources = []
end
def add_path_source(options = {})