Sha256: b29fc685c6bd84c3529833d0f620162b7ff4a76c2006189182e980c40f103e0d

Contents?: true

Size: 805 Bytes

Versions: 2

Compression:

Stored size: 805 Bytes

Contents

require 'pathname'

module Buildbox
  autoload :API,           "buildbox/api"
  autoload :Build,         "buildbox/build"
  autoload :Command,       "buildbox/command"
  autoload :CLI,           "buildbox/cli"
  autoload :Configuration, "buildbox/configuration"
  autoload :Environment,   "buildbox/environment"
  autoload :Monitor,       "buildbox/monitor"
  autoload :Runner,        "buildbox/runner"
  autoload :Script,        "buildbox/script"
  autoload :UTF8,          "buildbox/utf8"
  autoload :Worker,        "buildbox/worker"
  autoload :VERSION,       "buildbox/version"

  def self.config
    @config ||= Configuration.new.tap(&:reload)
 end

  def self.root_path
    path = Pathname.new File.join(ENV['HOME'], ".buildbox")
    path.mkpath unless path.exist?

    Pathname.new(path)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
buildbox-0.1.1 lib/buildbox.rb
buildbox-0.1 lib/buildbox.rb