Commit 584c2b3c authored by Fabio Pelosin's avatar Fabio Pelosin

[Lockfile] Support for specs defined in Podfile.

parent 2345d550
...@@ -75,9 +75,10 @@ module Pod ...@@ -75,9 +75,10 @@ module Pod
case version case version
when nil when nil
Dependency.new(name) Dependency.new(name)
when /defined in Podfile/
# @TODO: store the whole spec?, the version?
Dependency.new(name)
when /from `(.*)'/ when /from `(.*)'/
# @TODO: find a way to serialize the external specs and support
# all the options
external_source_info = external_sources.find {|hash| hash.keys[0] == name} || {} external_source_info = external_sources.find {|hash| hash.keys[0] == name} || {}
Dependency.new(name, external_source_info[name]) Dependency.new(name, external_source_info[name])
when /HEAD/ when /HEAD/
......
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