bin/hubbard in hubbard-0.0.5 vs bin/hubbard in hubbard-0.0.6
- old
+ new
@@ -1,13 +1,15 @@
#!/usr/bin/env ruby
require 'fileutils'
+require 'socket'
PROJECT_REGEX='[a-zA-Z0-9\-]{1,32}'
REPOSITORY_REGEX='[a-zA-Z0-9\-]{1,32}'
USERNAME_REGEX='[a-zA-Z0-9\-]{1,32}'
HUB_DATA = ENV['HUB_DATA'] || File.expand_path("~/.hubbard")
+HUB_HOST = ENV['HUB_HOST'] || Socket.gethostname
FileUtils.mkdir_p(File.join(HUB_DATA, "projects"))
FileUtils.mkdir_p(File.join(HUB_DATA, "accounts"))
def next_arg(msg)