bin/tork in tork-18.0.0 vs bin/tork in tork-18.0.1

- old
+ new

@@ -1,9 +1,9 @@ #!/usr/bin/env ruby =begin ======================================================================= -# TORK 1 2012-02-06 18.0.0 +# TORK 1 2012-02-13 18.0.1 ## NAME tork - Continuous testing tool for Ruby @@ -77,11 +77,11 @@ 'o' => :reabsorb_overhead_files, 'q' => :quit, } begin - while key = STDIN.gets.strip - if command = COMMANDS[key] + while key = STDIN.gets + if command = COMMANDS[key.strip] warn "tork: Sending #{command.to_s.inspect} command..." @driver.send [command] break if command == :quit else # invalid command COMMANDS.each do |k, cmd|