fill in .gemspec

This commit is contained in:
Josh Holtrop 2017-01-14 10:21:41 -05:00
parent ebbf894e21
commit 2f63d5840c

View File

@ -7,22 +7,13 @@ Gem::Specification.new do |spec|
spec.name = "gcovinator" spec.name = "gcovinator"
spec.version = Gcovinator::VERSION spec.version = Gcovinator::VERSION
spec.authors = ["Josh Holtrop"] spec.authors = ["Josh Holtrop"]
spec.email = ["TODO: Write your email address"] spec.email = ["jholtrop@gmail.com"]
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.} spec.summary = %q{gcovinator generates HTML reports for gcov coverage data}
spec.description = %q{TODO: Write a longer description or delete this line.} spec.description = %q{gcovinator generates HTML reports for gcov coverage data. It provides a command-line executable that can be run after the .gcda and .gcno files are present. It executes gcov, reads the .gcov output files, and combines the original source files with the coverage data into HTML reports.}
spec.homepage = "TODO: Put your gem's website or public repo URL here." spec.homepage = "https://github.com/holtrop/gcovinator"
spec.license = "MIT" spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.files = `git ls-files -z`.split("\x0").reject do |f| spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/}) f.match(%r{^(test|spec|features)/})
end end