lib/specimen.rb in specimen-0.0.3.alpha vs lib/specimen.rb in specimen-0.0.4.alpha

- old
+ new

@@ -11,15 +11,23 @@ require 'specimen/command' require 'specimen/runtime' require 'specimen/version' module Specimen - extend ActiveSupport::Autoload - class << self - attr_accessor :runtime + attr_accessor :enc_config - def init_wd_path - @init_wd_path ||= Pathname.getwd + def runtime + @runtime ||= Specimen::Runtime.new + end + + def run_testrunner_hooks! + runtime.run_load_profile_hook! + runtime.run_env_file_hook! + runtime.run_decrypt_enc_configs_hook! + end + + def shell + runtime&.command.shell end end end