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
b6a5aa69
Commit
b6a5aa69
authored
Oct 10, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Analyzer] Ensure external sources are downloaded when needed
Closes
https://github.com/CocoaPods/CocoaPods/issues/2494
.
parent
1488176f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
CHANGELOG.md
CHANGELOG.md
+6
-1
analyzer.rb
lib/cocoapods/installer/analyzer.rb
+1
-1
No files found.
CHANGELOG.md
View file @
b6a5aa69
...
@@ -7,7 +7,7 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -7,7 +7,7 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
##### Enhacements
##### Enhacements
*
The
`pod push`
has been removed as it has been deprecated in favour of
`pod
*
The
`pod push`
has been removed as it has been deprecated in favour of
`pod
repo push`
in CocoaPods 0.33.
repo push`
in CocoaPods 0.33.
[
Fabio Pelosin
](
https://github.com/fabiopelosin
)
[
Fabio Pelosin
](
https://github.com/fabiopelosin
)
##### Bug Fixes
##### Bug Fixes
...
@@ -16,6 +16,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -16,6 +16,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[
Samuel Giddins
](
https://github.com/segiddins
)
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#2624
](
https://github.com/CocoaPods/CocoaPods/issues/2624
)
[
#2624
](
https://github.com/CocoaPods/CocoaPods/issues/2624
)
*
Ensure that external sources (as specified in the
`Podfile`
) are downloaded
when their source is missing, even if their specification is present.
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#2494
](
https://github.com/CocoaPods/CocoaPods/issues/2494
)
## 0.34.2
## 0.34.2
...
...
lib/cocoapods/installer/analyzer.rb
View file @
b6a5aa69
...
@@ -283,7 +283,7 @@ module Pod
...
@@ -283,7 +283,7 @@ module Pod
end
end
deps_to_fetch
=
deps_with_external_source
.
select
{
|
dep
|
pods_to_fetch
.
include?
(
dep
.
root_name
)
}
deps_to_fetch
=
deps_with_external_source
.
select
{
|
dep
|
pods_to_fetch
.
include?
(
dep
.
root_name
)
}
deps_to_fetch_if_needed
=
deps_with_external_source
.
select
{
|
dep
|
result
.
podfile_state
.
unchanged
.
include?
(
dep
.
root_name
)
}
deps_to_fetch_if_needed
=
deps_with_external_source
.
select
{
|
dep
|
result
.
podfile_state
.
unchanged
.
include?
(
dep
.
root_name
)
}
deps_to_fetch
+=
deps_to_fetch_if_needed
.
select
{
|
dep
|
sandbox
.
specification
(
dep
.
root_name
).
nil?
||
!
dep
.
external_source
[
:local
].
nil?
||
!
dep
.
external_source
[
:path
].
nil?
}
deps_to_fetch
+=
deps_to_fetch_if_needed
.
select
{
|
dep
|
sandbox
.
specification
(
dep
.
root_name
).
nil?
||
!
dep
.
external_source
[
:local
].
nil?
||
!
dep
.
external_source
[
:path
].
nil?
||
!
sandbox
.
pod_dir
(
dep
.
root_name
).
directory?
}
end
end
unless
deps_to_fetch
.
empty?
unless
deps_to_fetch
.
empty?
...
...
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