tasks/ann.rake in bones-2.1.0 vs tasks/ann.rake in bones-2.1.1

- old
+ new

@@ -40,10 +40,10 @@ task :announcement => ['ann:prereqs', PROJ.ann.file] desc "Send an email announcement" task :email => ['ann:prereqs', PROJ.ann.file] do ann = PROJ.ann - from = ann.email[:from] || PROJ.email + from = ann.email[:from] || Array(PROJ.authors).first || PROJ.email to = Array(ann.email[:to]) ### build a mail header for RFC 822 rfc822msg = "From: #{from}\n" rfc822msg << "To: #{to.join(',')}\n"