Sha256: 515bca4a4019baaa0ffef64272ad570fb05af88270231b101e8eb41bb0578953

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

require 'thread'
require 'yajl'
require 'dante'
require 'socket'
require 'shell_tools'
require 'guard'

require 'gitdocs/version'
require 'gitdocs/configuration'
require 'gitdocs/runner'
require 'gitdocs/server'
require 'gitdocs/cli'
require 'gitdocs/manager'
require 'gitdocs/docfile'
require 'gitdocs/rendering'

module Gitdocs

  DEBUG = ENV['DEBUG']

  def self.start(config_root = nil, debug = DEBUG, &blk)
    @manager.stop if @manager
    @manager = Manager.new(config_root, debug, &blk)
    @manager.start
  end

  def self.restart
    @manager.restart
  end

  def self.stop
    @manager.stop
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitdocs-0.4.8 lib/gitdocs.rb
gitdocs-0.4.7 lib/gitdocs.rb
gitdocs-0.4.6 lib/gitdocs.rb
gitdocs-0.4.5 lib/gitdocs.rb