2008-04-24 23:19:23 +04:00
|
|
|
Gem::Specification.new do |s|
|
2010-08-04 01:57:35 +04:00
|
|
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
2009-01-28 08:18:02 +03:00
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
2010-08-04 01:57:35 +04:00
|
|
|
s.rubygems_version = '1.3.5'
|
|
|
|
|
|
|
|
s.name = 'grit'
|
2011-01-13 23:56:04 +03:00
|
|
|
s.version = '2.4.1'
|
|
|
|
s.date = '2011-01-13'
|
2010-08-04 01:57:35 +04:00
|
|
|
s.rubyforge_project = 'grit'
|
|
|
|
|
|
|
|
s.summary = "Ruby Git bindings."
|
|
|
|
s.description = "Grit is a Ruby library for extracting information from a git repository in an object oriented manner."
|
|
|
|
|
|
|
|
s.authors = ["Tom Preston-Werner", "Scott Chacon"]
|
|
|
|
s.email = 'tom@github.com'
|
2010-08-19 21:55:05 +04:00
|
|
|
s.homepage = 'http://github.com/mojombo/grit'
|
2010-08-04 01:57:35 +04:00
|
|
|
|
|
|
|
s.require_paths = %w[lib]
|
|
|
|
|
2009-10-27 22:49:38 +03:00
|
|
|
s.rdoc_options = ["--charset=UTF-8"]
|
2010-08-04 01:57:35 +04:00
|
|
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
2009-01-28 08:18:02 +03:00
|
|
|
|
2011-03-04 06:02:14 +03:00
|
|
|
s.add_dependency('posix-spawn', "~> 0.3.0")
|
2010-08-04 01:57:35 +04:00
|
|
|
s.add_dependency('mime-types', "~> 1.15")
|
|
|
|
s.add_dependency('diff-lcs', "~> 1.1")
|
|
|
|
|
|
|
|
s.add_development_dependency('mocha')
|
|
|
|
|
|
|
|
# = MANIFEST =
|
|
|
|
s.files = %w[
|
|
|
|
API.txt
|
|
|
|
History.txt
|
|
|
|
LICENSE
|
|
|
|
PURE_TODO
|
|
|
|
README.md
|
|
|
|
Rakefile
|
|
|
|
benchmarks.rb
|
|
|
|
benchmarks.txt
|
|
|
|
examples/ex_add_commit.rb
|
|
|
|
examples/ex_index.rb
|
|
|
|
grit.gemspec
|
|
|
|
lib/grit.rb
|
|
|
|
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.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.rb
|
|
|
|
lib/grit/index.rb
|
2011-01-07 03:29:18 +03:00
|
|
|
lib/grit/jruby.rb
|
2010-08-04 01:57:35 +04:00
|
|
|
lib/grit/lazy.rb
|
|
|
|
lib/grit/merge.rb
|
2011-01-07 03:29:18 +03:00
|
|
|
lib/grit/process.rb
|
2010-08-04 01:57:35 +04:00
|
|
|
lib/grit/ref.rb
|
|
|
|
lib/grit/repo.rb
|
|
|
|
lib/grit/ruby1.9.rb
|
|
|
|
lib/grit/status.rb
|
|
|
|
lib/grit/submodule.rb
|
|
|
|
lib/grit/tag.rb
|
|
|
|
lib/grit/tree.rb
|
|
|
|
]
|
|
|
|
# = MANIFEST =
|
2009-01-28 08:18:02 +03:00
|
|
|
|
2010-08-04 01:57:35 +04:00
|
|
|
s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
|
2008-07-18 23:02:17 +04:00
|
|
|
end
|