Class Capistrano::Harrow::Installer
In: lib/capistrano/harrow/installer.rb
Parent: Object

Methods

install!   message   new   prompt   quit!   quit?   signup_data  

Constants

PROMPTS = { want_install: %q{Enhance Capistrano with awesome collaboration and automation features? }, enter_password: "Enter a password for your Harrow.io account", confirm_password: "Confirm your password", retry_request: "Retry?", enter_name: "Enter your name", enter_email: "Enter your email", }
MESSAGES = { aborting: "Aborting%<reason>s...\n", installation_successful: %q{ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Success! ┃ ┃ ┃ ┃ Your account has been created. ┃ ┃ ┃ ┃ Organization: %-28<organization_name>s┃ ┃ ┃ ┃ Project: %-28<project_name>s┃ ┃ ┃ ┃ We sent an email to: ┃ ┃ ┃ ┃ %-43<email>s┃ ┃ ┃ ┃ Please confirm your email address ┃ ┃ to proceed. ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ }, existing_account_found: %q{ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Great! ┃ ┃ ┃ ┃ You already have an account! ┃ ┃ ┃ ┃ Please log in at: ┃ ┃ ┃ ┃ https://www.app.harrow.io ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ }, password_mismatch: "Passwords don't match!", api_network_error: "Looks like there was a problem with the network", api_protocol_error: "Harrow API declined request", api_fatal_error: "Something went wrong", password_too_short: "Your password needs to be at least 10 characters long", signup_data: %q{ We'll set-up your account for you with the following details: %<name>s <%<email>s> }, repository: %{ For this repository with the URL: %<repository_url>s }, preinstall: %q{ We built Harrow.io, a platform which adds automation, collaboration and logging features to any command line tool. Harrow is optimized to work with Capistrano, but it works with absolutely anything! Harrow covers everything including testing, deployment and maintenance for your project. Completely free for small projects and there's a 14 day trial including support to get you up and running. -– The Capistrano Team }, }

Public Class methods

Public Instance methods

[Validate]