summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2013-07-23 09:53:39 +0900
committerTomoyuki Sahara <[email protected]>2013-07-23 09:53:39 +0900
commite8df8dcae673cbe4c616d8d44b77d0aeb30f16e4 (patch)
treedc2099b40a89b100d34848ccff539d2ae2d86b15
parent29a3f8b8e3826551daedbc4802a12ae2411a0351 (diff)
downloadmruby-e8df8dcae673cbe4c616d8d44b77d0aeb30f16e4.tar.gz
mruby-e8df8dcae673cbe4c616d8d44b77d0aeb30f16e4.zip
display multiple authors better.
Before: Copyright (c) 2013 ["a", "b"] After: Copyright (c) 2013 a, b
-rw-r--r--tasks/mrbgems.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/mrbgems.rake b/tasks/mrbgems.rake
index 5f156c45a..d8f56f88e 100644
--- a/tasks/mrbgems.rake
+++ b/tasks/mrbgems.rake
@@ -74,9 +74,10 @@ please check the following additional licenses too:
GEMS_LEGAL
gems.map do |g|
+ authors = [g.authors].flatten.sort.join(", ")
f.puts
f.puts "GEM: #{g.name}"
- f.puts "Copyright (c) #{Time.now.year} #{g.authors}"
+ f.puts "Copyright (c) #{Time.now.year} #{authors}"
f.puts "License: #{g.licenses}"
end
end