Permalink
Browse files

modified information of author

  • Loading branch information...
1 parent c9d730b commit 1239967c98283fddf4348e133a619c722889b82d @Watson1978 committed Nov 21, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 PodCreator/PodList.rb
View
@@ -17,11 +17,13 @@ def list
h[item] = eval("pod.specification.#{item}") || ""
end
- author = []
+ authors = []
h['authors'].keys.each do |k|
- author << "#{k} : #{h['authors'][k]}"
+ author = k
+ author += " <#{h['authors'][k]}>" if h['authors'][k]
+ authors << author
end
- h['authors'] = author.join(', ')
+ h['authors'] = authors.join(', ')
result << h
end

0 comments on commit 1239967

Please sign in to comment.