Commit fba48103 authored by Eloy Duran's avatar Eloy Duran

Rename puts_title to print_title.

parent dc5b15a5
...@@ -69,14 +69,14 @@ module Pod ...@@ -69,14 +69,14 @@ module Pod
def install! def install!
@sandbox.prepare_for_install @sandbox.prepare_for_install
puts_title "Resolving dependencies of: #{@podfile.defined_in_file}" print_title "Resolving dependencies of: #{@podfile.defined_in_file}"
specs_by_target specs_by_target
puts_title "Installing dependencies" print_title "Installing dependencies"
install_dependencies! install_dependencies!
pods = activated_pods pods = activated_pods
puts_title("Generating support files\n", false) print_title("Generating support files\n", false)
target_installers.each do |target_installer| target_installers.each do |target_installer|
pods_for_target = activated_pods_by_target[target_installer.target_definition] pods_for_target = activated_pods_by_target[target_installer.target_definition]
target_installer.install!(pods_for_target, @sandbox) target_installer.install!(pods_for_target, @sandbox)
...@@ -200,10 +200,10 @@ module Pod ...@@ -200,10 +200,10 @@ module Pod
!spec.wrapper? && !@resolver.cached_sets[spec.name].only_part_of_other_pod? !spec.wrapper? && !@resolver.cached_sets[spec.name].only_part_of_other_pod?
end end
def puts_title(title, only_verbose = true) def print_title(title, only_verbose = true)
if(config.verbose?) if config.verbose?
puts "\n" + title.yellow puts "\n" + title.yellow
elsif(!config.silent? && !only_verbose) elsif !config.silent? && !only_verbose
puts title puts title
end end
end 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