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
0c64835a
Commit
0c64835a
authored
Jan 09, 2014
by
Florian R. Hanke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify author documentation and template
parent
83615873
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
spec.rb
lib/cocoapods/command/spec.rb
+8
-5
No files found.
lib/cocoapods/command/spec.rb
View file @
0c64835a
...
@@ -492,13 +492,16 @@ Pod::Spec.new do |s|
...
@@ -492,13 +492,16 @@ Pod::Spec.new do |s|
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
#
# Specify the authors of the library, with email addresses. Email addresses
# Specify the authors of the library, with email addresses. Email addresses
# of the authors
by using the SCM log. E.g. $ git log. If no email can be
# of the authors
are extracted from the SCM log. E.g. $ git log. CocoaPods also
#
found CocoaPods accept just the nam
es.
#
accepts just a name if you don't want to provide email address
es.
#
#
# Specify a social_media_url where others can refer to, for example a twitter
# profile URL.
#
s.author = { "
#{
data
[
:author_name
]
}
" => "
#{
data
[
:author_email
]
}
" }
s.author = { "
#{
data
[
:author_name
]
}
" => "
#{
data
[
:author_email
]
}
" }
#
s.authors = { "
#{
data
[
:author_name
]
}
" => "
#{
data
[
:author_email
]
}
", "other author" => "email@address.com" }
#
Or just: s.author = '
#{
data
[
:author_name
]
}
'
# s.author
= '
#{
data
[
:author_name
]
}
', 'other author'
# s.author
s = { "
#{
data
[
:author_name
]
}
" => "
#{
data
[
:author_email
]
}
" }
# s.social_media_url = "http://twitter.com/
#{
data
[
:author_name
]
}
"
# s.social_media_url = "http://twitter.com/
#{
data
[
:author_name
]
}
"
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...
...
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