web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=JSON-MaybeXS',
},
},
- x_contributors => { # manually added, from git shortlog -e -s
+ x_contributors => [ # manually added, from git shortlog -e -s -n
'Clinton Gormley <develop@traveljury.com>',
'Graham Knop <haarg@haarg.org>',
'John SJ Anderson <genehack@genehack.org>',
'Karen Etheridge <ether@cpan.org>',
'Kieren Diment <diment@gmail.com>',
'Matt S Trout <mst@shadowcat.co.uk>',
- },
+ ],
},
META_ADD => {
requires => {
'Scalar::Util' => '0',
'Carp' => '0',
- 'JSON::PP' => '2.27202',
+ 'JSON::PP' => '2.27300',
# we may also add a runtime prereq for Cpanel::JSON::XS, on the
# installer's machine
perl => '5.006',
# dynamic prereqs get added here.
+my $args = parse_args();
+
# we require Cpanel::JSON::XS, except if JSON::XS is already installed.
# (we also always recommend Cpanel::JSON::XS, just to make sure.)
$WriteMakefileArgs{PREREQ_PM}{'Cpanel::JSON::XS'} = '2.3310'
- if not parse_args()->{PUREPERL_ONLY}
+ if not $args->{PUREPERL_ONLY}
and ((eval { require Cpanel::JSON::XS; 1 } and not eval { Cpanel::JSON::XS->VERSION('2.3310'); 1 })
or (not eval { require JSON::XS; 1; } and can_xs()));
# and Cpanel::JSON::JSON is (or is about to be) >= 3.0,
# then update JSON::XS to eliminate the incompatibility
$WriteMakefileArgs{PREREQ_PM}{'JSON::XS'} = '3.00'
- if not parse_args()->{PUREPERL_ONLY}
+ if not $args->{PUREPERL_ONLY}
and eval { require JSON::XS; 1 } and not eval { JSON::XS->VERSION('3.0'); 1 }
and (eval { require Cpanel::JSON::XS; Cpanel::JSON::XS->VERSION('3.0'); 1 }
# we presume here that if we are installing Cpanel::JSON::XS, we