Sha256: 6926c20052b752b0ec9e43496e8c875898f0c7178a9b2cc80c469784ff6f3eeb
Contents?: true
Size: 535 Bytes
Versions: 2
Compression:
Stored size: 535 Bytes
Contents
require 'gitdocs/version' require 'gitdocs/configuration' require 'gitdocs/runner' require 'gitdocs/server' require 'gitdocs/cli' require 'thread' require 'rb-fsevent' require 'growl' require 'yajl' require 'dante' module Gitdocs def self.run(config_root = nil) loop do @config = Configuration.new(config_root) @threads = @config.paths.map do |path| t = Thread.new { Runner.new(path).run } t.abort_on_exception = true t end @threads.each(&:join) sleep(60) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gitdocs-0.1.1 | lib/gitdocs.rb |
gitdocs-0.1.0 | lib/gitdocs.rb |