Rakefile in mynyml-phocus-0.9.4 vs Rakefile in mynyml-phocus-0.9.8
- old
+ new
@@ -20,21 +20,31 @@
end
end
spec = Gem::Specification.new do |s|
s.name = 'phocus'
- s.version = '0.9.4'
+ s.version = '0.9.8'
s.summary = "Run focused tests on test/unit."
s.description = "Tell test/unit exactly which tests you want run. It will ignore all the other ones and let you concentrate on a few."
s.author = "Martin Aumont"
s.email = 'mynyml@gmail.com'
s.homepage = ''
s.has_rdoc = true
s.require_path = "lib"
s.files = all_except([/doc/, /pkg/])
end
+desc "Generate rdoc documentation."
+Rake::RDocTask.new("rdoc") { |rdoc|
+ rdoc.rdoc_dir = 'doc/rdoc'
+ rdoc.title = "Phocus"
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.options << '--charset' << 'utf-8'
+ rdoc.rdoc_files.include('README')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+}
+
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc "Remove package products"
@@ -52,15 +62,5 @@
desc "Uninstall gem"
task :uninstall => :clean do
sh "#{SUDO} #{gem} uninstall -v #{spec.version} -x #{spec.name}"
end
-
-desc "Generate rdoc documentation."
-Rake::RDocTask.new("rdoc") { |rdoc|
- rdoc.rdoc_dir = 'doc/rdoc'
- rdoc.title = "Simple Router - Document"
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.options << '--charset' << 'utf-8'
- rdoc.rdoc_files.include('README')
- rdoc.rdoc_files.include('lib/**/*.rb')
-}