diff -Nru libapache-singleton-perl-0.16/Changes libapache-singleton-perl-0.17/Changes --- libapache-singleton-perl-0.16/Changes 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/Changes 2017-08-02 16:32:00.000000000 +0000 @@ -1,5 +1,8 @@ Revision history for Perl extension Apache::Singleton. +0.17 2017-08-02 + - Kwalitee: include META.json, declare minimum perl version, enable warnings + 0.16 2014-11-07 - fix signature test due to MYMETA.* in new EU::MM - Work around global destruction order issue by integrating on proposed diff -Nru libapache-singleton-perl-0.16/debian/changelog libapache-singleton-perl-0.17/debian/changelog --- libapache-singleton-perl-0.16/debian/changelog 2017-08-02 17:22:40.000000000 +0000 +++ libapache-singleton-perl-0.17/debian/changelog 2017-10-22 19:42:39.000000000 +0000 @@ -1,3 +1,12 @@ +libapache-singleton-perl (0.17-1) unstable; urgency=medium + + * Team upload + + * New upstream release. + * Declare conformance with Policy 4.1.1 (no changes needed) + + -- Damyan Ivanov Sun, 22 Oct 2017 19:42:39 +0000 + libapache-singleton-perl (0.16-2) unstable; urgency=medium [ gregor herrmann ] diff -Nru libapache-singleton-perl-0.16/debian/control libapache-singleton-perl-0.17/debian/control --- libapache-singleton-perl-0.16/debian/control 2017-08-02 17:22:40.000000000 +0000 +++ libapache-singleton-perl-0.17/debian/control 2017-10-22 19:41:03.000000000 +0000 @@ -10,7 +10,7 @@ libapache2-mod-perl2, libcgi-pm-perl, netbase -Standards-Version: 4.0.0 +Standards-Version: 4.1.1 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libapache-singleton-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libapache-singleton-perl.git Homepage: https://metacpan.org/release/Apache-Singleton diff -Nru libapache-singleton-perl-0.16/dist.ini libapache-singleton-perl-0.17/dist.ini --- libapache-singleton-perl-0.16/dist.ini 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/dist.ini 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -name = Apache-Singleton -author = Michael Schout -license = Perl_5 -copyright_holder = Michael Schout -copyright_year = 2009 - -[@Filter] -bundle = @MSCHOUT -remove = MakeMaker -remove = Readme -remove = PodCoverageTests -;remove = PodSyntaxTests -;remove = AutoPrereqs - -[Twitter] -tweet_url = https://github.com/mschout/apache-singleton/commits/v{{$VERSION}} -hash_tags = #perl - -[RemovePrereqs] -remove = Mock::Apache - -[Prereqs] -Apache::Test = 1.35 -CGI = 3.12 diff -Nru libapache-singleton-perl-0.16/lib/Apache/Singleton/Process.pm libapache-singleton-perl-0.17/lib/Apache/Singleton/Process.pm --- libapache-singleton-perl-0.16/lib/Apache/Singleton/Process.pm 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/lib/Apache/Singleton/Process.pm 2017-08-02 16:32:00.000000000 +0000 @@ -1,8 +1,19 @@ +# +# This file is part of Apache-Singleton +# +# This software is copyright (c) 2009 by Michael Schout. +# +# This is free software; you can redistribute it and/or modify it under +# the same terms as the Perl 5 programming language system itself. +# + package Apache::Singleton::Process; -$Apache::Singleton::Process::VERSION = '0.16'; +$Apache::Singleton::Process::VERSION = '0.17'; # ABSTRACT: One instance per One Process use strict; +use warnings; + use base 'Apache::Singleton'; no strict 'refs'; @@ -42,7 +53,7 @@ =head1 VERSION -version 0.16 +version 0.17 =head1 SYNOPSIS @@ -59,7 +70,7 @@ =head1 SOURCE -The development version is on github at L +The development version is on github at L and may be cloned from L =head1 BUGS diff -Nru libapache-singleton-perl-0.16/lib/Apache/Singleton/Request.pm libapache-singleton-perl-0.17/lib/Apache/Singleton/Request.pm --- libapache-singleton-perl-0.16/lib/Apache/Singleton/Request.pm 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/lib/Apache/Singleton/Request.pm 2017-08-02 16:32:00.000000000 +0000 @@ -1,8 +1,19 @@ +# +# This file is part of Apache-Singleton +# +# This software is copyright (c) 2009 by Michael Schout. +# +# This is free software; you can redistribute it and/or modify it under +# the same terms as the Perl 5 programming language system itself. +# + package Apache::Singleton::Request; -$Apache::Singleton::Request::VERSION = '0.16'; +$Apache::Singleton::Request::VERSION = '0.17'; # ABSTRACT: One instance per One Request use strict; +use warnings; + use base 'Apache::Singleton'; BEGIN { @@ -42,7 +53,7 @@ =head1 VERSION -version 0.16 +version 0.17 =head1 SYNOPSIS @@ -63,7 +74,7 @@ =head1 SOURCE -The development version is on github at L +The development version is on github at L and may be cloned from L =head1 BUGS diff -Nru libapache-singleton-perl-0.16/lib/Apache/Singleton.pm libapache-singleton-perl-0.17/lib/Apache/Singleton.pm --- libapache-singleton-perl-0.16/lib/Apache/Singleton.pm 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/lib/Apache/Singleton.pm 2017-08-02 16:32:00.000000000 +0000 @@ -1,8 +1,18 @@ +# +# This file is part of Apache-Singleton +# +# This software is copyright (c) 2009 by Michael Schout. +# +# This is free software; you can redistribute it and/or modify it under +# the same terms as the Perl 5 programming language system itself. +# + package Apache::Singleton; -$Apache::Singleton::VERSION = '0.16'; +$Apache::Singleton::VERSION = '0.17'; # ABSTRACT: Singleton class for mod_perl use strict; +use warnings; # load appropriate subclass if ($ENV{MOD_PERL}) { @@ -66,7 +76,7 @@ =head1 VERSION -version 0.16 +version 0.17 =head1 SYNOPSIS @@ -133,7 +143,7 @@ =head1 SOURCE -The development version is on github at L +The development version is on github at L and may be cloned from L =head1 BUGS diff -Nru libapache-singleton-perl-0.16/MANIFEST libapache-singleton-perl-0.17/MANIFEST --- libapache-singleton-perl-0.16/MANIFEST 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/MANIFEST 2017-08-02 16:32:00.000000000 +0000 @@ -1,19 +1,21 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.023. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. Changes LICENSE MANIFEST MANIFEST.SKIP +META.json META.yml Makefile.PL README SIGNATURE -dist.ini lib/Apache/Singleton.pm lib/Apache/Singleton/Process.pm lib/Apache/Singleton/Request.pm t/TEST.PL t/apache/singleton/process/printer_instance.t t/apache/singleton/request/printer_instance.t +t/author-pod-syntax.t +t/author-signature.t t/compile.t t/conf/extra.conf.in t/lib/Printer/Device/PerProcess.pm @@ -28,11 +30,9 @@ t/multiclass.t t/new_instance.t t/process.t -t/release-pod-syntax.t t/request.t t/request_mp2.t t/response/TestApache/Singleton/Process/printer_instance.pm t/response/TestApache/Singleton/Request/printer_instance.pm t/response/TestApache/Singleton/request.pm -t/signature.t t/singleton.t diff -Nru libapache-singleton-perl-0.16/MANIFEST.SKIP libapache-singleton-perl-0.17/MANIFEST.SKIP --- libapache-singleton-perl-0.16/MANIFEST.SKIP 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/MANIFEST.SKIP 2017-08-02 16:32:00.000000000 +0000 @@ -34,3 +34,5 @@ # Apache::Test generated tests ^t/apache/singleton/request.t$ ^MYMETA\. +^\.travis.yml$ +^dist.ini$ diff -Nru libapache-singleton-perl-0.16/META.json libapache-singleton-perl-0.17/META.json --- libapache-singleton-perl-0.16/META.json 1970-01-01 00:00:00.000000000 +0000 +++ libapache-singleton-perl-0.17/META.json 2017-08-02 16:32:00.000000000 +0000 @@ -0,0 +1,75 @@ +{ + "abstract" : "Singleton class for mod_perl", + "author" : [ + "Michael Schout " + ], + "dynamic_config" : 0, + "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150005", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : 2 + }, + "name" : "Apache-Singleton", + "prereqs" : { + "configure" : { + "requires" : { + "perl" : "5.006" + } + }, + "develop" : { + "requires" : { + "Dist::Zilla" : "5", + "Dist::Zilla::Plugin::Prereqs" : "0", + "Dist::Zilla::Plugin::RemovePrereqs" : "0", + "Dist::Zilla::PluginBundle::MSCHOUT" : "0", + "Software::License::Perl_5" : "0", + "Test::Pod" : "1.41", + "Test::Signature" : "0" + } + }, + "runtime" : { + "requires" : { + "Apache" : "0", + "Apache2::RequestUtil" : "0", + "Apache::Test" : "1.35", + "base" : "0", + "constant" : "0", + "perl" : "5.006", + "strict" : "0", + "warnings" : "0" + } + }, + "test" : { + "requires" : { + "Apache2::RequestIO" : "0", + "Apache2::RequestRec" : "0", + "Apache::Test" : "1.35", + "Apache::TestRequest" : "0", + "Apache::TestRunPerl" : "0", + "Test::More" : "0", + "lib" : "0", + "mod_perl2" : "0", + "perl" : "5.006" + } + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "mailto" : "bug-apache-singleton at rt.cpan.org", + "web" : "http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-Singleton" + }, + "homepage" : "http://search.cpan.org/dist/Apache-Singleton/", + "repository" : { + "type" : "git", + "url" : "git://github.com/mschout/apache-singleton.git", + "web" : "https://github.com/mschout/apache-singleton" + } + }, + "version" : "0.17", + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0217" +} + diff -Nru libapache-singleton-perl-0.16/META.yml libapache-singleton-perl-0.17/META.yml --- libapache-singleton-perl-0.16/META.yml 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/META.yml 2017-08-02 16:32:00.000000000 +0000 @@ -8,15 +8,14 @@ Apache::Test: '1.35' Apache::TestRequest: '0' Apache::TestRunPerl: '0' - Module::Signature: '0' - Socket: '0' Test::More: '0' lib: '0' - mod_perl: '0' mod_perl2: '0' - warnings: '0' + perl: '5.006' +configure_requires: + perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.023, CPAN::Meta::Converter version 2.142690' +generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,12 +25,14 @@ Apache: '0' Apache2::RequestUtil: '0' Apache::Test: '1.35' - CGI: '3.12' base: '0' constant: '0' + perl: '5.006' strict: '0' + warnings: '0' resources: bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-Singleton homepage: http://search.cpan.org/dist/Apache-Singleton/ repository: git://github.com/mschout/apache-singleton.git -version: '0.16' +version: '0.17' +x_serialization_backend: 'YAML::Tiny version 1.69' diff -Nru libapache-singleton-perl-0.16/SIGNATURE libapache-singleton-perl-0.17/SIGNATURE --- libapache-singleton-perl-0.16/SIGNATURE 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/SIGNATURE 2017-08-02 16:32:00.000000000 +0000 @@ -1,5 +1,5 @@ This file contains message digests of all files listed in MANIFEST, -signed via the Module::Signature module, version 0.73. +signed via the Module::Signature module, version 0.80. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: @@ -12,22 +12,24 @@ not run its Makefile.PL or Build.PL. -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -SHA1 149bcf756bf630d5020fea4e45fc72fd58d865f3 Changes +SHA1 22fdfa46c326d9b155bd25ded0113fd5a61da9be Changes SHA1 7723a717e5d5b325e5435fd706668cc096fb959c LICENSE -SHA1 68a715e43ae99cc88253b4fe5334788d05b03c9b MANIFEST -SHA1 638e511fcc6968fbf8c6ce48cd54db5e06c57fc5 MANIFEST.SKIP -SHA1 d0bd33a6774635c468729c63f406e780f4c8d25b META.yml +SHA1 42768289228e94d064d46da5017be2dc70cb3518 MANIFEST +SHA1 cd700cf2990e3f2b44504da1541bbd1a8dd30eea MANIFEST.SKIP +SHA1 ec3573b394d54b6236cd2a423edc112808ddb30f META.json +SHA1 878360a3e39b41cc0a7fa21966774d8cac122a35 META.yml SHA1 81e5d114ad5d8ffc0dac0e70aa05675315aaf0cd Makefile.PL SHA1 0f8939d79505ac256542824b3a5aacd70adc440b README -SHA1 744efcc6201896ffdd1d9b2c73dd9dd09abb8d2a dist.ini -SHA1 4e3dfee54d405ab714f2380e2bd90870619b96a8 lib/Apache/Singleton.pm -SHA1 d2efec79c29136fb041e2c22cbcccfe9e2bcac09 lib/Apache/Singleton/Process.pm -SHA1 f0decdb4e752b22f59e7e0b9f09e163af35fb07d lib/Apache/Singleton/Request.pm +SHA1 67a28c6d46f900fc34bc6df842094a7943ae44b0 lib/Apache/Singleton.pm +SHA1 b32b34558630fa496498676d0d88c6bff55c18ca lib/Apache/Singleton/Process.pm +SHA1 f0f1983c25819ec0d9c296b75e4581fd243ea59f lib/Apache/Singleton/Request.pm SHA1 ae6746c529ae00390016998223e17e046c0bf402 t/TEST.PL SHA1 6a442ecd0fe896777fc6a9c15bcc77f58c6af0a6 t/apache/singleton/process/printer_instance.t SHA1 0125edfa8087ea24461c5a398ab50713b57969d0 t/apache/singleton/request/printer_instance.t +SHA1 8efad25309730a4d501fb40fc03eda4697303372 t/author-pod-syntax.t +SHA1 19cc343f8a85c6805bbeb02580487483a6283887 t/author-signature.t SHA1 3c1df8a086f535819467ab89b944e13a7ac60d4b t/compile.t SHA1 2b1a6e84dbd7d106ae16f2ce86b03464ca2f2caa t/conf/extra.conf.in SHA1 cdbf5ce2a047f203dffd6b7476d5ae079fbf439d t/lib/Printer/Device/PerProcess.pm @@ -42,19 +44,26 @@ SHA1 6906be1fbc63eec20c4385beddef2af2533d5106 t/multiclass.t SHA1 0379a5b667e982d96348c7a2d2ba8f8474a268b7 t/new_instance.t SHA1 2217c3ebca493dddf5e60d2f75884718ef689467 t/process.t -SHA1 dc3eefcab3399f9a70861c332bb4a81ddcbb45e4 t/release-pod-syntax.t SHA1 24dadebd6a0799135df8885524b3fd9a0a20e148 t/request.t SHA1 030a93c377abdbf9645e7c5d4b6af950d0a1b26f t/request_mp2.t SHA1 7275132dcaf45ecfa79e8c4f04614bf56848a83f t/response/TestApache/Singleton/Process/printer_instance.pm SHA1 f64ff004c0a77e6e4f144496bdb10da9668efd77 t/response/TestApache/Singleton/Request/printer_instance.pm SHA1 15978707f609815b9d1234c883157a7872c046f0 t/response/TestApache/Singleton/request.pm -SHA1 46a3b211d86fc7da03762365c626e33fc9d9ad44 t/signature.t SHA1 734b6548a02d5c2a810c0f89aae0bdef7fca8339 t/singleton.t -----BEGIN PGP SIGNATURE----- -Version: GnuPG/MacGPG2 v2.0.17 (Darwin) -Comment: GPGTools - http://gpgtools.org +Version: GnuPG v2 -iEYEARECAAYFAlRc2bsACgkQ+CqvSzp9LOyvWwCdHQy90F2kw5UvGMexrZVnzx+p -R+0AoJDjAlIRFrnMRZQOObZbhnHRRzP8 -=XOQa +iQIVAwUBWYH+gKQl27WkM10aAQhOSw//TcOpkk93LycTcxXsC415jPxlN9Yn2/h3 +gf5SFrdwDg/OqFmtj5bgaMzKcbr4qf3IlVqId0NmEwcR4MJdhUlKxB4jmvMniGGu +nw5Z30hDVcFJQwlyBtziG0uTlEdylFCrdJtXpy7xjRWBsKRKOX2EpXfuOS0lmj17 +HOoUlBi1vO33ukIH+ppzj8darJWg4/1PwfPt9DbQgCtMLViJhoNHjoBqvL2yx1LS +AWLr7v9xK2O4Q6f2fdtgJ1+rMp8hYNxX3hC5bzqQQTfJKr1DIuxLvnQ0Mo6m3oDE +xP7wOuHtmNCg2umUpw62cUgyHDOeQ+t9kMxHj3FmC28dgcwnykunBbKL/+IMghrD +3l6uCdPZWY9q8xM1UPaQ1t5Ub+UMLj4pjWyAkt/vxHzYz1W4kDqzuKTl62rb7nM1 +If+icHU4stTqh/5qPndtXifvIst7zKW6Awd9DVtqmsfjfT40tOG0pS/hRtFkyk9S +g62+TTUnHf+2TwMsLq7L2T756pWKKqWtRK1VLGoIbFZxF3fFPJ1VpxzsPH8ZLplP +5nB+HOASPJlK4o7kLVZKYpRmRkDAVl1MImXuLROsAJtKFP1ZkZzVALoG8FBY+p86 +idjMvqe2ZUGOvUMRWqEu97vw3/AiACMopJ5ny87DsbhE7Q1zilAziybsRAP/Ghei +EAW1W3jaNO8= +=Krvc -----END PGP SIGNATURE----- diff -Nru libapache-singleton-perl-0.16/t/author-pod-syntax.t libapache-singleton-perl-0.17/t/author-pod-syntax.t --- libapache-singleton-perl-0.16/t/author-pod-syntax.t 1970-01-01 00:00:00.000000000 +0000 +++ libapache-singleton-perl-0.17/t/author-pod-syntax.t 2017-08-02 16:32:00.000000000 +0000 @@ -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 -Nru libapache-singleton-perl-0.16/t/author-signature.t libapache-singleton-perl-0.17/t/author-signature.t --- libapache-singleton-perl-0.16/t/author-signature.t 1970-01-01 00:00:00.000000000 +0000 +++ libapache-singleton-perl-0.17/t/author-signature.t 2017-08-02 16:32:00.000000000 +0000 @@ -0,0 +1,21 @@ +#!perl -w + +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::AuthorSignatureTest + +use strict; +use warnings; +use Test::More; + +unless (eval { require Test::Signature; 1 }) { + plan skip_all => 'Test::Signature is required for this test'; +} + +Test::Signature::signature_ok(); +done_testing; diff -Nru libapache-singleton-perl-0.16/t/release-pod-syntax.t libapache-singleton-perl-0.17/t/release-pod-syntax.t --- libapache-singleton-perl-0.16/t/release-pod-syntax.t 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/t/release-pod-syntax.t 1970-01-01 00:00:00.000000000 +0000 @@ -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 -Nru libapache-singleton-perl-0.16/t/signature.t libapache-singleton-perl-0.17/t/signature.t --- libapache-singleton-perl-0.16/t/signature.t 2014-11-07 14:39:55.000000000 +0000 +++ libapache-singleton-perl-0.17/t/signature.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,36 +0,0 @@ -#!perl -w - -## Test that our SIGNATURE file is valid - -use Test::More; -use strict; - -if (!$ENV{TEST_SIGNATURE}) { - plan skip_all => - "Set the environment variable TEST_SIGNATURE to enable this test."; -} -elsif (!eval { require Module::Signature; 1 }) { - plan skip_all => - "Please install Module::Signature so that you can verify ". - "the integrity of this and other distributions."; -} -elsif (!-e 'SIGNATURE') { - plan skip_all => "SIGNATURE file was not found"; -} -elsif (-s 'SIGNATURE' == 0) { - plan skip_all => "SIGNATURE file was empty"; -} -elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) { - plan skip_all => - "Cannot connect to the keyserver to check module signature"; -} -else { - plan tests => 1; -} - -my $ret = Module::Signature::verify(); -SKIP: { - skip "Module::Signature cannot verify", 1 - if $ret eq Module::Signature::CANNOT_VERIFY(); - cmp_ok $ret, '==', Module::Signature::SIGNATURE_OK(), "Valid signature"; -}