-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdJSON reader version is stale #158
Comments
True, I should have updated the mdJson reader version. But the version number being out of sync with the schema should not cause a failure, the reader version is comment only - the reader is not loaded external to the entire mdTranslator. The two version numbers cannot be synced either. The mdJson reader version will naturally be ahead of the schema version. The test should verify the reader version is greater than to equal the schema version. That said, what's failing? And am I missing something? |
It was failing for me when reading mdJSON, version set to 2.3.2 |
Can you be more specific? I have 37 places in tests I have stepped around schema validation because the schema does allow the new fields recently added. Also, I just made the domainItems array optional rather than required. I didn't think any of these changes would impact older versions of mdJson, but maybe! Are all your jobs failing? Or just one? |
I get a |
It's failing due to the schema version set in the mdJSON. |
Ah! So I am testing mdJson file's mdJson.schema.version against the mdJson reader VERSION. I must be slipping, can't remember what I coded a year and a half ago. The tests only check single sections at a time. I'll need to work this into the testing sequence. Have it by this weekend. In the meantime, you can always set the mdJson schema version back to 2.2 in your files. |
I can't remember what I coded two weeks ago! 🙄 Yep, I just set the version back for now. |
Patched. I'll issue a PR for mdTranslator version 2.5.0. |
The mdJSON reader version is out of date (2.2.0). It fails with the current version of mdJSON(2.3.2).
Might be a good idea to write a test that compares to the schema version in the gemspec.
The text was updated successfully, but these errors were encountered: