Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.285 kB
require 'thor'
require 'kumade/deployer'
require 'kumade/runner'
module Kumade
def self.app_for(environment)
heroku_git_url = `git config --get remote.#{environment}.url`.strip
if heroku_git_url =~ /^git@heroku\.com:(.+)\.git$/
$1
else
nil
end
end
end
Jump to Line
Something went wrong with that request. Please try again.