technicalpickles/jeweler — pull request #218 by aia (2012-01-23 21:31:13+00:00)
Title: Adding .yardopts to cleanup gem installation

Need yardopts to ignore the templates directory on gem installation.
Yard is trying to parse lib/jeweler/templates on Jeweler gem installation.

Fixes the following:

[error]: ParserSyntaxError: syntax error in `lib/jeweler/templates/minitest/helper.rb`:(2,1): syntax error, unexpected '<', expecting $end
[error]: Stack trace:
/Users/artem/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.4/lib/yard/parser/ruby/ruby_parser.rb:505:in `on_parse_error'
/Users/artem/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.4/lib/yard/parser/ruby/ruby_parser.rb:49:in `parse'
/Users/artem/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.4/lib/yard/parser/ruby/ruby_parser.rb:49:in `parse'
/Users/artem/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.4/lib/yard/parser/ruby/ruby_parser.rb:15:in `parse'
/Users/artem/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:438:in `parse'
/Users/artem/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:361:in `parse_in_order'