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
3976312f
Commit
3976312f
authored
Apr 04, 2014
by
Samuel Ford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up naming a little bit absolute path tracking
parent
6e40410f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sandbox.rb
lib/cocoapods/sandbox.rb
+3
-3
No files found.
lib/cocoapods/sandbox.rb
View file @
3976312f
...
@@ -69,7 +69,7 @@ module Pod
...
@@ -69,7 +69,7 @@ module Pod
@head_pods
=
[]
@head_pods
=
[]
@checkout_sources
=
{}
@checkout_sources
=
{}
@development_pods
=
{}
@development_pods
=
{}
@
development_pods_were_absolute
=
{}
@
pods_with_absolute_path
=
[]
end
end
# @return [Lockfile] the manifest which contains the information about the
# @return [Lockfile] the manifest which contains the information about the
...
@@ -167,7 +167,7 @@ module Pod
...
@@ -167,7 +167,7 @@ module Pod
# @return [Bool] true if originally absolute
# @return [Bool] true if originally absolute
#
#
def
local_path_was_absolute?
(
name
)
def
local_path_was_absolute?
(
name
)
@
development_pods_were_absolute
[
name
]
@
pods_with_absolute_path
.
include?
name
end
end
# @return [Pathname] the directory where to store the documentation.
# @return [Pathname] the directory where to store the documentation.
...
@@ -357,7 +357,7 @@ module Pod
...
@@ -357,7 +357,7 @@ module Pod
def
store_local_path
(
name
,
path
,
was_absolute
=
false
)
def
store_local_path
(
name
,
path
,
was_absolute
=
false
)
root_name
=
Specification
.
root_name
(
name
)
root_name
=
Specification
.
root_name
(
name
)
development_pods
[
root_name
]
=
path
.
to_s
development_pods
[
root_name
]
=
path
.
to_s
@
development_pods_were_absolute
[
root_name
]
=
was_absolute
@
pods_with_absolute_path
<<
root_name
if
was_absolute
end
end
# @return [Hash{String=>String}] The path of the Pods with a local source
# @return [Hash{String=>String}] The path of the Pods with a local source
...
...
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