[Catalyst-commits] r10129 - in trunk/Catalyst-Plugin-Session: . lib/Catalyst/Plugin lib/Catalyst/Plugin/Session/Test

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Wed May 13 20:57:29 GMT 2009


Author: t0m
Date: 2009-05-13 20:57:29 +0000 (Wed, 13 May 2009)
New Revision: 10129

Modified:
   trunk/Catalyst-Plugin-Session/Changes
   trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm
   trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session/Test/Store.pm
Log:
Checking in changes prior to tagging of version 0.22.  Changelog diff is:

Index: Changes
===================================================================
--- Changes	(revision 10057)
+++ Changes	(working copy)
@@ -1,5 +1,17 @@
 Revision history for Perl extension Catalyst::Plugin::Session
 
+0.22 2009-05-13
+        - INSANE HACK to ensure B::Hooks::EndOfScope inlines us a new method right now
+          in Catalyst::Plugin::Session::Test::Store for Catalyst 5.80004 compatibility. 
+
+          This change does not in any way affect normal users - it is just due to the
+          fairly crazy way that Catalyst::Plugin::Session::Test::Store works, and that
+          module is _only_ used for unit testing session store plugins pre-installation.
+
+          Session::Test::Store should be replaced with a more sane solution, and other
+          CPAN modules using it moved away from using it, but this change keeps stops
+          new Catalyst breaking other distributions right now.
+
 0.21 2009-04-30
         - Hide the internal packages in Catalyst::Plugin::Session::Test::Store from PAUSE.
         - Convert from CAF to Moose with Moosex::Emulate::Class::Accessor::Fast


Modified: trunk/Catalyst-Plugin-Session/Changes
===================================================================
--- trunk/Catalyst-Plugin-Session/Changes	2009-05-13 20:26:01 UTC (rev 10128)
+++ trunk/Catalyst-Plugin-Session/Changes	2009-05-13 20:57:29 UTC (rev 10129)
@@ -1,5 +1,17 @@
 Revision history for Perl extension Catalyst::Plugin::Session
 
+0.22 2009-05-13
+        - INSANE HACK to ensure B::Hooks::EndOfScope inlines us a new method right now
+          in Catalyst::Plugin::Session::Test::Store for Catalyst 5.80004 compatibility. 
+
+          This change does not in any way affect normal users - it is just due to the
+          fairly crazy way that Catalyst::Plugin::Session::Test::Store works, and that
+          module is _only_ used for unit testing session store plugins pre-installation.
+
+          Session::Test::Store should be replaced with a more sane solution, and other
+          CPAN modules using it moved away from using it, but this change keeps stops
+          new Catalyst breaking other distributions right now.
+
 0.21 2009-04-30
         - Hide the internal packages in Catalyst::Plugin::Session::Test::Store from PAUSE.
         - Convert from CAF to Moose with Moosex::Emulate::Class::Accessor::Fast

Modified: trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session/Test/Store.pm
===================================================================
--- trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session/Test/Store.pm	2009-05-13 20:26:01 UTC (rev 10128)
+++ trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session/Test/Store.pm	2009-05-13 20:57:29 UTC (rev 10129)
@@ -92,7 +92,7 @@
 
         @{ __PACKAGE__->config->{session} }{ keys %$cfg } = values %$cfg;
 
-        __PACKAGE__->setup;
+        { __PACKAGE__->setup; }; # INSANE HACK 
     }
 
     {
@@ -130,7 +130,7 @@
 
         @{ __PACKAGE__->config->{session} }{ keys %$cfg } = values %$cfg;
 
-        __PACKAGE__->setup;
+        { __PACKAGE__->setup; }; # INSANE HACK
     }
 
     use Test::More;

Modified: trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm
===================================================================
--- trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm	2009-05-13 20:26:01 UTC (rev 10128)
+++ trunk/Catalyst-Plugin-Session/lib/Catalyst/Plugin/Session.pm	2009-05-13 20:57:29 UTC (rev 10129)
@@ -13,7 +13,7 @@
 
 use namespace::clean -except => 'meta';
 
-our $VERSION = '0.21';
+our $VERSION = '0.22';
 
 my @session_data_accessors; # used in delete_session
 




More information about the Catalyst-commits mailing list