droiuby 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/drby +2 -1
- metadata +1 -1
data/bin/drby
CHANGED
@@ -54,7 +54,7 @@ case command
|
|
54
54
|
when 'console'
|
55
55
|
puts "droiuby console"
|
56
56
|
project = Project.new
|
57
|
-
while buf = Readline.readline(">
|
57
|
+
while buf = Readline.readline("droiuby > ", true)
|
58
58
|
|
59
59
|
exit(1) if buf=='exit' || buf=='quit'
|
60
60
|
|
@@ -66,6 +66,7 @@ case command
|
|
66
66
|
puts "\n"
|
67
67
|
next
|
68
68
|
end
|
69
|
+
next if buf.blank?
|
69
70
|
res = JSON.parse(project.command(buf, $device_ip))
|
70
71
|
puts res['result']
|
71
72
|
end
|