Commit 19cf8da7 authored by Eloy Duran's avatar Eloy Duran

Add a shortcut to define that the pod that a pod is a part of is also its dependency.

parent d7fad64b
dependency 'SSZipArchive', '>= 1'
#dependency 'SSZipArchive', '>= 1'
#dependency 'ASIHTTPRequest', '1.8'
dependency 'ASIWebPageRequest', '= 1.8'
#dependency 'ASIWebPageRequest', '= 1.8'
# is part of ASIHTTPRequest 1.8 and 1.8.1
dependency 'Reachability' #, '>= 2.0'
......@@ -18,5 +18,5 @@ dependency 'Reachability' #, '>= 2.0'
# * the Reachability dependency should be taken from this version
# * the ASIWebPageRequest dependency requirement matches this one so should work
#dependency 'ASIHTTPRequest', '1.8.1'
dependency 'ASIHTTPRequest', '>= 1.8'
#dependency 'ASIHTTPRequest', '>= 1.8'
......@@ -67,6 +67,11 @@ module Pod
@part_of.part_of_other_pod = true
end
def part_of_dependency(name, *version_requirements)
part_of(name, *version_requirements)
dependency(name, *version_requirements)
end
def source_files(*patterns)
@source_files = patterns
end
......
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