Commit 91816725 authored by Fabio Pelosin's avatar Fabio Pelosin

[Outdated] Fixed crash.

Closes 568.
parent 8e72cbe1
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
[#568](https://github.com/CocoaPods/CocoaPods/issues/568) [#568](https://github.com/CocoaPods/CocoaPods/issues/568)
- Fixed a crash related to the RubyGems version informative. - Fixed a crash related to the RubyGems version informative.
[#570](https://github.com/CocoaPods/CocoaPods/issues/570) [#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 ## 0.15.0
......
...@@ -22,7 +22,6 @@ module Pod ...@@ -22,7 +22,6 @@ module Pod
def run def run
verify_podfile_exists! verify_podfile_exists!
verify_lockfile_exists! verify_lockfile_exists!
update_spec_repos_if_necessary!
sandbox = Sandbox.new(config.project_pods_root) sandbox = Sandbox.new(config.project_pods_root)
resolver = Resolver.new(config.podfile, config.lockfile, sandbox) resolver = Resolver.new(config.podfile, config.lockfile, sandbox)
...@@ -30,6 +29,9 @@ module Pod ...@@ -30,6 +29,9 @@ module Pod
resolver.update_external_specs = false resolver.update_external_specs = false
resolver.resolve 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 names = resolver.pods_to_install - resolver.pods_from_external_sources
specs = resolver.specs.select do |spec| specs = resolver.specs.select do |spec|
names.include?(spec.name) && !spec.version.head? names.include?(spec.name) && !spec.version.head?
......
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