--- /dev/null
+.DS_Store
+
--- /dev/null
+Revision history for Perl extension Plack::Session
+
+0.01
+ - original version
\ No newline at end of file
--- /dev/null
+^_build
+^Build$
+^blib
+~$
+\.bak$
+^MANIFEST\.SKIP$
+CVS
+\.svn
+\.git
+\.DS_Store
+cover_db
+\..*\.sw.?$
+^Makefile$
+^pm_to_blib$
+^MakeMaker-\d
+^blibdirs$
+\.old$
+^#.*#$
+^\.#
+^TODO$
\ No newline at end of file
--- /dev/null
+use strict;
+use warnings;
+use inc::Module::Install;
+
+name 'Plack-Session';
+all_from 'lib/Plack/Session.pm';
+license 'perl';
+
+# prereqs
+requires 'Plack' => '0.9021';
+requires 'Plack::Request' => '0.08';
+
+# for session ID gen
+requires 'Digest::SHA' => '0';
+
+# things the tests need
+build_requires 'Test::More' => '0.88';
+
+tests_recursive;
+auto_install;
+
+WriteAll();
+
--- /dev/null
+Plack::Session version 0.01
+===========================
+
+See the individual module documentation for more information
+
+INSTALLATION
+
+To install this module type the following:
+
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+DEPENDENCIES
+
+This module requires these other modules and libraries:
+
+ Plack
+ Plack::Request
+ Digest::SHA
+
+COPYRIGHT AND LICENCE
+
+Stevan Little <stevan.little@iinteractive.com>
+
+Copyright 2009 Infinity Interactive, Inc.
+
+http://www.iinteractive.com
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
use strict;
use warnings;
+use Digest::SHA1 ();
+
use Plack::Util::Accessor qw[
session_key
sid_generator
$params{'_expired'} ||= +{};
$params{'session_key'} ||= 'plack_session';
$params{'sid_generator'} ||= sub {
- require Digest::SHA1;
Digest::SHA1::sha1_hex(rand() . $$ . {} . time)
};