Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
3cd3de40
Commit
3cd3de40
authored
Jun 26, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] Allow specifying root names
Closes
https://github.com/CocoaPods/CocoaPods/issues/3689
.
parent
a669201a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
CHANGELOG.md
CHANGELOG.md
+5
-0
project.rb
lib/cocoapods/command/project.rb
+3
-2
No files found.
CHANGELOG.md
View file @
3cd3de40
...
...
@@ -83,6 +83,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Hugo Tunius](https://github.com/k0nserv)
[#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
* Added recursive support to the public headers of vendored frameworks
...
...
lib/cocoapods/command/project.rb
View file @
3cd3de40
...
...
@@ -134,8 +134,9 @@ module Pod
verify_lockfile_exists!
# Check if all given pods are installed
missing_pods
=
@pods
.
select
do
|
pod
|
!
config
.
lockfile
.
pod_names
.
include?
(
pod
)
lockfile_roots
=
config
.
lockfile
.
pod_names
.
map
{
|
p
|
Specification
.
root_name
(
p
)
}
missing_pods
=
@pods
.
map
{
|
p
|
Specification
.
root_name
(
p
)
}.
select
do
|
pod
|
!
lockfile_roots
.
include?
(
pod
)
end
if
missing_pods
.
length
>
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment