Rakefile in typogruby-1.0.14 vs Rakefile in typogruby-1.0.15

- old
+ new

@@ -67,14 +67,16 @@ write_version [major, minor, patch].join('.') end end end -require 'yard' -YARD::Rake::YardocTask.new do |t| - t.options = [ - '--files', 'LICENSE', - '--files', 'HISTORY.md', - '--title', 'Typogruby API documentation' - ] +begin + require 'yard' + YARD::Rake::YardocTask.new do |t| + t.options = [ + '--files', 'LICENSE', + '--files', 'HISTORY.md', + '--title', 'Typogruby API documentation' + ] + end +rescue LoadError end -