lib/dryrun.rb in dryrun-0.7.5 vs lib/dryrun.rb in dryrun-0.7.6
- old
+ new
@@ -81,10 +81,11 @@
input = ask "\n#{'Your Dryrun version is outdated, want to update?'.yellow} #{'[Y/n]:'.white}"
end while !['y', 'n', 's'].include?(input.downcase)
if input.downcase.eql? 'y'
DryrunUtils.execute('gem update dryrun')
+
end
end
def pick_device()
@@ -140,9 +141,11 @@
puts "\nWARNING: your #{'$ANDROID_HOME'.yellow} is not defined\n"
puts "\nhint: in your #{'~/.bashrc'.yellow} or #{'~/.bash_profile'.yellow} add:\n #{"export ANDROID_HOME=\"/Users/cesarferreira/Library/Android/sdk/\"".yellow}"
puts "\nNow type #{'source ~/.bashrc'.yellow}\n\n"
exit 1
end
+
+ @url = @url.split("?").first
pick_device()
github = Github.new(@url)