Commit df587bcd authored by Fabio Pelosin's avatar Fabio Pelosin

[UI] Minor Improvements

parent 4a37f7ee
......@@ -357,7 +357,7 @@ module Pod
# information in the lockfile.
#
def integrate_user_project
UI.section "Integrating client projects" do
UI.section "Integrating client #{'project'.pluralize(libraries.map(&:user_project_path).uniq.count) }" do
installation_root = config.installation_root
integrator = UserProjectIntegrator.new(podfile, sandbox, installation_root, libraries)
integrator.integrate!
......
......@@ -37,7 +37,7 @@ module Pod
def section(title, verbose_prefix = '', relative_indentation = 0)
if config.verbose?
title(title, verbose_prefix, relative_indentation)
elsif title_level < 2
elsif title_level < 1
puts title
end
......
......@@ -54,4 +54,4 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
......@@ -42,7 +42,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -36,7 +36,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -90,7 +90,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -51,7 +51,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -53,7 +53,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -54,7 +54,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -40,4 +40,4 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
......@@ -56,7 +56,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -57,7 +57,7 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
[!] From now on use `SampleApp.xcworkspace`.
......
......@@ -54,4 +54,4 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client projects
Integrating client project
......@@ -333,6 +333,7 @@ module Pod
describe "Integrating client projects" do
it "integrates the client projects" do
@installer.stubs(:libraries).returns([Library.new(nil)])
Installer::UserProjectIntegrator.any_instance.expects(:integrate!)
@installer.send(:integrate_user_project)
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