Commit b1094a8a authored by Ben Asher's avatar Ben Asher Committed by GitHub

Merge pull request #5965 from schayes04/master

Greenify success message
parents 62594347 fbbe1953
...@@ -40,6 +40,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -40,6 +40,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Danielle Tomlinson](https://github.com/dantoml) [Danielle Tomlinson](https://github.com/dantoml)
[#5989](https://github.com/CocoaPods/CocoaPods/pull/5989) [#5989](https://github.com/CocoaPods/CocoaPods/pull/5989)
* Greenify pod install success message
[Stephen Hayes](https://github.com/schayes04)
[#5713](https://github.com/CocoaPods/CocoaPods/issues/5713)
##### Bug Fixes ##### Bug Fixes
* Remove special handling for messages apps * Remove special handling for messages apps
......
...@@ -478,10 +478,12 @@ module Pod ...@@ -478,10 +478,12 @@ module Pod
def print_post_install_message def print_post_install_message
podfile_dependencies = podfile.dependencies.uniq.size podfile_dependencies = podfile.dependencies.uniq.size
pods_installed = root_specs.size pods_installed = root_specs.size
UI.info('Pod installation complete! ' \ title_options = { :verbose_prefix => '-> '.green }
"There #{podfile_dependencies == 1 ? 'is' : 'are'} #{podfile_dependencies} " \ UI.titled_section('Pod installation complete! ' \
"#{'dependency'.pluralize(podfile_dependencies)} from the Podfile " \ "There #{podfile_dependencies == 1 ? 'is' : 'are'} #{podfile_dependencies} " \
"and #{pods_installed} total #{'pod'.pluralize(pods_installed)} installed.") "#{'dependency'.pluralize(podfile_dependencies)} from the Podfile " \
"and #{pods_installed} total #{'pod'.pluralize(pods_installed)} installed.".green,
title_options)
end end
# Runs the registered callbacks for the plugins post install hooks. # Runs the registered callbacks for the plugins post install hooks.
......
Subproject commit 261c576b588e6c8d9729cdbb9c4751f7b10f4ee7 Subproject commit c58c9df1fed4f993062a58eb22a5bf567720c2bb
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