Rakefile in patron-0.4.2 vs Rakefile in patron-0.4.3
- old
+ new
@@ -92,12 +92,12 @@
task :shell => :compile do
sh 'irb -I./lib -I./ext -r patron'
end
Rake::RDocTask.new do |rdoc|
- rdoc.rdoc_dir = 'doc'
- rdoc.title = "Patron documentation"
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'Patron documentation'
rdoc.main = 'README.txt'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README.txt')
rdoc.rdoc_files.include('lib/**/*.rb')
end
@@ -124,8 +124,11 @@
t.rcov_opts << '--exclude spec'
t.rcov_opts << '--exclude lib/magneto.rb'
t.rcov_opts << '--exclude /Library/Ruby/Gems'
end
-Jeweler::RubyforgeTasks.new
+Jeweler::RubyforgeTasks.new do |t|
+ t.remote_doc_path = ''
+ t.doc_task = :yardoc
+end
task :default => :spec