Sha256: d4cd67fb302fe6f81e376c6035857f7072934d620bb659947def089f2a3817f0

Contents?: true

Size: 465 Bytes

Versions: 3

Compression:

Stored size: 465 Bytes

Contents

module Autowow
  module Commands
    module Heroku
      def cmd
        ["heroku"]
      end

      def info
        cmd + ["info"]
      end

      def pb_reset(app_name)
        cmd + ["pg:reset", "DATABASE_URL", "--app", app_name, "--confirm", app_name]
      end

      def migrate(app_name)
        cmd + ["run", "rake", "db:migrate", "--app", app_name]
      end

      include ReflectionUtils::CreateModuleFunctions
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
autowow-0.14.2 lib/autowow/commands/heroku.rb
autowow-0.14.1 lib/autowow/commands/heroku.rb
autowow-0.14.0 lib/autowow/commands/heroku.rb