Skip to content

Commit 6f83688

Browse files
Update CPAN::Meta::YAML to 0.020
1 parent e2b6691 commit 6f83688

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

META.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ resources:
106106
license: https://dev.perl.org/licenses/
107107
repository: https://github.com/Perl/perl5
108108
version: '5.041007'
109-
x_serialization_backend: 'CPAN::Meta::YAML version 0.019'
109+
x_serialization_backend: 'CPAN::Meta::YAML version 0.020'

Porting/Maintainers.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ package Maintainers;
329329
},
330330

331331
'CPAN::Meta::YAML' => {
332-
'DISTRIBUTION' => 'ETHER/CPAN-Meta-YAML-0.019.tar.gz',
333-
'SYNCINFO' => 'corion on Mon Dec 16 09:12:25 2024',
332+
'DISTRIBUTION' => 'ETHER/CPAN-Meta-YAML-0.020.tar.gz',
333+
'SYNCINFO' => 'ether on Mon Dec 16 12:20:28 2024',
334334
'FILES' => q[cpan/CPAN-Meta-YAML],
335335
'EXCLUDED' => [
336336
't/00-report-prereqs.t',

cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use 5.008001; # sane UTF-8 support
22
use strict;
33
use warnings;
4-
package CPAN::Meta::YAML; # git description: v1.74-6-g56f1f15
4+
package CPAN::Meta::YAML; # git description: v1.75-3-g85169f1
55
# XXX-INGY is 5.8.1 too old/broken for utf8?
66
# XXX-XDG Lancaster consensus was that it was sufficient until
77
# proven otherwise
8-
$CPAN::Meta::YAML::VERSION = '0.019';
8+
$CPAN::Meta::YAML::VERSION = '0.020';
99
; # original $VERSION removed by Doppelgaenger
1010

1111
#####################################################################
@@ -138,10 +138,7 @@ my %UNESCAPES = (
138138
# These 3 values have special meaning when unquoted and using the
139139
# default YAML schema. They need quotes if they are strings.
140140
my %QUOTE = map { $_ => 1 } qw{
141-
null Null NULL
142-
y Y yes Yes YES n N no No NO
143-
true True TRUE false False FALSE
144-
on On ON off Off OFF
141+
null true false
145142
};
146143

147144
# 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
879876
880877
=head1 VERSION
881878
882-
version 0.019
879+
version 0.020
883880
884881
=head1 SYNOPSIS
885882

cpan/CPAN-Meta-YAML/t/lib/TestBridge.pm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,11 @@ sub test_code_point {
347347
my $data = { chr($code) => chr($code) };
348348
my $dump = CPAN::Meta::YAML::Dump($data);
349349
$dump =~ s/^---\n//;
350-
ok($dump eq $yaml or "'$dump'" eq $yaml,
351-
"Dump key and value of code point char $code");
350+
is $dump, $yaml, "Dump key and value of code point char $code";
352351

353352
my $yny = CPAN::Meta::YAML::Dump(CPAN::Meta::YAML::Load($yaml));
354353
$yny =~ s/^---\n//;
355-
ok($yny eq $yaml or "'$yny'" eq $yaml,
356-
"YAML for code point $code YNY roundtrips");
354+
is $yny, $yaml, "YAML for code point $code YNY roundtrips";
357355

358356
my $nyn = CPAN::Meta::YAML::Load(CPAN::Meta::YAML::Dump($data));
359357
cmp_deeply( $nyn, $data, "YAML for code point $code NYN roundtrips" );

0 commit comments

Comments
 (0)