Sha256: eaf048fe0b5000aaae27b39a8371a9c0f6cdc6cf5331df6716207e0e7f9f5410
Contents?: true
Size: 1 KB
Versions: 2
Compression:
Stored size: 1 KB
Contents
require 'pathname' require 'uri' require 'fileutils' require 'stringio' require 'thread' require 'securerandom' require 'forwardable' require 'logger' require 'timeout' require 'timed_lru' require 'celluloid/io' require 'celluloid/autostart' require 'multi_json' begin require 'msgpack' rescue LoadError end module FluQ %w'version error mixins'.each do |name| require "fluq/#{name}" end class << self # @attr_reader [Pathname] root project root attr_reader :root # @param [Logger] logger def logger=(logger) Celluloid.logger = logger end # @return [Logger] the thread-safe logger instance def logger Celluloid.logger end def init! # Set root path @root = Pathname.new(ENV['FLUQ_ROOT'] || ".") # Setup logger self.logger = ::Logger.new(STDOUT) logger.level = ::Logger::INFO end protected :init! end init! end %w'url event runner feed worker handler input format dsl'.each do |name| require "fluq/#{name}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluq-0.8.1 | lib/fluq.rb |
fluq-0.8.0 | lib/fluq.rb |