# File lib/operator.rb, line 526 def log project, config project.issues.map { |i| i.log_events.map { |e| [e, i] } }. flatten_one_level.sort_by { |e| e.first.first }.reverse. each do |(date, author, what, comment), i| puts "date : \#{date.localtime} (\#{date.ago} ago)\nauthor: \#{author}\n issue: [\#{i.name}] \#{i.title}\n\n \#{what}\n\#{comment.gsub(/^/, \" > \") unless comment =~ /^\\A\\s*\\z/}\n" puts unless comment.blank? end end