Rakefile in wepay-rails-2.2.9 vs Rakefile in wepay-rails-2.5.0
- old
+ new
@@ -40,11 +40,11 @@
test.rcov_opts << '--exclude "gems/*"'
end
task :default => :test
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
+require 'rdoc/task'
+RDoc::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "wepay-rails #{version}"
rdoc.rdoc_files.include('README*')