SYMBOL INDEX (234 symbols across 28 files) FILE: lib/airbrussh.rb type Airbrussh (line 5) | module Airbrussh function configuration (line 6) | def self.configuration(options={}) function configure (line 12) | def self.configure FILE: lib/airbrussh/capistrano/tasks.rb type Airbrussh (line 7) | module Airbrussh type Capistrano (line 8) | module Capistrano class Tasks (line 15) | class Tasks method initialize (line 22) | def initialize(dsl, stderr=$stderr, config=Airbrussh.configuration) method load_defaults (line 32) | def load_defaults method deploy_failed (line 38) | def deploy_failed method configure (line 56) | def configure method warn_if_missing_dsl (line 62) | def warn_if_missing_dsl method err_console (line 73) | def err_console method error_line (line 82) | def error_line(line="\n") method tail_log_file (line 89) | def tail_log_file method airbrussh_is_being_used? (line 96) | def airbrussh_is_being_used? FILE: lib/airbrussh/colors.rb type Airbrussh (line 1) | module Airbrussh type Colors (line 4) | module Colors FILE: lib/airbrussh/command_formatter.rb type Airbrussh (line 6) | module Airbrussh class CommandFormatter (line 13) | class CommandFormatter < SimpleDelegator method initialize (line 16) | def initialize(command, position) method format_output (line 25) | def format_output(line) method start_message (line 33) | def start_message method exit_message (line 43) | def exit_message method user_at_host (line 54) | def user_at_host method runtime (line 60) | def runtime method abbreviated (line 64) | def abbreviated method number (line 68) | def number method success_message (line 72) | def success_message method failure_message (line 76) | def failure_message FILE: lib/airbrussh/configuration.rb type Airbrussh (line 5) | module Airbrussh class Configuration (line 6) | class Configuration method initialize (line 10) | def initialize method apply_options (line 21) | def apply_options(options) method banner_message (line 34) | def banner_message method formatters (line 48) | def formatters(io) method show_command_output? (line 54) | def show_command_output?(sym) method warn_unrecognized_key (line 60) | def warn_unrecognized_key(key) FILE: lib/airbrussh/console.rb type Airbrussh (line 5) | module Airbrussh class Console (line 12) | class Console method initialize (line 15) | def initialize(output, config=Airbrussh.configuration) method print_line (line 24) | def print_line(obj="") method write (line 36) | def write(string) method truncate_to_console_width (line 41) | def truncate_to_console_width(string) method strip_ascii_color (line 55) | def strip_ascii_color(string) method console_width (line 62) | def console_width method color_enabled? (line 75) | def color_enabled? method utf8_supported? (line 86) | def utf8_supported?(string) method to_utf8 (line 92) | def to_utf8(string) FILE: lib/airbrussh/console_formatter.rb type Airbrussh (line 7) | module Airbrussh class ConsoleFormatter (line 8) | class ConsoleFormatter < SSHKit::Formatter::Abstract method initialize (line 15) | def initialize(io, config=Airbrussh.configuration) method write_banner (line 25) | def write_banner method log_command_start (line 29) | def log_command_start(command) method log_command_data (line 37) | def log_command_data(command, stream_type, string) method log_command_exit (line 46) | def log_command_exit(command) method write (line 52) | def write(obj) method write_log_message (line 69) | def write_log_message(log_message) method format_log_message (line 75) | def format_log_message(log_message) method log_and_clear_command_output (line 92) | def log_and_clear_command_output(command, stream) method print_task_if_changed (line 98) | def print_task_if_changed method clock (line 106) | def clock method debug? (line 116) | def debug?(obj) method decorate (line 120) | def decorate(command) method print_line (line 124) | def print_line(string) method print_indented_line (line 128) | def print_indented_line(string, offset=0) FILE: lib/airbrussh/delegating_formatter.rb type Airbrussh (line 3) | module Airbrussh class DelegatingFormatter (line 10) | class DelegatingFormatter method initialize (line 19) | def initialize(formatters) FILE: lib/airbrussh/formatter.rb type Airbrussh (line 9) | module Airbrussh class Formatter (line 10) | class Formatter < Airbrussh::DelegatingFormatter method initialize (line 11) | def initialize(io, options_or_config_object={}) FILE: lib/airbrussh/log_file_formatter.rb type Airbrussh (line 6) | module Airbrussh class LogFileFormatter (line 12) | class LogFileFormatter < SimpleDelegator method initialize (line 15) | def initialize(path, formatter_class=SSHKit::Formatter::Pretty) method write_delimiter (line 24) | def write_delimiter method ensure_directory_exists (line 34) | def ensure_directory_exists method log_file_io (line 38) | def log_file_io FILE: lib/airbrussh/rake/context.rb type Airbrussh (line 1) | module Airbrussh type Rake (line 2) | module Rake class Context (line 15) | class Context method initialize (line 20) | def initialize(config=Airbrussh.configuration) method current_task_name (line 28) | def current_task_name method register_new_command (line 39) | def register_new_command(command) method position (line 50) | def position(command) type Patch (line 55) | module Patch function execute (line 56) | def execute(args=nil) method install_monkey_patch (line 62) | def self.install_monkey_patch method install_monkey_patch (line 69) | def self.install_monkey_patch method reset_history_if_task_changed (line 88) | def reset_history_if_task_changed method enabled? (line 93) | def enabled? FILE: lib/airbrussh/version.rb type Airbrussh (line 3) | module Airbrussh FILE: lib/sshkit/formatter/airbrussh.rb type SSHKit (line 7) | module SSHKit type Formatter (line 8) | module Formatter class Airbrussh (line 9) | class Airbrussh < Airbrussh::Formatter FILE: test/airbrussh/capistrano/tasks_test.rb class Airbrussh::Capistrano::TasksTest (line 8) | class Airbrussh::Capistrano::TasksTest < Minitest::Test method set (line 10) | def set(*); end method env (line 15) | def env method namespace (line 27) | def namespace(*); end method task (line 29) | def task(*); end method setup (line 32) | def setup method test_no_warning_is_printed_when_proper_dsl_is_present (line 39) | def test_no_warning_is_printed_when_proper_dsl_is_present method test_prints_warning_if_dsl_is_missing (line 43) | def test_prints_warning_if_dsl_is_missing method test_configures_for_capistrano (line 49) | def test_configures_for_capistrano method test_sets_airbrussh_formatter_on_load_defaults (line 58) | def test_sets_airbrussh_formatter_on_load_defaults method test_prints_last_20_logfile_lines_on_deploy_failure (line 64) | def test_prints_last_20_logfile_lines_on_deploy_failure method test_does_not_truncate_log_file_lines (line 77) | def test_does_not_truncate_log_file_lines method test_does_not_print_anything_on_deploy_failure_if_nil_logfile (line 91) | def test_does_not_print_anything_on_deploy_failure_if_nil_logfile method test_does_not_print_anything_on_deploy_failure_if_airbrussh_is_not_used (line 97) | def test_does_not_print_anything_on_deploy_failure_if_airbrussh_is_not... method stderr (line 106) | def stderr method with_log_file (line 110) | def with_log_file FILE: test/airbrussh/capistrano_test.rb class Airbrussh::CapistranoTest (line 3) | class Airbrussh::CapistranoTest < Minitest::Test method setup (line 4) | def setup method teardown (line 11) | def teardown method test_defines_tasks (line 15) | def test_defines_tasks method test_load_defaults_rake_task_delegates_to_tasks_instance (line 20) | def test_load_defaults_rake_task_delegates_to_tasks_instance method test_deploy_failed_rake_task_delegates_to_tasks_instance (line 25) | def test_deploy_failed_rake_task_delegates_to_tasks_instance FILE: test/airbrussh/colors_test.rb class Airbrussh::ColorsTest (line 4) | class Airbrussh::ColorsTest < Minitest::Test method test_red (line 7) | def test_red method test_green (line 11) | def test_green method test_yellow (line 15) | def test_yellow method test_blue (line 19) | def test_blue method test_gray (line 23) | def test_gray FILE: test/airbrussh/command_formatter_test.rb class Airbrussh::CommandFormatterTest (line 7) | class Airbrussh::CommandFormatterTest < Minitest::Test method setup (line 8) | def setup method test_format_output (line 21) | def test_format_output method test_start_message (line 25) | def test_start_message method test_exit_message_success (line 29) | def test_exit_message_success method test_exit_message_failure (line 36) | def test_exit_message_failure method test_uses_ssh_options_if_host_user_is_absent (line 46) | def test_uses_ssh_options_if_host_user_is_absent method test_shows_hostname_only_if_no_user (line 54) | def test_shows_hostname_only_if_no_user method test_handles_nil_position_gracefully (line 62) | def test_handles_nil_position_gracefully method host (line 69) | def host(user, hostname, ssh_options={}) FILE: test/airbrussh/configuration_test.rb class Airbrussh::ConfigurationTest (line 6) | class Airbrussh::ConfigurationTest < Minitest::Test method setup (line 7) | def setup method test_defaults (line 11) | def test_defaults method test_apply_options (line 22) | def test_apply_options method test_apply_options_warns_on_stderr_of_bad_key (line 42) | def test_apply_options_warns_on_stderr_of_bad_key method test_auto_banner_message_without_log (line 48) | def test_auto_banner_message_without_log method test_auto_banner_message_with_log (line 54) | def test_auto_banner_message_with_log method test_nil_or_false_banner_message (line 64) | def test_nil_or_false_banner_message method test_custom_banner_message (line 71) | def test_custom_banner_message method test_formatters_without_log_file (line 76) | def test_formatters_without_log_file method test_formatters_with_log_file (line 85) | def test_formatters_with_log_file method test_effects_of_command_output_true (line 97) | def test_effects_of_command_output_true method test_effects_of_command_output_false (line 103) | def test_effects_of_command_output_false method test_effects_of_command_output_stdout (line 109) | def test_effects_of_command_output_stdout method test_effects_of_command_output_stderr (line 115) | def test_effects_of_command_output_stderr method test_effects_of_command_output_stdout_stderr (line 121) | def test_effects_of_command_output_stdout_stderr FILE: test/airbrussh/console_formatter_test.rb class Airbrussh::ConsoleFormatterTest (line 9) | class Airbrussh::ConsoleFormatterTest < Minitest::Test method setup (line 10) | def setup method test_log_command_data_with_multiline_string (line 20) | def test_log_command_data_with_multiline_string method output (line 35) | def output FILE: test/airbrussh/console_test.rb class Airbrussh::ConsoleTest (line 8) | class Airbrussh::ConsoleTest < Minitest::Test method setup (line 9) | def setup method test_color_is_allowed_for_tty (line 13) | def test_color_is_allowed_for_tty method test_color_is_can_be_forced (line 21) | def test_color_is_can_be_forced method test_color_is_can_be_forced_via_env (line 29) | def test_color_is_can_be_forced_via_env method test_color_is_stripped_for_non_tty (line 38) | def test_color_is_stripped_for_non_tty method test_color_can_be_disabled_for_tty (line 46) | def test_color_can_be_disabled_for_tty method test_truncates_to_winsize (line 54) | def test_truncates_to_winsize method test_ignores_ascii_color_codes_when_determing_truncation_amount (line 64) | def test_ignores_ascii_color_codes_when_determing_truncation_amount method test_truncates_to_explicit_width (line 75) | def test_truncates_to_explicit_width method test_truncation_can_be_disabled (line 84) | def test_truncation_can_be_disabled method test_truncates_improperly_encoded_ascii_string (line 96) | def test_truncates_improperly_encoded_ascii_string method test_print_line_handles_invalid_utf8 (line 109) | def test_print_line_handles_invalid_utf8 method test_doesnt_truncates_to_zero_width (line 120) | def test_doesnt_truncates_to_zero_width method ascii_8bit (line 131) | def ascii_8bit(string) method output (line 135) | def output method configured_console (line 139) | def configured_console(opts={}) FILE: test/airbrussh/delegating_formatter_test.rb class Airbrussh::DelegatingFormatterTest (line 4) | class Airbrussh::DelegatingFormatterTest < Minitest::Test method setup (line 5) | def setup method test_forwards_logger_methods (line 11) | def test_forwards_logger_methods method test_forwards_start_and_exit_methods (line 20) | def test_forwards_start_and_exit_methods method test_forwards_log_command_data (line 29) | def test_forwards_log_command_data method test_forwards_io_methods_to_multiple_formatters (line 36) | def test_forwards_io_methods_to_multiple_formatters method test_forwards_io_methods_to_a_single_formatter (line 49) | def test_forwards_io_methods_to_a_single_formatter FILE: test/airbrussh/formatter_test.rb class Airbrussh::FormatterTest (line 7) | class Airbrussh::FormatterTest < Minitest::Test method setup (line 10) | def setup method teardown (line 20) | def teardown method configure (line 25) | def configure method test_can_be_configured_with_options_hash (line 38) | def test_can_be_configured_with_options_hash method test_formats_execute_with_color (line 44) | def test_formats_execute_with_color method test_formats_execute_without_color (line 69) | def test_formats_execute_without_color method test_formats_without_command_output (line 89) | def test_formats_without_command_output method test_formats_failing_execute_with_color (line 104) | def test_formats_failing_execute_with_color method test_formats_capture_with_color (line 154) | def test_formats_capture_with_color method test_formats_capture_without_color (line 175) | def test_formats_capture_without_color method test_does_not_output_test_commands (line 195) | def test_does_not_output_test_commands method test_handles_rake_tasks (line 215) | def test_handles_rake_tasks method test_log_message_levels (line 267) | def test_log_message_levels method test_interleaved_debug_and_info_commands (line 297) | def test_interleaved_debug_and_info_commands method test_task_prefix (line 330) | def test_task_prefix method on_local (line 352) | def on_local(task_name=nil, &block) method assert_output_lines (line 359) | def assert_output_lines(*expected_output) method assert_string_io_lines (line 367) | def assert_string_io_lines(expected_output, string_io) method assert_log_file_lines (line 375) | def assert_log_file_lines(*command_lines) method command_running (line 385) | def command_running(command, level="INFO") method command_started_debug (line 390) | def command_started_debug(command) method command_std_stream (line 394) | def command_std_stream(stream, output) method command_success (line 402) | def command_success(level="INFO") method command_failed (line 407) | def command_failed(exit_status) method color_output? (line 433) | def color_output? method sshkit_after? (line 437) | def sshkit_after?(version) method sshkit_master? (line 441) | def sshkit_master? method formatter_class (line 446) | def formatter_class type Minitest::Assertions (line 450) | module Minitest::Assertions function assert_case_equal (line 452) | def assert_case_equal(matcher, obj, msg=nil) FILE: test/airbrussh/log_file_formatter_test.rb class Airbrussh::LogFileFormatterTest (line 6) | class Airbrussh::LogFileFormatterTest < Minitest::Test method setup (line 7) | def setup method teardown (line 14) | def teardown method test_appends_to_existing_file (line 19) | def test_appends_to_existing_file method test_writes_delimiter (line 23) | def test_writes_delimiter method test_writes_through_via_pretty_formatter (line 28) | def test_writes_through_via_pretty_formatter method test_creates_log_directory_and_file (line 33) | def test_creates_log_directory_and_file method output (line 43) | def output method with_tempdir (line 47) | def with_tempdir FILE: test/airbrussh/rake/context_test.rb class Airbrussh::Rake::ContextTest (line 4) | class Airbrussh::Rake::ContextTest < Minitest::Test method setup (line 7) | def setup method teardown (line 11) | def teardown method test_current_task_name_is_nil_when_disabled (line 15) | def test_current_task_name_is_nil_when_disabled method test_current_task_name (line 23) | def test_current_task_name method test_register_new_command_is_true_for_first_execution_per_rake_task (line 38) | def test_register_new_command_is_true_for_first_execution_per_rake_task method test_position (line 56) | def test_position FILE: test/airbrussh/version_test.rb class Airbrussh::VersionTest (line 3) | class Airbrussh::VersionTest < Minitest::Test method test_that_it_has_a_version_number (line 4) | def test_that_it_has_a_version_number FILE: test/airbrussh_test.rb class AirbrusshTest (line 3) | class AirbrusshTest < Minitest::Test method test_configure_yields_config_object (line 4) | def test_configure_yields_config_object method test_configuration_returns_passed_config (line 9) | def test_configuration_returns_passed_config method test_configuration_applies_options (line 14) | def test_configuration_applies_options FILE: test/sshkit/formatter/airbrussh_test.rb class SSHKit::Formatter::AirbrusshTest (line 7) | class SSHKit::Formatter::AirbrusshTest < Airbrussh::FormatterTest method formatter_class (line 10) | def formatter_class FILE: test/support/rake_task_definition.rb type RakeTaskDefinition (line 3) | module RakeTaskDefinition function define_and_execute_rake_task (line 4) | def define_and_execute_rake_task(task_name, &block) function unique_task_name (line 10) | def self.unique_task_name(test_name)