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.22 lib/codelation/development/postgres.rb
codelation-cli-0.0.21 lib/codelation/development/postgres.rb
codelation-cli-0.0.20 lib/codelation/development/postgres.rb
codelation-cli-0.0.19 lib/codelation/development/postgres.rb
codelation-cli-0.0.18 lib/codelation/development/postgres.rb
codelation-cli-0.0.17 lib/codelation/development/postgres.rb
codelation-cli-0.0.16 lib/codelation/development/postgres.rb
codelation-cli-0.0.15 lib/codelation/development/postgres.rb
codelation-cli-0.0.14 lib/codelation/development/postgres.rb
codelation-cli-0.0.13 lib/codelation/development/postgres.rb
codelation-cli-0.0.12 lib/codelation/development/postgres.rb
codelation-cli-0.0.11 lib/codelation/development/postgres.rb
codelation-cli-0.0.10 lib/codelation/development/postgres.rb
codelation-cli-0.0.9 lib/codelation/development/postgres.rb
codelation-cli-0.0.8 lib/codelation/development/postgres.rb
codelation-cli-0.0.7 lib/codelation/development/postgres.rb
codelation-cli-0.0.6 lib/codelation/development/postgres.rb
codelation-cli-0.0.5 lib/codelation/development/postgres.rb
codelation-cli-0.0.4 lib/codelation/development/postgres.rb
codelation-cli-0.0.3 lib/codelation/development/postgres.rb