Rakefile in nsisam-0.2.2 vs Rakefile in nsisam-0.2.3

- old
+ new

@@ -1,17 +1,17 @@ # encoding: utf-8 - require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' +require 'yard' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "nsisam" @@ -34,13 +34,8 @@ end task :default => :spec require 'rdoc/task' -Rake::RDocTask.new do |rdoc| - version = File.exist?('VERSION') ? File.read('VERSION') : "" - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "nsisam #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') +YARD::Rake::YardocTask.new do |t| + t.files = ['lib/**/*.rb', ] # optional end