Rakefile in ruote-2.1.5 vs Rakefile in ruote-2.1.6
- old
+ new
@@ -1,11 +1,11 @@
+require 'lib/ruote/version.rb'
+
require 'rubygems'
require 'rake'
-$:.unshift( File.join(File.dirname(__FILE__), 'lib') )
-require File.join(File.dirname(__FILE__), %w[ lib ruote worker.rb ])
begin
require 'jeweler'
@@ -58,10 +58,10 @@
CLEAN.include('pkg', 'rdoc', 'work', 'logs')
task :default => [ :clean ]
desc 'Upload the documentation to rubyforge'
-task :upload_rdoc => :rdoc do
+task :upload_rdoc => :yard do
sh %{
rsync -azv -e ssh \
ruote_rdoc \
jmettraux@rubyforge.org:/var/www/gforge-projects/ruote/
}