diff -Nru libconfig-model-approx-perl-1.011/Build.PL libconfig-model-approx-perl-1.012/Build.PL --- libconfig-model-approx-perl-1.011/Build.PL 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/Build.PL 2021-01-22 17:28:53.000000000 +0000 @@ -1,7 +1,7 @@ # # This file is part of Config-Model-Approx # -# This software is Copyright (c) 2015-2018 by Dominique Dumont. +# This software is Copyright (c) 2015-2021 by Dominique Dumont. # # This is free software, licensed under: # @@ -62,7 +62,7 @@ appli_files => \%appli_files , 'build_requires' => { - 'Config::Model::Tester' => '3.006', + 'Config::Model::Tester' => '4.001', 'Config::Model::Tester::Setup' => '0', 'Module::Build' => '0.34', 'Test::More' => '0' diff -Nru libconfig-model-approx-perl-1.011/Changes libconfig-model-approx-perl-1.012/Changes --- libconfig-model-approx-perl-1.011/Changes 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/Changes 2021-01-22 17:28:53.000000000 +0000 @@ -1,9 +1,18 @@ -2018-06-25 - 1.011 +1.012 2021-01-22 + + Tests update: + * use new style of test declaration + (require Config::Model::Tester 4.001) + + Other changes: + * update copyright year + +1.011 - 2018-06-25 Update to cope with newer Config::Model * Backend: use file_path instead of io_handle (gh #1) -2017-11-13 - 1.010 +1.010 - 2017-11-13 * upgrade model with cme meta * update support info in application file @@ -14,16 +23,16 @@ * fix GPL wording to keep Debian's lintian happy (and may be RMS) * fix typo detected by Debian lintian -2013-08-21 - 1.009 +1.009 - 2013-08-21 * Build-depends on Config::Model::Tester * Removed tests dependency now handler by Config::Model::Tester -2013-05-05 - 1.008 +1.008 - 2013-05-05 * Fixed pod test -2013-05-04 - 1.007 +1.007 - 2013-05-04 * depends directly on Mouse instead of Any::Moose * Build.PL: fix pod doc generation diff -Nru libconfig-model-approx-perl-1.011/debian/changelog libconfig-model-approx-perl-1.012/debian/changelog --- libconfig-model-approx-perl-1.011/debian/changelog 2018-06-26 10:09:34.000000000 +0000 +++ libconfig-model-approx-perl-1.012/debian/changelog 2021-01-27 10:50:17.000000000 +0000 @@ -1,3 +1,21 @@ +libconfig-model-approx-perl (1.012-1) unstable; urgency=medium + + [ Debian Janitor ] + * Bump debhelper from old 9 to 12. + * Set debhelper-compat version in Build-Depends. + * Remove obsolete fields Contact, Name from debian/upstream/metadata + (already present in machine-readable debian/copyright). + + [ gregor herrmann ] + * debian/watch: use uscan version 4. + + [ Dominique Dumont ] + * New upstream version 1.012 + * control: depends on libconfig-model-tester-perl >= 4.001 + * declare conformance with Policy 4.5.1 (no changes needed) + + -- Dominique Dumont Wed, 27 Jan 2021 11:50:17 +0100 + libconfig-model-approx-perl (1.011-1) unstable; urgency=medium [ Salvatore Bonaccorso ] diff -Nru libconfig-model-approx-perl-1.011/debian/compat libconfig-model-approx-perl-1.012/debian/compat --- libconfig-model-approx-perl-1.011/debian/compat 2018-06-26 10:09:34.000000000 +0000 +++ libconfig-model-approx-perl-1.012/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru libconfig-model-approx-perl-1.011/debian/control libconfig-model-approx-perl-1.012/debian/control --- libconfig-model-approx-perl-1.011/debian/control 2018-06-26 10:09:34.000000000 +0000 +++ libconfig-model-approx-perl-1.012/debian/control 2021-01-27 10:50:17.000000000 +0000 @@ -5,15 +5,15 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 9), +Build-Depends: debhelper-compat (= 12), libmodule-build-perl Build-Depends-Indep: libconfig-model-perl (>= 2.123), - libconfig-model-tester-perl (>= 3.006), + libconfig-model-tester-perl (>= 4.001), libfile-copy-recursive-perl, liblog-log4perl-perl, libmouse-perl, libtest-pod-perl -Standards-Version: 4.1.4 +Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libconfig-model-approx-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libconfig-model-approx-perl.git Homepage: https://metacpan.org/release/Config-Model-Approx diff -Nru libconfig-model-approx-perl-1.011/debian/upstream/metadata libconfig-model-approx-perl-1.012/debian/upstream/metadata --- libconfig-model-approx-perl-1.011/debian/upstream/metadata 2018-06-26 10:09:34.000000000 +0000 +++ libconfig-model-approx-perl-1.012/debian/upstream/metadata 2021-01-27 10:50:17.000000000 +0000 @@ -2,7 +2,5 @@ Archive: CPAN Bug-Database: https://rt.cpan.org/NoAuth/Bugs.html?Dist=Config-Model-Approx Bug-Submit: bug-project@rt.cpan.org -Contact: Dominique Dumont -Name: Config-Model-Approx Repository: https://github.com/dod38fr/config-model-approx.git Repository-Browse: https://github.com/dod38fr/config-model-approx diff -Nru libconfig-model-approx-perl-1.011/debian/watch libconfig-model-approx-perl-1.012/debian/watch --- libconfig-model-approx-perl-1.011/debian/watch 2018-06-26 10:09:34.000000000 +0000 +++ libconfig-model-approx-perl-1.012/debian/watch 2021-01-27 10:50:17.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://metacpan.org/release/Config-Model-Approx .*/Config-Model-Approx-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/Config-Model-Approx .*/Config-Model-Approx-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru libconfig-model-approx-perl-1.011/lib/Config/Model/Approx.pm libconfig-model-approx-perl-1.012/lib/Config/Model/Approx.pm --- libconfig-model-approx-perl-1.011/lib/Config/Model/Approx.pm 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/lib/Config/Model/Approx.pm 2021-01-22 17:28:53.000000000 +0000 @@ -1,14 +1,14 @@ # # This file is part of Config-Model-Approx # -# This software is Copyright (c) 2015-2018 by Dominique Dumont. +# This software is Copyright (c) 2015-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # package Config::Model::Approx ; -$Config::Model::Approx::VERSION = '1.011'; +$Config::Model::Approx::VERSION = '1.012'; use Config::Model 2.123; 1 ; @@ -27,7 +27,7 @@ =head1 VERSION -version 1.011 +version 1.012 =head1 SYNOPSIS @@ -94,7 +94,7 @@ =head1 COPYRIGHT AND LICENSE -This software is Copyright (c) 2015-2018 by Dominique Dumont. +This software is Copyright (c) 2015-2021 by Dominique Dumont. This is free software, licensed under: diff -Nru libconfig-model-approx-perl-1.011/lib/Config/Model/Backend/Approx.pm libconfig-model-approx-perl-1.012/lib/Config/Model/Backend/Approx.pm --- libconfig-model-approx-perl-1.011/lib/Config/Model/Backend/Approx.pm 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/lib/Config/Model/Backend/Approx.pm 2021-01-22 17:28:53.000000000 +0000 @@ -1,14 +1,14 @@ # # This file is part of Config-Model-Approx # -# This software is Copyright (c) 2015-2018 by Dominique Dumont. +# This software is Copyright (c) 2015-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # package Config::Model::Backend::Approx ; -$Config::Model::Backend::Approx::VERSION = '1.011'; +$Config::Model::Backend::Approx::VERSION = '1.012'; use Mouse ; use Log::Log4perl qw(get_logger :levels); use Carp ; @@ -110,7 +110,7 @@ =head1 VERSION -version 1.011 +version 1.012 =head1 SYNOPSIS @@ -142,7 +142,7 @@ =head1 COPYRIGHT AND LICENSE -This software is Copyright (c) 2015-2018 by Dominique Dumont. +This software is Copyright (c) 2015-2021 by Dominique Dumont. This is free software, licensed under: diff -Nru libconfig-model-approx-perl-1.011/lib/Config/Model/models/Approx.pl libconfig-model-approx-perl-1.012/lib/Config/Model/models/Approx.pl --- libconfig-model-approx-perl-1.011/lib/Config/Model/models/Approx.pl 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/lib/Config/Model/models/Approx.pl 2021-01-22 17:28:53.000000000 +0000 @@ -1,7 +1,7 @@ # # This file is part of Config-Model-Approx # -# This software is Copyright (c) 2015-2018 by Dominique Dumont. +# This software is Copyright (c) 2015-2021 by Dominique Dumont. # # This is free software, licensed under: # diff -Nru libconfig-model-approx-perl-1.011/LICENSE libconfig-model-approx-perl-1.012/LICENSE --- libconfig-model-approx-perl-1.011/LICENSE 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/LICENSE 2021-01-22 17:28:53.000000000 +0000 @@ -1,4 +1,4 @@ -This software is Copyright (c) 2015-2018 by Dominique Dumont. +This software is Copyright (c) 2015-2021 by Dominique Dumont. This is free software, licensed under: diff -Nru libconfig-model-approx-perl-1.011/MANIFEST libconfig-model-approx-perl-1.012/MANIFEST --- libconfig-model-approx-perl-1.011/MANIFEST 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/MANIFEST 2021-01-22 17:28:53.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017. Build.PL Changes LICENSE diff -Nru libconfig-model-approx-perl-1.011/META.json libconfig-model-approx-perl-1.012/META.json --- libconfig-model-approx-perl-1.011/META.json 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/META.json 2021-01-22 17:28:53.000000000 +0000 @@ -4,13 +4,13 @@ "Dominique Dumont" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010", "license" : [ "lgpl_2_1" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Config-Model-Approx", "prereqs" : { @@ -42,7 +42,7 @@ }, "test" : { "requires" : { - "Config::Model::Tester" : "3.006", + "Config::Model::Tester" : "4.001", "Config::Model::Tester::Setup" : "0", "Test::More" : "0" } @@ -61,8 +61,9 @@ "web" : "http://github.com/dod38fr/config-model-approx" } }, - "version" : "1.011", - "x_generated_by_perl" : "v5.26.2", - "x_serialization_backend" : "JSON::XS version 3.04" + "version" : "1.012", + "x_generated_by_perl" : "v5.32.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", + "x_spdx_expression" : "LGPL-2.1" } diff -Nru libconfig-model-approx-perl-1.011/META.yml libconfig-model-approx-perl-1.012/META.yml --- libconfig-model-approx-perl-1.011/META.yml 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/META.yml 2021-01-22 17:28:53.000000000 +0000 @@ -3,14 +3,14 @@ author: - 'Dominique Dumont' build_requires: - Config::Model::Tester: '3.006' + Config::Model::Tester: '4.001' Config::Model::Tester::Setup: '0' Module::Build: '0.34' Test::More: '0' configure_requires: Module::Build: '0.34' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010' license: lgpl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -32,6 +32,7 @@ bugtracker: http://github.com/dod38fr/config-model-approx/issues homepage: https://github.com/dod38fr/config-model/wiki repository: git://github.com/dod38fr/config-model-approx.git -version: '1.011' -x_generated_by_perl: v5.26.2 +version: '1.012' +x_generated_by_perl: v5.32.0 x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: LGPL-2.1 diff -Nru libconfig-model-approx-perl-1.011/t/model_tests.d/approx-test-conf.pl libconfig-model-approx-perl-1.012/t/model_tests.d/approx-test-conf.pl --- libconfig-model-approx-perl-1.011/t/model_tests.d/approx-test-conf.pl 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/t/model_tests.d/approx-test-conf.pl 2021-01-22 17:28:53.000000000 +0000 @@ -1,18 +1,16 @@ # # This file is part of Config-Model-Approx # -# This software is Copyright (c) 2015-2018 by Dominique Dumont. +# This software is Copyright (c) 2015-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # +use strict; +use warnings; -$model_to_test = "Approx" ; -$conf_file_name = 'approx.conf'; -$conf_dir = '/etc/approx' ; - -@tests = ( +my @tests = ( { name => 'basic' , check => { @@ -25,4 +23,9 @@ }, ); -1; +return { + model_to_test => "Approx" , + conf_file_name => 'approx.conf', + conf_dir => '/etc/approx', + tests => \@tests +}; diff -Nru libconfig-model-approx-perl-1.011/t/model_tests.t libconfig-model-approx-perl-1.012/t/model_tests.t --- libconfig-model-approx-perl-1.011/t/model_tests.t 2018-06-25 17:39:12.000000000 +0000 +++ libconfig-model-approx-perl-1.012/t/model_tests.t 2021-01-22 17:28:53.000000000 +0000 @@ -3,7 +3,7 @@ use strict; -use Config::Model::Tester 3.006; +use Config::Model::Tester 4.001; use ExtUtils::testlib; $::_use_log4perl_to_warn = 1;