Sha256: cd2037b56a9e1180447e349b8d9beccf512d07e3ae53e8857d28c87bc067d13b
Contents?: true
Size: 1004 Bytes
Versions: 2
Compression:
Stored size: 1004 Bytes
Contents
require 'braid/version' module Braid OLD_CONFIG_FILE = '.braids' CONFIG_FILE = '.braids.json' REQUIRED_GIT_VERSION = '1.6' def self.verbose !!@verbose end def self.verbose=(new_value) @verbose = !!new_value end def self.force !!@force end def self.force=(new_value) @force = !!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' require 'braid/commands/add' require 'braid/commands/diff' require 'braid/commands/list' require 'braid/commands/push' require 'braid/commands/remove' require 'braid/commands/setup' require 'braid/commands/update'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
braid-1.0.10 | lib/braid.rb |
braid-1.0.9 | lib/braid.rb |