lib/braid.rb in braid-0.5 vs lib/braid.rb in braid-0.6

- old
+ new

@@ -1,9 +1,9 @@ -$:.unshift File.dirname(__FILE__) +$:.unshift dirname = File.dirname(__FILE__) module Braid - VERSION = "0.5" + VERSION = "0.6" CONFIG_FILE = ".braids" REQUIRED_GIT_VERSION = "1.6" def self.verbose; @verbose || false; end @@ -18,12 +18,13 @@ value if value != self.class.name end end end +require dirname + '/core_ext' require 'braid/operations' require 'braid/mirror' require 'braid/config' require 'braid/command' -Dir[File.dirname(__FILE__) + '/braid/commands/*'].each do |file| +Dir[dirname + '/braid/commands/*'].each do |file| require file end