Skip to content

Commit

Permalink
[UI] Minor Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Feb 22, 2013
1 parent 4a37f7e commit df587bc
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/cocoapods/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def write_lockfiles
# 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!
Expand Down
2 changes: 1 addition & 1 deletion lib/cocoapods/user_interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class << self
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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`

Integrating client projects
Integrating client project
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion spec/integration/install_new/after/execution_output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`

Integrating client projects
Integrating client project
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion spec/integration/update/after/execution_output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Generating Pods project
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`

Integrating client projects
Integrating client project
1 change: 1 addition & 0 deletions spec/unit/installer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def @installer.write_pod_project
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
Expand Down

0 comments on commit df587bc

Please sign in to comment.