lib/shelly/app.rb in shelly-0.0.10 vs lib/shelly/app.rb in shelly-0.0.11
- old
+ new
@@ -17,11 +17,15 @@
def remote_exists?
IO.popen("git remote").read.split("\n").include?(purpose)
end
+ def git_host
+ ENV["SHELLY_GIT_HOST"] || "git.shellycloud.com"
+ end
+
def git_url
- "git@git.shellycloud.com:#{code_name}.git"
+ "git@#{git_host}:#{code_name}.git"
end
def generate_cloudfile
@email = current_user.email
@databases = databases