Module Grit
In: lib/grit/actor.rb
lib/grit/blame.rb
lib/grit/blob.rb
lib/grit/commit.rb
lib/grit/commit_stats.rb
lib/grit/config.rb
lib/grit/diff.rb
lib/grit/errors.rb
lib/grit/git-ruby/commit_db.rb
lib/grit/git-ruby/file_index.rb
lib/grit/git-ruby/git_object.rb
lib/grit/git-ruby/internal/file_window.rb
lib/grit/git-ruby/internal/loose.rb
lib/grit/git-ruby/internal/pack.rb
lib/grit/git-ruby/internal/raw_object.rb
lib/grit/git-ruby/object.rb
lib/grit/git-ruby/repository.rb
lib/grit/git-ruby.rb
lib/grit/git.rb
lib/grit/index.rb
lib/grit/merge.rb
lib/grit/ref.rb
lib/grit/repo.rb
lib/grit/status.rb
lib/grit/submodule.rb
lib/grit/tag.rb
lib/grit/tree.rb
lib/grit.rb

converted from the gitrb project

authors:

   Matthias Lederhofer <matled@gmx.net>
   Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
   Scott Chacon <schacon@gmail.com>

provides native ruby access to git objects and pack files

Methods

log   version  

Classes and Modules

Module Grit::GitRuby
Class Grit::Actor
Class Grit::Blame
Class Grit::Blob
Class Grit::Commit
Class Grit::CommitDb
Class Grit::CommitStats
Class Grit::Config
Class Grit::Diff
Class Grit::DiffStat
Class Grit::Git
Class Grit::Head
Class Grit::Index
Class Grit::InvalidGitRepositoryError
Class Grit::Merge
Class Grit::NoSuchPathError
Class Grit::Ref
Class Grit::Remote
Class Grit::Repo
Class Grit::Status
Class Grit::Submodule
Class Grit::Tag
Class Grit::Tree

Attributes

debug  [RW]  Set debug to true to log all git calls and responses
logger  [RW]  The standard logger for debugging git calls - this defaults to a plain STDOUT logger
use_git_ruby  [RW] 

Public Class methods

[Source]

    # File lib/grit.rb, line 55
55:     def log(str)
56:       logger.debug { str }
57:     end

[Source]

    # File lib/grit.rb, line 64
64:   def self.version
65:     yml = YAML.load(File.read(File.join(File.dirname(__FILE__), *%w[.. VERSION.yml])))
66:     "#{yml[:major]}.#{yml[:minor]}.#{yml[:patch]}"
67:   end

[Validate]