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
b276e290
Commit
b276e290
authored
Mar 06, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[External sources] Fix pod lint --local
parent
189917d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
external_sources.rb
lib/cocoapods/external_sources.rb
+5
-1
No files found.
CHANGELOG.md
View file @
b276e290
...
...
@@ -9,6 +9,7 @@
-
Pre install hooks are called before the Pods are cleaned.
-
Fixed and issue which prevent the inclusion of OTHER_CFLAGS and
OTHER_CPLUSPLUSFLAGS in the release builds of the Pods project.
-
Fixed
`pod lint --local`
## 0.17.0.rc2
[
CocoaPods
](
https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc1...0.17.0.rc2
)
...
...
lib/cocoapods/external_sources.rb
View file @
b276e290
...
...
@@ -319,7 +319,11 @@ module Pod
declared_path
=
params
[
:local
].
to_s
path_with_ext
=
File
.
extname
(
declared_path
)
==
'.podspec'
?
declared_path
:
"
#{
declared_path
}
/
#{
name
}
.podspec"
path_without_tilde
=
path_with_ext
.
gsub
(
'~'
,
ENV
[
'HOME'
])
absolute_path
=
Pathname
(
podfile_path
).
dirname
+
path_without_tilde
if
podfile_path
absolute_path
=
Pathname
(
podfile_path
).
dirname
+
path_without_tilde
else
absolute_path
=
Pathname
.
new
(
path_without_tilde
)
end
unless
absolute_path
.
exist?
raise
Informative
,
"No podspec found for `
#{
name
}
` in `
#{
params
[
:local
]
}
`"
...
...
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