lib/grit.rb in schacon-grit-0.9.3 vs lib/grit.rb in schacon-grit-0.9.4

- old
+ new

@@ -5,16 +5,21 @@ require 'time' # stdlib require 'timeout' require 'logger' +require 'digest/sha1' +if defined? RUBY_ENGINE && RUBY_ENGINE == 'jruby' + require 'open3' +else + require 'open3_detach' +end + # third party require 'rubygems' require 'mime/types' -require 'open4' -require 'digest/sha1' # internal requires require 'grit/lazy' require 'grit/errors' require 'grit/git-ruby' @@ -28,10 +33,11 @@ require 'grit/diff' require 'grit/config' require 'grit/repo' require 'grit/index' require 'grit/status' +require 'grit/submodule' module Grit class << self @@ -47,7 +53,7 @@ self.debug = false self.use_git_ruby = true @logger ||= ::Logger.new(STDOUT) - VERSION = '0.9.1' + VERSION = '0.9.4' end