Sha256: 4a15e24e94ac7d1b9c9ebe90070f2211954b1c5f467e297dda086d69d6e0ee20

Contents?: true

Size: 692 Bytes

Versions: 4

Compression:

Stored size: 692 Bytes

Contents

$: << File.expand_path(File.dirname(__FILE__))

module Onering
  FULL_CLIENT = true
end

require 'onering/version'
require 'onering/logger'

if not ENV['ONERING_LOGLEVEL'].nil?
  Onering::Logger.setup({
    :destination => 'stderr',
    :threshold   => ENV['ONERING_LOGLEVEL']
  })
end

require 'onering/util'
require 'onering/api'
require 'onering/cli'

# require plugins
Dir[File.join(File.expand_path(File.dirname(__FILE__)),"onering","plugins","*.rb")].each do |i|
  require i
end

# require cli submodules
Dir[File.join(File.expand_path(File.dirname(__FILE__)),"onering","cli","*.rb")].each do |i|
  require i
end

# you've loaded the library, now load the config
Onering::Config.load()

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
onering-agent-0.4.4 lib/onering.rb
onering-agent-0.4.3 lib/onering.rb
onering-client-0.4.3 lib/onering.rb
onering-client-0.4.2 lib/onering.rb