Sha256: bb3cd0093ac21acdb47d96742a3ac1b1058fe7270f96acd5eaa1ac2fc1400764

Contents?: true

Size: 794 Bytes

Versions: 1

Compression:

Stored size: 794 Bytes

Contents

require "buildbox/utf8"
require "buildbox/command"
require "buildbox/result"
require "buildbox/build"
require "buildbox/version"
require "buildbox/client"
require "buildbox/api"
require "buildbox/worker"
require "buildbox/pid_file"
require "buildbox/configuration"
require "buildbox/auth"
require "buildbox/response"
require "buildbox/observer"

module Buildbox
  require 'fileutils'
  require 'pathname'
  require 'logger'

  class << self
    def configuration
      @configuration ||= Configuration.load
    end

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

      Pathname.new(path)
    end

    def logger=(logger)
      @logger = logger
    end

    def logger
      @logger ||= Logger.new(STDOUT)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
buildbox-0.0.4 lib/buildbox.rb