From: Mischa POSLAWSKY Date: Thu, 15 Dec 2011 21:41:26 +0000 (+0100) Subject: update META.yml to spec v1.4 X-Git-Tag: 3.24~15 X-Git-Url: http://git.shiar.net/perl/plp/.git/commitdiff_plain/05d0c75cd46cd8a5a16500e4890c7b1ded193090 update META.yml to spec v1.4 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] --- diff --git a/META.yml b/META.yml index 0f7e9ea..23a60fd 100644 --- a/META.yml +++ b/META.yml @@ -14,18 +14,18 @@ requires: 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 @@ -59,5 +59,5 @@ provides: version: 1.00 generated_by: Mischa POSLAWSKY 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 diff --git a/t/91-meta.t b/t/91-meta.t index d5e720b..2f98627 100644 --- a/t/91-meta.t +++ b/t/91-meta.t @@ -4,8 +4,8 @@ use warnings; 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();