Skip to content

Commit

Permalink
Clarify author documentation and template
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Jan 9, 2014
1 parent 8361587 commit 0c64835
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lib/cocoapods/command/spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -492,13 +492,16 @@ def spec_template(data)
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# 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
# found CocoaPods accept just the names.
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
# accepts just a name if you don't want to provide email addresses.
#
# 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.authors = { "#{data[:author_name]}" => "#{data[:author_email]}", "other author" => "email@address.com" }
# s.author = '#{data[:author_name]}', 'other author'
# Or just: s.author = '#{data[:author_name]}'
# s.authors = { "#{data[:author_name]}" => "#{data[:author_email]}" }
# s.social_media_url = "http://twitter.com/#{data[:author_name]}"
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand Down

0 comments on commit 0c64835

Please sign in to comment.