module MoodeAutoDeployKit::Remote
Public Instance Methods
base_options()
click to toggle source
# File lib/moode_auto_deploy_kit/remote.rb, line 7 def base_options { :body => { :app_name => $config.app_name, :app_server => $config.app_server, :db_name => $config.db_name, :db_user_name => $config.db_user_name, :db_user_password => $config.db_user_password, :repository_name => repository_name, :repository_branch_remote => $config.repository_branch_remote } } end
remote_server()
click to toggle source
# File lib/moode_auto_deploy_kit/remote.rb, line 3 def remote_server $config.deployer_host end
repository_name()
click to toggle source
# File lib/moode_auto_deploy_kit/remote.rb, line 21 def repository_name $config.repository_url.match(/^.*\/(.*)\.git$/)[1] end