[Catalyst-commits] r6484 - trunk/Catalyst-Plugin-Session

nothingmuch at dev.catalyst.perl.org nothingmuch at dev.catalyst.perl.org
Sun Jun 24 16:52:55 GMT 2007


Author: nothingmuch
Date: 2007-06-24 16:52:53 +0100 (Sun, 24 Jun 2007)
New Revision: 6484

Added:
   trunk/Catalyst-Plugin-Session/Makefile.PL
Removed:
   trunk/Catalyst-Plugin-Session/Build.PL
Modified:
   trunk/Catalyst-Plugin-Session/Changes
Log:
foo

Deleted: trunk/Catalyst-Plugin-Session/Build.PL
===================================================================
--- trunk/Catalyst-Plugin-Session/Build.PL	2007-06-23 14:19:49 UTC (rev 6483)
+++ trunk/Catalyst-Plugin-Session/Build.PL	2007-06-24 15:52:53 UTC (rev 6484)
@@ -1,53 +0,0 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
-    create_makefile_pl => 'traditional',
-    license            => 'perl',
-    module_name        => 'Catalyst::Plugin::Session',
-    requires           => {
-        'perl'              => '5.8.1',
-        'Catalyst'          => '5.49',
-        'Test::MockObject'  => '1.01',
-        'Digest'            => 0,
-        'Object::Signature' => 0,
-        'File::Temp'        => 0,
-        'File::Spec'        => 0,
-        'Test::Deep'        => 0,
-        'Test::More'        => 0,
-        'Test::Exception'   => 0,
-    },
-    reccomends => {
-
-        # for live_app.t
-        'Test::WWW::Mechanize::Catalyst'    => 0,
-        'Catalyst::Plugin::Session::Cookie' => '0.03',
-    },
-    create_readme => 1,
-    sign          => 1,
-);
-$build->create_build_script;
-
-
-my %state = (
-    Cookie => 0.03,
-    URI    => 0.02,
-);
-
-foreach my $module (keys %state) {
-    eval "require Catalyst::Plugin::Session::State::$module" and
-    eval { "Catalyst::Plugin::Session::State::$module"->VERSION($state{$module}) }
-        || warn <<WARN
-
-********** NOTE **********
-**************************
-
-Catalyst::Plugin::Session::State::$module must also be updated!
-
-The currently installed version is *not* compatible with this version of
-Catalyst::Plugin::Session!
-
-**************************
-**************************
-WARN
-}

Modified: trunk/Catalyst-Plugin-Session/Changes
===================================================================
--- trunk/Catalyst-Plugin-Session/Changes	2007-06-23 14:19:49 UTC (rev 6483)
+++ trunk/Catalyst-Plugin-Session/Changes	2007-06-24 15:52:53 UTC (rev 6484)
@@ -1,12 +1,10 @@
 Revision history for Perl extension Catalyst::Plugin::Session
 
-0.16    2007-05-27
-        - Changed finalize() to redispatch before saving session
-          so other finalize methods still have access to it.
-     
-0.15    2007-04-04 23:10:00
+0.15
         - Fix the bug that caused sessions to expire immediately when another
           session was deleted previously in the same request cycle
+        - Changed finalize() to redispatch before saving session
+          so other finalize methods still have access to it.
 
 0.14    2007-01-31 12:19:00
         - Disable verify_address.

Added: trunk/Catalyst-Plugin-Session/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-Session/Makefile.PL	                        (rev 0)
+++ trunk/Catalyst-Plugin-Session/Makefile.PL	2007-06-24 15:52:53 UTC (rev 6484)
@@ -0,0 +1,57 @@
+use ExtUtils::MakeMaker;
+
+my %state = (
+    Cookie => 0.03,
+    URI    => 0.02,
+);
+
+my @extra;
+
+foreach my $module (keys %state) {
+    unless ( eval "require Catalyst::Plugin::Session::State::$module" and
+    eval { "Catalyst::Plugin::Session::State::$module"->VERSION($state{$module}) } ) {
+        warn <<WARN;
+
+********** NOTE **********
+**************************
+
+Catalyst::Plugin::Session::State::$module must also be updated!
+
+The currently installed version is *not* compatible with this version of
+Catalyst::Plugin::Session!
+
+The updated versions hae been added to the prerequisites.
+
+**************************
+**************************
+WARN
+
+        push @extra, "Catalyst::Plugin::Session::State::$module" => $state{$module};
+    }
+}
+
+WriteMakefile
+(
+          'NAME' => 'Catalyst::Plugin::Session',
+          'VERSION_FROM' => 'lib/Catalyst/Plugin/Session.pm',
+          'PREREQ_PM' => {
+                           'Catalyst' => '5.49',
+                           'Digest' => '0',
+                           'File::Spec' => '0',
+                           'File::Temp' => '0',
+                           'Object::Signature' => '0',
+                           'Test::Deep' => '0',
+                           'Test::Exception' => '0',
+                           'Test::MockObject' => '1.01',
+                           'Test::More' => '0',
+                           'Tie::RefHash' => '1.34',
+                           @extra,
+                         },
+          'INSTALLDIRS' => 'site',
+          'EXE_FILES' => [],
+          'SIGN'      => 1,
+          'PL_FILES'  => {}
+        )
+;
+
+




More information about the Catalyst-commits mailing list