mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Bundler: make to_lock consistent between Gem::Dependency and Bundler::Dependency
971d57cf5a
This commit is contained in:
parent
13d2225c46
commit
381d8e43ce
3 changed files with 39 additions and 2 deletions
|
@ -60,7 +60,7 @@ module Bundler
|
|||
handled = []
|
||||
definition.dependencies.sort_by(&:to_s).each do |dep|
|
||||
next if handled.include?(dep.name)
|
||||
out << dep.to_lock
|
||||
out << dep.to_lock << "\n"
|
||||
handled << dep.name
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue