[Catalyst-commits] r9252 - in trunk/Catalyst-Plugin-Authentication: . lib/Catalyst/Plugin

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sun Feb 8 08:14:31 GMT 2009


Author: t0m
Date: 2009-02-08 08:14:31 +0000 (Sun, 08 Feb 2009)
New Revision: 9252

Modified:
   trunk/Catalyst-Plugin-Authentication/Changes
   trunk/Catalyst-Plugin-Authentication/Makefile.PL
   trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm
Log:
Checking in changes prior to tagging of version 0.10010.  Changelog diff is:

Index: Changes
===================================================================
--- Changes	(revision 9222)
+++ Changes	(working copy)
@@ -1,5 +1,10 @@
 Revision history for Perl extension Catalyst::Plugin::Authentication
 
+0.10010
+      - Change from NEXT to MRO::Compat
+      - Chop a number off the versions to get back to the correct 0.10000 
+        version scheme.
+
 0.100092_01
       - Add hook for failing user restore.
         - Add test for this.


Modified: trunk/Catalyst-Plugin-Authentication/Changes
===================================================================
--- trunk/Catalyst-Plugin-Authentication/Changes	2009-02-08 08:07:13 UTC (rev 9251)
+++ trunk/Catalyst-Plugin-Authentication/Changes	2009-02-08 08:14:31 UTC (rev 9252)
@@ -1,5 +1,10 @@
 Revision history for Perl extension Catalyst::Plugin::Authentication
 
+0.10010
+      - Change from NEXT to MRO::Compat
+      - Chop a number off the versions to get back to the correct 0.10000 
+        version scheme.
+
 0.100092_01
       - Add hook for failing user restore.
         - Add test for this.

Modified: trunk/Catalyst-Plugin-Authentication/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-Authentication/Makefile.PL	2009-02-08 08:07:13 UTC (rev 9251)
+++ trunk/Catalyst-Plugin-Authentication/Makefile.PL	2009-02-08 08:14:31 UTC (rev 9252)
@@ -11,6 +11,7 @@
 
 requires 'Catalyst::Runtime';
 requires 'Class::Inspector';
+requires 'MRO::Compat';
 requires 'Catalyst::Plugin::Session' => '0.10';
 
 test_requires 'Test::More';

Modified: trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm	2009-02-08 08:07:13 UTC (rev 9251)
+++ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm	2009-02-08 08:14:31 UTC (rev 9252)
@@ -7,11 +7,12 @@
 use strict;
 use warnings;
 
+use MRO::Compat;
 use Tie::RefHash;
 use Class::Inspector;
 use Catalyst::Authentication::Realm;
 
-our $VERSION = "0.100092_01";
+our $VERSION = "0.10010";
 
 sub set_authenticated {
     my ( $c, $user, $realmname ) = @_;
@@ -32,7 +33,7 @@
 
     $c->persist_user();    
     
-    $c->NEXT::set_authenticated($user, $realmname);
+    $c->maybe::next::method($user, $realmname);
 }
 
 sub user {
@@ -130,7 +131,7 @@
         $realm->remove_persisted_user($c);
     }
     
-    $c->NEXT::logout(@_);
+    $c->maybe::next::method(@_);
 }
 
 sub find_user {
@@ -199,7 +200,7 @@
     my $app = shift;
 
     $app->_authentication_initialize();
-    $app->NEXT::setup(@_);
+    $app->next::method(@_);
 }
 
 ## the actual initialization routine. whee.




More information about the Catalyst-commits mailing list