Sha256: a5171eb86d89bf48185597dc07f59122b47c21e4acdcacdfbe7e5300eb38f019

Contents?: true

Size: 705 Bytes

Versions: 2

Compression:

Stored size: 705 Bytes

Contents

$LOAD_PATH << File.dirname(__FILE__)

require 'forwardable'
require 'erb'
require 'net/http'
require 'daemon_controller'
require 'fileutils'
require 'thor'
require 'thor/group'
require 'socket'
require 'cijoe'
require 'sinatra/base'
require 'ext/string'
require 'duke/controller'
require 'duke/cli'
require 'duke/project'
require 'duke/app'

module Duke
  CONFIG_DEFAULT = {
    :host => "localhost",
    :runner => "rake",
    :pid_dir => "tmp/pids",
    :log_dir => "log",
    :campfire => {}
  }
  config_path = File.join('config', 'config.yml')
  config_yml = File.exist?(config_path) ? YAML.load_file(config_path) : {}
  config = CONFIG_DEFAULT.merge(config_yml)
  Config = OpenStruct.new(config)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
duke-0.1.1 lib/duke.rb
duke-0.1.0 lib/duke.rb