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
d92c6880
Commit
d92c6880
authored
Apr 02, 2014
by
Samuel Ford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return Pathname instead of string, remove obsolete comment
parent
61969210
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
external_sources.rb
lib/cocoapods/external_sources.rb
+2
-2
sandbox.rb
lib/cocoapods/sandbox.rb
+0
-3
No files found.
lib/cocoapods/external_sources.rb
View file @
d92c6880
...
@@ -368,10 +368,10 @@ module Pod
...
@@ -368,10 +368,10 @@ module Pod
# @!group Helpers
# @!group Helpers
# @return [
String
] the path as declared in the podspec
# @return [
Pathname
] the path as declared in the podspec
#
#
def
declared_path
def
declared_path
(
params
[
:path
]
||
params
[
:local
]).
to_s
Pathname
.
new
params
[
:path
]
||
params
[
:local
]
end
end
# @return [Pathname] the path of the podspec.
# @return [Pathname] the path of the podspec.
...
...
lib/cocoapods/sandbox.rb
View file @
d92c6880
...
@@ -338,9 +338,6 @@ module Pod
...
@@ -338,9 +338,6 @@ module Pod
# @param [#to_s] path
# @param [#to_s] path
# The local path where the Pod is stored.
# The local path where the Pod is stored.
#
#
# @param [Bool] was_absolute
# True if the specified local path was absolute.
#
# @return [void]
# @return [void]
#
#
def
store_local_path
(
name
,
path
)
def
store_local_path
(
name
,
path
)
...
...
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