From: Graham Knop Date: Wed, 15 Apr 2020 11:22:07 +0000 (+0200) Subject: update Config::General prereq to working version X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3adc3480014aae487da279703125827ef0cb039e;p=p5sagit%2FConfig-Any.git update Config::General prereq to working version --- diff --git a/Makefile.PL b/Makefile.PL index 456fc90..11ce936 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -14,7 +14,7 @@ my %META = ( 'Module::Pluggable::Object' => '3.6', }, suggests => { - 'Config::General' => '2.47', + 'Config::General' => '2.48', 'Config::Tiny' => 0, 'Cpanel::JSON::XS' => 0, 'XML::Simple' => 0, @@ -24,7 +24,7 @@ my %META = ( }, develop => { requires => { - 'Config::General' => '2.47', + 'Config::General' => '2.48', 'Config::Tiny' => 0, 'Cpanel::JSON::XS' => 0, 'XML::Simple' => 0, @@ -55,7 +55,9 @@ my %META = ( my %MM_ARGS = ( PREREQ_PM => { - (eval { require Config::General } ? ('Config::General' => '2.47') : ()), + (eval { require Config::General } ? ( + 'Config::General' => $META{prereqs}{runtime}{suggests}{'Config::General'} + ) : ()), }, ); diff --git a/lib/Config/Any/General.pm b/lib/Config/Any/General.pm index 3ee7e21..c072293 100644 --- a/lib/Config/Any/General.pm +++ b/lib/Config/Any/General.pm @@ -48,7 +48,7 @@ sub load { $args->{ -ConfigFile } = $file; require Config::General; - Config::General->VERSION( '2.47' ); + Config::General->VERSION( '2.48' ); $args->{ -ForceArray } = 1 unless exists $args->{ -ForceArray }; @@ -64,7 +64,7 @@ Specifies that this module requires L in order to work. =cut -sub requires_all_of { [ 'Config::General' => '2.47' ] } +sub requires_all_of { [ 'Config::General' => '2.48' ] } =head1 AUTHOR