Sha256: e15216720fa9eb07e91db06bf3b83fc52523f98b3cfd118131cf1678a9f33d61

Contents?: true

Size: 191 Bytes

Versions: 6

Compression:

Stored size: 191 Bytes

Contents

module Tol
class Heroku
  def list_of_applications
    git_config = File.read(".git/config")
    git_config.scan(/heroku\..*:(.*)\.git/i).map do |result|
      result[0]
    end
  end
end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tol-0.0.6 lib/tol/heroku.rb
tol-0.0.5 lib/tol/heroku.rb
tol-0.0.4 lib/tol/heroku.rb
tol-0.0.3 lib/tol/heroku.rb
tol-0.0.2 lib/tol/heroku.rb
tol-0.0.1 lib/tol/heroku.rb