Subject: | "optional_features" as map rather than list |
Date: | Sun, 28 Jun 2009 09:11:08 +1000 |
To: | bug-test-yaml-meta [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
The current meta spec 1.4 at
http://module-build.sourceforge.net/META-spec-current.html#recommends
shows "optional_features" like
optional_features:
foo:
description: Provides the ability to blah.
requires:
Data::Dumper: 0
which if I'm not mistaken is a map, but Test::YAML::Meta seems to ask
for a list. I see t/samples/07-META.yml has
optional_features:
- foo:
description: test
requires:
Test::More: 0.47
but I think that form was a typo in the sample in the META 1.3 spec.
The wording said "{map}" but the example was a list. That seems to have
been amended at
https://svn.perl.org/viewvc/modules/Module-Build/META-spec/tags/1.4/META-spec.pod?view=log#rev11072
with diff
https://svn.perl.org/viewvc/modules/Module-Build/META-spec/tags/1.4/META-spec.pod?r1=11031&r2=11072&diff_format=u