Sha256: 6858894b0ee4dabe8825fb2f0520f9f0a3ecd72b9e0490a13fc26ee9825de10b
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
require 'drb' autoload :URI, 'uri' autoload :Forwardable, 'forwardable' autoload :GServer, 'gserver' autoload :Timeout, 'timeout' autoload :Benchmark, 'benchmark' autoload :Logger, 'logger' autoload :Socket, 'socket' autoload :StringIO, 'stringio' module Specjour autoload :CLI, 'specjour/cli' autoload :CPU, 'specjour/cpu' autoload :Configuration, 'specjour/configuration' autoload :Connection, 'specjour/connection' autoload :DbScrub, 'specjour/db_scrub' autoload :Dispatcher, 'specjour/dispatcher' autoload :Manager, 'specjour/manager' autoload :OpenStruct, 'ostruct' autoload :Printer, 'specjour/printer' autoload :Protocol, 'specjour/protocol' autoload :QuietFork, 'specjour/quiet_fork' autoload :RsyncDaemon, 'specjour/rsync_daemon' autoload :SocketHelper, 'specjour/socket_helper' autoload :Worker, 'specjour/worker' autoload :Cucumber, 'specjour/cucumber' autoload :Rspec, 'specjour/rspec' VERSION = "0.3.0.rc5".freeze HOOKS_PATH = ".specjour/hooks.rb" class << self attr_accessor :interrupted alias interrupted? interrupted end def self.logger @logger ||= new_logger end def self.new_logger(level = Logger::UNKNOWN) @logger = Logger.new $stderr @logger.level = level @logger end def self.log? logger.level != Logger::UNKNOWN end def self.load_custom_hooks require HOOKS_PATH if File.exists?(HOOKS_PATH) end Error = Class.new(StandardError) PROGRAM_NAME = $PROGRAM_NAME # keep a reference of the original program name GC.copy_on_write_friendly = true if GC.respond_to?(:copy_on_write_friendly=) Signal.trap('INT') { Specjour.interrupted = true; exit 1 } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
specjour-0.3.0.rc5 | lib/specjour.rb |