Sha256: dab8c5f41d0ba9edef2e6dfc8d3128fd96ea51d90c0b777206c7320e8cda17ae

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

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