r38975 - in /branches/upstream/libtest-minimumversion-perl/current: Changes META.json lib/Test/MinimumVersion.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Jun 30 04:28:34 UTC 2009


Author: jawnsy-guest
Date: Tue Jun 30 04:28:28 2009
New Revision: 38975

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38975
Log:
[svn-upgrade] Integrating new upstream version, libtest-minimumversion-perl (0.011)

Modified:
    branches/upstream/libtest-minimumversion-perl/current/Changes
    branches/upstream/libtest-minimumversion-perl/current/META.json
    branches/upstream/libtest-minimumversion-perl/current/lib/Test/MinimumVersion.pm

Modified: branches/upstream/libtest-minimumversion-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-minimumversion-perl/current/Changes?rev=38975&op=diff
==============================================================================
--- branches/upstream/libtest-minimumversion-perl/current/Changes (original)
+++ branches/upstream/libtest-minimumversion-perl/current/Changes Tue Jun 30 04:28:28 2009
@@ -1,4 +1,7 @@
 Revision history for Test-MinimumVersion
+
+0.011     2009-06-29
+          update code to behave better with subtests
 
 0.010     2009-05-31
           attempt to not croak on empty files

Modified: branches/upstream/libtest-minimumversion-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-minimumversion-perl/current/META.json?rev=38975&op=diff
==============================================================================
--- branches/upstream/libtest-minimumversion-perl/current/META.json (original)
+++ branches/upstream/libtest-minimumversion-perl/current/META.json Tue Jun 30 04:28:28 2009
@@ -15,7 +15,7 @@
    },
    "generated_by" : "Module::Install version 0.88 using Module::Install::JSONMETA version 5.000",
    "distribution_type" : "module",
-   "version" : "0.010",
+   "version" : "0.011",
    "name" : "Test-MinimumVersion",
    "author" : [
       "Ricardo SIGNES, C<< <rjbs at cpan.org> >>"

Modified: branches/upstream/libtest-minimumversion-perl/current/lib/Test/MinimumVersion.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-minimumversion-perl/current/lib/Test/MinimumVersion.pm?rev=38975&op=diff
==============================================================================
--- branches/upstream/libtest-minimumversion-perl/current/lib/Test/MinimumVersion.pm (original)
+++ branches/upstream/libtest-minimumversion-perl/current/lib/Test/MinimumVersion.pm Tue Jun 30 04:28:28 2009
@@ -8,12 +8,12 @@
 
 =head1 VERSION
 
-version 0.010
+version 0.011
 
 =cut
 
 use vars qw($VERSION);
-$VERSION = '0.010';
+$VERSION = '0.011';
 
 =head1 SYNOPSIS
 
@@ -39,11 +39,11 @@
   all_minimum_version_from_metayml_ok
 );
 
-my $Test = Test::Builder->new;
-
 sub import {
   my($self) = shift;
   my $pack = caller;
+
+  my $Test = Test::Builder->new;
 
   $Test->exported_to($pack);
   $Test->plan(@_);
@@ -70,6 +70,8 @@
 
 sub minimum_version_ok {
   my ($file, $version) = @_;
+
+  my $Test = Test::Builder->new;
 
   $version = _objectify_version($version);
 
@@ -128,6 +130,8 @@
   $arg ||= {};
   $arg->{paths} ||= [ qw(lib t xt/smoke), glob ("*.pm"), glob ("*.PL") ];
 
+  my $Test = Test::Builder->new;
+
   $version = _objectify_version($version);
 
   my @perl_files;
@@ -160,6 +164,8 @@
 sub all_minimum_version_from_metayml_ok {
   my ($arg) = @_;
   $arg ||= {};
+
+  my $Test = Test::Builder->new;
 
   $Test->plan(skip_all => "META.yml could not be found")
     unless -f 'META.yml' and -r _;




More information about the Pkg-perl-cvs-commits mailing list