diff --git a/META.yml b/META.yml index 34328e71a469..6afc2e62e53e 100644 --- a/META.yml +++ b/META.yml @@ -106,4 +106,4 @@ resources: license: https://dev.perl.org/licenses/ repository: https://github.com/Perl/perl5 version: '5.041007' -x_serialization_backend: 'CPAN::Meta::YAML version 0.019' +x_serialization_backend: 'CPAN::Meta::YAML version 0.020' diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 320247f0add4..a34a41b8a04e 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -329,8 +329,8 @@ package Maintainers; }, 'CPAN::Meta::YAML' => { - 'DISTRIBUTION' => 'ETHER/CPAN-Meta-YAML-0.019.tar.gz', - 'SYNCINFO' => 'corion on Mon Dec 16 09:12:25 2024', + 'DISTRIBUTION' => 'ETHER/CPAN-Meta-YAML-0.020.tar.gz', + 'SYNCINFO' => 'ether on Mon Dec 16 12:20:28 2024', 'FILES' => q[cpan/CPAN-Meta-YAML], 'EXCLUDED' => [ 't/00-report-prereqs.t', diff --git a/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm b/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm index f575b0319866..5e2ac55081c6 100644 --- a/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm +++ b/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm @@ -1,11 +1,11 @@ use 5.008001; # sane UTF-8 support use strict; use warnings; -package CPAN::Meta::YAML; # git description: v1.74-6-g56f1f15 +package CPAN::Meta::YAML; # git description: v1.75-3-g85169f1 # XXX-INGY is 5.8.1 too old/broken for utf8? # XXX-XDG Lancaster consensus was that it was sufficient until # proven otherwise -$CPAN::Meta::YAML::VERSION = '0.019'; +$CPAN::Meta::YAML::VERSION = '0.020'; ; # original $VERSION removed by Doppelgaenger ##################################################################### @@ -138,10 +138,7 @@ my %UNESCAPES = ( # These 3 values have special meaning when unquoted and using the # default YAML schema. They need quotes if they are strings. my %QUOTE = map { $_ => 1 } qw{ - null Null NULL - y Y yes Yes YES n N no No NO - true True TRUE false False FALSE - on On ON off Off OFF + null true false }; # The commented out form is simpler, but overloaded the Perl regex @@ -879,7 +876,7 @@ CPAN::Meta::YAML - Read and write a subset of YAML for CPAN Meta files =head1 VERSION -version 0.019 +version 0.020 =head1 SYNOPSIS diff --git a/cpan/CPAN-Meta-YAML/t/lib/TestBridge.pm b/cpan/CPAN-Meta-YAML/t/lib/TestBridge.pm index 85b71443c6bd..7b84da793bd0 100644 --- a/cpan/CPAN-Meta-YAML/t/lib/TestBridge.pm +++ b/cpan/CPAN-Meta-YAML/t/lib/TestBridge.pm @@ -347,13 +347,11 @@ sub test_code_point { my $data = { chr($code) => chr($code) }; my $dump = CPAN::Meta::YAML::Dump($data); $dump =~ s/^---\n//; - ok($dump eq $yaml or "'$dump'" eq $yaml, - "Dump key and value of code point char $code"); + is $dump, $yaml, "Dump key and value of code point char $code"; my $yny = CPAN::Meta::YAML::Dump(CPAN::Meta::YAML::Load($yaml)); $yny =~ s/^---\n//; - ok($yny eq $yaml or "'$yny'" eq $yaml, - "YAML for code point $code YNY roundtrips"); + is $yny, $yaml, "YAML for code point $code YNY roundtrips"; my $nyn = CPAN::Meta::YAML::Load(CPAN::Meta::YAML::Dump($data)); cmp_deeply( $nyn, $data, "YAML for code point $code NYN roundtrips" );