Rakefile in amazon-ecs-2.2.4 vs Rakefile in amazon-ecs-2.2.5
- old
+ new
@@ -1,12 +1,12 @@
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
-require 'rake/gempackagetask'
+require 'rdoc/task'
+require 'rubygems/package_task'
require 'rake/packagetask'
desc "Create the RDOC html files"
-rd = Rake::RDocTask.new("rdoc") { |rdoc|
+rd = RDoc::Task.new { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "amazon-ecs"
rdoc.options << '--line-numbers' << '--inline-source' << '--main' << 'Readme.rdoc'
rdoc.rdoc_files.include('Readme.rdoc', 'CHANGELOG')
rdoc.rdoc_files.include('lib/**/*.rb')
\ No newline at end of file