Sha256: 0d1757d83bab19d2da8f438b7becc660f7ca22c5e0abb385023dde596fc6ce86

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

require_relative "../commands/heroku"

module Autowow
  module Features
    module Gem
      include Commands::Heroku
      include Executor

      def app_name
        quiet.run(info).out.clean_lines.select { |line| line.start_with?("===") }.first.split(" ").last
      end

      def db_migrate
        current_app_name = app_name

        pretty_with_output.run(pb_reset(current_app_name))
        pretty_with_output.run(migrate(current_app_name))
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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