Releng crap for Session::State::Cookie
Yuval Kogman [Mon, 14 Nov 2005 18:29:15 +0000 (18:29 +0000)]
MANIFEST.SKIP
lib/Catalyst/Plugin/Session/State/Cookie.pm
t/99_prereq.t [new file with mode: 0644]

index 20d203b..2fb8e56 100644 (file)
@@ -24,3 +24,6 @@
 \#$
 \b\.#
 ^..*\.sw[po]$
+
+# prereq tests may fail due to optionals
+99_prereq\.t$
index b0e18dd..ebe362b 100644 (file)
@@ -89,6 +89,20 @@ stored on the client, and the session data needs to be stored on the server.
 
 This plugin stores the session ID on the client using the cookie mechanism.
 
+=head1 METHODS
+
+=over 4
+
+=item make_session_cookie
+
+Returns a hash reference with the default values for new cookies.
+
+=item update_session_cookie $hash_ref
+
+Sets the cookie based on C<cookie_name> in the response object.
+
+=back
+
 =head1 EXTENDED METHODS
 
 =over 4
@@ -122,7 +136,7 @@ The name of the domain to store in the cookie (defaults to current host)
 
 =back
 
-=item CAVEATS
+=head1 CAVEATS
 
 Sessions have to be created before the first write to be saved. For example:
 
diff --git a/t/99_prereq.t b/t/99_prereq.t
new file mode 100644 (file)
index 0000000..bcfb392
--- /dev/null
@@ -0,0 +1,8 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::Prereq::Build;
+prereq_ok();
+