aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/spec_set.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-06-06 02:03:53 -0700
committerCarl Lerche <carllerche@mac.com>2010-06-06 02:08:38 -0700
commit5c8d9c82b287ef2f6d2fd36b45d6cd11cad12c88 (patch)
treef297e7ed6ab79f2b452a56645768494f1cfc9c60 /lib/bundler/spec_set.rb
parentbc84ffc545b6197fc50e1c0e8c7c5a576248ed0e (diff)
downloadbundler-5c8d9c82b287ef2f6d2fd36b45d6cd11cad12c88.tar.gz
Set things up to start working on the platform DSL
Diffstat (limited to 'lib/bundler/spec_set.rb')
-rw-r--r--lib/bundler/spec_set.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb
index 6d7c229e..2e1c06e0 100644
--- a/lib/bundler/spec_set.rb
+++ b/lib/bundler/spec_set.rb
@@ -17,13 +17,7 @@ module Bundler
end
def for(dependencies, skip = [], check = false)
- handled, deps, specs = {}, [], []
-
- dependencies.each do |d|
- d.platforms.each do |p|
- deps << DepProxy.new(d, p)
- end
- end
+ handled, deps, specs = {}, dependencies.dup, []
until deps.empty?
dep = deps.shift