fix META.yml syntax
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 29 May 2008 18:04:40 +0000 (20:04 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 31 May 2008 19:47:00 +0000 (19:47 +0000)
commit2948db1f40f3b7c126732e0e662a28ffb43008b0
tree186309297280d583b90da80f9951895bacb88cfb
parent566d87bdea774c73931c276af6a5f6ebaadaf3f7
fix META.yml syntax

Bah, used lists where simple maps were expected (though this syntax is
used with optional_features and another project of mine, so slightly
excusable except for missing tests).

Also, Test::YAML::Meta wants keys of optional_features to conform to
/^[a-z_-]+$/.  This isn't mentioned anywhere in the specifications, but
a passing test is more useful than a minor stylistic detail.

Finally, while 'repository' apparantly still isn't an official resources
key, it _is_ mentioned as such (lowercased) in the specs.  In fact
everyone seems to use it like that, so I guess being technically
incorrect will be supported better.
Changes
META.yml
t/meta.t [new file with mode: 0644]