Rakefile in git_diff_parser-2.1.2 vs Rakefile in git_diff_parser-2.1.3

- old
+ new

@@ -5,5 +5,14 @@ RSpec::Core::RakeTask.new(:spec) do |spec| spec.rspec_opts = ['-cfd --backtrace'] end task default: :spec + +require 'yard' +require 'yard/rake/yardoc_task' +DOC_FILES = ['lib/**/*.rb'] +DOC_OPTIONS = ['--debug', '--verbose'] +YARD::Rake::YardocTask.new(:doc) do |t| + t.files = DOC_FILES + t.options = DOC_OPTIONS if Rake.application.options.trace +end