lib/aruba/config.rb in aruba-0.12.0 vs lib/aruba/config.rb in aruba-0.13.0

- old
+ new

@@ -24,13 +24,13 @@ end option_accessor :working_directory, :contract => { Aruba::Contracts::RelativePath => Aruba::Contracts::RelativePath }, :default => 'tmp/aruba' if RUBY_VERSION < '1.9' - option_reader :fixtures_path_prefix, :contract => { None => String }, :default => '%' + option_reader :fixtures_path_prefix, :contract => { None => String }, :default => '%' else - option_reader :fixtures_path_prefix, :contract => { None => String }, :default => ?% + option_reader :fixtures_path_prefix, :contract => { None => String }, :default => ?% end option_accessor :exit_timeout, :contract => { Num => Num }, :default => 15 option_accessor :stop_signal, :contract => { Maybe[String] => Maybe[String] }, :default => nil option_accessor :io_wait_timeout, :contract => { Num => Num }, :default => 0.1 @@ -62,9 +62,11 @@ option_accessor :log_level, :contract => { Aruba::Contracts::Enum[:fatal, :warn, :debug, :info, :error, :unknown, :silent] => Aruba::Contracts::Enum[:fatal, :warn, :debug, :info, :error, :unknown, :silent] }, :default => :info # rubocop:enable Metrics/LineLength option_accessor :physical_block_size, :contract => { Aruba::Contracts::IsPowerOfTwo => Aruba::Contracts::IsPowerOfTwo }, :default => 512 option_accessor :console_history_file, :contract => { String => String }, :default => '~/.aruba_history' + + option_accessor :activate_announcer_on_command_failure, :contract => { ArrayOf[Symbol] => ArrayOf[Symbol] }, :default => [] end end # Aruba module Aruba