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
49eafba9
Commit
49eafba9
authored
Feb 11, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Fix for master repo changes
parent
109af82e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
Reachability
spec/fixtures/integration/Reachability
+1
-1
master
spec/fixtures/spec-repos/master
+1
-1
resolver_spec.rb
spec/unit/resolver_spec.rb
+2
-2
source_spec.rb
spec/unit/source_spec.rb
+2
-2
No files found.
Reachability
@
4ec575e4
Subproject commit
f7176f4798d068d233dca5223ae4bd9c8059e830
Subproject commit
4ec575e4b074dcc87c44018cce656672a979b34a
master
@
7f3cc9e1
Subproject commit
84ea24c2f3a5d463da1e7945c60fd3f33f73dee2
Subproject commit
7f3cc9e12b0a459582d606baa7fc906006965f54
spec/unit/resolver_spec.rb
View file @
49eafba9
...
@@ -67,7 +67,7 @@ module Pod
...
@@ -67,7 +67,7 @@ module Pod
it
"resolves subspecs"
do
it
"resolves subspecs"
do
@podfile
=
Podfile
.
new
do
@podfile
=
Podfile
.
new
do
platform
:ios
platform
:ios
pod
'RestKit/Network'
pod
'RestKit/Network'
,
'0.10.3'
pod
'RestKit/ObjectMapping/XML'
pod
'RestKit/ObjectMapping/XML'
end
end
resolver
=
Resolver
.
new
(
@podfile
,
nil
,
stub
(
'sandbox'
))
resolver
=
Resolver
.
new
(
@podfile
,
nil
,
stub
(
'sandbox'
))
...
@@ -88,7 +88,7 @@ module Pod
...
@@ -88,7 +88,7 @@ module Pod
it
"includes all the subspecs of a specification node"
do
it
"includes all the subspecs of a specification node"
do
@podfile
=
Podfile
.
new
do
@podfile
=
Podfile
.
new
do
platform
:ios
platform
:ios
pod
'RestKit'
pod
'RestKit'
,
'0.10.3'
end
end
resolver
=
Resolver
.
new
(
@podfile
,
nil
,
stub
(
'sandbox'
))
resolver
=
Resolver
.
new
(
@podfile
,
nil
,
stub
(
'sandbox'
))
resolver
.
resolve
.
values
.
flatten
.
map
(
&
:name
).
sort
.
should
==
%w{
resolver
.
resolve
.
values
.
flatten
.
map
(
&
:name
).
sort
.
should
==
%w{
...
...
spec/unit/source_spec.rb
View file @
49eafba9
...
@@ -69,9 +69,9 @@ describe "Pod::Source" do
...
@@ -69,9 +69,9 @@ describe "Pod::Source" do
end
end
it
"searches the sets specifing a dependency on a subspec"
do
it
"searches the sets specifing a dependency on a subspec"
do
dep
=
Pod
::
Dependency
.
new
(
'
RestKit/JSON
'
)
dep
=
Pod
::
Dependency
.
new
(
'
ShareKit/Evernote
'
)
set
=
Pod
::
Source
.
search
(
dep
)
set
=
Pod
::
Source
.
search
(
dep
)
set
.
name
.
should
==
'
Rest
Kit'
set
.
name
.
should
==
'
Share
Kit'
set
.
sources
.
map
(
&
:name
).
should
==
%w| master |
set
.
sources
.
map
(
&
:name
).
should
==
%w| master |
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