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
9976cc0d
Commit
9976cc0d
authored
Nov 17, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug that made multiple inline specs not work.
parent
f8bdf082
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
set.rb
lib/cocoapods/specification/set.rb
+4
-0
integration_spec.rb
spec/integration_spec.rb
+9
-3
No files found.
lib/cocoapods/specification/set.rb
View file @
9976cc0d
...
...
@@ -92,6 +92,10 @@ module Pod
@specification
.
name
end
def
==
(
other
)
self
.
class
===
other
&&
name
==
other
.
name
end
def
required_by
(
specification
)
before
=
@specification
super
(
specification
)
...
...
spec/integration_spec.rb
View file @
9976cc0d
...
...
@@ -99,17 +99,23 @@ else
dependency
do
|
s
|
s
.
name
=
'JSONKit'
s
.
version
=
'1.2'
s
.
source
=
{
:git
=>
'https://github.com/johnezang/JSONKit.git'
,
:tag
=>
'v1.2'
}
s
.
source
=
{
:git
=>
SpecHelper
.
fixture
(
'integration/JSONKit'
).
to_s
,
:tag
=>
'v1.2'
}
s
.
source_files
=
'JSONKit.*'
end
dependency
do
|
s
|
s
.
name
=
'SSZipArchive'
s
.
version
=
'0.1.0'
s
.
source
=
{
:git
=>
SpecHelper
.
fixture
(
'integration/SSZipArchive'
).
to_s
,
:tag
=>
'0.1.0'
}
s
.
source_files
=
'SSZipArchive.*'
,
'minizip/*.{h,c}'
end
end
installer
=
SpecHelper
::
Installer
.
new
(
podfile
)
installer
.
install!
YAML
.
load
(
installer
.
lock_file
.
read
).
should
==
{
'PODS'
=>
[
'JSONKit (1.2)'
],
'DEPENDENCIES'
=>
[
"JSONKit (defined in Podfile)"
]
'PODS'
=>
[
'JSONKit (1.2)'
,
'SSZipArchive (0.1.0)'
],
'DEPENDENCIES'
=>
[
"JSONKit (defined in Podfile)"
,
"SSZipArchive (defined in Podfile)"
]
}
change_log
=
(
config
.
project_pods_root
+
'JSONKit/CHANGELOG.md'
).
read
...
...
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