meta-spec in json is an integer
authorH.Merijn Brand <merijn@lx09.procura.nl>
Sun, 20 May 2012 08:03:14 +0000 (20 10:03 +0200)
committerH.Merijn Brand <merijn@lx09.procura.nl>
Sun, 20 May 2012 08:03:14 +0000 (20 10:03 +0200)
sandbox/genMETA.pm

index 89a34e1..b5d96b6 100644 (file)
@@ -265,7 +265,7 @@ sub fix_meta
     $yf =~ s/yml$/json/;
     my $jsn = $self->{h};
     $jsn->{"meta-spec"} = {
-       version => "2.0",
+       version => 2,
        url     => "https://metacpan.org/module/CPAN::Meta::Spec?#meta-spec",
        };
     open $my, ">", $yf or croak "Cannot update $yf\n";