jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious
54 stars 44 forks source link

Add version check of yaml module when testing #67

Closed soren closed 6 years ago

soren commented 6 years ago

The JSON::Validator seems to require at least version 0.67 of YAML::XS to work. If an older version is installed the the test fails. I've changed the pre-condition to check for a specific version of YAML::XS, and if it's not installed the test is skipped, just as if the modules wasn't installed at all.

This should most/all of the CPAN Testers failures.

This is part of the CPAN Pull Request Challenge, where I got Mojolicious::Plugin::OpenAPI as my February assignment.

jhthorsen commented 6 years ago

Awesome! 👍