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
3f6e44ad
Commit
3f6e44ad
authored
Dec 03, 2012
by
Marin Usalj
Committed by
Eloy Durán
Dec 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected some typos
parent
9edaa8a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
specification.rb
lib/cocoapods/specification.rb
+2
-2
No files found.
lib/cocoapods/specification.rb
View file @
3f6e44ad
...
...
@@ -18,8 +18,8 @@ module Pod
### Initalization
# The file is expected to define and return a Pods::Specification.
# If name is equal
s
to nil it returns the top level Specification,
# otherwise it return
ed the specification with the name that matches
# If name is equal to nil it returns the top level Specification,
# otherwise it return
s the specification with matching name
def
self
.
from_file
(
path
,
subspec_name
=
nil
)
unless
path
.
exist?
raise
Informative
,
"No podspec exists at path `
#{
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