Commit 7ddf9227 authored by Luke Redpath's avatar Luke Redpath

Get this working again as it was before.

parent 8870faf4
...@@ -7,7 +7,9 @@ module Pod ...@@ -7,7 +7,9 @@ module Pod
extend Executable extend Executable
def self.for_pod(pod) def self.for_pod(pod)
for_target(pod.root, pod.specification.source.dup) spec = pod.specification
spec = spec.part_of_specification if spec.part_of_other_pod?
for_target(pod.root, spec.source.dup)
end end
def self.for_dependency(dependency) def self.for_dependency(dependency)
......
...@@ -63,10 +63,7 @@ module Pod ...@@ -63,10 +63,7 @@ module Pod
puts "Using #{pod}" unless config.silent? puts "Using #{pod}" unless config.silent?
else else
puts "Installing #{spec}" unless config.silent? puts "Installing #{spec}" unless config.silent?
# TODO: get this working again
# spec = spec.part_of_specification if spec.part_of_other_pod?
downloader = Downloader.for_pod(pod) downloader = Downloader.for_pod(pod)
downloader.download downloader.download
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment