Sha256: 8510f762e3856d0a713c209822be5ff8ca580bd910bc2a1a489b24e9e343191a

Contents?: true

Size: 387 Bytes

Versions: 8

Compression:

Stored size: 387 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".freeze

  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

8 entries across 8 versions & 1 rubygems

Version Path
codelation-cli-0.1.1 lib/codelation/development/postgres.rb
codelation-cli-0.1.0 lib/codelation/development/postgres.rb
codelation-cli-0.0.28 lib/codelation/development/postgres.rb
codelation-cli-0.0.27 lib/codelation/development/postgres.rb
codelation-cli-0.0.26 lib/codelation/development/postgres.rb
codelation-cli-0.0.25 lib/codelation/development/postgres.rb
codelation-cli-0.0.24 lib/codelation/development/postgres.rb
codelation-cli-0.0.23 lib/codelation/development/postgres.rb