Rakefile in yard-slipstream-0.1.2 vs Rakefile in yard-slipstream-0.1.3

- old
+ new

@@ -47,13 +47,21 @@ end end task :default => :spec -begin - require 'yard' - YARD::Rake::YardocTask.new -rescue LoadError - task :yardoc do - abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard" - end +require 'yard' +YARD::Rake::YardocTask.new do |t| + t.after = lambda { `touch doc/.nojekyll` } +end + +Jeweler::GhpagesTasks.new do |ghpages| + ghpages.push_on_release = true + ghpages.set_repo_homepage = true + ghpages.user_github_com = false + ghpages.doc_task = "yard" + ghpages.keep_files = [] + ghpages.map_paths = { + ".nojekyll" => "", + "doc" => "", + } end