Sha256: df5836edd11d78c34d16e01c7f4162f75cf73a908eb8c35db92b540ac9cea8b3

Contents?: true

Size: 643 Bytes

Versions: 27

Compression:

Stored size: 643 Bytes

Contents

GitRb - Native ruby interface to git
====================================

GitRb is a native interface to git. It is based on git_store by Matthias Georgi.

### Installation

GitStore can be installed as gem easily:

    $ gem sources -a http://gemcutter.org
    $ sudo gem install gitrb

### Usage Example

    require 'gitrb'

    repo = Gitrb::Repository.new(:path => '/tmp/repository', :create => true)
    repo.transaction do
      repo.root['textfile1'] = Gitrb::Blob.new(:data => 'text')
      repo.root['textfile2'] = Gitrb::Blob.new(:data => 'text')
    end

    puts repo.root['textfile1'].data
    puts repo.root['textfile2'].data

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
gitrb-0.2.8 README.md
gitrb-0.2.7 README.md
gitrb-0.2.6 README.md
gitrb-0.2.5 README.md
gitrb-0.2.4 README.md
gitrb-0.2.3 README.md
gitrb-0.2.2 README.md
gitrb-0.2.1 README.md
gitrb-0.2.0 README.md
gitrb-0.1.9 README.md
gitrb-0.1.8 README.md
gitrb-0.1.7 README.md
gitrb-0.1.6 README.md
gitrb-0.1.5 README.md
gitrb-0.1.4 README.md
gitrb-0.1.3 README.md
gitrb-0.1.2 README.md
gitrb-0.1.1 README.md
gitrb-0.1.0 README.md
gitrb-0.0.9 README.md