r29911 - in /branches/upstream/libtest-without-module-perl/current: Changes META.yml Makefile.PL lib/Test/Without/Module.pm

rmayorga at users.alioth.debian.org rmayorga at users.alioth.debian.org
Wed Jan 21 20:26:50 UTC 2009


Author: rmayorga
Date: Wed Jan 21 20:26:47 2009
New Revision: 29911

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

Modified:
    branches/upstream/libtest-without-module-perl/current/Changes
    branches/upstream/libtest-without-module-perl/current/META.yml
    branches/upstream/libtest-without-module-perl/current/Makefile.PL
    branches/upstream/libtest-without-module-perl/current/lib/Test/Without/Module.pm

Modified: branches/upstream/libtest-without-module-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-without-module-perl/current/Changes?rev=29911&op=diff
==============================================================================
--- branches/upstream/libtest-without-module-perl/current/Changes (original)
+++ branches/upstream/libtest-without-module-perl/current/Changes Wed Jan 21 20:26:47 2009
@@ -2,6 +2,13 @@
 
 Todo:
   - Add way to allow only core modules (suggested by SREZIC)
+
+0.17 xxxxxxxx
+  - Made license explicit in the metadata (for those versions
+    of EU:MM that support it)
+  ! Changed module comparison from using a regular expression
+    to string equality. That means that ugly actions at a distance
+    by matching substrings shouldn't happen.
 
 0.16 20081020
   - Add a test that exhibits the "redefined" warnings upon disallowing

Modified: branches/upstream/libtest-without-module-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-without-module-perl/current/META.yml?rev=29911&op=diff
==============================================================================
--- branches/upstream/libtest-without-module-perl/current/META.yml (original)
+++ branches/upstream/libtest-without-module-perl/current/META.yml Wed Jan 21 20:26:47 2009
@@ -1,8 +1,8 @@
 --- #YAML:1.0
 name:                Test-Without-Module
-version:             0.16
+version:             0.17
 abstract:            Test fallback behaviour in absence of modules
-license:             ~
+license:             perl
 author:              
     - Max Maischein <corion at cpan.org>
 generated_by:        ExtUtils::MakeMaker version 6.42

Modified: branches/upstream/libtest-without-module-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-without-module-perl/current/Makefile.PL?rev=29911&op=diff
==============================================================================
--- branches/upstream/libtest-without-module-perl/current/Makefile.PL (original)
+++ branches/upstream/libtest-without-module-perl/current/Makefile.PL Wed Jan 21 20:26:47 2009
@@ -11,5 +11,10 @@
     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
       (ABSTRACT_FROM => 'lib/Test/Without/Module.pm', # retrieve abstract from module
        AUTHOR     => 'Max Maischein <corion at cpan.org>') : ()),
+
+    # Make the version metadata explicit
+    ($ExtUtils::MakeMaker::VERSION >= 6.3002 ?
+      ('LICENSE' => 'perl', ) : ()),
+
 );
 

Modified: branches/upstream/libtest-without-module-perl/current/lib/Test/Without/Module.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-without-module-perl/current/lib/Test/Without/Module.pm?rev=29911&op=diff
==============================================================================
--- branches/upstream/libtest-without-module-perl/current/lib/Test/Without/Module.pm (original)
+++ branches/upstream/libtest-without-module-perl/current/lib/Test/Without/Module.pm Wed Jan 21 20:26:47 2009
@@ -3,7 +3,7 @@
 use Carp qw( croak );
 
 use vars qw( $VERSION );
-$VERSION = 0.16;
+$VERSION = '0.17';
 
 use vars qw( %forbidden );
 
@@ -79,7 +79,7 @@
   my ($module) = @_;
   for my $key (keys %INC) {
     my $fn = file2module($key);
-    if ($fn =~ /\Q$module\E$/) {
+    if ($fn eq $module) {
         delete $INC{$key};
     };
   };
@@ -130,7 +130,7 @@
 =head1 ONE LINER
 
 A neat trick for using this module from the command line
-was mentioned to me by NUFFIN:
+was mentioned to me by NUFFIN and by Jerrad Pierce:
 
   perl -MTest::Without::Module=Some::Module -w -Iblib/lib t/SomeModule.t
 
@@ -141,7 +141,9 @@
 
 =over 4
 
-=item * There is no lexicalic scoping
+=item *
+
+There is no lexical scoping
 
 =back
 
@@ -163,7 +165,7 @@
 
 =head1 AUTHOR
 
-Copyright (c) 2003-2007 Max Maischein, E<lt>corion at cpan.orgE<gt>
+Copyright (c) 2003-2009 Max Maischein, E<lt>corion at cpan.orgE<gt>
 
 =head1 LICENSE
 




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