Rakefile in soaspec-0.2.11 vs Rakefile in soaspec-0.2.12
- old
+ new
@@ -26,5 +26,13 @@
end
YARD::Rake::YardocTask.new do |t|
t.files = %w[features/**/*.feature features/**/*.rb lib/soaspec/cucumber/*.rb] # lib/soaspec/cucumber/*.rb]
end
+
+desc 'Ensure system has all docs'
+task :must_have_docs do
+ yard = `yard`
+ puts yard
+ percentage = yard.lines.last.strip.split('%').first.to_f
+ raise 'Must be fully documented' unless percentage == 100.00
+end