lib/orats/commands/ui.rb in orats-0.6.4 vs lib/orats/commands/ui.rb in orats-0.6.5

- old
+ new

@@ -3,12 +3,12 @@ module UI include Thor::Shell def log_task(message) puts - say_status 'task', "#{message}:", :yellow - puts '-'*80, ''; sleep 0.25 + say_status 'task', "#{message}:", :yellow + puts '-'*80, ''; sleep 0.25 end def log_status_top(type, message, color) puts say_status type, set_color(message, :bold), color @@ -24,10 +24,10 @@ log_status_bottom 'message', message, :white end def log_error(top_label, top_message, bottom_label, bottom_message, strip_newline = false) log_status_top top_label, "#{top_message}:", :red - log_status_bottom bottom_label, bottom_message , :yellow, strip_newline + log_status_bottom bottom_label, bottom_message, :yellow, strip_newline yield if block_given? end def log_remote_info(top_label, top_message, bottom_label, bottom_message) log_status_top top_label, "#{top_message}:", :green \ No newline at end of file