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

Version Path
roo_on_rails-2.2.2 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-2.2.1 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-2.2.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-2.1.2 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-2.1.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-2.0.0.pre.pre.2 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-2.0.0.pre.pre.1 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.22.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.21.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.20.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.19.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.18.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.17.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.16.2 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.16.1 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.16.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.15.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.14.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.13.1 lib/roo_on_rails/checks/heroku/toolbelt_working.rb
roo_on_rails-1.13.0 lib/roo_on_rails/checks/heroku/toolbelt_working.rb