Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-XML-RSS for openSUSE:Factory checked in at 2024-01-04 16:47:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-RSS (Old) and /work/SRC/openSUSE:Factory/.perl-XML-RSS.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-RSS" Thu Jan 4 16:47:23 2024 rev:4 rq:1136855 version:1.630.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-RSS/perl-XML-RSS.changes 2020-10-16 16:17:00.640740954 +0200 +++ /work/SRC/openSUSE:Factory/.perl-XML-RSS.new.28375/perl-XML-RSS.changes 2024-01-04 16:47:24.978210482 +0100 @@ -1,0 +2,11 @@ +Wed Dec 27 03:09:27 UTC 2023 - Tina Müller <timueller+p...@suse.de> + +- updated to 1.63 + see /usr/share/doc/packages/perl-XML-RSS/Changes + + 1.63 2023-12-26 + - Add allow_empty . + - https://github.com/shlomif/perl-XML-RSS/issues/20 + - Thanks to @johnhorner . + +------------------------------------------------------------------- Old: ---- XML-RSS-1.62.tar.gz New: ---- XML-RSS-1.63.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-RSS.spec ++++++ --- /var/tmp/diff_new_pack.FbjCoW/_old 2024-01-04 16:47:25.590232839 +0100 +++ /var/tmp/diff_new_pack.FbjCoW/_new 2024-01-04 16:47:25.590232839 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-XML-RSS # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,30 +16,38 @@ # +%define cpan_name XML-RSS Name: perl-XML-RSS -Version: 1.62 +Version: 1.630.0 Release: 0 -%define cpan_name XML-RSS -Summary: Creates and updates RSS files +%define cpan_version 1.63 License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl +Summary: Creates and updates RSS files URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DateTime::Format::Mail) BuildRequires: perl(DateTime::Format::W3CDTF) BuildRequires: perl(HTML::Entities) -BuildRequires: perl(Module::Build) >= 0.280000 +BuildRequires: perl(Module::Build) >= 0.28 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(XML::Parser) Requires: perl(DateTime::Format::Mail) Requires: perl(DateTime::Format::W3CDTF) Requires: perl(HTML::Entities) Requires: perl(XML::Parser) +Provides: perl(XML::RSS) = %{version} +Provides: perl(XML::RSS::Private::Output::Base) = %{version} +Provides: perl(XML::RSS::Private::Output::Roles::ImageDims) = %{version} +Provides: perl(XML::RSS::Private::Output::Roles::ModulesElems) = %{version} +Provides: perl(XML::RSS::Private::Output::V0_9) = %{version} +Provides: perl(XML::RSS::Private::Output::V0_91) = %{version} +Provides: perl(XML::RSS::Private::Output::V1_0) = %{version} +Provides: perl(XML::RSS::Private::Output::V2_0) = %{version} +%define __perllib_provides /bin/true %{perl_requires} %description @@ -78,21 +86,20 @@ ); %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build -perl Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes examples README TODO %license LICENSE ++++++ XML-RSS-1.62.tar.gz -> XML-RSS-1.63.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/Build.PL new/XML-RSS-1.63/Build.PL --- old/XML-RSS-1.62/Build.PL 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/Build.PL 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ -# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.015. +# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.031. use strict; use warnings; @@ -19,7 +19,7 @@ "Shlomi Fish <shlomif\@cpan.org>" ], "dist_name" => "XML-RSS", - "dist_version" => "1.62", + "dist_version" => "1.63", "license" => "perl", "module_name" => "XML::RSS", "recursive_test_files" => 1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/Changes new/XML-RSS-1.63/Changes --- old/XML-RSS-1.62/Changes 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/Changes 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,10 @@ Revision history for Perl module XML::RSS +1.63 2023-12-26 + - Add allow_empty . + - https://github.com/shlomif/perl-XML-RSS/issues/20 + - Thanks to @johnhorner . + 1.62 2020-10-15 - dist.ini / weaver.ini / .tidyallrc / etc. cleanup - Move to @SHLOMIF diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/MANIFEST new/XML-RSS-1.63/MANIFEST --- old/XML-RSS-1.62/MANIFEST 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/MANIFEST 2023-12-26 18:01:45.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.015. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.031. Build.PL Changes LICENSE @@ -76,6 +76,7 @@ t/data/freshmeat.rdf t/data/merlyn1.rss t/data/rss-permalink.xml +t/empty-elements.t t/enclosures-multi.t t/enclosures.t t/enclosures2.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/META.json new/XML-RSS-1.63/META.json --- old/XML-RSS-1.62/META.json 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/META.json 2023-12-26 18:01:45.000000000 +0100 @@ -4,7 +4,7 @@ "Shlomi Fish <shlo...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.031, CPAN::Meta::Converter version 2.150010", "keywords" : [ "feed", "feeds", @@ -78,35 +78,35 @@ "provides" : { "XML::RSS" : { "file" : "lib/XML/RSS.pm", - "version" : "1.62" + "version" : "1.63" }, "XML::RSS::Private::Output::Base" : { "file" : "lib/XML/RSS/Private/Output/Base.pm", - "version" : "1.62" + "version" : "1.63" }, "XML::RSS::Private::Output::Roles::ImageDims" : { "file" : "lib/XML/RSS/Private/Output/Roles/ImageDims.pm", - "version" : "1.62" + "version" : "1.63" }, "XML::RSS::Private::Output::Roles::ModulesElems" : { "file" : "lib/XML/RSS/Private/Output/Roles/ModulesElems.pm", - "version" : "1.62" + "version" : "1.63" }, "XML::RSS::Private::Output::V0_9" : { "file" : "lib/XML/RSS/Private/Output/V0_9.pm", - "version" : "1.62" + "version" : "1.63" }, "XML::RSS::Private::Output::V0_91" : { "file" : "lib/XML/RSS/Private/Output/V0_91.pm", - "version" : "1.62" + "version" : "1.63" }, "XML::RSS::Private::Output::V1_0" : { "file" : "lib/XML/RSS/Private/Output/V1_0.pm", - "version" : "1.62" + "version" : "1.63" }, "XML::RSS::Private::Output::V2_0" : { "file" : "lib/XML/RSS/Private/Output/V2_0.pm", - "version" : "1.62" + "version" : "1.63" } }, "release_status" : "stable", @@ -121,10 +121,10 @@ "web" : "https://github.com/shlomif/perl-XML-RSS" } }, - "version" : "1.62", + "version" : "1.63", "x_Dist_Zilla" : { "perl" : { - "version" : "5.032000" + "version" : "5.038002" }, "plugins" : [ { @@ -136,17 +136,17 @@ } }, "name" : "@Filter/TestMoreDoneTesting", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Filter/AutoPrereqs", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Filter/ExecDir", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::GatherDir", @@ -162,22 +162,22 @@ } }, "name" : "@Filter/GatherDir", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Filter/ManifestSkip", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Filter/MetaYAML", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Filter/PruneCruft", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -192,7 +192,7 @@ { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Filter/ShareDir", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -202,7 +202,7 @@ } }, "name" : "@Filter/MakeMaker", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", @@ -212,22 +212,22 @@ { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Filter/ConfirmRelease", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Filter/Manifest", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Filter/MetaConfig", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Filter/MetaJSON", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -237,7 +237,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.015" + "version" : "6.031" } ], "include_underscores" : 0 @@ -249,7 +249,7 @@ "meta_noindex" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -259,7 +259,7 @@ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Filter/MetaResources", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ModuleBuild", @@ -269,22 +269,22 @@ } }, "name" : "@Filter/ModuleBuild", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@Filter/PkgVersion", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Filter/PodCoverageTests", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Filter/PodSyntaxTests", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Test::Compile", @@ -353,12 +353,12 @@ { "class" : "Dist::Zilla::Plugin::Test::TrailingSpace", "name" : "@Filter/Test::TrailingSpace", - "version" : "0.2.0" + "version" : null }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Filter/TestRelease", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -366,13 +366,13 @@ "Dist::Zilla::Plugin::PodWeaver" : { "finder" : [ ":InstallModules", - ":ExecFiles" + ":PerlExecFiles" ], "plugins" : [ { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@SHLOMIF/SingleEncoding", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Plugin::WikiDoc", @@ -382,102 +382,102 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@SHLOMIF/Name", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@SHLOMIF/Version", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@SHLOMIF/Prelude", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@SHLOMIF/Synopsis", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@SHLOMIF/Description", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@SHLOMIF/Usage", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@SHLOMIF/Overview", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@SHLOMIF/Stability", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Requirements", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Attributes", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Constructors", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Methods", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Functions", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@SHLOMIF/Leftovers", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@SHLOMIF/postlude", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Support", "name" : "@SHLOMIF/Support", - "version" : "1.013" + "version" : "1.014" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "@SHLOMIF/Authors", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Bugs", "name" : "@SHLOMIF/Bugs", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Section::Contributors", @@ -487,23 +487,23 @@ { "class" : "Pod::Weaver::Section::Legal", "name" : "@SHLOMIF/Legal", - "version" : "4.015" + "version" : "4.019" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@SHLOMIF/List", - "version" : "4.015" + "version" : "4.019" } ] } }, "name" : "@Filter/PodWeaver", - "version" : "4.008" + "version" : "4.010" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Filter/UploadToCPAN", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Keywords", @@ -530,57 +530,57 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.015" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.015" + "version" : "6.031" } ], "zilla" : { @@ -588,11 +588,11 @@ "config" : { "is_trial" : 0 }, - "version" : "6.015" + "version" : "6.031" } }, - "x_generated_by_perl" : "v5.32.0", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.24", + "x_generated_by_perl" : "v5.38.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.37", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/META.yml new/XML-RSS-1.63/META.yml --- old/XML-RSS-1.62/META.yml 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/META.yml 2023-12-26 18:01:45.000000000 +0100 @@ -15,7 +15,7 @@ ExtUtils::MakeMaker: '0' Module::Build: '0.28' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.031, CPAN::Meta::Converter version 2.150010' keywords: - feed - feeds @@ -36,28 +36,28 @@ provides: XML::RSS: file: lib/XML/RSS.pm - version: '1.62' + version: '1.63' XML::RSS::Private::Output::Base: file: lib/XML/RSS/Private/Output/Base.pm - version: '1.62' + version: '1.63' XML::RSS::Private::Output::Roles::ImageDims: file: lib/XML/RSS/Private/Output/Roles/ImageDims.pm - version: '1.62' + version: '1.63' XML::RSS::Private::Output::Roles::ModulesElems: file: lib/XML/RSS/Private/Output/Roles/ModulesElems.pm - version: '1.62' + version: '1.63' XML::RSS::Private::Output::V0_9: file: lib/XML/RSS/Private/Output/V0_9.pm - version: '1.62' + version: '1.63' XML::RSS::Private::Output::V0_91: file: lib/XML/RSS/Private/Output/V0_91.pm - version: '1.62' + version: '1.63' XML::RSS::Private::Output::V1_0: file: lib/XML/RSS/Private/Output/V1_0.pm - version: '1.62' + version: '1.63' XML::RSS::Private::Output::V2_0: file: lib/XML/RSS/Private/Output/V2_0.pm - version: '1.62' + version: '1.63' requires: Carp: '0' DateTime::Format::Mail: '0' @@ -72,10 +72,10 @@ bugtracker: https://github.com/shlomif/perl-XML-RSS/issues homepage: http://metacpan.org/release/XML-RSS repository: git://github.com/shlomif/perl-XML-RSS.git -version: '1.62' +version: '1.63' x_Dist_Zilla: perl: - version: '5.032000' + version: '5.038002' plugins: - class: Dist::Zilla::Plugin::Prereqs @@ -84,15 +84,15 @@ phase: test type: requires name: '@Filter/TestMoreDoneTesting' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Filter/AutoPrereqs' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::ExecDir name: '@Filter/ExecDir' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::GatherDir config: @@ -105,19 +105,19 @@ prune_directory: [] root: . name: '@Filter/GatherDir' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Filter/ManifestSkip' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::MetaYAML name: '@Filter/MetaYAML' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::PruneCruft name: '@Filter/PruneCruft' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::RunExtraTests config: @@ -128,14 +128,14 @@ - class: Dist::Zilla::Plugin::ShareDir name: '@Filter/ShareDir' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Filter/MakeMaker' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@Filter/CheckChangesHasContent' @@ -143,19 +143,19 @@ - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Filter/ConfirmRelease' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::Manifest name: '@Filter/Manifest' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::MetaConfig name: '@Filter/MetaConfig' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::MetaJSON name: '@Filter/MetaJSON' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -164,46 +164,46 @@ - class: Dist::Zilla::Plugin::FinderCode name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.015' + version: '6.031' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' - inherit_missing: '1' - inherit_version: '1' - meta_noindex: '1' + inherit_missing: 1 + inherit_version: 1 + meta_noindex: 1 Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: '@Filter/MetaProvides::Package' version: '2.004003' - class: Dist::Zilla::Plugin::MetaResources name: '@Filter/MetaResources' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::ModuleBuild config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Filter/ModuleBuild' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::PkgVersion name: '@Filter/PkgVersion' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Filter/PodCoverageTests' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Filter/PodSyntaxTests' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::Test::Compile config: Dist::Zilla::Plugin::Test::Compile: - bail_out_on_fail: '0' + bail_out_on_fail: 0 fail_on_warning: author fake_home: 0 filename: t/00-compile.t @@ -250,23 +250,23 @@ - class: Dist::Zilla::Plugin::Test::TrailingSpace name: '@Filter/Test::TrailingSpace' - version: 0.2.0 + version: ~ - class: Dist::Zilla::Plugin::TestRelease name: '@Filter/TestRelease' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::PodWeaver config: Dist::Zilla::Plugin::PodWeaver: finder: - ':InstallModules' - - ':ExecFiles' + - ':PerlExecFiles' plugins: - class: Pod::Weaver::Plugin::SingleEncoding name: '@SHLOMIF/SingleEncoding' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Plugin::WikiDoc name: '@SHLOMIF/WikiDoc' @@ -274,83 +274,83 @@ - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Generic name: '@SHLOMIF/Name' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Version name: '@SHLOMIF/Version' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Region name: '@SHLOMIF/Prelude' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Generic name: '@SHLOMIF/Synopsis' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Generic name: '@SHLOMIF/Description' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Generic name: '@SHLOMIF/Usage' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Generic name: '@SHLOMIF/Overview' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Generic name: '@SHLOMIF/Stability' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Collect name: Requirements - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Collect name: Attributes - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Collect name: Constructors - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Collect name: Methods - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Collect name: Functions - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Leftovers name: '@SHLOMIF/Leftovers' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Region name: '@SHLOMIF/postlude' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Support name: '@SHLOMIF/Support' - version: '1.013' + version: '1.014' - class: Pod::Weaver::Section::Authors name: '@SHLOMIF/Authors' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Bugs name: '@SHLOMIF/Bugs' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Section::Contributors name: '@SHLOMIF/Contributors' @@ -358,17 +358,17 @@ - class: Pod::Weaver::Section::Legal name: '@SHLOMIF/Legal' - version: '4.015' + version: '4.019' - class: Pod::Weaver::Plugin::Transformer name: '@SHLOMIF/List' - version: '4.015' + version: '4.019' name: '@Filter/PodWeaver' - version: '4.008' + version: '4.010' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Filter/UploadToCPAN' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::Keywords config: @@ -390,52 +390,52 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.015' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.015' + version: '6.031' zilla: class: Dist::Zilla::Dist::Builder config: - is_trial: '0' - version: '6.015' -x_generated_by_perl: v5.32.0 -x_serialization_backend: 'YAML::Tiny version 1.73' + is_trial: 0 + version: '6.031' +x_generated_by_perl: v5.38.2 +x_serialization_backend: 'YAML::Tiny version 1.74' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/Makefile.PL new/XML-RSS-1.63/Makefile.PL --- old/XML-RSS-1.62/Makefile.PL 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/Makefile.PL 2023-12-26 18:01:45.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.015. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.031. use strict; use warnings; @@ -39,7 +39,7 @@ "Test::More" => "0.88", "constant" => 0 }, - "VERSION" => "1.62", + "VERSION" => "1.63", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/dist.ini new/XML-RSS-1.63/dist.ini --- old/XML-RSS-1.62/dist.ini 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/dist.ini 2023-12-26 18:01:45.000000000 +0100 @@ -3,7 +3,7 @@ license = Perl_5 copyright_holder = Various copyright_year = 2001 -version = 1.62 +version = 1.63 [@Filter] -bundle = @SHLOMIF diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS/Private/Output/Base.pm new/XML-RSS-1.63/lib/XML/RSS/Private/Output/Base.pm --- old/XML-RSS-1.62/lib/XML/RSS/Private/Output/Base.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS/Private/Output/Base.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS::Private::Output::Base; -$XML::RSS::Private::Output::Base::VERSION = '1.62'; +$XML::RSS::Private::Output::Base::VERSION = '1.63'; use strict; use warnings; @@ -1153,7 +1153,7 @@ =head1 VERSION -version 1.62 +version 1.63 =head1 METHODS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS/Private/Output/Roles/ImageDims.pm new/XML-RSS-1.63/lib/XML/RSS/Private/Output/Roles/ImageDims.pm --- old/XML-RSS-1.62/lib/XML/RSS/Private/Output/Roles/ImageDims.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS/Private/Output/Roles/ImageDims.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS::Private::Output::Roles::ImageDims; -$XML::RSS::Private::Output::Roles::ImageDims::VERSION = '1.62'; +$XML::RSS::Private::Output::Roles::ImageDims::VERSION = '1.63'; use strict; use warnings; @@ -23,7 +23,7 @@ =head1 VERSION -version 1.62 +version 1.63 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS/Private/Output/Roles/ModulesElems.pm new/XML-RSS-1.63/lib/XML/RSS/Private/Output/Roles/ModulesElems.pm --- old/XML-RSS-1.62/lib/XML/RSS/Private/Output/Roles/ModulesElems.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS/Private/Output/Roles/ModulesElems.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS::Private::Output::Roles::ModulesElems; -$XML::RSS::Private::Output::Roles::ModulesElems::VERSION = '1.62'; +$XML::RSS::Private::Output::Roles::ModulesElems::VERSION = '1.63'; use strict; use warnings; @@ -19,7 +19,7 @@ =head1 VERSION -version 1.62 +version 1.63 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V0_9.pm new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V0_9.pm --- old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V0_9.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V0_9.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS::Private::Output::V0_9; -$XML::RSS::Private::Output::V0_9::VERSION = '1.62'; +$XML::RSS::Private::Output::V0_9::VERSION = '1.63'; use strict; use warnings; @@ -45,7 +45,7 @@ =head1 VERSION -version 1.62 +version 1.63 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V0_91.pm new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V0_91.pm --- old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V0_91.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V0_91.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS::Private::Output::V0_91; -$XML::RSS::Private::Output::V0_91::VERSION = '1.62'; +$XML::RSS::Private::Output::V0_91::VERSION = '1.63'; use strict; use warnings; @@ -63,7 +63,7 @@ =head1 VERSION -version 1.62 +version 1.63 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V1_0.pm new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V1_0.pm --- old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V1_0.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V1_0.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS::Private::Output::V1_0; -$XML::RSS::Private::Output::V1_0::VERSION = '1.62'; +$XML::RSS::Private::Output::V1_0::VERSION = '1.63'; use strict; use warnings; @@ -107,7 +107,7 @@ =head1 VERSION -version 1.62 +version 1.63 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V2_0.pm new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V2_0.pm --- old/XML-RSS-1.62/lib/XML/RSS/Private/Output/V2_0.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS/Private/Output/V2_0.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS::Private::Output::V2_0; -$XML::RSS::Private::Output::V2_0::VERSION = '1.62'; +$XML::RSS::Private::Output::V2_0::VERSION = '1.63'; use strict; use warnings; @@ -88,7 +88,7 @@ =head1 VERSION -version 1.62 +version 1.63 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/lib/XML/RSS.pm new/XML-RSS-1.63/lib/XML/RSS.pm --- old/XML-RSS-1.62/lib/XML/RSS.pm 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/lib/XML/RSS.pm 2023-12-26 18:01:45.000000000 +0100 @@ -1,5 +1,5 @@ package XML::RSS; -$XML::RSS::VERSION = '1.62'; +$XML::RSS::VERSION = '1.63'; use strict; use warnings; @@ -332,6 +332,9 @@ delete $self->{_allow_multiple}; + # reset empty OK to default + %empty_ok_elements = (enclosure => 1); + my $ok_fields = $self->_get_ok_fields(); my $ver_ok_fields = @@ -1294,6 +1297,11 @@ $self->_parse_options($options || {}); + # patch to allow a parse-time option for elements to be empty + foreach my $el (@{$self->_parse_options()->{'allow_empty'}}) { + $empty_ok_elements{$el} = 1; + } + # Workaround to make sure that if we were defined with version => "2.0" # then we can still parse 1.0 and 0.9.x feeds correctly. if ($self->{version} eq "2.0") { @@ -1502,7 +1510,7 @@ =head1 VERSION -version 1.62 +version 1.63 =head1 SYNOPSIS @@ -1833,6 +1841,17 @@ handle duplicate items (see below). It will not affect the known modules such as dc ("Dublin Core"). +=item * allow_empty + +Takes an array ref of names which indicates which elements are +allowed to be empty. So, for example, to parse feeds with custom +fields with the form C<<< <foo bar="1" baz="2" /> >>> which have no content, +only attributes, add: + + $rss->parse($xml, { allow_empty => ['foo'] }); + +( Added in XML::RSS v 1.63 .) + =back =item parsefile ($file, \%options) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/t/empty-elements.t new/XML-RSS-1.63/t/empty-elements.t --- old/XML-RSS-1.62/t/empty-elements.t 1970-01-01 01:00:00.000000000 +0100 +++ new/XML-RSS-1.63/t/empty-elements.t 2023-12-26 18:01:45.000000000 +0100 @@ -0,0 +1,67 @@ +use strict; +use warnings; + +use Test::More tests => 4; + +use XML::RSS (); + +my $RSS_DOCUMENT = qq(<?xml version="1.0"?> +<rss version="2.0"> + <channel> + <title>Example 2.0 Channel</title> + <link>http://example.com/</link> + <description>To lead by example</description> + <language>en-us</language> + <managingEditor>editor\@example.com</managingEditor> + <webMaster>webmaster\@example.com</webMaster> + <docs>http://backend.userland.com/rss</docs> + <generator>The Superest Dooperest RSS Generator</generator> + <lastBuildDate>Mon, 02 Sep 2002 03:19:17 GMT</lastBuildDate> + <ttl>60</ttl> + + <item> + <title>News for September the Second</title> + <link>http://example.com/2002/09/02</link> + <description>other things happened today</description> + <comments>http://example.com/2002/09/02/comments.html</comments> + <author>joeuser\@example.com</author> + <pubDate>Mon, 02 Sep 2002 03:19:00 GMT</pubDate> + <!-- a custom element which is allowed to be empty --> + <custom name="seeds" value="100" /> + <guid isPermaLink="true">http://example.com/2002/09/02</guid> + <enclosure url="http://example.com/test.mp3" length="5352283" type="audio/mpeg" /> + </item> + + </channel> +</rss>); + + +{ + my $xml = XML::RSS->new(); + + # TEST + isa_ok($xml, "XML::RSS"); + + eval { $xml->parse($RSS_DOCUMENT); }; + + # TEST + is($@, '', "Parsed RSS feed"); + +} + +{ + my $xml = XML::RSS->new; + + eval { $xml->parse($RSS_DOCUMENT, {allow_empty => ['custom']}) }; + + # TEST + is($@, '', "Parsed RSS feed for with option to allow empty 'custom' elements"); + + # TEST + is_deeply( + $xml->{items}->[0]->{custom}, + {name => "seeds", value => "100"}, + "returned custom empty element and its attributes" + ); + +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/xt/author/eol.t new/XML-RSS-1.63/xt/author/eol.t --- old/XML-RSS-1.62/xt/author/eol.t 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/xt/author/eol.t 2023-12-26 18:01:45.000000000 +0100 @@ -46,6 +46,7 @@ 't/data/freshmeat.rdf', 't/data/merlyn1.rss', 't/data/rss-permalink.xml', + 't/empty-elements.t', 't/enclosures-multi.t', 't/enclosures.t', 't/enclosures2.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/xt/author/no-tabs.t new/XML-RSS-1.63/xt/author/no-tabs.t --- old/XML-RSS-1.62/xt/author/no-tabs.t 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/xt/author/no-tabs.t 2023-12-26 18:01:45.000000000 +0100 @@ -46,6 +46,7 @@ 't/data/freshmeat.rdf', 't/data/merlyn1.rss', 't/data/rss-permalink.xml', + 't/empty-elements.t', 't/enclosures-multi.t', 't/enclosures.t', 't/enclosures2.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-RSS-1.62/xt/author/pod-coverage.t new/XML-RSS-1.63/xt/author/pod-coverage.t --- old/XML-RSS-1.62/xt/author/pod-coverage.t 2020-10-15 10:01:37.000000000 +0200 +++ new/XML-RSS-1.63/xt/author/pod-coverage.t 2023-12-26 18:01:45.000000000 +0100 @@ -1,6 +1,7 @@ #!perl # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. - +use strict; +use warnings; use Test::Pod::Coverage 1.08; use Pod::Coverage::TrustPod;