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
9f45146f
Commit
9f45146f
authored
Oct 15, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Resolver] Use NoSuchDependencyError
parent
59a6713a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
Gemfile.lock
Gemfile.lock
+1
-1
resolver.rb
lib/cocoapods/resolver.rb
+1
-2
resolver_spec.rb
spec/unit/resolver_spec.rb
+1
-1
No files found.
Gemfile.lock
View file @
9f45146f
...
...
@@ -18,7 +18,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Resolver.git
revision:
baebceabbbeea954ca3a398794c2008aa72b9d87
revision:
c9532593ab99e25aa1aa61c1410e72ded3c2a2f1
branch: master
specs:
resolver (0.0.1)
...
...
lib/cocoapods/resolver.rb
View file @
9f45146f
...
...
@@ -213,8 +213,7 @@ module Pod
end
cached_sets
[
name
]
=
set
unless
set
raise
Informative
,
'Unable to find a specification for '
\
"`
#{
dependency
}
`."
raise
::
Resolver
::
NoSuchDependencyError
.
new
(
dependency
)
end
end
cached_sets
[
name
]
...
...
spec/unit/resolver_spec.rb
View file @
9f45146f
...
...
@@ -122,7 +122,7 @@ module Pod
@resolver
.
resolve
end
.
message
message
.
should
.
match
/Unable to find a specification/
message
.
should
.
match
/`Windows` depended upon by
BlocksKit
/
message
.
should
.
match
/`Windows` depended upon by
`BlocksKit`
/
end
it
'does not raise if all dependencies are supported by the platform of the target definition'
do
...
...
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