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
d5cb0bbd
Commit
d5cb0bbd
authored
Aug 21, 2014
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SourcesManager] Adapt for Aggregate changes
parent
f49a5cec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sources_manager.rb
lib/cocoapods/sources_manager.rb
+3
-3
No files found.
lib/cocoapods/sources_manager.rb
View file @
d5cb0bbd
...
@@ -35,7 +35,7 @@ module Pod
...
@@ -35,7 +35,7 @@ module Pod
# installation of CocoaPods.
# installation of CocoaPods.
#
#
def
all
def
all
aggregate
.
all
aggregate
.
sources
end
end
# @return [Array<Specification::Set>] the list of all the specification
# @return [Array<Specification::Set>] the list of all the specification
...
@@ -329,7 +329,7 @@ module Pod
...
@@ -329,7 +329,7 @@ module Pod
# The name of the source.
# The name of the source.
#
#
def
git_source_named
(
name
)
def
git_source_named
(
name
)
specified_source
=
aggregate
.
all
.
find
{
|
s
|
s
.
name
==
name
}
specified_source
=
aggregate
.
sources
.
find
{
|
s
|
s
.
name
==
name
}
unless
specified_source
unless
specified_source
raise
Informative
,
"Unable to find the `
#{
name
}
` repo."
raise
Informative
,
"Unable to find the `
#{
name
}
` repo."
end
end
...
@@ -342,7 +342,7 @@ module Pod
...
@@ -342,7 +342,7 @@ module Pod
# @return [Source] The list of the git sources.
# @return [Source] The list of the git sources.
#
#
def
git_sources
def
git_sources
aggregate
.
all
.
select
do
|
source
|
aggregate
.
sources
.
select
do
|
source
|
git_repo?
(
source
.
data_provider
.
repo
)
git_repo?
(
source
.
data_provider
.
repo
)
end
end
end
end
...
...
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