Rakefile in radiant-reader-extension-3.0.0.rc4 vs Rakefile in radiant-reader-extension-3.0.0

- old
+ new

@@ -14,15 +14,15 @@ require "#{File.expand_path(File.dirname(__FILE__) + "/../../../")}/config/boot" end end require 'rake' -require 'rake/rdoctask' +require 'rdoc/task' require 'rake/testtask' -rspec_base = File.expand_path(RADIANT_ROOT + '/vendor/plugins/rspec/lib') -$LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base) +# rspec_base = File.expand_path(RADIANT_ROOT + '/vendor/plugins/rspec/lib') +# $LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base) require 'spec/rake/spectask' require 'cucumber' require 'cucumber/rake/task' # Cleanup the RADIANT_ROOT constant so specs will load the environment @@ -99,10 +99,10 @@ end end end desc 'Generate documentation for the reader extension.' -Rake::RDocTask.new(:rdoc) do |rdoc| +RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'ReaderExtension' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') \ No newline at end of file