Commit df587bcd authored by Fabio Pelosin's avatar Fabio Pelosin

[UI] Minor Improvements

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