Skip to content

Commit

Permalink
license MUST be a list of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
barbie committed Jan 11, 2015
1 parent 6493c4f commit 948d2bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changes log for Test-CPAN-Meta-JSON
- fixed license fields in META.json to be lists.
- extended META test suite.
- added '2.0' as an alias to '2' version spec.
- license MUST be a list of strings.

0.15 2013-07-21
- change file dates changed to meet W3CDTF standards.
Expand Down
4 changes: 2 additions & 2 deletions lib/Test/CPAN/Meta/JSON/Version.pm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ my %definitions = (
'author' => { mandatory => 1, lazylist => { value => \&string } },
'dynamic_config' => { mandatory => 1, value => \&boolean },
'generated_by' => { mandatory => 1, value => \&string },
'license' => { mandatory => 1, lazylist => { value => \&license } },
'license' => { mandatory => 1, list => { value => \&license } },
'meta-spec' => {
mandatory => 1,
'map' => {
Expand Down Expand Up @@ -132,7 +132,7 @@ my %definitions = (
},
'resources' => {
'map' => {
license => { lazylist => { value => \&url } },
license => { list => { value => \&url } },
homepage => { value => \&url },
bugtracker => {
'map' => {
Expand Down

0 comments on commit 948d2bc

Please sign in to comment.