Commit 09f86af3 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Outdated] Update for release CocoaPods version

parent 5ea67129
...@@ -4,6 +4,13 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -4,6 +4,13 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
## Master ## Master
##### Enhancements
* Make the output of `pod outdated` show what running `pod update` will do.
Takes into account the sources specified in the `Podfile`.
[Samuel Giddins](https://github.com/segiddins)
[#2470](https://github.com/CocoaPods/CocoaPods/issues/2470)
##### Bug Fixes ##### Bug Fixes
* Improved sanitizing of configuration names to avoid generating invalid * Improved sanitizing of configuration names to avoid generating invalid
......
...@@ -29,7 +29,7 @@ module Pod ...@@ -29,7 +29,7 @@ module Pod
UI.section 'The following updates are available:' do UI.section 'The following updates are available:' do
updates.each do |(name, from_version, matching_version, to_version)| updates.each do |(name, from_version, matching_version, to_version)|
UI.puts "- #{name} #{from_version} -> #{matching_version} " \ UI.puts "- #{name} #{from_version} -> #{matching_version} " \
"(last version #{to_version})" "(latest version #{to_version})"
end end
end end
end end
...@@ -78,9 +78,13 @@ module Pod ...@@ -78,9 +78,13 @@ module Pod
def unlocked_pods def unlocked_pods
@unlocked_pods ||= begin @unlocked_pods ||= begin
Installer::Analyzer.new(config.sandbox, config.podfile). pods = []
analyze(false). UI.titled_section('Analyzing dependencies') do
specs_by_target.values.flatten.uniq pods = Installer::Analyzer.new(config.sandbox, config.podfile).
analyze(false).
specs_by_target.values.flatten.uniq
end
pods
end end
end end
...@@ -94,7 +98,7 @@ module Pod ...@@ -94,7 +98,7 @@ module Pod
def spec_sets def spec_sets
@spec_sets ||= begin @spec_sets ||= begin
aggregate = Source::Aggregate.new(analyzer.sources.map(&:name)) aggregate = Source::Aggregate.new(analyzer.sources)
installed_pods.map do |pod_name| installed_pods.map do |pod_name|
aggregate.search(Dependency.new(pod_name)) aggregate.search(Dependency.new(pod_name))
end.compact.uniq end.compact.uniq
......
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