Upgrade Parse-CPAN-Meta from version 1.4421 to 1.4422
authorSteve Hay <[email protected]>
Mon, 4 Jul 2016 07:24:32 +0000 (08:24 +0100)
committerSteve Hay <[email protected]>
Mon, 4 Jul 2016 07:24:32 +0000 (08:24 +0100)
Porting/Maintainers.pl
cpan/Parse-CPAN-Meta/lib/Parse/CPAN/Meta.pm

index c2e9947..e945ae3 100755 (executable)
@@ -841,7 +841,7 @@ use File::Glob qw(:case);
     },
 
     'Parse::CPAN::Meta' => {
-        'DISTRIBUTION' => 'DAGOLDEN/Parse-CPAN-Meta-1.4421.tar.gz',
+        'DISTRIBUTION' => 'DAGOLDEN/Parse-CPAN-Meta-1.4422.tar.gz',
         'FILES'        => q[cpan/Parse-CPAN-Meta],
         'EXCLUDED'     => [
             qw[t/00-report-prereqs.dd],
index 699bb39..027b1fa 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 package Parse::CPAN::Meta;
 # ABSTRACT: Parse META.yml and META.json CPAN metadata files
 
-our $VERSION = '1.4421';
+our $VERSION = '1.4422';
 
 use Exporter;
 use Carp 'croak';
@@ -50,6 +50,7 @@ sub load_yaml_string {
 
 sub load_json_string {
   my ($class, $string) = @_;
+  require Encode;
   # load_json_string takes characters, decode_json expects bytes
   my $encoded = Encode::encode('UTF-8', $string, Encode::PERLQQ());
   my $data = eval { $class->json_decoder()->can('decode_json')->($encoded) };
@@ -157,7 +158,7 @@ Parse::CPAN::Meta - Parse META.yml and META.json CPAN metadata files
 
 =head1 VERSION
 
-version 1.4421
+version 1.4422
 
 =head1 SYNOPSIS