r69993 - in /branches/upstream/libclass-method-modifiers-perl/current: Changes MANIFEST META.yml Makefile.PL lib/Class/Method/Modifiers.pm t/001-error.t t/101-bank-account.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Feb 27 22:04:48 UTC 2011


Author: jawnsy-guest
Date: Sun Feb 27 22:03:19 2011
New Revision: 69993

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=69993
Log:
[svn-upgrade] new version libclass-method-modifiers-perl (1.07)

Removed:
    branches/upstream/libclass-method-modifiers-perl/current/t/101-bank-account.t
Modified:
    branches/upstream/libclass-method-modifiers-perl/current/Changes
    branches/upstream/libclass-method-modifiers-perl/current/MANIFEST
    branches/upstream/libclass-method-modifiers-perl/current/META.yml
    branches/upstream/libclass-method-modifiers-perl/current/Makefile.PL
    branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm
    branches/upstream/libclass-method-modifiers-perl/current/t/001-error.t

Modified: branches/upstream/libclass-method-modifiers-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/Changes?rev=69993&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/Changes (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/Changes Sun Feb 27 22:03:19 2011
@@ -1,7 +1,10 @@
 Revision history for Class-Method-Modifiers
 
+1.07    Wed Feb 23 2011
+        Move from Test::Exception to Test::Fatal (Justin Hunter)
+
 1.06    Fri Nov 26 2010
-        Add support for: modifier ["name1", "name2"] => sub {}  
+        Add support for: modifier ["name1", "name2"] => sub {}
 
 1.05    Wed Oct 21 14:01:11 2009
         Add install_modifier as a public API (Goro Fuji)

Modified: branches/upstream/libclass-method-modifiers-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/MANIFEST?rev=69993&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/MANIFEST (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/MANIFEST Sun Feb 27 22:03:19 2011
@@ -36,4 +36,3 @@
 t/081-sub-and-modifier.t
 t/090-diamond.t
 t/100-class-mop-method-modifiers.t
-t/101-bank-account.t

Modified: branches/upstream/libclass-method-modifiers-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/META.yml?rev=69993&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/META.yml (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/META.yml Sun Feb 27 22:03:19 2011
@@ -4,7 +4,7 @@
   - 'Shawn M Moore, C<sartak at gmail.com>'
 build_requires:
   ExtUtils::MakeMaker: 6.42
-  Test::Exception: 0
+  Test::Fatal: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
@@ -22,4 +22,4 @@
   homepage: http://github.com/sartak/Class-Method-Modifiers/tree
   license: http://dev.perl.org/licenses/
   repository: git://github.com/sartak/Class-Method-Modifiers.git
-version: 1.06
+version: 1.07

Modified: branches/upstream/libclass-method-modifiers-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/Makefile.PL?rev=69993&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/Makefile.PL (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/Makefile.PL Sun Feb 27 22:03:19 2011
@@ -6,7 +6,7 @@
 all_from       'lib/Class/Method/Modifiers.pm';
 githubmeta;
 
-build_requires 'Test::Exception';
+build_requires 'Test::Fatal';
 
 WriteAll;
 

Modified: branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm?rev=69993&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm Sun Feb 27 22:03:19 2011
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.06';
+our $VERSION = '1.07';
 
 use base 'Exporter';
 our @EXPORT = qw(before after around);

Modified: branches/upstream/libclass-method-modifiers-perl/current/t/001-error.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/t/001-error.t?rev=69993&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/t/001-error.t (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/t/001-error.t Sun Feb 27 22:03:19 2011
@@ -2,33 +2,36 @@
 use strict;
 use warnings;
 use Test::More tests => 4;
-use Test::Exception;
+use Test::Fatal;
 
 do {
     package Class1;
     use Class::Method::Modifiers;
 
-    ::throws_ok {
-        before foo => sub {};
-    } qr/The method 'foo' is not found in the inheritance hierarchy for class Class1/;
+    ::like(
+      ::exception { before foo => sub {}; },
+      qr/The method 'foo' is not found in the inheritance hierarchy for class Class1/,
+    );
 };
 
 do {
     package Class2;
     use Class::Method::Modifiers;
 
-    ::throws_ok {
-        after foo => sub {};
-    } qr/The method 'foo' is not found in the inheritance hierarchy for class Class2/;
+    ::like(
+      ::exception { after foo => sub {}; },
+      qr/The method 'foo' is not found in the inheritance hierarchy for class Class2/,
+    );
 };
 
 do {
     package Class3;
     use Class::Method::Modifiers;
 
-    ::throws_ok {
-        around foo => sub {};
-    } qr/The method 'foo' is not found in the inheritance hierarchy for class Class3/;
+    ::like(
+      ::exception { around foo => sub {}; },
+      qr/The method 'foo' is not found in the inheritance hierarchy for class Class3/,
+    );
 };
 
 do {
@@ -37,8 +40,9 @@
 
     sub foo {}
 
-    ::throws_ok {
-        around 'foo', 'bar' => sub {};
-    } qr/The method 'bar' is not found in the inheritance hierarchy for class Class4/;
+    ::like(
+      ::exception { around 'foo', 'bar' => sub {}; },
+      qr/The method 'bar' is not found in the inheritance hierarchy for class Class4/,
+    );
 };
 




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