Sha256: cf885d24782f7aa456419f427dd241d89893aad80b8968556ec8e65342abf2d2
Contents?: true
Size: 530 Bytes
Versions: 35
Compression:
Stored size: 530 Bytes
Contents
require 'roo_on_rails/checks/base' require 'roo_on_rails/checks/heroku/toolbelt_installed' module RooOnRails module Checks module Heroku class ToolbeltWorking < Base requires ToolbeltInstalled def intro "Checking if the Heroku Toolbelt is working..." end def call if shell.run? 'heroku status > /dev/null' pass 'read heroku status' else fail! "could not run 'heroku status'" end end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems