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
003ee24e
Commit
003ee24e
authored
Feb 20, 2013
by
Peter M. Goldstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix errant apostrophes.
parent
71f4eb17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
git_spec.rb
spec/functional/downloader/git_spec.rb
+3
-3
downloader_spec.rb
spec/functional/downloader_spec.rb
+4
-4
No files found.
spec/functional/downloader/git_spec.rb
View file @
003ee24e
...
@@ -8,7 +8,7 @@ module Pod
...
@@ -8,7 +8,7 @@ module Pod
@pod
=
LocalPod
.
new
(
fixture_spec
(
'banana-lib/BananaLib.podspec'
),
temporary_sandbox
,
Platform
.
ios
)
@pod
=
LocalPod
.
new
(
fixture_spec
(
'banana-lib/BananaLib.podspec'
),
temporary_sandbox
,
Platform
.
ios
)
end
end
it
"check
'
s out a specific commit"
do
it
"checks out a specific commit"
do
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
:git
=>
fixture
(
'banana-lib'
),
:commit
=>
'fd56054'
:git
=>
fixture
(
'banana-lib'
),
:commit
=>
'fd56054'
)
)
...
@@ -18,7 +18,7 @@ module Pod
...
@@ -18,7 +18,7 @@ module Pod
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'first commit'
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'first commit'
end
end
it
"check
'
s out a specific branch"
do
it
"checks out a specific branch"
do
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
:git
=>
fixture
(
'banana-lib'
),
:branch
=>
'topicbranch'
:git
=>
fixture
(
'banana-lib'
),
:branch
=>
'topicbranch'
)
)
...
@@ -28,7 +28,7 @@ module Pod
...
@@ -28,7 +28,7 @@ module Pod
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'topicbranch'
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'topicbranch'
end
end
it
"check
'
s out a specific tag"
do
it
"checks out a specific tag"
do
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
:git
=>
fixture
(
'banana-lib'
),
:tag
=>
'v1.0'
:git
=>
fixture
(
'banana-lib'
),
:tag
=>
'v1.0'
)
)
...
...
spec/functional/downloader_spec.rb
View file @
003ee24e
...
@@ -7,7 +7,7 @@ module Pod
...
@@ -7,7 +7,7 @@ module Pod
end
end
describe
"for Mercurial"
do
describe
"for Mercurial"
do
it
"check
'
s out a specific revision"
do
it
"checks out a specific revision"
do
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
:hg
=>
fixture
(
'mercurial-repo'
),
:revision
=>
'46198bb3af96'
:hg
=>
fixture
(
'mercurial-repo'
),
:revision
=>
'46198bb3af96'
)
)
...
@@ -27,7 +27,7 @@ module Pod
...
@@ -27,7 +27,7 @@ module Pod
describe
"for Subversion"
do
describe
"for Subversion"
do
it
"check
'
s out a specific revision"
do
it
"checks out a specific revision"
do
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
:svn
=>
"file://
#{
fixture
(
'subversion-repo'
)
}
"
,
:revision
=>
'1'
:svn
=>
"file://
#{
fixture
(
'subversion-repo'
)
}
"
,
:revision
=>
'1'
)
)
...
@@ -36,7 +36,7 @@ module Pod
...
@@ -36,7 +36,7 @@ module Pod
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'first commit'
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'first commit'
end
end
it
"check
'
s out a specific tag"
do
it
"checks out a specific tag"
do
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
:svn
=>
"file://
#{
fixture
(
'subversion-repo'
)
}
"
,
:tag
=>
'tag-1'
:svn
=>
"file://
#{
fixture
(
'subversion-repo'
)
}
"
,
:tag
=>
'tag-1'
)
)
...
@@ -45,7 +45,7 @@ module Pod
...
@@ -45,7 +45,7 @@ module Pod
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'tag 1'
(
@pod
.
root
+
'README'
).
read
.
strip
.
should
==
'tag 1'
end
end
it
"check
'
s out the head version"
do
it
"checks out the head version"
do
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
@pod
.
top_specification
.
stubs
(
:source
).
returns
(
:svn
=>
"file://
#{
fixture
(
'subversion-repo'
)
}
"
,
:revision
=>
'1'
:svn
=>
"file://
#{
fixture
(
'subversion-repo'
)
}
"
,
:revision
=>
'1'
)
)
...
...
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