Sha256: f77246160b0ecefc0e26a856f2e56104530ef23559c32a31c0f6b5d7e803e265
Contents?: true
Size: 695 Bytes
Versions: 2
Compression:
Stored size: 695 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.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.3 | lib/duke.rb |
duke-0.1.2 | lib/duke.rb |