diff options
author | Tim Moore <tmoore@incrementalism.net> | 2014-09-29 23:03:27 +1000 |
---|---|---|
committer | Tim Moore <tmoore@incrementalism.net> | 2014-10-11 18:00:28 +1100 |
commit | 802832864a19cd8c9d81b1123dce1d8acc8cc805 (patch) | |
tree | ed62a0a4494abb2690be45f56ba1d2b4d3ef943d /lib/bundler/source_list.rb | |
parent | 8e2f2ded68397a7402d4507b713e026504a4df0a (diff) | |
download | bundler-802832864a19cd8c9d81b1123dce1d8acc8cc805.tar.gz |
Normalize sources to lock format when comparing.
Fixes #3167.
Also moves the reversing of Rubygems remotes for the lock file out of
SourceList#combine_rubygems_sources and into Rubygems#to_lock.
Diffstat (limited to 'lib/bundler/source_list.rb')
-rw-r--r-- | lib/bundler/source_list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source_list.rb b/lib/bundler/source_list.rb index 0d9fb516c8..c0eeaf3ae3 100644 --- a/lib/bundler/source_list.rb +++ b/lib/bundler/source_list.rb @@ -74,7 +74,7 @@ module Bundler end def combine_rubygems_sources - Source::Rubygems.new("remotes" => rubygems_sources.map(&:remotes).flatten.uniq.reverse) + Source::Rubygems.new("remotes" => rubygems_sources.map(&:remotes).flatten.uniq) end end end |