Hello community, here is the log from the commit of package perl-XML-Atom-SimpleFeed for openSUSE:Factory checked in at 2020-06-04 17:56:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-Atom-SimpleFeed (Old) and /work/SRC/openSUSE:Factory/.perl-XML-Atom-SimpleFeed.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Atom-SimpleFeed" Thu Jun 4 17:56:52 2020 rev:2 rq:811446 version:0.904 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-Atom-SimpleFeed/perl-XML-Atom-SimpleFeed.changes 2018-12-10 12:28:50.406496888 +0100 +++ /work/SRC/openSUSE:Factory/.perl-XML-Atom-SimpleFeed.new.3606/perl-XML-Atom-SimpleFeed.changes 2020-06-04 17:56:57.085098502 +0200 @@ -1,0 +2,13 @@ +Thu Jun 4 03:14:45 UTC 2020 - Tina Müller <timueller+p...@suse.de> + +- updated to 0.904 + see /usr/share/doc/packages/perl-XML-Atom-SimpleFeed/Changes + + 0.904 Jun 03 May 2020 + - Minor packaging improvement + + 0.903 Jun 03 May 2020 + - No spurious test failures when DateTime::TimeZone fails + + +------------------------------------------------------------------- Old: ---- XML-Atom-SimpleFeed-0.902.tar.gz New: ---- XML-Atom-SimpleFeed-0.904.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-Atom-SimpleFeed.spec ++++++ --- /var/tmp/diff_new_pack.6V8QXu/_old 2020-06-04 17:56:57.853100907 +0200 +++ /var/tmp/diff_new_pack.6V8QXu/_new 2020-06-04 17:56:57.857100920 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-XML-Atom-SimpleFeed # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-XML-Atom-SimpleFeed -Version: 0.902 +Version: 0.904 Release: 0 %define cpan_name XML-Atom-SimpleFeed Summary: No-fuss generation of Atom syndication feeds -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/XML-Atom-SimpleFeed/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description @@ -44,14 +43,14 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++++++ XML-Atom-SimpleFeed-0.902.tar.gz -> XML-Atom-SimpleFeed-0.904.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/Changes new/XML-Atom-SimpleFeed-0.904/Changes --- old/XML-Atom-SimpleFeed-0.902/Changes 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/Changes 2020-06-03 20:02:52.000000000 +0200 @@ -1,5 +1,11 @@ Release history for XML-Atom-SimpleFeed +0.904 Jun 03 May 2020 + - Minor packaging improvement + +0.903 Jun 03 May 2020 + - No spurious test failures when DateTime::TimeZone fails + 0.902 Thu 02 Nov 2017 - Proper packaging (mea máxima culpa) - No code changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/LICENSE new/XML-Atom-SimpleFeed-0.904/LICENSE --- old/XML-Atom-SimpleFeed-0.902/LICENSE 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/LICENSE 2020-06-03 20:04:44.000000000 +0200 @@ -1,4 +1,4 @@ -This software is copyright (c) 2017 by Aristotle Pagaltzis. +This software is copyright (c) 2020 by Aristotle Pagaltzis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2017 by Aristotle Pagaltzis. +This software is Copyright (c) 2020 by Aristotle Pagaltzis. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2017 by Aristotle Pagaltzis. +This software is Copyright (c) 2020 by Aristotle Pagaltzis. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/MANIFEST new/XML-Atom-SimpleFeed-0.904/MANIFEST --- old/XML-Atom-SimpleFeed-0.902/MANIFEST 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/MANIFEST 2020-06-03 20:04:44.000000000 +0200 @@ -1,13 +1,11 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.034. Changes LICENSE MANIFEST -META.json -META.yml +META.json Module JSON meta-data (added by MakeMaker) +META.yml Module YAML meta-data (added by MakeMaker) Makefile.PL README -cpanfile -dist.ini +boilerplate.pl eg/slackware-news lib/XML/Atom/SimpleFeed.pm t/bugs.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/META.json new/XML-Atom-SimpleFeed-0.904/META.json --- old/XML-Atom-SimpleFeed-0.902/META.json 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/META.json 2020-06-03 20:04:44.000000000 +0200 @@ -4,21 +4,24 @@ "Aristotle Pagaltzis <pagalt...@gmx.de>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.034, CPAN::Meta::Converter version 2.143240", + "generated_by" : "ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : 2 + "version" : "2" }, "name" : "XML-Atom-SimpleFeed", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, "prereqs" : { - "configure" : { - "requires" : { - "ExtUtils::MakeMaker" : "0" - } - }, + "build" : {}, + "configure" : {}, "runtime" : { "requires" : { "Carp" : "0", @@ -31,7 +34,7 @@ }, "test" : { "requires" : { - "Test::More" : "0.88", + "Test::More" : "0", "utf8" : "0" } } @@ -47,6 +50,10 @@ "web" : "https://github.com/ap/XML-Atom-SimpleFeed" } }, - "version" : "0.902" + "version" : "0.904", + "x_copyright" : { + "holder" : "Aristotle Pagaltzis", + "year" : 2020 + }, + "x_serialization_backend" : "JSON::PP version 2.27300_01" } - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/META.yml new/XML-Atom-SimpleFeed-0.904/META.yml --- old/XML-Atom-SimpleFeed-0.902/META.yml 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/META.yml 2020-06-03 20:04:43.000000000 +0200 @@ -3,25 +3,31 @@ author: - 'Aristotle Pagaltzis <pagalt...@gmx.de>' build_requires: - Test::More: 0.88 - utf8: 0 -configure_requires: - ExtUtils::MakeMaker: 0 + Test::More: '0' + utf8: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.034, CPAN::Meta::Converter version 2.143240' +generated_by: 'ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: XML-Atom-SimpleFeed +no_index: + directory: + - t + - inc requires: - Carp: 0 - Encode: 0 - POSIX: 0 - perl: 5.008001 - strict: 0 - warnings: 0 + Carp: '0' + Encode: '0' + POSIX: '0' + perl: '5.008001' + strict: '0' + warnings: '0' resources: bugtracker: https://github.com/ap/XML-Atom-SimpleFeed/issues repository: git://github.com/ap/XML-Atom-SimpleFeed.git -version: 0.902 +version: '0.904' +x_copyright: + holder: 'Aristotle Pagaltzis' + year: 2020 +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/Makefile.PL new/XML-Atom-SimpleFeed-0.904/Makefile.PL --- old/XML-Atom-SimpleFeed-0.902/Makefile.PL 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/Makefile.PL 2020-06-03 19:58:26.000000000 +0200 @@ -1,59 +1,86 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.034. -use strict; -use warnings; - -use 5.008001; - -use ExtUtils::MakeMaker; - -my %WriteMakefileArgs = ( - "ABSTRACT" => "No-fuss generation of Atom syndication feeds", - "AUTHOR" => "Aristotle Pagaltzis <pagaltzis\@gmx.de>", - "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => 0 - }, - "DISTNAME" => "XML-Atom-SimpleFeed", - "EXE_FILES" => [], - "LICENSE" => "perl", - "MIN_PERL_VERSION" => "5.008001", - "NAME" => "XML::Atom::SimpleFeed", - "PREREQ_PM" => { - "Carp" => 0, - "Encode" => 0, - "POSIX" => 0, - "strict" => 0, - "warnings" => 0 - }, - "TEST_REQUIRES" => { - "Test::More" => "0.88", - "utf8" => 0 - }, - "VERSION" => "0.902", - "test" => { - "TESTS" => "t/*.t" - } -); +use 5.008001; use strict; use warnings; +my $u = 'github.com/ap/XML-Atom-SimpleFeed'; -my %FallbackPrereqs = ( - "Carp" => 0, - "Encode" => 0, - "ExtUtils::MakeMaker" => 0, - "POSIX" => 0, - "Test::More" => "0.88", - "strict" => 0, - "utf8" => 0, - "warnings" => 0 +my %META = ( + name => 'XML-Atom-SimpleFeed', + author => 'Aristotle Pagaltzis <pagalt...@gmx.de>', + license => 'perl_5', + x_copyright => { holder => 'Aristotle Pagaltzis', year => 2020 }, + prereqs => { + runtime => { requires => {qw( + perl 5.008001 + strict 0 + warnings 0 + Carp 0 + Encode 0 + POSIX 0 + )} }, + test => { requires => {qw( + Test::More 0 + utf8 0 + )} }, + }, + dynamic_config => 0, + resources => { + repository => { type => 'git', url => "git://$u.git", web => "https://$u" }, + bugtracker => { web => "https://$u/issues" }, + }, ); - -unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { - delete $WriteMakefileArgs{TEST_REQUIRES}; - delete $WriteMakefileArgs{BUILD_REQUIRES}; - $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; +sub MY::postamble { -f 'META.yml' ? return : <<'' } +create_distdir : MANIFEST +MANIFEST : + ( git ls-files ':!README.pod' . ; echo MANIFEST ) > MANIFEST +distdir : boilerplate +.PHONY : boilerplate +boilerplate : distmeta + $(PERL) -Ilib boilerplate.pl $(DISTVNAME) + +## BOILERPLATE ############################################################### +require ExtUtils::MakeMaker; + +my %MM_ARGS; + +# have to do this since old EUMM dev releases miss the eval $VERSION line +my $eumm_version = eval $ExtUtils::MakeMaker::VERSION; +my $mymeta = $eumm_version >= 6.57_02; +my $mymeta_broken = $mymeta && $eumm_version < 6.57_07; + +($MM_ARGS{NAME} = $META{name}) =~ s/-/::/g; +($MM_ARGS{VERSION_FROM} = "lib/$MM_ARGS{NAME}.pm") =~ s{::}{/}g; +$MM_ARGS{ABSTRACT_FROM} = $MM_ARGS{VERSION_FROM}; +$META{license} = [ $META{license} ] + if $META{license} && !ref $META{license}; +$MM_ARGS{LICENSE} = $META{license}[0] + if $META{license} && $eumm_version >= 6.30; +$MM_ARGS{NO_MYMETA} = 1 + if $mymeta_broken; +$MM_ARGS{META_ADD} = { 'meta-spec' => { version => 2 }, %META } + unless -f 'META.yml'; +$MM_ARGS{PL_FILES} ||= {}; +$MM_ARGS{NORECURS} = 1 + if not exists $MM_ARGS{NORECURS}; + +for (qw(configure build test runtime)) { + my $key = $_ eq 'runtime' ? 'PREREQ_PM' : uc $_.'_REQUIRES'; + my $r = $MM_ARGS{$key} = { + %{$META{prereqs}{$_}{requires} || {}}, + %{delete $MM_ARGS{$key} || {}}, + }; + defined $r->{$_} or delete $r->{$_} for keys %$r; } -delete $WriteMakefileArgs{CONFIGURE_REQUIRES} - unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; +$MM_ARGS{MIN_PERL_VERSION} = delete $MM_ARGS{PREREQ_PM}{perl} || 0; + +delete $MM_ARGS{MIN_PERL_VERSION} + if $eumm_version < 6.47_01; +$MM_ARGS{BUILD_REQUIRES} = {%{$MM_ARGS{BUILD_REQUIRES}}, %{delete $MM_ARGS{TEST_REQUIRES}}} + if $eumm_version < 6.63_03; +$MM_ARGS{PREREQ_PM} = {%{$MM_ARGS{PREREQ_PM}}, %{delete $MM_ARGS{BUILD_REQUIRES}}} + if $eumm_version < 6.55_01; +delete $MM_ARGS{CONFIGURE_REQUIRES} + if $eumm_version < 6.51_03; -WriteMakefile(%WriteMakefileArgs); +ExtUtils::MakeMaker::WriteMakefile(%MM_ARGS); +## END BOILERPLATE ########################################################### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/README new/XML-Atom-SimpleFeed-0.904/README --- old/XML-Atom-SimpleFeed-0.902/README 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/README 2020-06-03 20:04:44.000000000 +0200 @@ -27,7 +27,7 @@ COPYRIGHT AND LICENSE -This software is copyright (c) 2017 by Aristotle Pagaltzis. +This software is copyright (c) 2020 by Aristotle Pagaltzis. -This is free software; you can redistribute it and/or modify it under -the same terms as the Perl 5 programming language system itself. +This is free software; you can redistribute it and/or modify it under the +same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/boilerplate.pl new/XML-Atom-SimpleFeed-0.904/boilerplate.pl --- old/XML-Atom-SimpleFeed-0.902/boilerplate.pl 1970-01-01 01:00:00.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/boilerplate.pl 2020-06-03 19:30:50.000000000 +0200 @@ -0,0 +1,41 @@ +use strict; use warnings; + +use CPAN::Meta; +use Software::LicenseUtils; +use Pod::Readme::Brief; + +sub slurp { open my $fh, '<', $_[0] or die "Couldn't open $_[0] to read: $!\n"; readline $fh } + +chdir $ARGV[0] or die "Cannot chdir to $ARGV[0]: $!\n"; + +my %file; + +my $meta = CPAN::Meta->load_file( 'META.json' ); + +my $license = do { + my @key = ( $meta->license, $meta->meta_spec_version ); + my ( $class, @ambiguous ) = Software::LicenseUtils->guess_license_from_meta_key( @key ); + die if @ambiguous; + $class->new( $meta->custom( 'x_copyright' ) ); +}; + +$file{'LICENSE'} = $license->fulltext; + +my @source = slurp 'lib/XML/Atom/SimpleFeed.pm'; +splice @source, -2, 0, map "$_\n", '', '=head1 AUTHOR', '', $meta->authors; +splice @source, -2, 0, split /(?<=\n)/, "\n=head1 COPYRIGHT AND LICENSE\n\n" . $license->notice; +$file{'lib/XML/Atom/SimpleFeed.pm'} = join '', @source; + +die unless -e 'Makefile.PL'; +$file{'README'} = Pod::Readme::Brief->new( @source )->render( installer => 'eumm' ); + +my @manifest = slurp 'MANIFEST'; +my %manifest = map /\A([^\s#]+)()/, @manifest; +$file{'MANIFEST'} = join '', sort @manifest, map "$_\n", grep !exists $manifest{ $_ }, keys %file; + +for my $fn ( sort keys %file ) { + unlink $fn if -e $fn; + open my $fh, '>', $fn or die "Couldn't open $fn to write: $!\n"; + print $fh $file{ $fn }; + close $fh or die "Couldn't close $fn after writing: $!\n"; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/cpanfile new/XML-Atom-SimpleFeed-0.904/cpanfile --- old/XML-Atom-SimpleFeed-0.902/cpanfile 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/cpanfile 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -requires 'perl', '5.008001'; -requires 'strict'; -requires 'warnings'; -requires 'Carp'; -requires 'Encode'; -requires 'POSIX'; - -on test => sub { - requires 'Test::More', '0.88'; - requires 'utf8'; -}; - -# vim: ft=perl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/dist.ini new/XML-Atom-SimpleFeed-0.904/dist.ini --- old/XML-Atom-SimpleFeed-0.902/dist.ini 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/dist.ini 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ -name = XML-Atom-SimpleFeed -version = 0.902 -author = Aristotle Pagaltzis <pagalt...@gmx.de> -license = Perl_5 -copyright_holder = Aristotle Pagaltzis -copyright_year = 2017 - -[MetaResources] -repository.type = git -repository.url = git://github.com/ap/XML-Atom-SimpleFeed.git -repository.web = https://github.com/ap/XML-Atom-SimpleFeed -bugtracker.web = https://github.com/ap/XML-Atom-SimpleFeed/issues - -[@Filter / @Basic] --bundle = @Basic --remove = Readme - -[MetaJSON] -[PkgVersion] -[PruneFiles] -filename = README.pod - -; non-core plugins -[CheckChangeLog] -[Prereqs::FromCPANfile] -[Readme::Brief] -[PodWeaver] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/lib/XML/Atom/SimpleFeed.pm new/XML-Atom-SimpleFeed-0.904/lib/XML/Atom/SimpleFeed.pm --- old/XML-Atom-SimpleFeed-0.902/lib/XML/Atom/SimpleFeed.pm 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/lib/XML/Atom/SimpleFeed.pm 2020-06-03 20:04:44.000000000 +0200 @@ -3,8 +3,8 @@ use warnings; package XML::Atom::SimpleFeed; -$XML::Atom::SimpleFeed::VERSION = '0.902'; -# ABSTRACT: No-fuss generation of Atom syndication feeds + +our $VERSION = '0.904'; use Carp; use Encode (); @@ -399,10 +399,6 @@ XML::Atom::SimpleFeed - No-fuss generation of Atom syndication feeds -=head1 VERSION - -version 0.902 - =head1 SYNOPSIS use XML::Atom::SimpleFeed; @@ -814,7 +810,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2017 by Aristotle Pagaltzis. +This software is copyright (c) 2020 by Aristotle Pagaltzis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/t/bugs.t new/XML-Atom-SimpleFeed-0.904/t/bugs.t --- old/XML-Atom-SimpleFeed-0.902/t/bugs.t 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/t/bugs.t 2018-05-20 03:35:19.000000000 +0200 @@ -4,9 +4,7 @@ use XML::Atom::SimpleFeed; package XML::Atom::SimpleFeed; -use Test::More 0.88; # for done_testing +use Test::More tests => 2; is person_construct( author => 'John Doe &' ), '<author><name>John Doe &</name></author>', 'author names are escaped'; is person_construct( author => "John Doe \x{263A}" ), '<author><name>John Doe ☺</name></author>', 'non-ASCII author names are encoded'; - -done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/t/date_construct.t new/XML-Atom-SimpleFeed-0.904/t/date_construct.t --- old/XML-Atom-SimpleFeed-0.902/t/date_construct.t 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/t/date_construct.t 2018-09-18 17:03:25.000000000 +0200 @@ -4,27 +4,28 @@ use XML::Atom::SimpleFeed; package XML::Atom::SimpleFeed; -use Test::More 0.88; # for done_testing +use Test::More tests => 14; my $bigbang = '<d>1970-01-01T00:00:00Z</d>'; is date_construct( d => 0 ), $bigbang, 'correct RFC 3339 for Unix times'; SKIP: { - skip 'missing Time::Piece', 1 unless eval { require Time::Piece }; + skip 'missing Time::Piece', 2 unless eval { require Time::Piece }; is date_construct( d => Time::Piece->gmtime(0) ), $bigbang, 'correct RFC 3339 for Time::Piece objects'; is date_construct( d => Time::Piece->localtime(0) ), $bigbang, '... regardless of local timezone'; }; SKIP: { - skip 'missing DateTime', 1 unless eval { require DateTime }; - my @tz = ( time_zone => DateTime::TimeZone->new( name => 'local' ) ); + skip 'missing DateTime', 2 unless eval { require DateTime }; + my @tz = map +( time_zone => $_ ), grep defined, eval { DateTime::TimeZone->new( name => 'local' ) }; is date_construct( d => DateTime->from_epoch( epoch => 0 ) ), $bigbang, 'correct RFC 3339 for DateTime objects'; - is date_construct( d => DateTime->from_epoch( epoch => 0, @tz ) ), $bigbang, '... regardless of local timezone'; + is date_construct( d => DateTime->from_epoch( epoch => 0, @tz ) ), $bigbang, '... regardless of local timezone' if @tz; + skip 'failed DateTime::TimeZone detection', 1 unless @tz; }; SKIP: { - skip 'missing Time::Moment', 1 unless eval { require Time::Moment }; + skip 'missing Time::Moment', 2 unless eval { require Time::Moment }; my $tm = Time::Moment->from_epoch(0); is date_construct( d => $tm ), $bigbang, 'correct RFC 3339 for Time::Moment objects'; $tm = $tm->with_offset_same_instant( Time::Moment->now->offset ); @@ -32,19 +33,19 @@ }; SKIP: { - skip 'missing Panda::Date', 1 unless eval { require Panda::Date }; + skip 'missing Panda::Date', 2 unless eval { require Panda::Date }; is date_construct( d => Panda::Date->new(0, 'UTC') ), $bigbang, 'correct RFC 3339 for Class::Date objects'; is date_construct( d => Panda::Date->new(0) ), $bigbang, '... regardless of local timezone'; }; SKIP: { - skip 'missing Class::Date', 1 unless eval { require Class::Date }; + skip 'missing Class::Date', 2 unless eval { require Class::Date }; is date_construct( d => Class::Date::gmdate('00') ), $bigbang, 'correct RFC 3339 for Class::Date objects'; is date_construct( d => Class::Date::localdate('00') ), $bigbang, '... regardless of local timezone'; }; SKIP: { - skip 'missing Time::Object', 1 unless eval { require Time::Object }; + skip 'missing Time::Object', 2 unless eval { require Time::Object }; is date_construct( d => Time::Object::gmtime(0) ), $bigbang, 'correct RFC 3339 for Time::Object objects'; is date_construct( d => Time::Object::localtime(0) ), $bigbang, '... regardless of local timezone'; }; @@ -53,5 +54,3 @@ skip 'missing Time::Date', 1 unless eval { require Time::Date; Time::Date->VERSION('0.05') }; is date_construct( d => Time::Date->new_epoch(0) ), $bigbang, 'correct RFC 3339 for Time::Date objects'; }; - -done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/t/encodings.t new/XML-Atom-SimpleFeed-0.904/t/encodings.t --- old/XML-Atom-SimpleFeed-0.902/t/encodings.t 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/t/encodings.t 2018-05-20 03:35:19.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; use XML::Atom::SimpleFeed; -use Test::More 0.88; # for done_testing +use Test::More tests => 3; BEGIN { eval { require Test::LongString; Test::LongString->import; 1 } or *is_string = \&is; } sub f { use utf8; XML::Atom::SimpleFeed->new( qw( title ß id € generator • updated 0 ), @_ )->as_string . "\n" } @@ -19,4 +19,3 @@ <?xml version="1.0" encoding="utf8"?> <feed xmlns="http://www.w3.org/2005/Atom"><title>\x{c3}\x{9f}</title><id>\x{e2}\x{82}\x{ac}</id><generator>\x{e2}\x{80}\x{a2}</generator><updated>1970-01-01T00:00:00Z</updated></feed> -done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/t/generator.t new/XML-Atom-SimpleFeed-0.904/t/generator.t --- old/XML-Atom-SimpleFeed-0.902/t/generator.t 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/t/generator.t 2018-05-20 03:35:19.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; use XML::Atom::SimpleFeed; -use Test::More 0.88; # for done_testing +use Test::More tests => 3; my $g = XML::Atom::SimpleFeed::DEFAULT_GENERATOR; @@ -14,5 +14,3 @@ unlike $_, qr!<generator!, 'suppressed generator' for XML::Atom::SimpleFeed->new( qw( title x id y generator ), undef )->as_string; - -done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/t/synposis.t new/XML-Atom-SimpleFeed-0.904/t/synposis.t --- old/XML-Atom-SimpleFeed-0.902/t/synposis.t 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/t/synposis.t 2018-05-20 03:35:19.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; use XML::Atom::SimpleFeed; -use Test::More 0.88; # for done_testing +use Test::More tests => 1; BEGIN { eval { require Test::LongString; Test::LongString->import; 1 } or *is_string = \&is; } my $g = XML::Atom::SimpleFeed::DEFAULT_GENERATOR; @@ -30,4 +30,3 @@ <?xml version="1.0" encoding="us-ascii"?> <feed xmlns="http://www.w3.org/2005/Atom"><title>Example Feed</title><link href="http://example.org/"/><link href="http://example.org/atom" rel="self"/><updated>2003-12-13T18:30:02Z</updated><author><name>John Doe</name></author><id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id><generator uri="$g->{'uri'}" version="$g->{'version'}">$g->{'name'}</generator><entry><title>Atom-Powered Robots Run Amok</title><link href="http://example.org/2003/12/13/atom03"/><id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id><summary>Some text.</summary><updated>2003-12-13T18:30:02Z</updated><category term="Atom"/><category term="Miscellaneous"/></entry></feed> -done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Atom-SimpleFeed-0.902/t/xml_writer.t new/XML-Atom-SimpleFeed-0.904/t/xml_writer.t --- old/XML-Atom-SimpleFeed-0.902/t/xml_writer.t 2017-11-02 00:42:58.000000000 +0100 +++ new/XML-Atom-SimpleFeed-0.904/t/xml_writer.t 2018-05-20 03:35:19.000000000 +0200 @@ -4,7 +4,7 @@ use XML::Atom::SimpleFeed; package XML::Atom::SimpleFeed; -use Test::More 0.88; # for done_testing +use Test::More tests => 9; BEGIN { eval { require Test::LongString; Test::LongString->import; 1 } or *is_string = \&is; } sub _ok { @@ -42,5 +42,3 @@ is xml_tag( 'b', 'foo', '<br/>' ), '<b>foo<br/></b>', 'tags with content are properly formed'; is xml_tag( [ 'br', clear => 'left' ] ), '<br clear="left"/>', 'simple tags can have attributes'; is xml_tag( [ 'b', style => 'color: red' ], 'foo', '<br/>' ), '<b style="color: red">foo<br/></b>', 'simple tags can have attributes'; - -done_testing;