Commit 3cd3de40 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Update] Allow specifying root names

Closes https://github.com/CocoaPods/CocoaPods/issues/3689.
parent a669201a
...@@ -83,6 +83,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -83,6 +83,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Hugo Tunius](https://github.com/k0nserv) [Hugo Tunius](https://github.com/k0nserv)
[#995](https://github.com/CocoaPods/CocoaPods/issues/995) [#995](https://github.com/CocoaPods/CocoaPods/issues/995)
* `pod update` will now accept root pod names, even when only subspecs are
installed.
[Samuel Giddins](https://github.com/segiddins)
[#3689](https://github.com/CocoaPods/CocoaPods/issues/3689)
##### Bug Fixes ##### Bug Fixes
* Added recursive support to the public headers of vendored frameworks * Added recursive support to the public headers of vendored frameworks
......
...@@ -134,8 +134,9 @@ module Pod ...@@ -134,8 +134,9 @@ module Pod
verify_lockfile_exists! verify_lockfile_exists!
# Check if all given pods are installed # Check if all given pods are installed
missing_pods = @pods.select do |pod| lockfile_roots = config.lockfile.pod_names.map { |p| Specification.root_name(p) }
!config.lockfile.pod_names.include?(pod) missing_pods = @pods.map { |p| Specification.root_name(p) }.select do |pod|
!lockfile_roots.include?(pod)
end end
if missing_pods.length > 0 if missing_pods.length > 0
......
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