Sha256: 8f29da0bce7ff304d771ddcfae058d204570de8a5c567922ee98738086729181

Contents?: true

Size: 606 Bytes

Versions: 4

Compression:

Stored size: 606 Bytes

Contents

require 'cupper/version'
require 'cupper/project'
require 'cupper/cli'
require 'cupper/ohai_plugins'
require 'cupper/collect'
require 'cupper/cookbook'
require 'cupper/entity'


module Cupper
  CUPPER_ROOT       = File.expand_path(File.dirname(__FILE__))
  OHAI_PLUGINS_PATH = CUPPER_ROOT + '/cupper/plugins/ohai'
  CUPPER_PLUGINS_PATH = CUPPER_ROOT + '/cupper/plugins/cupper'
  TEMPLATE_PATH     = CUPPER_ROOT + '/cupper/templates'

  # REVIEW: maybe there is a better way and place to load all plugins
  # Loading all cupper plugins
  Dir["#{CUPPER_PLUGINS_PATH}/*.rb"].each { |file| require file }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cupper-0.1.3 lib/cupper.rb
cupper-0.1.2 lib/cupper.rb
cupper-0.1.1 lib/cupper.rb
cupper-0.1.0 lib/cupper.rb