diff options
author | Terence Lee <hone02@gmail.com> | 2011-08-04 14:55:21 -0500 |
---|---|---|
committer | Terence Lee <hone02@gmail.com> | 2011-08-04 14:55:21 -0500 |
commit | e2bb4af870dbb2da02975622b527118ee39d9e07 (patch) | |
tree | 7987b0d7bf923fecb121dabdea8012608c0e5240 /lib/bundler/spec_set.rb | |
parent | 3653787462577b55cd0ad1e511e17efe3439e525 (diff) | |
download | bundler-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.rb | 2 |
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 |