Sha256: fd360bd8deb8c513a5d1d0ce02eaec9d307e0e39e323e684ec3e50546dac4962

Contents?: true

Size: 745 Bytes

Versions: 8

Compression:

Stored size: 745 Bytes

Contents

$:.unshift File.dirname(__FILE__)

module Braid
  VERSION = "0.5"

  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

8 entries across 8 versions & 4 rubygems

Version Path
dreamcat4-braid-0.5.1 lib/braid.rb
dreamcat4-braid-0.5.2 lib/braid.rb
dreamcat4-braid-0.50 lib/braid.rb
dreamcat4-braid-0.52 lib/braid.rb
dreamcat4-braid-0.53 lib/braid.rb
evilchelu-braid-0.5 lib/braid.rb
mlightner-braid-0.5.1 lib/braid.rb
braid-0.5 lib/braid.rb