diff -Nru libhash-case-perl-1.030/ChangeLog libhash-case-perl-1.050/ChangeLog --- libhash-case-perl-1.030/ChangeLog 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/ChangeLog 2020-02-06 15:41:13.000000000 +0000 @@ -2,6 +2,16 @@ All changes made by Mark Overmeer, unless explicitly stated otherwise. +version 1.05: Thu 6 Feb 16:41:09 CET 2020 + + Fixes: + - accidentally left a "use Log::Report" in. + +version 1.04: Thu 6 Feb 16:22:37 CET 2020 + + Changes: + - replace Log::Report by croak on request by [Ed Avis] GitHub#1 + version 1.03: Mon 22 Jan 17:14:46 CET 2018 Improvements: diff -Nru libhash-case-perl-1.030/debian/changelog libhash-case-perl-1.050/debian/changelog --- libhash-case-perl-1.030/debian/changelog 2018-04-16 17:46:38.000000000 +0000 +++ libhash-case-perl-1.050/debian/changelog 2020-02-08 15:18:35.000000000 +0000 @@ -1,3 +1,17 @@ +libhash-case-perl (1.050-1) unstable; urgency=medium + + * Import upstream version 1.050. + * Update years of upstream and packaging copyright. + * Update (build) dependencies. + * Declare compliance with Debian Policy 4.5.0. + * Set Rules-Requires-Root: no. + * Bump debhelper-compat to 12. + * debian/watch: use uscan version 4. + * Set upstream metadata fields: Bug-Database, Bug-Submit. + * Remove obsolete fields Contact, Name from debian/upstream/metadata. + + -- gregor herrmann Sat, 08 Feb 2020 16:18:35 +0100 + libhash-case-perl (1.030-1) unstable; urgency=medium [ Salvatore Bonaccorso ] diff -Nru libhash-case-perl-1.030/debian/compat libhash-case-perl-1.050/debian/compat --- libhash-case-perl-1.030/debian/compat 2018-04-16 17:46:38.000000000 +0000 +++ libhash-case-perl-1.050/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -10 diff -Nru libhash-case-perl-1.030/debian/control libhash-case-perl-1.050/debian/control --- libhash-case-perl-1.030/debian/control 2018-04-16 17:46:38.000000000 +0000 +++ libhash-case-perl-1.050/debian/control 2020-02-08 15:18:35.000000000 +0000 @@ -5,20 +5,18 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 10) -Build-Depends-Indep: liblog-report-perl, - libtest-pod-perl, - perl -Standards-Version: 4.1.4 +Build-Depends: debhelper-compat (= 12) +Build-Depends-Indep: perl +Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhash-case-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhash-case-perl.git Homepage: https://metacpan.org/release/Hash-Case +Rules-Requires-Root: no Package: libhash-case-perl Architecture: all Depends: ${misc:Depends}, - ${perl:Depends}, - liblog-report-perl + ${perl:Depends} Description: base class for hashes with key-casing requirements Hash::Case is the base class for various classes which tie special treatment for the casing of keys. Be aware of the differences in diff -Nru libhash-case-perl-1.030/debian/copyright libhash-case-perl-1.050/debian/copyright --- libhash-case-perl-1.030/debian/copyright 2018-04-16 17:46:38.000000000 +0000 +++ libhash-case-perl-1.050/debian/copyright 2020-02-08 15:18:35.000000000 +0000 @@ -1,15 +1,15 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Contact: Mark Overmeer +Upstream-Contact: Mark Overmeer Source: https://metacpan.org/release/Hash-Case Upstream-Name: Hash-Case Files: * -Copyright: 2002-2018, Mark Overmeer +Copyright: 2002-2020, Mark Overmeer License: Artistic or GPL-1+ Files: debian/* Copyright: 2007, David Paleino - 2008-2018, gregor herrmann + 2008-2020, gregor herrmann 2011, Fabrizio Regalli 2012, Florian Schlichting License: Artistic or GPL-1+ diff -Nru libhash-case-perl-1.030/debian/upstream/metadata libhash-case-perl-1.050/debian/upstream/metadata --- libhash-case-perl-1.030/debian/upstream/metadata 2018-04-16 17:46:38.000000000 +0000 +++ libhash-case-perl-1.050/debian/upstream/metadata 2020-02-08 15:18:35.000000000 +0000 @@ -1,6 +1,6 @@ --- Archive: CPAN -Contact: Mark Overmeer -Name: Hash-Case +Bug-Database: https://github.com/markov2/perl5-Hash-Case/issues +Bug-Submit: https://github.com/markov2/perl5-Hash-Case/issues/new Repository: https://github.com/markov2/perl5-Hash-Case.git Repository-Browse: https://github.com/markov2/perl5-Hash-Case diff -Nru libhash-case-perl-1.030/debian/watch libhash-case-perl-1.050/debian/watch --- libhash-case-perl-1.030/debian/watch 2018-04-16 17:46:38.000000000 +0000 +++ libhash-case-perl-1.050/debian/watch 2020-02-08 15:18:35.000000000 +0000 @@ -1,3 +1,3 @@ -version=3 +version=4 options=uversionmangle=s/(\.\d\d)$/$&0/ \ -https://metacpan.org/release/Hash-Case .*/Hash-Case-([\.\d]+)\.(?:tar\.gz|tar|tgz)$ +https://metacpan.org/release/Hash-Case .*/Hash-Case-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru libhash-case-perl-1.030/lib/Hash/Case/Lower.pm libhash-case-perl-1.050/lib/Hash/Case/Lower.pm --- libhash-case-perl-1.030/lib/Hash/Case/Lower.pm 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case/Lower.pm 2020-02-06 15:41:13.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 2002-2018 by [Mark Overmeer]. +# Copyrights 2002-2020 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,14 +8,13 @@ package Hash::Case::Lower; use vars '$VERSION'; -$VERSION = '1.03'; +$VERSION = '1.05'; use base 'Hash::Case'; use strict; use warnings; - -use Log::Report 'hash-case'; +use Carp qw(croak); sub init($) @@ -23,7 +22,7 @@ $self->SUPER::native_init($args); - error __x"no options possible for {pkg}", pkg => __PACKAGE__ + croak "no options possible for ". __PACKAGE__ if keys %$args; $self; diff -Nru libhash-case-perl-1.030/lib/Hash/Case/Lower.pod libhash-case-perl-1.050/lib/Hash/Case/Lower.pod --- libhash-case-perl-1.030/lib/Hash/Case/Lower.pod 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case/Lower.pod 2020-02-06 15:41:13.000000000 +0000 @@ -57,12 +57,12 @@ =head1 SEE ALSO -This module is part of Hash-Case distribution version 1.03, -built on January 22, 2018. Website: F +This module is part of Hash-Case distribution version 1.05, +built on February 06, 2020. Website: F =head1 LICENSE -Copyrights 2002-2018 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2002-2020 by [Mark Overmeer ]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -Nru libhash-case-perl-1.030/lib/Hash/Case/Preserve.pm libhash-case-perl-1.050/lib/Hash/Case/Preserve.pm --- libhash-case-perl-1.030/lib/Hash/Case/Preserve.pm 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case/Preserve.pm 2020-02-06 15:41:13.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 2002-2018 by [Mark Overmeer]. +# Copyrights 2002-2020 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,14 +8,13 @@ package Hash::Case::Preserve; use vars '$VERSION'; -$VERSION = '1.03'; +$VERSION = '1.05'; use base 'Hash::Case'; use strict; use warnings; - -use Log::Report 'hash-case'; +use Carp 'croak'; sub init($) @@ -28,7 +27,7 @@ if($keep eq 'LAST') { $self->{HCP_update} = 1 } elsif($keep eq 'FIRST') { $self->{HCP_update} = 0 } else - { error "use 'FIRST' or 'LAST' with the option keep"; + { croak "use 'FIRST' or 'LAST' with the option keep"; } $self->SUPER::native_init($args); diff -Nru libhash-case-perl-1.030/lib/Hash/Case/Preserve.pod libhash-case-perl-1.050/lib/Hash/Case/Preserve.pod --- libhash-case-perl-1.030/lib/Hash/Case/Preserve.pod 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case/Preserve.pod 2020-02-06 15:41:13.000000000 +0000 @@ -76,12 +76,12 @@ =head1 SEE ALSO -This module is part of Hash-Case distribution version 1.03, -built on January 22, 2018. Website: F +This module is part of Hash-Case distribution version 1.05, +built on February 06, 2020. Website: F =head1 LICENSE -Copyrights 2002-2018 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2002-2020 by [Mark Overmeer ]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -Nru libhash-case-perl-1.030/lib/Hash/Case/Upper.pm libhash-case-perl-1.050/lib/Hash/Case/Upper.pm --- libhash-case-perl-1.030/lib/Hash/Case/Upper.pm 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case/Upper.pm 2020-02-06 15:41:13.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 2002-2018 by [Mark Overmeer]. +# Copyrights 2002-2020 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,14 +8,13 @@ package Hash::Case::Upper; use vars '$VERSION'; -$VERSION = '1.03'; +$VERSION = '1.05'; use base 'Hash::Case'; use strict; use warnings; - -use Log::Report 'hash-case'; +use Carp qw(croak); sub init($) @@ -23,7 +22,7 @@ $self->SUPER::native_init($args); - error __x"no options available for {pkg}", pkg => __PACKAGE__ + croak "no options available for ". __PACKAGE__ if keys %$args; $self; diff -Nru libhash-case-perl-1.030/lib/Hash/Case/Upper.pod libhash-case-perl-1.050/lib/Hash/Case/Upper.pod --- libhash-case-perl-1.030/lib/Hash/Case/Upper.pod 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case/Upper.pod 2020-02-06 15:41:13.000000000 +0000 @@ -57,12 +57,12 @@ =head1 SEE ALSO -This module is part of Hash-Case distribution version 1.03, -built on January 22, 2018. Website: F +This module is part of Hash-Case distribution version 1.05, +built on February 06, 2020. Website: F =head1 LICENSE -Copyrights 2002-2018 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2002-2020 by [Mark Overmeer ]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -Nru libhash-case-perl-1.030/lib/Hash/Case.pm libhash-case-perl-1.050/lib/Hash/Case.pm --- libhash-case-perl-1.030/lib/Hash/Case.pm 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case.pm 2020-02-06 15:41:13.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyrights 2002-2018 by [Mark Overmeer]. +# Copyrights 2002-2020 by [Mark Overmeer ]. # For other contributors see ChangeLog. # See the manual pages for details on the licensing terms. # Pod stripped from pm file by OODoc 2.02. @@ -8,7 +8,7 @@ package Hash::Case; use vars '$VERSION'; -$VERSION = '1.03'; +$VERSION = '1.05'; use warnings; @@ -16,8 +16,7 @@ use Tie::Hash; # contains Tie::StdHash use base 'Tie::StdHash'; - -use Log::Report 'hash-case'; +use Carp qw(croak); sub TIEHASH(@) @@ -36,7 +35,7 @@ if(!$add) { ; } elsif(ref $add eq 'ARRAY') { $self->addPairs(@$add) } elsif(ref $add eq 'HASH') { $self->addHashData($add) } - else { error "cannot initialize the native hash this way" } + else { croak "cannot initialize the native hash this way" } $self; } @@ -50,7 +49,7 @@ if(!$add) { ; } elsif(ref $add eq 'ARRAY') { $self->addPairs(@$add) } elsif(ref $add eq 'HASH') { $self->setHash($add) } - else { error "cannot initialize a wrapping hash this way" } + else { croak "cannot initialize a wrapping hash this way" } $self; } diff -Nru libhash-case-perl-1.030/lib/Hash/Case.pod libhash-case-perl-1.050/lib/Hash/Case.pod --- libhash-case-perl-1.030/lib/Hash/Case.pod 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/lib/Hash/Case.pod 2020-02-06 15:41:13.000000000 +0000 @@ -101,12 +101,12 @@ =head1 SEE ALSO -This module is part of Hash-Case distribution version 1.03, -built on January 22, 2018. Website: F +This module is part of Hash-Case distribution version 1.05, +built on February 06, 2020. Website: F =head1 LICENSE -Copyrights 2002-2018 by [Mark Overmeer]. For other contributors see ChangeLog. +Copyrights 2002-2020 by [Mark Overmeer ]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -Nru libhash-case-perl-1.030/Makefile.PL libhash-case-perl-1.050/Makefile.PL --- libhash-case-perl-1.030/Makefile.PL 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/Makefile.PL 2020-02-06 15:41:13.000000000 +0000 @@ -4,14 +4,13 @@ WriteMakefile ( NAME => 'Hash::Case' - , VERSION => '1.03' + , VERSION => '1.05' , PREREQ_PM => { Test::More => 0.47 - , Log::Report => 0.26 } - , AUTHOR => 'Mark Overmeer' + , AUTHOR => 'Mark Overmeer ' , ABSTRACT => 'Play trics with hash keys' - , LICENSE => 'perl' + , LICENSE => 'perl_5' , META_MERGE => { 'meta-spec' => { version => 2 } @@ -21,9 +20,9 @@ , url => 'https://github.com/markov2/perl5-Hash-Case.git' , web => 'https://github.com/markov2/perl5-Hash-Case' } - } , homepage => 'http://perl.overmeer.net/CPAN/' , license => [ 'http://dev.perl.org/licenses/' ] + } } ); diff -Nru libhash-case-perl-1.030/META.json libhash-case-perl-1.050/META.json --- libhash-case-perl-1.030/META.json 2018-01-22 16:15:24.000000000 +0000 +++ libhash-case-perl-1.050/META.json 2020-02-06 15:41:14.000000000 +0000 @@ -1,13 +1,12 @@ { "abstract" : "Play trics with hash keys", "author" : [ - "Mark Overmeer" + "Mark Overmeer " ], "dynamic_config" : 1, "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010", "license" : [ - "perl_5", - "unknown" + "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", @@ -33,20 +32,22 @@ }, "runtime" : { "requires" : { - "Log::Report" : "0.26", "Test::More" : "0.47" } } }, "release_status" : "stable", "resources" : { + "homepage" : "http://perl.overmeer.net/CPAN/", + "license" : [ + "http://dev.perl.org/licenses/" + ], "repository" : { "type" : "git", "url" : "https://github.com/markov2/perl5-Hash-Case.git", "web" : "https://github.com/markov2/perl5-Hash-Case" } }, - "version" : "1.03", - "x_homepage" : "http://perl.overmeer.net/CPAN/", + "version" : "1.05", "x_serialization_backend" : "JSON::PP version 2.94" } diff -Nru libhash-case-perl-1.030/META.yml libhash-case-perl-1.050/META.yml --- libhash-case-perl-1.030/META.yml 2018-01-22 16:15:24.000000000 +0000 +++ libhash-case-perl-1.050/META.yml 2020-02-06 15:41:14.000000000 +0000 @@ -1,14 +1,14 @@ --- abstract: 'Play trics with hash keys' author: - - 'Mark Overmeer' + - 'Mark Overmeer ' build_requires: ExtUtils::MakeMaker: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010' -license: unknown +license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' @@ -18,10 +18,10 @@ - t - inc requires: - Log::Report: '0.26' Test::More: '0.47' resources: + homepage: http://perl.overmeer.net/CPAN/ + license: http://dev.perl.org/licenses/ repository: https://github.com/markov2/perl5-Hash-Case.git -version: '1.03' -x_homepage: http://perl.overmeer.net/CPAN/ +version: '1.05' x_serialization_backend: 'CPAN::Meta::YAML version 0.011' diff -Nru libhash-case-perl-1.030/README libhash-case-perl-1.050/README --- libhash-case-perl-1.030/README 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/README 2020-02-06 15:22:41.000000000 +0000 @@ -1,5 +1,5 @@ -=== README for Hash-Case version 1.03 -= Generated on Mon Jan 22 17:15:23 2018 by OODoc 2.02 +=== README for Hash-Case version 1.04 += Generated on Thu Feb 6 16:22:41 2020 by OODoc 2.02 There are various ways to install this module: @@ -9,16 +9,16 @@ (2) if you use Windows, have a look at http://ppm.activestate.com/ (3) if you have downloaded this module manually (as root/administrator) - gzip -d Hash-Case-1.03.tar.gz - tar -xf Hash-Case-1.03.tar - cd Hash-Case-1.03 + gzip -d Hash-Case-1.04.tar.gz + tar -xf Hash-Case-1.04.tar + cd Hash-Case-1.04 perl Makefile.PL make # optional make test # optional make install For usage, see the included manual-pages or - http://search.cpan.org/dist/Hash-Case-1.03/ + http://search.cpan.org/dist/Hash-Case-1.04/ Please report problems to http://rt.cpan.org/Dist/Display.html?Queue=Hash-Case diff -Nru libhash-case-perl-1.030/README.md libhash-case-perl-1.050/README.md --- libhash-case-perl-1.030/README.md 2018-01-22 16:15:23.000000000 +0000 +++ libhash-case-perl-1.050/README.md 2020-02-06 15:22:41.000000000 +0000 @@ -3,8 +3,7 @@ * My extended documentation: * Development via GitHub: * Download from CPAN: - * Indexed from CPAN: - and + * Indexed from CPAN: Ties hashes to play tricks with keys.