Hello community, here is the log from the commit of package perl-Data-Perl for openSUSE:Factory checked in at 2020-01-24 13:11:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Data-Perl (Old) and /work/SRC/openSUSE:Factory/.perl-Data-Perl.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Data-Perl" Fri Jan 24 13:11:13 2020 rev:2 rq:766611 version:0.002011 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Data-Perl/perl-Data-Perl.changes 2014-09-17 17:25:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Data-Perl.new.26092/perl-Data-Perl.changes 2020-01-24 13:12:17.181460138 +0100 @@ -1,0 +2,14 @@ +Thu Jan 23 03:07:07 UTC 2020 - <timueller+p...@suse.de> + +- updated to 0.002011 + see /usr/share/doc/packages/perl-Data-Perl/Changes + + 0.002011 2020-01-22 13:33:30+00:00 Europe/London + - pod cleanups + - update Changes file which was missed out in last release + + 0.002010 2020-01-22 13:28:03+00:00 Europe/London + - adds head and tail methods for Array + - @tobyink is now maintainer + +------------------------------------------------------------------- Old: ---- Data-Perl-0.002009.tar.gz New: ---- Data-Perl-0.002011.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Data-Perl.spec ++++++ --- /var/tmp/diff_new_pack.epktVD/_old 2020-01-24 13:12:18.373460615 +0100 +++ /var/tmp/diff_new_pack.epktVD/_new 2020-01-24 13:12:18.373460615 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Data-Perl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,20 @@ # 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-Data-Perl -Version: 0.002009 +Version: 0.002011 Release: 0 %define cpan_name Data-Perl -Summary: Base classes wrapping fundamental Perl data types. -License: Artistic-1.0 or GPL-1.0+ +Summary: Base classes wrapping fundamental Perl data types +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Data-Perl/ -Source: http://www.cpan.org/authors/id/M/MA/MATTP/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -55,29 +56,29 @@ Data::Perl is a container class for the following classes: -* * the Data::Perl::Collection::Hash manpage +* * Data::Perl::Collection::Hash -* * the Data::Perl::Collection::Array manpage +* * Data::Perl::Collection::Array -* * the Data::Perl::String manpage +* * Data::Perl::String -* * the Data::Perl::Number manpage +* * Data::Perl::Number -* * the Data::Perl::Counter manpage +* * Data::Perl::Counter -* * the Data::Perl::Bool manpage +* * Data::Perl::Bool -* * the Data::Perl::Code manpage +* * Data::Perl::Code %prep %setup -q -n %{cpan_name}-%{version} %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 @@ -86,6 +87,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README README.mkdn +%doc Changes README.mkdn +%license LICENSE %changelog ++++++ Data-Perl-0.002009.tar.gz -> Data-Perl-0.002011.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/Changes new/Data-Perl-0.002011/Changes --- old/Data-Perl-0.002009/Changes 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/Changes 2020-01-22 14:33:32.000000000 +0100 @@ -1,3 +1,11 @@ +0.002011 2020-01-22 13:33:30+00:00 Europe/London + - pod cleanups + - update Changes file which was missed out in last release + +0.002010 2020-01-22 13:28:03+00:00 Europe/London + - adds head and tail methods for Array + - @tobyink is now maintainer + 0.002009 2014-06-26 21:04:12EDT-0400 America/Toronto - fixes pod test failures. thanks gregor herrmann / Debian perl team! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/LICENSE new/Data-Perl-0.002011/LICENSE --- old/Data-Perl-0.002009/LICENSE 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/LICENSE 2020-01-22 14:33:32.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is Copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. This is free software, licensed under: @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is Copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/MANIFEST new/Data-Perl-0.002011/MANIFEST --- old/Data-Perl-0.002009/MANIFEST 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/MANIFEST 2020-01-22 14:33:32.000000000 +0100 @@ -1,11 +1,10 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. Changes LICENSE MANIFEST META.json META.yml Makefile.PL -README README.mkdn dist.ini lib/Data/Perl.pm @@ -23,6 +22,8 @@ lib/Data/Perl/Role/Number.pm lib/Data/Perl/Role/String.pm lib/Data/Perl/String.pm +t/author-pod-coverage.t +t/author-pod-syntax.t t/bool.t t/code.t t/collection/array.t @@ -31,6 +32,5 @@ t/counter.t t/helpers.t t/number.t -t/release-pod-coverage.t -t/release-pod-syntax.t t/string.t +weaver.ini diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/META.json new/Data-Perl-0.002011/META.json --- old/Data-Perl-0.002009/META.json 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/META.json 2020-01-22 14:33:32.000000000 +0100 @@ -4,19 +4,19 @@ "Matthew Phillips <ma...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Data-Perl", "prereqs" : { "configure" : { "requires" : { - "ExtUtils::MakeMaker" : "6.30" + "ExtUtils::MakeMaker" : "0" } }, "develop" : { @@ -49,15 +49,24 @@ "release_status" : "stable", "resources" : { "bugtracker" : { - "web" : "https://github.com/mattp-/Data-Perl/issues" + "web" : "https://github.com/tobyink/Data-Perl/issues" }, - "homepage" : "https://github.com/mattp-/Data-Perl", + "homepage" : "https://github.com/tobyink/Data-Perl", "repository" : { "type" : "git", - "url" : "https://github.com/mattp-/Data-Perl.git", - "web" : "https://github.com/mattp-/Data-Perl" + "url" : "https://github.com/tobyink/Data-Perl.git", + "web" : "https://github.com/tobyink/Data-Perl" } }, - "version" : "0.002009" + "version" : "0.002011", + "x_contributors" : [ + "Graham Knop <ha...@haarg.org>", + "Jon Portnoy <av...@cobaltirc.org>", + "kristof....@gmail.com <kristof....@gmail.com>", + "Matt Phillips <ma...@cpan.org>", + "Toby Inkster <toby...@cpan.org>" + ], + "x_generated_by_perl" : "v5.26.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/META.yml new/Data-Perl-0.002011/META.yml --- old/Data-Perl-0.002009/META.yml 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/META.yml 2020-01-22 14:33:32.000000000 +0100 @@ -3,29 +3,37 @@ author: - 'Matthew Phillips <ma...@cpan.org>' build_requires: - Test::Deep: 0 - Test::Fatal: 0 - Test::Output: 0 + Test::Deep: '0' + Test::Fatal: '0' + Test::Output: '0' configure_requires: - ExtUtils::MakeMaker: 6.30 + ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520' +generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Data-Perl requires: - Class::Method::Modifiers: 0 - List::MoreUtils: 0 - List::Util: 0 - Module::Runtime: 0 - Role::Tiny: 0 - Scalar::Util: 0 - parent: 0 - strictures: 0 + Class::Method::Modifiers: '0' + List::MoreUtils: '0' + List::Util: '0' + Module::Runtime: '0' + Role::Tiny: '0' + Scalar::Util: '0' + parent: '0' + strictures: '0' resources: - bugtracker: https://github.com/mattp-/Data-Perl/issues - homepage: https://github.com/mattp-/Data-Perl - repository: https://github.com/mattp-/Data-Perl.git -version: 0.002009 + bugtracker: https://github.com/tobyink/Data-Perl/issues + homepage: https://github.com/tobyink/Data-Perl + repository: https://github.com/tobyink/Data-Perl.git +version: '0.002011' +x_contributors: + - 'Graham Knop <ha...@haarg.org>' + - 'Jon Portnoy <av...@cobaltirc.org>' + - 'kristof....@gmail.com <kristof....@gmail.com>' + - 'Matt Phillips <ma...@cpan.org>' + - 'Toby Inkster <toby...@cpan.org>' +x_generated_by_perl: v5.26.2 +x_serialization_backend: 'YAML::Tiny version 1.73' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/Makefile.PL new/Data-Perl-0.002011/Makefile.PL --- old/Data-Perl-0.002009/Makefile.PL 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/Makefile.PL 2020-01-22 14:33:32.000000000 +0100 @@ -1,22 +1,18 @@ - -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012. use strict; use warnings; -use ExtUtils::MakeMaker 6.30; - - +use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Base classes wrapping fundamental Perl data types.", "AUTHOR" => "Matthew Phillips <mattp\@cpan.org>", "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => "6.30" + "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Data-Perl", - "EXE_FILES" => [], "LICENSE" => "perl", "NAME" => "Data::Perl", "PREREQ_PM" => { @@ -34,7 +30,7 @@ "Test::Fatal" => 0, "Test::Output" => 0 }, - "VERSION" => "0.002009", + "VERSION" => "0.002011", "test" => { "TESTS" => "t/*.t t/collection/*.t" } @@ -66,6 +62,3 @@ unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); - - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/README new/Data-Perl-0.002011/README --- old/Data-Perl-0.002009/README 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,122 +0,0 @@ -NAME - Data::Perl - Base classes wrapping fundamental Perl data types. - -VERSION - version 0.002009 - -SYNOPSIS - use Data::Perl; - - my $array = array(1,2,3, qw/a b c/); - - $array->count; # 6 - - my @elements = $array->grep(sub {/b/}); # (b) - - my $hash = hash(a => 1, b => 2); - - $hash->keys; # ('a', 'b'); - - my $number = number(5); - - $number->add(10); # 15 - - my $string = string("foo\n"); - - $string->chomp; # return 1, chomps string - - my $counter = counter(); - - $counter->inc; # counter is now 1 - - my $sub = code(sub { 'foo' }); - - $sub->execute; # returns 'foo' - - $foo - -DESCRIPTION - Data::Perl is a collection of classes that wrap fundamental data types - that exist in Perl. These classes and methods as they exist today are an - attempt to mirror functionality provided by Moose's Native Traits. One - important thing to note is all classes currently do no validation on - constructor input. - - Data::Perl is a container class for the following classes: - - * Data::Perl::Collection::Hash - - * Data::Perl::Collection::Array - - * Data::Perl::String - - * Data::Perl::Number - - * Data::Perl::Counter - - * Data::Perl::Bool - - * Data::Perl::Code - -ALPHA API - The API provided by these modules is as of now considered alpha and - undecided. The API WILL change. If you are writing code that you will - not touch again for years, do not use this until this warning is - removed. - -PROVIDED FUNCTIONS - Data::Perl exports helper constructor functions to interface with the - above classes: - - * hash(key, value, ...) - - Returns a Data::Perl::Collection::Hash object initialized with the - optionally passed in key/value args. - - * array(@args) - - Returns a Data::Perl::Collection::Array object initialized with the - optionally passed in values. - - * string($arg) - - Returns a Data::Perl::String object initialized with the optionally - passed in scalar arg. - - * number($arg) - - Returns a Data::Perl::Number object initialized with the optionally - passed in scalar arg. - - * counter($arg) - - Returns a Data::Perl::Counter object initialized with the optionally - passed in scalar arg. - - * bool($arg) - - Returns a Data::Perl::Bool object initialized with the truth value - of the passed in scalar arg. - - * code($arg) - - Returns a Data::Perl::Code object initialized with the optionally - passed in scalar coderef as an arg. - -THANKS - Much thanks to the Moose team for their work with native traits, for - which much of this work is based. - -SEE ALSO - * MooX::HandlesVia - -AUTHOR - Matthew Phillips <ma...@cpan.org> - -COPYRIGHT AND LICENSE - This software is copyright (c) 2014 by Matthew Phillips - <ma...@cpan.org>. - - 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/Data-Perl-0.002009/README.mkdn new/Data-Perl-0.002011/README.mkdn --- old/Data-Perl-0.002009/README.mkdn 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/README.mkdn 2020-01-22 14:33:32.000000000 +0100 @@ -4,7 +4,7 @@ # VERSION -version 0.002009 +version 0.002011 # SYNOPSIS @@ -47,68 +47,80 @@ Data::Perl is a container class for the following classes: -- [Data::Perl::Collection::Hash](http://search.cpan.org/perldoc?Data::Perl::Collection::Hash) -- [Data::Perl::Collection::Array](http://search.cpan.org/perldoc?Data::Perl::Collection::Array) -- [Data::Perl::String](http://search.cpan.org/perldoc?Data::Perl::String) -- [Data::Perl::Number](http://search.cpan.org/perldoc?Data::Perl::Number) -- [Data::Perl::Counter](http://search.cpan.org/perldoc?Data::Perl::Counter) -- [Data::Perl::Bool](http://search.cpan.org/perldoc?Data::Perl::Bool) -- [Data::Perl::Code](http://search.cpan.org/perldoc?Data::Perl::Code) +- [Data::Perl::Collection::Hash](https://metacpan.org/pod/Data::Perl::Collection::Hash) +- [Data::Perl::Collection::Array](https://metacpan.org/pod/Data::Perl::Collection::Array) +- [Data::Perl::String](https://metacpan.org/pod/Data::Perl::String) +- [Data::Perl::Number](https://metacpan.org/pod/Data::Perl::Number) +- [Data::Perl::Counter](https://metacpan.org/pod/Data::Perl::Counter) +- [Data::Perl::Bool](https://metacpan.org/pod/Data::Perl::Bool) +- [Data::Perl::Code](https://metacpan.org/pod/Data::Perl::Code) # ALPHA API The API provided by these modules is as of now considered alpha and undecided. -The API __WILL__ change. If you are writing code that you will not touch again +The API **WILL** change. If you are writing code that you will not touch again for years, do not use this until this warning is removed. # PROVIDED FUNCTIONS Data::Perl exports helper constructor functions to interface with the above classes: -- __hash(key, value, ...)__ +- **hash(key, value, ...)** Returns a Data::Perl::Collection::Hash object initialized with the optionally passed in key/value args. -- __array(@args)__ +- **array(@args)** Returns a Data::Perl::Collection::Array object initialized with the optionally passed in values. -- __string($arg)__ +- **string($arg)** Returns a Data::Perl::String object initialized with the optionally passed in scalar arg. -- __number($arg)__ +- **number($arg)** Returns a Data::Perl::Number object initialized with the optionally passed in scalar arg. -- __counter($arg)__ +- **counter($arg)** Returns a Data::Perl::Counter object initialized with the optionally passed in scalar arg. -- __bool($arg)__ +- **bool($arg)** Returns a Data::Perl::Bool object initialized with the truth value of the passed in scalar arg. -- __code($arg)__ +- **code($arg)** Returns a Data::Perl::Code object initialized with the optionally passed in scalar coderef as an arg. # THANKS -Much thanks to the [Moose](http://search.cpan.org/perldoc?Moose) team for their work with native traits, for which +Much thanks to the [Moose](https://metacpan.org/pod/Moose) team for their work with native traits, for which much of this work is based. # SEE ALSO -- [MooX::HandlesVia](http://search.cpan.org/perldoc?MooX::HandlesVia) +- [MooX::HandlesVia](https://metacpan.org/pod/MooX::HandlesVia) # AUTHOR Matthew Phillips <ma...@cpan.org> +# MAINTAINER + +Toby Inkster <toby...@cpan.org> since version 0.002010. + +# CONTRIBUTORS + +- Graham Knop <ha...@haarg.org> +- Jon Portnoy <av...@cobaltirc.org> +- kristof....@gmail.com <kristof....@gmail.com> +- Matt Phillips <ma...@cpan.org> +- Toby Inkster <toby...@cpan.org> + # COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/dist.ini new/Data-Perl-0.002011/dist.ini --- old/Data-Perl-0.002009/dist.ini 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/dist.ini 2020-01-22 14:33:32.000000000 +0100 @@ -2,10 +2,14 @@ author = Matthew Phillips <ma...@cpan.org> license = Perl_5 copyright_holder = Matthew Phillips <ma...@cpan.org> -version = 0.002009 +version = 0.002011 [@Basic] +[Git::Contributors] +include_authors=1 +include_releaser=1 + [MetaJSON] [NextRelease] [@Git] @@ -15,8 +19,10 @@ add_files_in = Changes add_files_in = dist.ini add_files_in = README.mkdn -[PodWeaver] +[PodWeaver] +[%PodWeaver] +Contributors.head = 1 [GithubMeta] issues = 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/lib/Data/Perl/Bool.pm new/Data-Perl-0.002011/lib/Data/Perl/Bool.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Bool.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Bool.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Bool; -$Data::Perl::Bool::VERSION = '0.002009'; +$Data::Perl::Bool::VERSION = '0.002011'; # ABSTRACT: Wrapping class for boolean values. use strictures 1; @@ -20,7 +20,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -43,7 +43,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Code.pm new/Data-Perl-0.002011/lib/Data/Perl/Code.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Code.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Code.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Code; -$Data::Perl::Code::VERSION = '0.002009'; +$Data::Perl::Code::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl coderefs. use strictures 1; @@ -20,7 +20,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -41,7 +41,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Collection/Array.pm new/Data-Perl-0.002011/lib/Data/Perl/Collection/Array.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Collection/Array.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Collection/Array.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Collection::Array; -$Data::Perl::Collection::Array::VERSION = '0.002009'; +$Data::Perl::Collection::Array::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl's built in array structure. use strictures 1; @@ -20,7 +20,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -44,7 +44,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Collection/Hash.pm new/Data-Perl-0.002011/lib/Data/Perl/Collection/Hash.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Collection/Hash.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Collection/Hash.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Collection::Hash; -$Data::Perl::Collection::Hash::VERSION = '0.002009'; +$Data::Perl::Collection::Hash::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl's built in hash structure. use strictures 1; @@ -20,7 +20,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -46,7 +46,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Counter.pm new/Data-Perl-0.002011/lib/Data/Perl/Counter.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Counter.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Counter.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Counter; -$Data::Perl::Counter::VERSION = '0.002009'; +$Data::Perl::Counter::VERSION = '0.002011'; # ABSTRACT: Wrapping class for a simple numeric counter. use strictures 1; @@ -20,7 +20,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -43,7 +43,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Number.pm new/Data-Perl-0.002011/lib/Data/Perl/Number.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Number.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Number.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Number; -$Data::Perl::Number::VERSION = '0.002009'; +$Data::Perl::Number::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl scalar numbers. use strictures 1; @@ -20,7 +20,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -43,7 +43,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Role/Bool.pm new/Data-Perl-0.002011/lib/Data/Perl/Role/Bool.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Role/Bool.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Role/Bool.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Role::Bool; -$Data::Perl::Role::Bool::VERSION = '0.002009'; +$Data::Perl::Role::Bool::VERSION = '0.002011'; # ABSTRACT: Wrapping class for boolean values. use strictures 1; @@ -28,7 +28,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -91,7 +91,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Role/Code.pm new/Data-Perl-0.002011/lib/Data/Perl/Role/Code.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Role/Code.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Role/Code.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Role::Code; -$Data::Perl::Role::Code::VERSION = '0.002009'; +$Data::Perl::Role::Code::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl coderefs. use strictures 1; @@ -25,7 +25,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -76,7 +76,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Role/Collection/Array.pm new/Data-Perl-0.002011/lib/Data/Perl/Role/Collection/Array.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Role/Collection/Array.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Role/Collection/Array.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Role::Collection::Array; -$Data::Perl::Role::Collection::Array::VERSION = '0.002009'; +$Data::Perl::Role::Collection::Array::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl's built in array structure. use strictures 1; @@ -186,6 +186,29 @@ print { $fh || *STDOUT } CORE::join((defined $arg ? $arg : ','), @$self); } +sub head { + my ($self, $count) = @_; + + $count = $self->count if $count > $self->count; + $count = $self->count - -$count if $count < 0; + + my @res = ($self->elements)[0 .. $count - 1]; + + blessed($self) ? blessed($self)->new(@res) : @res; +} + +sub tail { + my ($self, $count) = @_; + + $count = $self->count if $count > $self->count; + $count = $self->count - -$count if $count < 0; + my $start = $self->count - $count; + + my @res = ($self->elements)[$start .. $self->count - 1]; + + blessed($self) ? blessed($self)->new(@res) : @res; +} + 1; =pod @@ -198,7 +221,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -409,6 +432,20 @@ This method does not accept any arguments. +=item B<head($count)> + +Returns the first C<$count> elements of the array. If C<$count> is greater +than the number of elements in the array, the array (without spurious C<undef>s) +is returned. Negative C<$count> means "all but the last C<$count> elements". The +returned list is provided as a Collection::Array object. + +=item B<tail($count)> + +Returns the last C<$count> elements of the array. If C<$count> is greater +than the number of elements in the array, the array (without spurious C<undef>s) +is returned. Negative C<$count> means "all but the first C<$count> elements". The +returned list is provided as a Collection::Array object. + =item B<join($str)> Joins every element of the array using the separator given as argument, just @@ -521,7 +558,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Role/Collection/Hash.pm new/Data-Perl-0.002011/lib/Data/Perl/Role/Collection/Hash.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Role/Collection/Hash.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Role/Collection/Hash.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Role::Collection::Hash; -$Data::Perl::Role::Collection::Hash::VERSION = '0.002009'; +$Data::Perl::Role::Collection::Hash::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl's built in hash structure. use strictures 1; @@ -116,7 +116,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -266,7 +266,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Role/Counter.pm new/Data-Perl-0.002011/lib/Data/Perl/Role/Counter.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Role/Counter.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Role/Counter.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Role::Counter; -$Data::Perl::Role::Counter::VERSION = '0.002009'; +$Data::Perl::Role::Counter::VERSION = '0.002011'; # ABSTRACT: Wrapping class for a simple numeric counter. use strictures 1; @@ -26,7 +26,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -98,7 +98,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Role/Number.pm new/Data-Perl-0.002011/lib/Data/Perl/Role/Number.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Role/Number.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Role/Number.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Role::Number; -$Data::Perl::Role::Number::VERSION = '0.002009'; +$Data::Perl::Role::Number::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl scalar numbers. use strictures 1; @@ -32,7 +32,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -102,7 +102,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/Role/String.pm new/Data-Perl-0.002011/lib/Data/Perl/Role/String.pm --- old/Data-Perl-0.002009/lib/Data/Perl/Role/String.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/Role/String.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::Role::String; -$Data::Perl::Role::String::VERSION = '0.002009'; +$Data::Perl::Role::String::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl scalar strings. use strictures 1; @@ -60,7 +60,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -168,7 +168,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl/String.pm new/Data-Perl-0.002011/lib/Data/Perl/String.pm --- old/Data-Perl-0.002009/lib/Data/Perl/String.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl/String.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl::String; -$Data::Perl::String::VERSION = '0.002009'; +$Data::Perl::String::VERSION = '0.002011'; # ABSTRACT: Wrapping class for Perl scalar strings. use strictures 1; @@ -20,7 +20,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -41,7 +41,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/lib/Data/Perl.pm new/Data-Perl-0.002011/lib/Data/Perl.pm --- old/Data-Perl-0.002009/lib/Data/Perl.pm 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/lib/Data/Perl.pm 2020-01-22 14:33:32.000000000 +0100 @@ -1,5 +1,5 @@ package Data::Perl; -$Data::Perl::VERSION = '0.002009'; +$Data::Perl::VERSION = '0.002011'; # ABSTRACT: Base classes wrapping fundamental Perl data types. BEGIN { @@ -44,7 +44,7 @@ =head1 VERSION -version 0.002009 +version 0.002011 =head1 SYNOPSIS @@ -164,9 +164,41 @@ Matthew Phillips <ma...@cpan.org> +=head1 MAINTAINER + +Toby Inkster <toby...@cpan.org> since version 0.002010. + +=head1 CONTRIBUTORS + +=for stopwords Graham Knop Jon Portnoy kristof....@gmail.com Matt Phillips Toby Inkster + +=over 4 + +=item * + +Graham Knop <ha...@haarg.org> + +=item * + +Jon Portnoy <av...@cobaltirc.org> + +=item * + +kristof....@gmail.com <kristof....@gmail.com> + +=item * + +Matt Phillips <ma...@cpan.org> + +=item * + +Toby Inkster <toby...@cpan.org> + +=back + =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Matthew Phillips <ma...@cpan.org>. +This software is copyright (c) 2020 by Matthew Phillips <ma...@cpan.org>. 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/Data-Perl-0.002009/t/author-pod-coverage.t new/Data-Perl-0.002011/t/author-pod-coverage.t --- old/Data-Perl-0.002009/t/author-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-Perl-0.002011/t/author-pod-coverage.t 2020-01-22 14:33:32.000000000 +0100 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. + +use Test::Pod::Coverage 1.08; +use Pod::Coverage::TrustPod; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/t/author-pod-syntax.t new/Data-Perl-0.002011/t/author-pod-syntax.t --- old/Data-Perl-0.002009/t/author-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-Perl-0.002011/t/author-pod-syntax.t 2020-01-22 14:33:32.000000000 +0100 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/t/collection/array.t new/Data-Perl-0.002011/t/collection/array.t --- old/Data-Perl-0.002009/t/collection/array.t 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/t/collection/array.t 2020-01-22 14:33:32.000000000 +0100 @@ -251,4 +251,19 @@ is $collection->pluck(join => '-'), "1-2-3\n4-5-6\n7-8-9", 'right result'; =cut +# head +$collection = array(qw{a b c d e f}); +is_deeply [$collection->head(0)->all], [], 'right result'; +is_deeply [$collection->head(3)->all], [qw{a b c}], 'right result'; +is_deeply [$collection->head(30)->all], [qw{a b c d e f}], 'right result'; +is_deeply [$collection->head(-2)->all], [qw{a b c d}], 'right result'; +is_deeply [$collection->head(-30)->all], [], 'right result'; + +# tail +is_deeply [$collection->tail(0)->all], [], 'right result'; +is_deeply [$collection->tail(3)->all], [qw{d e f}], 'right result'; +is_deeply [$collection->tail(30)->all], [qw{a b c d e f}], 'right result'; +is_deeply [$collection->tail(-2)->all], [qw{c d e f}], 'right result'; +is_deeply [$collection->tail(-30)->all], [], 'right result'; + done_testing(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/t/release-pod-coverage.t new/Data-Perl-0.002011/t/release-pod-coverage.t --- old/Data-Perl-0.002009/t/release-pod-coverage.t 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/t/release-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. - -use Test::Pod::Coverage 1.08; -use Pod::Coverage::TrustPod; - -all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/t/release-pod-syntax.t new/Data-Perl-0.002011/t/release-pod-syntax.t --- old/Data-Perl-0.002009/t/release-pod-syntax.t 2014-06-27 03:04:17.000000000 +0200 +++ new/Data-Perl-0.002011/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. -use Test::More; -use Test::Pod 1.41; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Perl-0.002009/weaver.ini new/Data-Perl-0.002011/weaver.ini --- old/Data-Perl-0.002009/weaver.ini 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-Perl-0.002011/weaver.ini 2020-01-22 14:33:32.000000000 +0100 @@ -0,0 +1,30 @@ +[@CorePrep] + +[-SingleEncoding] + +[Name] +[Version] + +[Region / prelude] + +[Generic / SYNOPSIS] +[Generic / DESCRIPTION] +[Generic / OVERVIEW] + +[Collect / ATTRIBUTES] +command = attr + +[Collect / METHODS] +command = method + +[Collect / FUNCTIONS] +command = func + +[Leftovers] + +[Region / postlude] + +[Authors] +[Generic / MAINTAINER] +[Contributors] +[Legal] ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module