Commit 986c98f2fcfaeda190682a35d9f4e74ce013cd18

Merge commit 'mojombo/master'

* commit 'mojombo/master':
up to 0.8.1
grit gems are now exclusively available via gems.github.com!
a few more little gemspec fixes
gemification updates
fix repo browse address
fix gemspec
up to 0.8.0 and add gemspec

Conflicts:

Manifest.txt
lib/grit.rb

Commit diff

.gitignore

 
11coverage
2pkg
2pkg/*.tgz
33doc
44test/specifics.rb
toggle raw diff

History.txt

 
1== 0.7.0 / 2008-01-07
1== 0.8.0 / 2008-04-24
2 * Lots of fixes and additions
23
3* 1 major enhancement
4== 0.7.0 / 2008-01-07
45 * First public release!
56
toggle raw diff

Manifest.txt

 
11History.txt
2Manifest.txt
3README.txt
4Rakefile
5grit.gemspec
6lib/grit.rb
27lib/grit/actor.rb
38lib/grit/blob.rb
49lib/grit/commit.rb
1515lib/grit/ref.rb
1616lib/grit/repo.rb
1717lib/grit/tree.rb
18lib/grit.rb
19Rakefile
20README.txt
2118test/fixtures/blame
2219test/fixtures/cat_file_blob
2320test/fixtures/cat_file_blob_size
5252test/test_remote.rb
5353test/test_repo.rb
5454test/test_tag.rb
55test/test_tree.rb
55test/test_tree.rb
toggle raw diff

README.txt

 
11grit
22 by Tom Preston-Werner, Chris Wanstrath
3 http://grit.rubyforge.org
3 http://github.com/mojombo/grit
44
55== DESCRIPTION:
66
1313
1414== INSTALL:
1515
16sudo gem install grit
16 $ gem sources -a http://gems.github.com/ (you only need to do this once)
17 $ gem install mojombo-grit
1718
1819== SOURCE:
1920
2021Grit's git repo is available on GitHub, which can be browsed at:
2122
22http://github.com/~mojombo/grit
23 http://github.com/mojombo/grit
2324
2425and cloned from:
2526
26git://github.com/mojombo/grit.git
27 git://github.com/mojombo/grit.git
2728
2829== USAGE:
2930
3737The first step is to create a Grit::Repo object to represent your repo. I
3838include the Grit module so reduce typing.
3939
40 require 'mojombo-grit'
4041 include Grit
4142 repo = Repo.new("/Users/tom/dev/grit")
4243
toggle raw diff

Rakefile

 
33require './lib/grit.rb'
44
55Hoe.new('grit', Grit::VERSION) do |p|
6 p.rubyforge_name = 'grit'
76 p.author = 'Tom Preston-Werner'
87 p.email = 'tom@rubyisawesome.com'
98 p.summary = 'Object model interface to a git repo'
toggle raw diff

grit.gemspec

 
1Gem::Specification.new do |s|
2 s.name = "grit"
3 s.version = "0.8.1"
4 s.date = "2008-04-24"
5 s.summary = "Object model interface to a git repo"
6 s.email = "tom@rubyisawesome.com"
7 s.homepage = "http://github.com/mojombo/grit"
8 s.description = "Grit is a Ruby library for extracting information from a git repository in and object oriented manner."
9 s.has_rdoc = true
10 s.authors = ["Tom Preston-Werner"]
11 s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "grit.gemspec", "lib/grit.rb", "lib/grit/actor.rb", "lib/grit/blob.rb", "lib/grit/commit.rb", "lib/grit/config.rb", "lib/grit/diff.rb", "lib/grit/errors.rb", "lib/grit/git.rb", "lib/grit/head.rb", "lib/grit/lazy.rb", "lib/grit/repo.rb", "lib/grit/tag.rb", "lib/grit/tree.rb", "test/fixtures/blame", "test/fixtures/cat_file_blob", "test/fixtures/cat_file_blob_size", "test/fixtures/diff_2", "test/fixtures/diff_2f", "test/fixtures/diff_f", "test/fixtures/diff_i", "test/fixtures/diff_mode_only", "test/fixtures/diff_new_mode", "test/fixtures/diff_p", "test/fixtures/for_each_ref", "test/fixtures/for_each_ref_tags", "test/fixtures/ls_tree_a", "test/fixtures/ls_tree_b", "test/fixtures/ls_tree_commit", "test/fixtures/rev_list", "test/fixtures/rev_list_count", "test/fixtures/rev_list_single", "test/fixtures/rev_parse", "test/fixtures/show_empty_commit", "test/fixtures/simple_config", "test/helper.rb", "test/profile.rb", "test/suite.rb", "test/test_actor.rb", "test/test_blob.rb", "test/test_commit.rb", "test/test_config.rb", "test/test_diff.rb", "test/test_git.rb", "test/test_head.rb", "test/test_reality.rb", "test/test_repo.rb", "test/test_tag.rb", "test/test_tree.rb", "test/test_real.rb"]
12 s.test_files = ["test/test_actor.rb", "test/test_blob.rb", "test/test_commit.rb", "test/test_config.rb", "test/test_diff.rb", "test/test_git.rb", "test/test_head.rb", "test/test_real.rb", "test/test_reality.rb", "test/test_repo.rb", "test/test_tag.rb", "test/test_tree.rb"]
13 s.rdoc_options = ["--main", "README.txt"]
14 s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
15 s.add_dependency("mime-types", ["> 0.0.0"])
16end
toggle raw diff

lib/grit.rb

 
3232
3333 self.debug = false
3434
35 VERSION = '0.7.0'
35 VERSION = '0.8.1'
3636end
toggle raw diff