Module: Zanzibar

Defined in:
lib/zanzibar/version.rb,
lib/zanzibar.rb,
lib/zanzibar/ui.rb,
lib/zanzibar/cli.rb,
lib/zanzibar/error.rb,
lib/zanzibar/client.rb,
lib/zanzibar/defaults.rb,
lib/zanzibar/actions/get.rb,
lib/zanzibar/actions/base.rb,
lib/zanzibar/actions/init.rb,
lib/zanzibar/actions/bundle.rb

Overview

Definitions for various strings used throughout the gem

Defined Under Namespace

Modules: Actions Classes: Cli, Client, Error, Shell, Zanzibar

Constant Summary collapse

VERSION =

The Version of the application

'0.2.0'.freeze
APPLICATION_NAME =

The name of the binstub that invoked this code

Pathname.new($PROGRAM_NAME).basename
ZANZIFILE_NAME =

The filename of the Zanzifile

'Zanzifile'.freeze
RESOLVED_NAME =

The filename of the resolved Zanzifile

'Zanzifile.resolved'.freeze
TEMPLATE_NAME =

The template to use when writing the Zanzifile

'templates/Zanzifile.erb'.freeze
DEFAULT_SERVER =

The default value of the server when writing the Zanzifile

'secret.example.com'.freeze
DEFAULT_WSDL =

The default WSDL location for the Zanzifile template

'https://%s/webservices/sswebservice.asmx?wsdl'.freeze
ALREADY_EXISTS_ERROR =

Error thrown when trying to overwrite an existing Zanzifile

"#{ZANZIFILE_NAME} already exists! Aborting...".freeze
NO_WSDL_ERROR =

Error thrown when unable to construct the WSDL location

'Could not construct WSDL URL. Please provide either --server or --wsdl'.freeze
NO_ZANZIFILE_ERROR =

Error thrown when trying to download secrets from a Zanzifile that doesn’t exist

"You don't have a #{ZANZIFILE_NAME}! Run `#{APPLICATION_NAME} init` first!".freeze
INVALID_ZANZIFILE_ERROR =

Error thrown when a Zanzifile is missing necessary information

"Unable to load your #{ZANZIFILE_NAME}. Please ensure it is valid YAML.".freeze