bin/drby in droiuby-0.3.0 vs bin/drby in droiuby-0.3.1
- old
+ new
@@ -3,10 +3,11 @@
require "droiuby"
require 'optparse'
require 'ripper'
require "readline"
+require 'json'
$droiuby_host = ENV['DROIUBY_HOST'] || '10.0.2.2'
$device_ip = ENV['DROIUBY_DEVICE'] || nil
$app_name = nil
@@ -55,10 +56,10 @@
if project_name.blank?
puts "PROJECT_NAME is required"
puts "Usage: drby new PROJECT_NAME [options]"
exit(1)
end
-
+
app_name = if $app_name.nil?
:prompt
else
$app_name
end