From 87271e63ae47032c77947ff07ff8ec9e4c496f9b Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Wed, 30 Jul 2014 10:32:14 -0700 Subject: [PATCH] tork: emit "tork:" prefix on messages sent to user --- lib/tork/cliapp.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/tork/cliapp.rb b/lib/tork/cliapp.rb index a4db69c..e18c54c 100644 --- a/lib/tork/cliapp.rb +++ b/lib/tork/cliapp.rb @@ -4,7 +4,7 @@ module Tork class CLIApp < Server def loop - tell @clients, 'Absorbing test execution overhead...', false + tell @clients, 'Absorbing test execution overhead...' @driver = popen('tork-driver') super ensure @@ -29,10 +29,10 @@ def recv client, message case event_sym = event.to_sym when :absorb - tell @clients, 'Overhead absorbed. Ready for testing!', false + tell @clients, 'Test execution overhead absorbed; ready to test!' when :reabsorb - tell @clients, 'Reabsorbing changed overhead files...', false + tell @clients, 'Test execution overhead changed; re-absorbing...' when :test, :pass, :fail test_file, line_numbers, log_file, worker_number, exit_status = details @@ -63,7 +63,7 @@ def recv client, message if respond_to? cmd.first, true __send__(*cmd) else - tell @clients, "Sending #{cmd.inspect} command...", false + tell @clients, "Sending #{cmd.inspect} command..." send @driver, cmd end end @@ -84,7 +84,7 @@ def recv client, message } def help client - tell client, <