Sha256: 89d892123a7494b292faadf059623c63dc17ef2dbe096cf28efde4f70e4747c8
Contents?: true
Size: 748 Bytes
Versions: 2
Compression:
Stored size: 748 Bytes
Contents
$:.unshift File.dirname(__FILE__) module Braid VERSION = "0.4.13" CONFIG_FILE = ".braids" REQUIRED_GIT_VERSION = "1.6" def self.verbose; @verbose || false; end def self.verbose=(new_value); @verbose = !!new_value; end def self.use_local_cache; [nil, "true", "1"].include?(ENV["BRAID_USE_LOCAL_CACHE"]); end def self.local_cache_dir; File.expand_path(ENV["BRAID_LOCAL_CACHE_DIR"] || "#{ENV["HOME"]}/.braid/cache"); end class BraidError < StandardError def message value = super value if value != self.class.name end end end require 'braid/operations' require 'braid/mirror' require 'braid/config' require 'braid/command' Dir[File.dirname(__FILE__) + '/braid/commands/*'].each do |file| require file end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
evilchelu-braid-0.4.13 | lib/braid.rb |
norbert-braid-0.4.13 | lib/braid.rb |