Rakefile in review-0.6.0 vs Rakefile in review-0.9.0
- old
+ new
@@ -6,11 +6,11 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "review"
gem.summary = %Q{ReVIEW: a easy-to-use digital publishing system}
- gem.description = %Q{ReVIEW is a digital publishing system for books and ebooks. It supports InDesin, EPUB and LaTeX.}
+ gem.description = %Q{ReVIEW is a digital publishing system for books and ebooks. It supports InDesign, EPUB and LaTeX.}
gem.email = "kmuto@debian.org"
gem.homepage = "http://github.com/kmuto/review"
gem.authors = ["kmuto", "takahashim"]
# gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
@@ -27,9 +27,21 @@
Rake::TestTask.new("test") do |t|
t.libs << "test"
t.pattern = "test/test_*.rb"
t.verbose = true
+end
+
+begin
+ require 'rcov/rcovtask'
+ Rcov::RcovTask.new do |t|
+ t.rcov_opts << '-x /gems/'
+ t.rcov_opts << '-x /tmp/'
+ t.libs << 'test'
+ t.pattern = 'test/test_*.rb'
+ t.verbose = true
+ end
+rescue LoadError
end
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""