Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Take version into account when sorting deps
Browse files Browse the repository at this point in the history
  • Loading branch information
akahn committed Mar 31, 2011
1 parent 049d004 commit 4cb0437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/definition.rb
Expand Up @@ -225,7 +225,7 @@ def to_lock

handled = []
dependencies.
sort_by { |d| d.name }.
sort_by { |d| d.to_s }.
each do |dep|
next if handled.include?(dep.name)
out << dep.to_lock
Expand Down

0 comments on commit 4cb0437

Please sign in to comment.