Sha256: 6809ccb8eac21506111c9190de5f5756f0377fcb1ce96a1500d0cd12d4beecee
Contents?: true
Size: 973 Bytes
Versions: 3
Compression:
Stored size: 973 Bytes
Contents
require 'pathname' require 'logger' 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 :Server, "buildbox/server" autoload :UTF8, "buildbox/utf8" autoload :Worker, "buildbox/worker" autoload :VERSION, "buildbox/version" def self.config @config ||= Configuration.new.tap(&:reload) end def self.logger @logger ||= Logger.new(STDOUT).tap { |logger| logger.level = Logger::INFO } 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
buildbox-0.2.1 | lib/buildbox.rb |
buildbox-0.2 | lib/buildbox.rb |
buildbox-0.1.4 | lib/buildbox.rb |