Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-YAML-PP for openSUSE:Factory 
checked in at 2022-06-28 15:23:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-YAML-PP (Old)
 and      /work/SRC/openSUSE:Factory/.perl-YAML-PP.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-YAML-PP"

Tue Jun 28 15:23:02 2022 rev:15 rq:985573 version:0.033

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-YAML-PP/perl-YAML-PP.changes        
2022-03-11 11:50:53.930952827 +0100
+++ /work/SRC/openSUSE:Factory/.perl-YAML-PP.new.1548/perl-YAML-PP.changes      
2022-06-28 15:23:21.930031342 +0200
@@ -1,0 +2,10 @@
+Tue Jun 28 03:09:17 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 0.033
+   see /usr/share/doc/packages/perl-YAML-PP/Changes
+
+  0.033 2022-06-27 16:31:32+02:00
+
+      - Fix add_mapping_resolver + on_create (tie existing data)
+
+-------------------------------------------------------------------

Old:
----
  YAML-PP-0.032.tar.gz

New:
----
  YAML-PP-0.033.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-YAML-PP.spec ++++++
--- /var/tmp/diff_new_pack.iByBCR/_old  2022-06-28 15:23:22.430032089 +0200
+++ /var/tmp/diff_new_pack.iByBCR/_new  2022-06-28 15:23:22.434032094 +0200
@@ -18,7 +18,7 @@
 
 %define cpan_name YAML-PP
 Name:           perl-YAML-PP
-Version:        0.032
+Version:        0.033
 Release:        0
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        YAML 1.2 Processor

++++++ YAML-PP-0.032.tar.gz -> YAML-PP-0.033.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/Changes new/YAML-PP-0.033/Changes
--- old/YAML-PP-0.032/Changes   2022-03-08 19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/Changes   2022-06-27 16:33:50.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for Perl module YAML::PP
 
+0.033 2022-06-27 16:31:32+02:00
+
+    - Fix add_mapping_resolver + on_create (tie existing data)
+
 0.032 2022-03-08 19:02:00+01:00
 
     - Add missing '~' to allowed chars in tags
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/META.json new/YAML-PP-0.033/META.json
--- old/YAML-PP-0.032/META.json 2022-03-08 19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/META.json 2022-06-27 16:33:50.000000000 +0200
@@ -67,131 +67,131 @@
    "provides" : {
       "YAML::PP" : {
          "file" : "lib/YAML/PP.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Common" : {
          "file" : "lib/YAML/PP/Common.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Constructor" : {
          "file" : "lib/YAML/PP/Constructor.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Dumper" : {
          "file" : "lib/YAML/PP/Dumper.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Emitter" : {
          "file" : "lib/YAML/PP/Emitter.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Exception" : {
          "file" : "lib/YAML/PP/Exception.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Grammar" : {
          "file" : "lib/YAML/PP/Grammar.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Highlight" : {
          "file" : "lib/YAML/PP/Highlight.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Lexer" : {
          "file" : "lib/YAML/PP/Lexer.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Loader" : {
          "file" : "lib/YAML/PP/Loader.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Parser" : {
          "file" : "lib/YAML/PP/Parser.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Perl" : {
          "file" : "lib/YAML/PP/Perl.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Preserve::Array" : {
          "file" : "lib/YAML/PP.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Preserve::Hash" : {
          "file" : "lib/YAML/PP.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Preserve::Scalar" : {
          "file" : "lib/YAML/PP.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Reader" : {
          "file" : "lib/YAML/PP/Reader.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Reader::File" : {
          "file" : "lib/YAML/PP/Reader.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Render" : {
          "file" : "lib/YAML/PP/Render.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Representer" : {
          "file" : "lib/YAML/PP/Representer.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema" : {
          "file" : "lib/YAML/PP/Schema.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::Binary" : {
          "file" : "lib/YAML/PP/Schema/Binary.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::Core" : {
          "file" : "lib/YAML/PP/Schema/Core.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::Failsafe" : {
          "file" : "lib/YAML/PP/Schema/Failsafe.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::Include" : {
          "file" : "lib/YAML/PP/Schema/Include.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::JSON" : {
          "file" : "lib/YAML/PP/Schema/JSON.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::Merge" : {
          "file" : "lib/YAML/PP/Schema/Merge.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::Perl" : {
          "file" : "lib/YAML/PP/Schema/Perl.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::Tie::IxHash" : {
          "file" : "lib/YAML/PP/Schema/Tie/IxHash.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Schema::YAML1_1" : {
          "file" : "lib/YAML/PP/Schema/YAML1_1.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Type::MergeKey" : {
          "file" : "lib/YAML/PP/Type/MergeKey.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Writer" : {
          "file" : "lib/YAML/PP/Writer.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       },
       "YAML::PP::Writer::File" : {
          "file" : "lib/YAML/PP/Writer/File.pm",
-         "version" : "0.032"
+         "version" : "0.033"
       }
    },
    "release_status" : "stable",
@@ -205,7 +205,7 @@
          "web" : "https://github.com/perlpunk/YAML-PP-p5";
       }
    },
-   "version" : "0.032",
+   "version" : "0.033",
    "x_generated_by_perl" : "v5.30.3",
    "x_serialization_backend" : "Cpanel::JSON::XS version 4.26",
    "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/META.yml new/YAML-PP-0.033/META.yml
--- old/YAML-PP-0.032/META.yml  2022-03-08 19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/META.yml  2022-06-27 16:33:50.000000000 +0200
@@ -25,100 +25,100 @@
 provides:
   YAML::PP:
     file: lib/YAML/PP.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Common:
     file: lib/YAML/PP/Common.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Constructor:
     file: lib/YAML/PP/Constructor.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Dumper:
     file: lib/YAML/PP/Dumper.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Emitter:
     file: lib/YAML/PP/Emitter.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Exception:
     file: lib/YAML/PP/Exception.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Grammar:
     file: lib/YAML/PP/Grammar.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Highlight:
     file: lib/YAML/PP/Highlight.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Lexer:
     file: lib/YAML/PP/Lexer.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Loader:
     file: lib/YAML/PP/Loader.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Parser:
     file: lib/YAML/PP/Parser.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Perl:
     file: lib/YAML/PP/Perl.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Preserve::Array:
     file: lib/YAML/PP.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Preserve::Hash:
     file: lib/YAML/PP.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Preserve::Scalar:
     file: lib/YAML/PP.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Reader:
     file: lib/YAML/PP/Reader.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Reader::File:
     file: lib/YAML/PP/Reader.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Render:
     file: lib/YAML/PP/Render.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Representer:
     file: lib/YAML/PP/Representer.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema:
     file: lib/YAML/PP/Schema.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::Binary:
     file: lib/YAML/PP/Schema/Binary.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::Core:
     file: lib/YAML/PP/Schema/Core.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::Failsafe:
     file: lib/YAML/PP/Schema/Failsafe.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::Include:
     file: lib/YAML/PP/Schema/Include.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::JSON:
     file: lib/YAML/PP/Schema/JSON.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::Merge:
     file: lib/YAML/PP/Schema/Merge.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::Perl:
     file: lib/YAML/PP/Schema/Perl.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::Tie::IxHash:
     file: lib/YAML/PP/Schema/Tie/IxHash.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Schema::YAML1_1:
     file: lib/YAML/PP/Schema/YAML1_1.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Type::MergeKey:
     file: lib/YAML/PP/Type/MergeKey.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Writer:
     file: lib/YAML/PP/Writer.pm
-    version: '0.032'
+    version: '0.033'
   YAML::PP::Writer::File:
     file: lib/YAML/PP/Writer/File.pm
-    version: '0.032'
+    version: '0.033'
 requires:
   B: '0'
   B::Deparse: '0'
@@ -142,7 +142,7 @@
 resources:
   bugtracker: https://github.com/perlpunk/YAML-PP-p5/issues
   repository: https://github.com/perlpunk/YAML-PP-p5
-version: '0.032'
+version: '0.033'
 x_generated_by_perl: v5.30.3
 x_serialization_backend: 'YAML::Tiny version 1.73'
 x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/Makefile.PL 
new/YAML-PP-0.033/Makefile.PL
--- old/YAML-PP-0.032/Makefile.PL       2022-03-08 19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/Makefile.PL       2022-06-27 16:33:50.000000000 +0200
@@ -54,7 +54,7 @@
     "Test::Warn" => 0,
     "lib" => 0
   },
-  "VERSION" => "0.032",
+  "VERSION" => "0.033",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/dist.ini new/YAML-PP-0.033/dist.ini
--- old/YAML-PP-0.032/dist.ini  2022-03-08 19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/dist.ini  2022-06-27 16:33:50.000000000 +0200
@@ -4,7 +4,7 @@
 copyright_holder = Tina M??ller
 copyright_year   = 2022
 
-version = 0.032
+version = 0.033
 
 [@Filter]
 -bundle = @Basic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Common.pm 
new/YAML-PP-0.033/lib/YAML/PP/Common.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Common.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Common.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Common;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use base 'Exporter';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Constructor.pm 
new/YAML-PP-0.033/lib/YAML/PP/Constructor.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Constructor.pm        2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Constructor.pm        2022-06-27 
16:33:50.000000000 +0200
@@ -3,7 +3,7 @@
 use warnings;
 package YAML::PP::Constructor;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use YAML::PP;
 use YAML::PP::Common qw/
@@ -139,7 +139,7 @@
     my $preserve_style = $self->preserve_flow_style;
     my $preserve_alias = $self->preserve_alias;
     if (($preserve_order or $preserve_style or $preserve_alias) and not 
tied(%$data)) {
-        tie %$data, 'YAML::PP::Preserve::Hash';
+        tie %$data, 'YAML::PP::Preserve::Hash', %$data;
     }
     if ($preserve_style) {
         my $t = tied %$data;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Dumper.pm 
new/YAML-PP-0.033/lib/YAML/PP/Dumper.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Dumper.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Dumper.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Dumper;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use Scalar::Util qw/ blessed refaddr reftype /;
 use YAML::PP;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Emitter.pm 
new/YAML-PP-0.033/lib/YAML/PP/Emitter.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Emitter.pm    2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Emitter.pm    2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Emitter;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 use Data::Dumper;
 
 use YAML::PP::Common qw/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Exception.pm 
new/YAML-PP-0.033/lib/YAML/PP/Exception.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Exception.pm  2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Exception.pm  2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Exception;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use overload '""' => \&to_string;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Grammar.pm 
new/YAML-PP-0.033/lib/YAML/PP/Grammar.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Grammar.pm    2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Grammar.pm    2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Grammar;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use base 'Exporter';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Highlight.pm 
new/YAML-PP-0.033/lib/YAML/PP/Highlight.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Highlight.pm  2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Highlight.pm  2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Highlight;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 our @EXPORT_OK = qw/ Dump /;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Lexer.pm 
new/YAML-PP-0.033/lib/YAML/PP/Lexer.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Lexer.pm      2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Lexer.pm      2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Lexer;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use constant TRACE => $ENV{YAML_PP_TRACE} ? 1 : 0;
 use constant DEBUG => ($ENV{YAML_PP_DEBUG} || $ENV{YAML_PP_TRACE}) ? 1 : 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Loader.pm 
new/YAML-PP-0.033/lib/YAML/PP/Loader.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Loader.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Loader.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -3,7 +3,7 @@
 use warnings;
 package YAML::PP::Loader;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use YAML::PP::Parser;
 use YAML::PP::Constructor;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Parser.pm 
new/YAML-PP-0.033/lib/YAML/PP/Parser.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Parser.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Parser.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -3,7 +3,7 @@
 use warnings;
 package YAML::PP::Parser;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use constant TRACE => $ENV{YAML_PP_TRACE} ? 1 : 0;
 use constant DEBUG => ($ENV{YAML_PP_DEBUG} || $ENV{YAML_PP_TRACE}) ? 1 : 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Perl.pm 
new/YAML-PP-0.033/lib/YAML/PP/Perl.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Perl.pm       2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Perl.pm       2022-06-27 16:33:50.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Perl;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use base 'Exporter';
 use base 'YAML::PP';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Reader.pm 
new/YAML-PP-0.033/lib/YAML/PP/Reader.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Reader.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Reader.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -3,7 +3,7 @@
 use warnings;
 package YAML::PP::Reader;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 sub input { return $_[0]->{input} }
 sub set_input { $_[0]->{input} = $_[1] }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Render.pm 
new/YAML-PP-0.033/lib/YAML/PP/Render.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Render.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Render.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -3,7 +3,7 @@
 use warnings;
 package YAML::PP::Render;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use constant TRACE => $ENV{YAML_PP_TRACE} ? 1 : 0;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Representer.pm 
new/YAML-PP-0.033/lib/YAML/PP/Representer.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Representer.pm        2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Representer.pm        2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Representer;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use Scalar::Util qw/ reftype blessed refaddr /;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/Binary.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/Binary.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/Binary.pm      2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/Binary.pm      2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::Binary;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use MIME::Base64 qw/ decode_base64 encode_base64 /;
 use YAML::PP::Common qw/ YAML_ANY_SCALAR_STYLE /;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/Core.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/Core.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/Core.pm        2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/Core.pm        2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::Core;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use YAML::PP::Schema::JSON qw/
     represent_int represent_float represent_literal represent_bool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/Failsafe.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/Failsafe.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/Failsafe.pm    2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/Failsafe.pm    2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::Failsafe;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 sub register {
     my ($self, %args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/Include.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/Include.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/Include.pm     2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/Include.pm     2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::Include;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use Carp qw/ croak /;
 use Scalar::Util qw/ weaken /;
@@ -164,7 +164,7 @@
 
     my $include = YAML::PP::Schema::Include->new;
 
-    my $yp = YAML::PP->new( schema => ['JSON', $include] );
+    my $yp = YAML::PP->new( schema => ['+', $include] );
     # we need the original YAML::PP object for getting the current filename
     # and for loading another file
     $include->yp($yp);
@@ -188,7 +188,7 @@
     my $include = YAML::PP::Schema::Include->new(
         paths => \@include_paths,
     );
-    my $yp = YAML::PP->new( schema => ['JSON', $include] );
+    my $yp = YAML::PP->new( schema => ['+', $include] );
     $include->yp($yp);
 
     # /path/to/include/yaml/1/file1.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/JSON.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/JSON.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/JSON.pm        2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/JSON.pm        2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::JSON;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use base 'Exporter';
 our @EXPORT_OK = qw/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/Merge.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/Merge.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/Merge.pm       2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/Merge.pm       2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::Merge;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use YAML::PP::Type::MergeKey;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/Perl.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/Perl.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/Perl.pm        2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/Perl.pm        2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::Perl;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use Scalar::Util qw/ blessed reftype /;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/Tie/IxHash.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/Tie/IxHash.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/Tie/IxHash.pm  2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/Tie/IxHash.pm  2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::Tie::IxHash;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use base 'YAML::PP::Schema';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema/YAML1_1.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema/YAML1_1.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema/YAML1_1.pm     2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema/YAML1_1.pm     2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Schema::YAML1_1;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use YAML::PP::Schema::JSON qw/
     represent_int represent_float represent_literal represent_bool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Schema.pm 
new/YAML-PP-0.033/lib/YAML/PP/Schema.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Schema.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Schema.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -4,7 +4,7 @@
 use B;
 use Module::Load qw//;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE /;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Type/MergeKey.pm 
new/YAML-PP-0.033/lib/YAML/PP/Type/MergeKey.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Type/MergeKey.pm      2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Type/MergeKey.pm      2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Type::MergeKey;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 sub new {
     my ($class) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Writer/File.pm 
new/YAML-PP-0.033/lib/YAML/PP/Writer/File.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Writer/File.pm        2022-03-08 
19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Writer/File.pm        2022-06-27 
16:33:50.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package YAML::PP::Writer::File;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use Scalar::Util qw/ openhandle /;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP/Writer.pm 
new/YAML-PP-0.033/lib/YAML/PP/Writer.pm
--- old/YAML-PP-0.032/lib/YAML/PP/Writer.pm     2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/lib/YAML/PP/Writer.pm     2022-06-27 16:33:50.000000000 
+0200
@@ -3,7 +3,7 @@
 use warnings;
 package YAML::PP::Writer;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 sub output { return $_[0]->{output} }
 sub set_output { $_[0]->{output} = $_[1] }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/lib/YAML/PP.pm 
new/YAML-PP-0.033/lib/YAML/PP.pm
--- old/YAML-PP-0.032/lib/YAML/PP.pm    2022-03-08 19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/lib/YAML/PP.pm    2022-06-27 16:33:50.000000000 +0200
@@ -3,7 +3,7 @@
 use warnings;
 package YAML::PP;
 
-our $VERSION = '0.032'; # VERSION
+our $VERSION = '0.033'; # VERSION
 
 use YAML::PP::Schema;
 use YAML::PP::Schema::JSON;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/t/41.custom.schema.t 
new/YAML-PP-0.033/t/41.custom.schema.t
--- old/YAML-PP-0.032/t/41.custom.schema.t      2022-03-08 19:06:12.000000000 
+0100
+++ new/YAML-PP-0.033/t/41.custom.schema.t      2022-06-27 16:33:50.000000000 
+0200
@@ -3,23 +3,37 @@
 use warnings;
 use Test::More;
 use YAML::PP;
+use YAML::PP::Common qw/ :PRESERVE /;
 
 use FindBin '$Bin';
 use lib "$Bin/lib";
 
 my $yp = YAML::PP->new(
     schema => [qw/ :MySchema /],
+    preserve => PRESERVE_ORDER,
 );
 
-my $data = {
-  o1 => (bless {}, 'Class1'),
-};
+my $yaml = <<'EOM';
+---
+o1: !Class1
+  z: 1
+  a: 2
+  y: 3
+  b: 4
+EOM
+
+my $data = $yp->load_string($yaml);
 
-my $yaml = $yp->dump_string($data);
+$yaml = $yp->dump_string($data);
 
 cmp_ok($yaml, 'eq', <<EOY, '$data serializes with the schema in 
t/lib/MySchema.pm');
 ---
-o1: !Class1 ''
+o1: !Class1
+  id: 23
+  z: 1
+  a: 2
+  y: 3
+  b: 4
 EOY
 
 done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-PP-0.032/t/lib/MySchema.pm 
new/YAML-PP-0.033/t/lib/MySchema.pm
--- old/YAML-PP-0.032/t/lib/MySchema.pm 2022-03-08 19:06:12.000000000 +0100
+++ new/YAML-PP-0.033/t/lib/MySchema.pm 2022-06-27 16:33:50.000000000 +0200
@@ -13,13 +13,22 @@
     my ($self, %args) = @_;
     my $schema = $args{schema};
 
+    $schema->add_mapping_resolver(
+        tag => '!Class1',
+        on_create => sub { return bless { id => 23 }, 'Class1' },
+        on_data => sub {
+            my ($constructor, $data, $list) = @_;
+            %$$data = (%$$data, @$list);
+        },
+    );
+
     $schema->add_representer(
       class_equals => 'Class1',
       code => sub {
         my ($representer, $node) = @_;
         # $node->{value} contains the object
         $node->{tag} = '!Class1';
-        $node->{ data } = '';
+        $node->{data} = $node->{value};
         return 1;
       },
     );

Reply via email to