зеркало из https://github.com/github/grit.git
41 строка
644 B
Ruby
41 строка
644 B
Ruby
$:.unshift File.dirname(__FILE__) # For use/testing when no gem is installed
|
|
|
|
# core
|
|
require 'fileutils'
|
|
require 'time'
|
|
|
|
# stdlib
|
|
require 'timeout'
|
|
|
|
# third party
|
|
require 'rubygems'
|
|
require 'mime/types'
|
|
require 'open4'
|
|
require 'digest/sha1'
|
|
|
|
# internal requires
|
|
require 'grit/lazy'
|
|
require 'grit/errors'
|
|
require 'grit/git-ruby'
|
|
require 'grit/git'
|
|
require 'grit/ref'
|
|
require 'grit/commit'
|
|
require 'grit/tree'
|
|
require 'grit/blob'
|
|
require 'grit/actor'
|
|
require 'grit/diff'
|
|
require 'grit/config'
|
|
require 'grit/repo'
|
|
require 'grit/index'
|
|
|
|
|
|
module Grit
|
|
class << self
|
|
attr_accessor :debug
|
|
end
|
|
|
|
self.debug = false
|
|
|
|
VERSION = '0.8.1'
|
|
end
|