Sha256: 64fc3dbe3cb804abcd33a8f0cda96dff4a5745946fa8b7c4999611d52c12f4f8
Contents?: true
Size: 986 Bytes
Versions: 1
Compression:
Stored size: 986 Bytes
Contents
require 'middleware' require 'logger' require 'hashie/dash' require 'hashie/extensions/coercion' module Polytrix # Autoload pool module Runners module Middleware autoload :FeatureExecutor, 'polytrix/runners/middleware/feature_executor' autoload :SetupEnvVars, 'polytrix/runners/middleware/setup_env_vars' autoload :ChangeDirectory, 'polytrix/runners/middleware/change_directory' STANDARD_MIDDLEWARE = ::Middleware::Builder.new do use Polytrix::Runners::Middleware::ChangeDirectory use Polytrix::Runners::Middleware::SetupEnvVars use Polytrix::Runners::Middleware::FeatureExecutor end end end class Configuration < Hashie::Dash include Hashie::Extensions::Coercion property :logger, :default => Logger.new($stdout) property :middleware, :default => Polytrix::Runners::Middleware::STANDARD_MIDDLEWARE property :implementors coerce_key :implementors, Polytrix::Implementor end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polytrix-0.0.1 | lib/polytrix/configuration.rb |