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
792abfd5
Commit
792abfd5
authored
Dec 18, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Minor fix.
parent
85745020
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
library.rb
lib/cocoapods/library.rb
+1
-1
integration_spec.rb
spec/integration_spec.rb
+2
-2
target_installer_spec.rb
spec/unit/installer/target_installer_spec.rb
+3
-3
No files found.
lib/cocoapods/library.rb
View file @
792abfd5
...
...
@@ -180,7 +180,7 @@ module Pod
# @return [Pathname] the path of the dummy source generated by CocoaPods
#
def
dummy_source_path
support_files_root
+
"
PodsDummy_
#{
label
}
.m"
support_files_root
+
"
#{
label
}
-Dummy
.m"
end
#-------------------------------------------------------------------------#
...
...
spec/integration_spec.rb
View file @
792abfd5
...
...
@@ -100,7 +100,7 @@ module Pod
installer
=
Installer
.
new
(
config
.
sandbox
,
podfile
)
installer
.
install!
dummy
=
(
config
.
project_pods_root
+
'Pods
Dummy_Pods
.m'
).
read
dummy
=
(
config
.
project_pods_root
+
'Pods
-Dummy
.m'
).
read
dummy
.
should
.
include?
(
'@implementation PodsDummy_Pods'
)
end
...
...
@@ -119,7 +119,7 @@ module Pod
installer
=
Installer
.
new
(
config
.
sandbox
,
podfile
)
installer
.
install!
dummy
=
(
config
.
project_pods_root
+
'Pods
Dummy_Pods_AnotherTarget
.m'
).
read
dummy
=
(
config
.
project_pods_root
+
'Pods
-AnotherTarget-Dummy
.m'
).
read
dummy
.
should
.
include?
(
'@implementation PodsDummy_Pods_AnotherTarget'
)
end
...
...
spec/unit/installer/target_installer_spec.rb
View file @
792abfd5
...
...
@@ -171,10 +171,10 @@ module Pod
it
"creates a dummy source to ensure the compilation of libraries with only categories"
do
@installer
.
install!
build_files
=
@installer
.
target
.
source_build_phase
.
files
build_file
=
build_files
.
find
{
|
bf
|
bf
.
file_ref
.
name
==
'Pods
Dummy_Pods
.m'
}
build_file
=
build_files
.
find
{
|
bf
|
bf
.
file_ref
.
name
==
'Pods
-Dummy
.m'
}
build_file
.
should
.
be
.
not
.
nil
build_file
.
file_ref
.
path
.
should
==
'Pods
Dummy_Pods
.m'
dummy
=
config
.
sandbox
.
root
+
'Pods
Dummy_Pods
.m'
build_file
.
file_ref
.
path
.
should
==
'Pods
-Dummy
.m'
dummy
=
config
.
sandbox
.
root
+
'Pods
-Dummy
.m'
dummy
.
read
.
should
.
include?
(
'@interface PodsDummy_Pods'
)
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