Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.273 kb
require 'kumade/deployer'
require 'kumade/thor_task'
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.