summaryrefslogtreecommitdiff
path: root/lib/bundler/spec_set.rb
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2011-08-04 14:55:21 -0500
committerTerence Lee <hone02@gmail.com>2011-08-04 14:55:21 -0500
commite2bb4af870dbb2da02975622b527118ee39d9e07 (patch)
tree7987b0d7bf923fecb121dabdea8012608c0e5240 /lib/bundler/spec_set.rb
parent3653787462577b55cd0ad1e511e17efe3439e525 (diff)
downloadbundler-e2bb4af870dbb2da02975622b527118ee39d9e07.tar.gz
only pass the dependency names to source for the fetcher
Diffstat (limited to 'lib/bundler/spec_set.rb')
-rw-r--r--lib/bundler/spec_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb
index fb86450295..48ec7245e5 100644
--- a/lib/bundler/spec_set.rb
+++ b/lib/bundler/spec_set.rb
@@ -80,7 +80,7 @@ module Bundler
materialized = self.for(deps, [], false, true).to_a
materialized.map! do |s|
next s unless s.is_a?(LazySpecification)
- s.source.dependencies = deps if s.source.respond_to?(:dependencies=)
+ s.source.dependency_names = deps.map {|d| d.name } if s.source.respond_to?(:dependency_names=)
spec = s.__materialize__
if missing_specs
missing_specs << s unless spec