dkubb / yardstick

A tool for verifying YARD documentation coverage
http://wiki.github.com/dkubb/yardstick
MIT License
172 stars 22 forks source link

"ArgumentError" for every method #5

Closed moonglum closed 11 years ago

moonglum commented 12 years ago

I get this error for EVERY method of my repo:

[error]: Unhandled exception in YARD::Handlers::Ruby::MethodHandler:
[error]:   in `<FILE>`:<LINE NUMBER>:

        <LINE NUMBER> <METHOD NAME>

[error]: ArgumentError: wrong number of arguments(3 for 0)
[error]: Stack trace:
        /Users/moonglum/.rvm/gems/ruby-1.9.3-p194/gems/yard-0.8.2.1/lib/yar
d/handlers/ruby/method_handler.rb:20:in `initialize'
        /Users/moonglum/.rvm/gems/ruby-1.9.3-p194/gems/yard-0.8.2.1/lib/yar
d/handlers/ruby/method_handler.rb:20:in `new'
        /Users/moonglum/.rvm/gems/ruby-1.9.3-p194/gems/yard-0.8.2.1/lib/yar
d/handlers/ruby/method_handler.rb:20:in `block in <class:MethodHandler>'
        /Users/moonglum/.rvm/gems/ruby-1.9.3-p194/gems/yard-0.8.2.1/lib/yar
d/handlers/processor.rb:114:in `block (2 levels) in process'
        /Users/moonglum/.rvm/gems/ruby-1.9.3-p194/gems/yard-0.8.2.1/lib/yar
d/handlers/processor.rb:112:in `each'
        /Users/moonglum/.rvm/gems/ruby-1.9.3-p194/gems/yard-0.8.2.1/lib/yar
d/handlers/processor.rb:112:in `block in process'

Yardstick worked fine before the update to 0.6. The most current version of YARD is installed and still works fine.

Any ideas?

dkubb commented 11 years ago

@moonglum can you give this a try, but use the latest version of yard and yardstick? I've been using both on a few projects and afaik there aren't any issues like this anymore.

moonglum commented 11 years ago

@dkubb Yes! It works again :) Thank you. Yardstick will get back into the process again with the next release (have to fix the found issues first ;) ). And thanks again for this great tool :)