lib/evrone/ci/router/configuration.rb in evrone-ci-router-0.2.0.pre0 vs lib/evrone/ci/router/configuration.rb in evrone-ci-router-0.2.0.pre1
- old
+ new
@@ -13,13 +13,19 @@
self.raise_missing_keys = true
define amqp_url: nil,
timeout: 30 * 60,
logger: Common::TaggedLogging.new(Logger.new STDOUT),
- repo_dir_name: "repo"
+ repo_dir_name: "repo",
+ workers: 1,
+ path_prefix: nil
def timeout
self[:timeout].to_i
+ end
+
+ def path_prefix
+ self[:path_prefix] || Dir.pwd
end
end
end
end