Rakefile in mobi-0.1.2 vs Rakefile in mobi-0.2.0
- old
+ new
@@ -13,37 +13,23 @@
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "mobi"
gem.homepage = "http://github.com/jkongie/mobi"
gem.license = "MIT"
- gem.summary = %Q{A Rubygem that inspects MOBI metadata}
- gem.description = %Q{Mobi is a Rubygem that allows you to easily read MOBI e-book format metadata }
+ gem.summary = %Q{A Rubygem that inspects MOBI metadata.}
+ gem.description = %Q{Mobi is a Rubygem that allows you to easily read MOBI e-book format metadata.}
gem.email = "jkongie@gmail.com"
gem.authors = ["jkongie"]
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
# gem.add_development_dependency 'rspec', '> 1.2.3'
end
Jeweler::RubygemsDotOrgTasks.new
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
task :default => :test
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "mobi #{version}"