diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f8c0eb610..7519b35db6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ [#568](https://github.com/CocoaPods/CocoaPods/issues/568) - Fixed a crash related to the RubyGems version informative. [#570](https://github.com/CocoaPods/CocoaPods/issues/570) +- Fixed a crash for `pod outdated`. + [#567](https://github.com/CocoaPods/CocoaPods/issues/567) ## 0.15.0 diff --git a/lib/cocoapods/command/outdated.rb b/lib/cocoapods/command/outdated.rb index 925e603141..71ce3a37b6 100644 --- a/lib/cocoapods/command/outdated.rb +++ b/lib/cocoapods/command/outdated.rb @@ -22,7 +22,6 @@ def initialize(argv) def run verify_podfile_exists! verify_lockfile_exists! - update_spec_repos_if_necessary! sandbox = Sandbox.new(config.project_pods_root) resolver = Resolver.new(config.podfile, config.lockfile, sandbox) @@ -30,6 +29,9 @@ def run resolver.update_external_specs = false resolver.resolve + #TODO: the command report new dependencies (added to by updated ones) + # as updates. + names = resolver.pods_to_install - resolver.pods_from_external_sources specs = resolver.specs.select do |spec| names.include?(spec.name) && !spec.version.head?