This repository has been archived by the owner on Oct 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
YARD 0.8 compatibility #1
Comments
Also noticing some spec failures against 0.8. |
Would it be difficult to fix this myself, or does it involve substantial knowledge? An alternative would be to run YARD 0.7 with a lower version of Ruby I think. |
Will need to ask @lsegal what changed in 0.7 -> 0.8. |
If there is a break it's most likely a bug in YARD. |
The failing specs, might be related not sure: 1) HasHandler valid has n should define class-methods for the 'has n' relationships Failure/Error: yard('HasN.things').should be_instance_of(CodeObjects::MethodObject) expected nil to be an instance of YARD::CodeObjects::MethodObject # ./spec/has_handler_spec.rb:17:in `block (4 levels) in ' 2) HasHandler valid has n should define reader methods for the 'has n' relationships Failure/Error: yard('HasN#things').should be_instance_of(CodeObjects::MethodObject) expected nil to be an instance of YARD::CodeObjects::MethodObject # ./spec/has_handler_spec.rb:21:in `block (4 levels) in ' 3) HasHandler valid has n should define writer methods for the 'has n' relationships Failure/Error: yard('HasN#things=').should be_instance_of(CodeObjects::MethodObject) expected nil to be an instance of YARD::CodeObjects::MethodObject # ./spec/has_handler_spec.rb:25:in `block (4 levels) in ' |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
I'm getting this warning:
This causes the
has
method to be ignored. Theproperty
seems to work withoutyard-dm
, but not thehas
andbelongs_to
associations. Is this a compatibility issue?The text was updated successfully, but these errors were encountered: