Commit 462d6a13 authored by Fabio Pelosin's avatar Fabio Pelosin

Minor bug fixes.

parent 8bdb41f8
...@@ -169,6 +169,7 @@ module Pod ...@@ -169,6 +169,7 @@ module Pod
end end
def expanded_paths(patterns, options = {}) def expanded_paths(patterns, options = {})
patterns = [ patterns ] if patterns.is_a? String
patterns.map do |pattern| patterns.map do |pattern|
pattern = root + pattern pattern = root + pattern
......
...@@ -10,7 +10,7 @@ module Pod ...@@ -10,7 +10,7 @@ module Pod
attr_reader :deployment_target attr_reader :deployment_target
def initialize(symbolic_name, deployment_target = nil) def initialize(symbolic_name = nil, deployment_target = nil)
@symbolic_name = symbolic_name @symbolic_name = symbolic_name
if deployment_target if deployment_target
version = deployment_target.is_a?(Hash) ? deployment_target[:deployment_target] : deployment_target # backwards compatibility from 0.6 version = deployment_target.is_a?(Hash) ? deployment_target[:deployment_target] : deployment_target # backwards compatibility from 0.6
......
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