lib/bundler/source/rubygems.rb in bundler-1.7.3 vs lib/bundler/source/rubygems.rb in bundler-1.7.4
- old
+ new
@@ -50,12 +50,12 @@
new(options)
end
def to_lock
out = "GEM\n"
- out << remotes.map { |remote|
- " remote: #{suppress_configured_credentials remote}\n"
- }.join
+ remotes.reverse_each do |remote|
+ out << " remote: #{suppress_configured_credentials remote}\n"
+ end
out << " specs:\n"
end
def to_s
remote_names = self.remotes.map { |r| r.to_s }.join(', ')