Sha256: dcd3db70a793a5d598ec1fad51d9e42c848eabe9bbd9a27d12caa28f33a36397

Contents?: true

Size: 380 Bytes

Versions: 21

Compression:

Stored size: 380 Bytes

Contents

require "thor"

module Codelation
  class Cli < Thor
    POSTGRES_APP_DOWNLOAD_URL = "https://github.com/PostgresApp/PostgresApp/releases/download/9.4.1.0/Postgres-9.4.1.0.zip"

  private

    # Install Postgres.app
    def install_postgres
      zip_file_path = download_file(POSTGRES_APP_DOWNLOAD_URL)
      extract_app_from_zip("Postgres.app", zip_file_path)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
codelation-cli-0.0.2 lib/codelation/development/postgres.rb