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
ae569fc3
Commit
ae569fc3
authored
Aug 13, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AbstractExternalSource] Raise if unable to find a podspec.
parent
2c0cc3e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
dependency.rb
lib/cocoapods/dependency.rb
+3
-11
No files found.
lib/cocoapods/dependency.rb
View file @
ae569fc3
...
...
@@ -55,16 +55,6 @@ module Pod
!
@external_source
.
nil?
end
def
=~
(
other
)
if
head?
name
===
other
.
name
&&
other
.
head?
elsif
external?
name
===
other
.
name
&&
external_source
==
other
.
external_source
else
super
&&
!
other
.
head?
&&
!
other
.
external?
end
end
# In case this is a dependency for a subspec, e.g. 'RestKit/Networking',
# this returns 'RestKit', which is what the Pod::Source needs to know to
# retrieve the correct Set from disk.
...
...
@@ -174,7 +164,9 @@ module Pod
def
specification_from_external
(
sandbox
,
platform
)
copy_external_source_into_sandbox
(
sandbox
,
platform
)
specification_from_local
(
sandbox
,
platform
)
spec
=
specification_from_local
(
sandbox
,
platform
)
raise
Informative
,
"No podspec found for `
#{
name
}
` in
#{
description
}
"
unless
spec
spec
end
def
==
(
other
)
...
...
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