Hello community, here is the log from the commit of package perl-Test-Compile for openSUSE:Factory checked in at 2019-07-02 10:39:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Compile (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Compile.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Test-Compile" Tue Jul 2 10:39:34 2019 rev:7 rq:712935 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Compile/perl-Test-Compile.changes 2019-06-28 16:37:01.774878275 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Compile.new.4615/perl-Test-Compile.changes 2019-07-02 10:39:35.706691312 +0200 @@ -1,0 +2,6 @@ +Mon Jul 1 05:30:35 UTC 2019 - Stephan Kulow <coolo@suse.com> + +- updated to 2.1.1 + see /usr/share/doc/packages/perl-Test-Compile/Changes + +------------------------------------------------------------------- Old: ---- Test-Compile-v2.1.0.tar.gz New: ---- Test-Compile-v2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Compile.spec ++++++ --- /var/tmp/diff_new_pack.9gztmX/_old 2019-07-02 10:39:36.966693229 +0200 +++ /var/tmp/diff_new_pack.9gztmX/_new 2019-07-02 10:39:36.970693235 +0200 @@ -17,7 +17,7 @@ Name: perl-Test-Compile -Version: 2.1.0 +Version: 2.1.1 Release: 0 %define cpan_name Test-Compile Summary: Check whether Perl files compile correctly ++++++ Test-Compile-v2.1.0.tar.gz -> Test-Compile-v2.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/Changes new/Test-Compile-v2.1.1/Changes --- old/Test-Compile-v2.1.0/Changes 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/Changes 2019-07-01 03:20:51.000000000 +0200 @@ -1,6 +1,9 @@ Revision history for Perl extension Test-Compile -v2.1.0 2019-XX-XX +v2.1.1 2019-07-01 (Evan Giles <egiles@cpan.org>) + - Correct the POD + +v2.1.0 2019-06-29 (Evan Giles <egiles@cpan.org>) - Update copyright - Add all_pm_files_ok() and all_pl_files_ok() methods to the internal class diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/MANIFEST new/Test-Compile-v2.1.1/MANIFEST --- old/Test-Compile-v2.1.0/MANIFEST 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/MANIFEST 2019-07-01 03:20:51.000000000 +0200 @@ -12,6 +12,7 @@ t/100-internal--find-files.t t/100-internal--is-in-taint-mode.t t/100-internal--read-shebang.t +t/100-internal--test-methods.t t/100-internal-all-pl-files.t t/100-internal-all-pm-files.t t/100-internal-basic.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/META.json new/Test-Compile-v2.1.1/META.json --- old/Test-Compile-v2.1.0/META.json 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/META.json 2019-07-01 03:20:51.000000000 +0200 @@ -35,11 +35,11 @@ "provides" : { "Test::Compile" : { "file" : "lib/Test/Compile.pm", - "version" : "v2.1.0" + "version" : "v2.1.1" }, "Test::Compile::Internal" : { "file" : "lib/Test/Compile/Internal.pm", - "version" : "v2.1.0" + "version" : "v2.1.1" } }, "release_status" : "stable", @@ -51,6 +51,6 @@ "url" : "http://github.com/egiles/test-compile" } }, - "version" : "v2.1.0", + "version" : "v2.1.1", "x_serialization_backend" : "JSON::PP version 2.27400_02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/META.yml new/Test-Compile-v2.1.1/META.yml --- old/Test-Compile-v2.1.0/META.yml 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/META.yml 2019-07-01 03:20:51.000000000 +0200 @@ -15,10 +15,10 @@ provides: Test::Compile: file: lib/Test/Compile.pm - version: v2.1.0 + version: v2.1.1 Test::Compile::Internal: file: lib/Test/Compile/Internal.pm - version: v2.1.0 + version: v2.1.1 recommends: Devel::CheckOS: '0' requires: @@ -30,5 +30,5 @@ resources: license: http://dev.perl.org/licenses/ repository: http://github.com/egiles/test-compile -version: v2.1.0 +version: v2.1.1 x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/Makefile.PL new/Test-Compile-v2.1.1/Makefile.PL --- old/Test-Compile-v2.1.0/Makefile.PL 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/Makefile.PL 2019-07-01 03:20:51.000000000 +0200 @@ -3,16 +3,16 @@ use ExtUtils::MakeMaker; WriteMakefile ( - 'NAME' => 'Test::Compile', - 'INSTALLDIRS' => 'site', - 'EXE_FILES' => [], 'PREREQ_PM' => { - 'parent' => '0.225', - 'UNIVERSAL::require' => 0, + 'version' => 0, 'Exporter' => '5.68', - 'version' => 0 + 'UNIVERSAL::require' => 0, + 'parent' => '0.225' }, + 'PL_FILES' => {}, + 'EXE_FILES' => [], 'VERSION_FROM' => 'lib/Test/Compile.pm', - 'PL_FILES' => {} + 'INSTALLDIRS' => 'site', + 'NAME' => 'Test::Compile' ) ; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/lib/Test/Compile/Internal.pm new/Test-Compile-v2.1.1/lib/Test/Compile/Internal.pm --- old/Test-Compile-v2.1.0/lib/Test/Compile/Internal.pm 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/lib/Test/Compile/Internal.pm 2019-07-01 03:20:51.000000000 +0200 @@ -3,7 +3,7 @@ use warnings; use strict; -use version; our $VERSION = qv("v2.1.0"); +use version; our $VERSION = qv("v2.1.1"); use File::Spec; use UNIVERSAL::require; use Test::Builder; @@ -273,7 +273,7 @@ $self->{test}->ok(@args); } -=item C<plan($count)> +=item C<plan(tests => $count)> Defines how many tests you plan to run. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/lib/Test/Compile.pm new/Test-Compile-v2.1.1/lib/Test/Compile.pm --- old/Test-Compile-v2.1.0/lib/Test/Compile.pm 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/lib/Test/Compile.pm 2019-07-01 03:20:51.000000000 +0200 @@ -3,7 +3,7 @@ use warnings; use strict; -use version; our $VERSION = qv("v2.1.0"); +use version; our $VERSION = qv("v2.1.1"); use parent 'Exporter'; use UNIVERSAL::require; use Test::Compile::Internal; @@ -16,8 +16,9 @@ =head1 SYNOPSIS - # The OO way (recommended) use Test::Compile; + + # The OO way (recommended) my $test = Test::Compile->new(); $test->all_files_ok(); $test->done_testing(); @@ -101,7 +102,7 @@ in C<@dirs> and in directories below. If C<@dirs> is undefined, it searches F<blib> if F<blib> exists, or else F<lib>. -Skips any files in C<CVS> or C<.svn> directories. +Skips any files in C<CVS>, C<.svn>, or C<.git> directories. The order of the files returned is machine-dependent. If you want them sorted, you'll have to sort them yourself. @@ -114,7 +115,7 @@ If C<@dirs> is undefined, it searches F<script> if F<script> exists, or else F<bin> if F<bin> exists. -Skips any files in C<CVS> or C<.svn> directories. +Skips any files in C<CVS>, C<.svn>, or C<.git> directories. The order of the files returned is machine-dependent. If you want them sorted, you'll have to sort them yourself. @@ -185,7 +186,11 @@ stop and you'll have to import them explicitly. Even then, you really should use the object oriented methods as they provide -a more consistent interface. +a more consistent interface. For example: C<all_pm_files_ok()> calls the +C<plan()> function - so you can't call multiple test functions in the same test file. + +You should definately use the object oriented interface described in the L</SYNOPSIS> +and in L<Test::Compile::Internal> instead of calling these functions. =over 4 @@ -196,7 +201,7 @@ It uses C<all_pm_files(@files)> to find the perl module files. It also calls the C<plan()> function for you (one test for each module), so -you can't have already called C<plan>. Unfortunately, this also means +you can't have already called C<plan()>. Unfortunately, this also means you can't use this function with C<all_pl_files_ok()>. If this is a problem you should really be using the object oriented interface. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/t/100-internal--test-methods.t new/Test-Compile-v2.1.1/t/100-internal--test-methods.t --- old/Test-Compile-v2.1.0/t/100-internal--test-methods.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v2.1.1/t/100-internal--test-methods.t 2019-07-01 03:20:51.000000000 +0200 @@ -0,0 +1,15 @@ +#!perl + +use strict; +use warnings; + +use Test::More; +use Test::Compile::Internal; + +my $internal = Test::Compile::Internal->new(); + +$internal->plan(tests => 1); +$internal->ok(1, "ok method issues succesful TAP"); +$internal->diag("The diag method should display this message"); +$internal->done_testing + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v2.1.0/t/200-import-check.t new/Test-Compile-v2.1.1/t/200-import-check.t --- old/Test-Compile-v2.1.0/t/200-import-check.t 2019-06-27 12:26:28.000000000 +0200 +++ new/Test-Compile-v2.1.1/t/200-import-check.t 2019-07-01 03:20:52.000000000 +0200 @@ -35,7 +35,6 @@ }, 'pl_file_ok imported correctly'); # finally use the "all" tag to import all methods and check if it worked -diag 'Use :all import tag and check if methods got imported correctly'; Test::Compile->import(':all'); can_ok(__PACKAGE__, @EXPORTED,@NOTEXPORTED); done_testing();
participants (1)
-
root