Commit d57bb9ff authored by Fabio Pelosin's avatar Fabio Pelosin

Better support for bleeding mode with subspecs.

parent b08b005e
......@@ -65,7 +65,7 @@ module Pod
@loaded_specs << spec.name
@specs[spec.name] = spec
spec.activate_platform(target_definition.platform)
spec.bleeding = dependency.bleeding?
spec.top_level_parent.bleeding = dependency.bleeding?
# And recursively load the dependencies of the spec.
find_dependency_specs(spec, spec.dependencies, target_definition) if spec.dependencies
end
......
......@@ -463,7 +463,7 @@ module Pod
def to_s
result = "#{name} (#{version})"
result << " [BLEEDING]" if bleeding?
result << " [BLEEDING]" if top_level_parent.bleeding?
result
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