File tree Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -106,4 +106,4 @@ resources:
106
106
license : https://dev.perl.org/licenses/
107
107
repository : https://github.com/Perl/perl5
108
108
version : ' 5.041007'
109
- x_serialization_backend : ' CPAN::Meta::YAML version 0.019 '
109
+ x_serialization_backend : ' CPAN::Meta::YAML version 0.020 '
Original file line number Diff line number Diff line change @@ -329,8 +329,8 @@ package Maintainers;
329
329
},
330
330
331
331
' 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' ,
334
334
' FILES' => q[ cpan/CPAN-Meta-YAML] ,
335
335
' EXCLUDED' => [
336
336
' t/00-report-prereqs.t' ,
Original file line number Diff line number Diff line change 1
1
use 5.008001; # sane UTF-8 support
2
2
use strict;
3
3
use warnings;
4
- package CPAN::Meta::YAML ; # git description: v1.74-6-g56f1f15
4
+ package CPAN::Meta::YAML ; # git description: v1.75-3-g85169f1
5
5
# XXX-INGY is 5.8.1 too old/broken for utf8?
6
6
# XXX-XDG Lancaster consensus was that it was sufficient until
7
7
# proven otherwise
8
- $CPAN::Meta::YAML::VERSION = ' 0.019 ' ;
8
+ $CPAN::Meta::YAML::VERSION = ' 0.020 ' ;
9
9
; # original $VERSION removed by Doppelgaenger
10
10
11
11
# ####################################################################
@@ -138,10 +138,7 @@ my %UNESCAPES = (
138
138
# These 3 values have special meaning when unquoted and using the
139
139
# default YAML schema. They need quotes if they are strings.
140
140
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
145
142
} ;
146
143
147
144
# 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
879
876
880
877
=head1 VERSION
881
878
882
- version 0.019
879
+ version 0.020
883
880
884
881
=head1 SYNOPSIS
885
882
Original file line number Diff line number Diff line change @@ -347,13 +347,11 @@ sub test_code_point {
347
347
my $data = { chr ($code ) => chr ($code ) };
348
348
my $dump = CPAN::Meta::YAML::Dump($data );
349
349
$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 " ;
352
351
353
352
my $yny = CPAN::Meta::YAML::Dump(CPAN::Meta::YAML::Load($yaml ));
354
353
$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" ;
357
355
358
356
my $nyn = CPAN::Meta::YAML::Load(CPAN::Meta::YAML::Dump($data ));
359
357
cmp_deeply( $nyn , $data , " YAML for code point $code NYN roundtrips" );
You can’t perform that action at this time.
0 commit comments