diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-03-27 13:20:39 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-03-27 13:20:39 -0700 |
commit | 0798969a8b29b44bf2cfaa5a12c94f24eced09dc (patch) | |
tree | 249e34fb75f69362b9f97b9adaee1c25d550d16b | |
parent | 36314e92ac502674ed2ffc201b2343c8856fa990 (diff) | |
download | bundler-seg-uniq-deps.tar.gz |
[LazySpecification] Uniq dependencies in lockfile representationseg-uniq-deps
-rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index bdcf2df2cc..8fc0e968aa 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -41,7 +41,7 @@ module Bundler out = " #{name} (#{version}-#{platform})\n" end - dependencies.sort_by {|d| d.to_s }.each do |dep| + dependencies.sort_by {|d| d.to_s }.uniq.each do |dep| next if dep.type == :development out << " #{dep.to_lock}\n" end |