Sha256: 9d758b455a27300c7a67e5236a442e6015e72611427712517aa175f6117af6f7

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

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

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

1 entries across 1 versions & 1 rubygems

Version Path
onering-client-0.4.1 lib/onering.rb