[Catalyst-commits] r9726 - in Catalyst-Plugin-Session-Store-File/trunk: . lib/Catalyst/Plugin/Session/Store

marcus at dev.catalyst.perl.org marcus at dev.catalyst.perl.org
Sat Apr 18 12:37:17 GMT 2009


Author: marcus
Date: 2009-04-18 13:37:16 +0100 (Sat, 18 Apr 2009)
New Revision: 9726

Modified:
   Catalyst-Plugin-Session-Store-File/trunk/Changes
   Catalyst-Plugin-Session-Store-File/trunk/MANIFEST.SKIP
   Catalyst-Plugin-Session-Store-File/trunk/Makefile.PL
   Catalyst-Plugin-Session-Store-File/trunk/lib/Catalyst/Plugin/Session/Store/File.pm
Log:
Switch to MRO Compat


Modified: Catalyst-Plugin-Session-Store-File/trunk/Changes
===================================================================
--- Catalyst-Plugin-Session-Store-File/trunk/Changes	2009-04-18 11:58:06 UTC (rev 9725)
+++ Catalyst-Plugin-Session-Store-File/trunk/Changes	2009-04-18 12:37:16 UTC (rev 9726)
@@ -1,6 +1,7 @@
 Revision history for Perl extension Catalyst::Plugin::Session::Store::File.
 
-0.14  xxx
+0.14  18 Apr 2009
+    - switch to MRO Compat
     - defer creation of cache store until first time it is needed.
       This should allow the plugin to work "out of the box" under mod_perl.
       See https://rt.cpan.org/Ticket/Display.html?id=27505

Modified: Catalyst-Plugin-Session-Store-File/trunk/MANIFEST.SKIP
===================================================================
--- Catalyst-Plugin-Session-Store-File/trunk/MANIFEST.SKIP	2009-04-18 11:58:06 UTC (rev 9725)
+++ Catalyst-Plugin-Session-Store-File/trunk/MANIFEST.SKIP	2009-04-18 12:37:16 UTC (rev 9726)
@@ -27,3 +27,5 @@
 
 # No tarballs!
 \.gz$
+\B\.git\b
+\B\.gitignore\b

Modified: Catalyst-Plugin-Session-Store-File/trunk/Makefile.PL
===================================================================
--- Catalyst-Plugin-Session-Store-File/trunk/Makefile.PL	2009-04-18 11:58:06 UTC (rev 9725)
+++ Catalyst-Plugin-Session-Store-File/trunk/Makefile.PL	2009-04-18 12:37:16 UTC (rev 9726)
@@ -13,6 +13,7 @@
 requires 'Catalyst::Runtime'         => '5.7000';
 requires 'Cache::Cache'              => '1.02'; # for Cache::FileCache
 requires 'Catalyst::Plugin::Session';
+requires 'MRO::Compat' => '0.10';
 
 test_requires 'Test::More';
 

Modified: Catalyst-Plugin-Session-Store-File/trunk/lib/Catalyst/Plugin/Session/Store/File.pm
===================================================================
--- Catalyst-Plugin-Session-Store-File/trunk/lib/Catalyst/Plugin/Session/Store/File.pm	2009-04-18 11:58:06 UTC (rev 9725)
+++ Catalyst-Plugin-Session-Store-File/trunk/lib/Catalyst/Plugin/Session/Store/File.pm	2009-04-18 12:37:16 UTC (rev 9726)
@@ -5,12 +5,12 @@
 
 use base qw( Class::Data::Inheritable Catalyst::Plugin::Session::Store );
 
-use NEXT;
+use MRO::Compat;
 use Cache::FileCache ();
 use Catalyst::Utils ();
 use Path::Class ();
 
-our $VERSION = '0.14';
+our $VERSION = '0.15';
 
 __PACKAGE__->mk_classdata(qw/_session_file_storage/);
 
@@ -81,7 +81,7 @@
 sub setup_session {
     my $c = shift;
 
-    $c->NEXT::setup_session(@_);
+    $c->maybe::next::method(@_);
 }
 
 sub _check_session_file_storage {




More information about the Catalyst-commits mailing list