Sha256: 8157d8a76ce7729f227482cd717f96449e24ba77032241eabdf2f330caf69923

Contents?: true

Size: 339 Bytes

Versions: 9

Compression:

Stored size: 339 Bytes

Contents

require "thor"

module Codelation
  class Cli < Thor
    PSEQUEL_APP_DOWNLOAD_URL = "http://www.psequel.com/download?version=latest".freeze

  private

    # Install PSequel.app
    def install_psequel
      zip_file_path = download_file(PSEQUEL_APP_DOWNLOAD_URL)
      extract_app_from_zip("PSequel.app", zip_file_path)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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