Sha256: c6e9c703ab10b41061bb9a069d16974f1135526554a84fe57cc7a85069be6710
Contents?: true
Size: 1.79 KB
Versions: 4
Compression:
Stored size: 1.79 KB
Contents
# Seems we need to load openssl before em or there are failures all around. # But we need to consider that people might not have ssl in the first place. begin require 'openssl' rescue LoadError end require 'eventmachine' require File.dirname(__FILE__) + '/daemon_kit/core_ext' require File.dirname(__FILE__) + '/daemon_kit/exceptions' $LOAD_PATH.unshift( File.dirname(__FILE__).to_absolute_path ) unless $LOAD_PATH.include?( File.dirname(__FILE__).to_absolute_path ) module DaemonKit VERSION = '0.1.8.1' autoload :Initializer, 'daemon_kit/initializer' autoload :Application, 'daemon_kit/application' autoload :Arguments, 'daemon_kit/arguments' autoload :Config, 'daemon_kit/config' autoload :Safety, 'daemon_kit/safety' autoload :PidFile, 'daemon_kit/pid_file' autoload :AbstractLogger, 'daemon_kit/abstract_logger' autoload :EM, 'daemon_kit/em' autoload :Configurable, 'daemon_kit/core_ext/configurable' autoload :Generators, 'daemon_kit/generators' autoload :Cron, 'daemon_kit/cron' autoload :Jabber, 'daemon_kit/jabber' autoload :AMQP, 'daemon_kit/dk_amqp' autoload :Nanite, 'daemon_kit/nanite' autoload :RuoteParticipants, 'daemon_kit/ruote_participants' autoload :RuoteWorkitem, 'daemon_kit/ruote_workitem' autoload :RuotePseudoParticipant, 'daemon_kit/ruote_pseudo_participant' autoload :XMPP, 'daemon_kit/xmpp' class << self def logger @logger end def logger=( logger ) @logger = logger end def root DAEMON_ROOT end def env DAEMON_ENV end def framework_root @framework_root ||= File.join( File.dirname(__FILE__), '..' ).to_absolute_path end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
amqp-daemon-kit-1.0.1 | lib/daemon_kit.rb |
amqp-daemon-kit-0.1.8.2 | lib/daemon_kit.rb |
amqp-daemon-kit-0.1.8.1 | lib/daemon_kit.rb |
daemon-kit-0.1.8.1 | lib/daemon_kit.rb |