lib/pupa/runner.rb in pupa-0.0.10 vs lib/pupa/runner.rb in pupa-0.0.11

- old
+ new

@@ -199,11 +199,13 @@ if processor.report.key?(action.to_sym) report.update(action.to_sym => processor.report[action.to_sym]) end end - report[:end] = Time.now.utc - report[:time] = report[:end] - report[:start] - puts MultiJson.dump(report) + if %w(DEBUG INFO).include?(options.level) + report[:end] = Time.now.utc + report[:time] = report[:end] - report[:start] + puts MultiJson.dump(report) + end end end end