license, tests, lib.

This commit is contained in:
Denis Knauf 2013-03-06 11:58:33 +01:00
parent 6ebfbf64f9
commit c3dbaa7b71
8 changed files with 765 additions and 65 deletions

View file

@ -16,7 +16,7 @@ Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "ruby-timeout-interrupt"
gem.homepage = "http://github.com/DenisKnauf/ruby-timeout-interrupt"
gem.license = "MIT"
gem.license = "AGPLv3"
gem.summary = %Q{"Interrupts systemcalls too."}
gem.description = %Q{Timeout-lib, which interrupts everything, also systemcalls. It uses libc-alarm.}
gem.email = "Denis.Knauf@gmail.com"
@ -32,13 +32,13 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
test.rcov_opts << '--exclude "gems/*"'
end
#require 'simplecov'
#Rcov::RcovTask.new do |test|
#test.libs << 'test'
#test.pattern = 'test/**/test_*.rb'
#test.verbose = true
#test.rcov_opts << '--exclude "gems/*"'
#end
task :default => :test