Sha256: 9791bbf60201b9ae48ed3fe76cc511b1f929a1936d6b821f2d1203040892c5c4

Contents?: true

Size: 765 Bytes

Versions: 1

Compression:

Stored size: 765 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/queue"
require "buildbox/pid_file"
require "buildbox/configuration"
require "buildbox/auth"
require "buildbox/response"

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.3 lib/buildbox.rb