lib = File.dirname(__FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) module Brief # Haven't decided if the brief config system should support different profiles or not def self.profile configuration end def self.config configuration end def self.configuration @configuration ||= Brief::Configuration.instance end def self.root Pathname(Dir.pwd()) end def self.gem_root Pathname(File.dirname(__FILE__)) end def self.define publisher_name, &config Brief::Publisher.define(publisher_name, &config) end end require 'pathname' require 'hashie' require 'digest' require 'yaml' require 'active_support' require 'active_support/core_ext' require 'brief/line' require 'brief/parser' require 'brief/document' require 'brief/tree' require 'brief/version' require 'brief/configuration' require 'brief/publisher' require 'brief/publisher/handler_manager' # These should be able to be loaded separately # some other way, but to help develoment.. require 'brief/handlers/base' require 'brief/formatters/base' # these may be optional one day require 'brief/github' require 'brief/git' require 'brief/github/wiki'