Commit 70709a48 authored by Marius Rackwitz's avatar Marius Rackwitz

[Refactor] Rename TargetInspector#inspect! to compute_results

For disambugiation with stdlib's debugging helper #inspect.
parent dd3663c5
......@@ -652,7 +652,7 @@ module Pod
UI.section 'Inspecting targets to integrate' do
podfile.target_definition_list.each do |target_definition|
inspector = TargetInspector.new(target_definition, config.installation_root)
results = inspector.inspect!
results = inspector.compute_results
inspection_result[target_definition] = results
UI.message('Using `ARCHS` setting to build architectures of ' \
"target `#{target_definition.label}`: (`#{results.archs.join('`, `')}`)")
......
......@@ -27,7 +27,7 @@ module Pod
#
# @return [TargetInspectionResult]
#
def inspect!
def compute_results
project_path = compute_project_path
user_project = Xcodeproj::Project.open(project_path)
targets = compute_targets(user_project)
......
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