Sha256: 9e1c492b3f65511b431d40449e86bddf9e4c364a7f1d566ebeed42470003a24d

Contents?: true

Size: 701 Bytes

Versions: 1

Compression:

Stored size: 701 Bytes

Contents

$:.unshift File.dirname(__FILE__)     # For use/testing when no gem is installed

# internal requires
require 'god/base'
require 'god/errors'

require 'god/system/process'

require 'god/behavior'
require 'god/behaviors/clean_pid_file'

require 'god/condition'
require 'god/conditions/timeline'
require 'god/conditions/process_not_running'
require 'god/conditions/memory_usage'
require 'god/conditions/cpu_usage'
require 'god/conditions/always'

require 'god/reporter'
require 'god/server'
require 'god/timer'

require 'god/watch'
require 'god/meddle'

module God
  VERSION = '0.1.0'
  
  def self.meddle(options = {})
    m = Meddle.new(options)
    yield m
    m.monitor
    m.timer.join
  end  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
god-0.1.0 lib/god.rb