Recent Test::YAML::Meta does not allow a valid optional_features array
according to v1.3 spec, instead requiring v1.4 syntax regardless of version:
> ERR: Expected a map structure from YAML string or file (optional_features)
> [Validation: 1.3]
recommends:
CGI::Cookie: 0
optional_features:
- - mod_perl:
+ mod_perl:
description: mod_perl backend for Apache
requires:
Apache::Constants: 0
- - mod_perl-two:
+ mod_perl_two:
description: mod_perl2 backend for Apache
requires:
Apache2::Const: 0
Apache2::RequestRec: 0
Apache2::RequestUtil: 0
Apache2::RequestIO: 0
- - fastcgi:
+ fastcgi:
description: FastCGI backend
requires:
FCGI: 0.61
version: 1.00
generated_by: Mischa POSLAWSKY <perl@shiar.org>
meta-spec:
- version: 1.3
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
use Test::More;
eval 'use Test::YAML::Meta';
plan skip_all => "Test::YAML::Meta required to test META.yml" if $@;
-plan skip_all => "Test::YAML::Meta v0.10 required to test META.yml correctly"
- if $Test::YAML::Meta::VERSION < 0.10;
+plan skip_all => "Test::YAML::Meta v0.13 required to test META.yml correctly"
+ if $Test::YAML::Meta::VERSION < 0.13;
meta_yaml_ok();