gitlab-grit.gemspec (22 lines of code) (raw):
Gem::Specification.new do |s|
s.name = 'gitlab-grit'
s.version = `cat VERSION`
s.date = Time.now.strftime("%Y-%m-%d")
s.license = 'MIT'
s.summary = "Ruby Git bindings."
s.description = "Grit is a Ruby library for extracting information from a git repository in an object oriented manner. GitLab fork"
s.authors = ["Tom Preston-Werner", "Scott Chacon", "Dmitriy Zaporozhets"]
s.email = 'm@gitlabhq.com'
s.homepage = 'http://github.com/gitlabhq/grit'
s.require_paths = %w[lib]
s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.md LICENSE]
s.files = `git ls-files lib/`.split("\n") << 'VERSION'
s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
s.add_dependency("charlock_holmes", "~> 0.7")
s.add_dependency('posix-spawn', "~> 0.3")
s.add_dependency('mime-types', ">= 1.16", "< 3")
s.add_dependency('diff-lcs', "~> 1.1")
s.add_development_dependency('mocha')
s.add_development_dependency('test-unit')
end