Sha256: b6c4ddf7562bcf4fad8019d071ec2426a8f2357fae07522d17078cf727fe77b0

Contents?: true

Size: 442 Bytes

Versions: 5

Compression:

Stored size: 442 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

5 entries across 5 versions & 1 rubygems

Version Path
autowow-0.17.1 lib/autowow/commands/heroku.rb
autowow-0.17.0 lib/autowow/commands/heroku.rb
autowow-0.16.1 lib/autowow/commands/heroku.rb
autowow-0.16.0 lib/autowow/commands/heroku.rb
autowow-0.15.0 lib/autowow/commands/heroku.rb