[libcatalyst-modules-perl] 01/01: replace bundled Catalyst-Plugin-Session-Store-FastMmap with a dependency on libcatalyst-plugin-session-store-fastmmap-perl

Damyan Ivanov dmn at moszumanska.debian.org
Wed May 14 12:54:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository libcatalyst-modules-perl.

commit e634f2c11dd28b1de7cf69288ed2485e91cfe4e2
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed May 14 12:54:48 2014 +0000

    replace bundled Catalyst-Plugin-Session-Store-FastMmap with a dependency on libcatalyst-plugin-session-store-fastmmap-perl
---
 bundle/02/Catalyst-Plugin-Session-Store-FastMmap   |   1 -
 debian/control                                     |   1 +
 debian/copyright                                   |  11 --
 .../Catalyst-Plugin-Session-Store-FastMmap/Changes |  59 ------
 .../MANIFEST                                       |  13 --
 .../META.json                                      |  49 -----
 .../META.yml                                       |  30 ---
 .../Makefile.PL                                    |  21 --
 .../Catalyst-Plugin-Session-Store-FastMmap/README  |  83 --------
 .../lib/Catalyst/Plugin/Session/Store/FastMmap.pm  | 219 ---------------------
 .../t/01use.t                                      |   6 -
 .../t/02pod.t                                      |   7 -
 .../t/03podcoverage.t                              |   7 -
 .../t/basic.t                                      |  11 --
 .../t/lib/SessionStoreTest.pm                      |  29 ---
 .../t/lib/SessionStoreTest/Controller/Root.pm      |  21 --
 16 files changed, 1 insertion(+), 567 deletions(-)

diff --git a/bundle/02/Catalyst-Plugin-Session-Store-FastMmap b/bundle/02/Catalyst-Plugin-Session-Store-FastMmap
deleted file mode 120000
index a8bfbed..0000000
--- a/bundle/02/Catalyst-Plugin-Session-Store-FastMmap
+++ /dev/null
@@ -1 +0,0 @@
-../../sources/Catalyst-Plugin-Session-Store-FastMmap
\ No newline at end of file
diff --git a/debian/control b/debian/control
index 265ac07..cd90349 100644
--- a/debian/control
+++ b/debian/control
@@ -113,6 +113,7 @@ Depends: ${misc:Depends},
          libcatalyst-plugin-session-store-cache-perl,
          libcatalyst-plugin-session-store-dbi-perl,
          libcatalyst-plugin-session-store-delegate-perl,
+         libcatalyst-plugin-session-store-fastmmap-perl,
          libcatalyst-plugin-stacktrace-perl,
          libcatalyst-plugin-stactic-simple-perl,
          libcatalyst-view-tt-perl,
diff --git a/debian/copyright b/debian/copyright
index 188e08b..9dba80d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -17,17 +17,6 @@ Copyright: 2005-2009, Christian Hansen <ch at ngmedia.com>
 X-Upstream-Maintainers: Tomas Doran <bobtfish at bobtfish.net>
 License: Artistic or GPL-1+
 
-Files: sources/Catalyst-Plugin-Session-Store-FastMmap
-Copyright: 2005-2009, Andrew Ford
- 2005-2009, Andy Grundman
- 2005-2009, Christian Hansen
- 2005-2009, Yuval Kogman, <nothingmuch at woobling.org>
- 2005-2009, Marcus Ramberg
- 2005-2009, Sebastian Riedel
- 2005-2009, Tomas Doran, (t0m) <bobtfish at bobtfish.net>
-X-Upstream-Maintainers: Stephen R. Scaffidi <sscaffidi at cpan.org>
-License: Artistic or GPL-1+
-
 Files: sources/Catalyst-Plugin-Session-Store-File
 Copyright: 2005, Sascha Kiefer <esskar at cpan.org>
 X-Upstream-Maintainers: Marcus Ramberg <mramberg at cpan.org>
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/Changes b/sources/Catalyst-Plugin-Session-Store-FastMmap/Changes
deleted file mode 100644
index d328b35..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/Changes
+++ /dev/null
@@ -1,59 +0,0 @@
-0.16   24 Jan 2012
-        - Remove superfluous call to ->setup in test app
-
-0.15   18 Jan 2012
-        - Moose-ified to fix https://rt.cpan.org/Ticket/Display.html?id=74132 (karpet)
-
-0.14   18 Nov 2010
-        - Added "page_size" config option per RT #62335 (karpet)
-
-0.13   18 Oct 2009
-        - Fixup copyright ino
-
-0.12   16 Oct 2009
-        - Port to new session config key
-
-0.11   16 June 2009
-        - Fixed warning during basic.t on Win32
-        - Added comment into doc about not being "thread-safe"
-
-0.10   13 May 2009
-        - Change tests to be compatible with Catalyst 5.80004
-        - Re-add /session-file prefix to the test session directory which was
-          present in 0.07. I can't see where this was removed, but the test
-          looks more correct with it. RT#45724
-
-0.09    04 May 2009
-        - remove Win32 hack since Cache::FastMmap 1.29 supports Win32.
-          see https://rt.cpan.org/Ticket/Display.html?id=45642
-
-0.08    01 May 2009
-        - Bump Cache::FastMmap requirement to 1.29 to fix RT#45210
-
-0.07    30 Mar 2009
-        - Port from NEXT to MRO::Compat.
-
-0.06    28 Jan 2009
-        - die when Cache::FastMmap::set() returns false value (RT #33667)
-        - patch from ton.voon at altinity.com to pass unlink_on_exit option
-          to Cache::FastMmap
-        - correctly set storage path from config rather than default - karman
-        - clean up temp files after tests
-
-0.05    16 Jan 2008
-        - removed all Module::Build cruft - karman
-
-0.04
-        - patch for Class::C3 compatability - karman
-
-0.03    02 Jul 2007
-        - Add support for Win32 by using Cache::FastMmap::WithWin32 on MS
-          platforms --Ash Berlin
-
-0.02    01 Jan 2006
-        - Workaround Storable/Cache::FastMmap limitation with non reference
-          data
-
-0.01    14 Nov 2005
-        - Initial release.
-
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/MANIFEST b/sources/Catalyst-Plugin-Session-Store-FastMmap/MANIFEST
deleted file mode 100644
index 8b2c487..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/MANIFEST
+++ /dev/null
@@ -1,13 +0,0 @@
-Changes
-lib/Catalyst/Plugin/Session/Store/FastMmap.pm
-Makefile.PL
-MANIFEST			This list of files
-META.yml
-README
-t/01use.t
-t/02pod.t
-t/03podcoverage.t
-t/basic.t
-t/lib/SessionStoreTest.pm
-t/lib/SessionStoreTest/Controller/Root.pm
-META.json                                Module JSON meta-data (added by MakeMaker)
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/META.json b/sources/Catalyst-Plugin-Session-Store-FastMmap/META.json
deleted file mode 100644
index 919c5fe..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/META.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
-   "abstract" : "unknown",
-   "author" : [
-      "unknown"
-   ],
-   "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621",
-   "license" : [
-      "unknown"
-   ],
-   "meta-spec" : {
-      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
-      "version" : "2"
-   },
-   "name" : "Catalyst-Plugin-Session-Store-FastMmap",
-   "no_index" : {
-      "directory" : [
-         "t",
-         "inc"
-      ]
-   },
-   "prereqs" : {
-      "build" : {
-         "requires" : {
-            "ExtUtils::MakeMaker" : 0
-         }
-      },
-      "configure" : {
-         "requires" : {
-            "ExtUtils::MakeMaker" : 0
-         }
-      },
-      "runtime" : {
-         "requires" : {
-            "Cache::FastMmap" : "1.29",
-            "Catalyst::ClassData" : 0,
-            "Catalyst::Plugin::Session" : "0.27",
-            "Catalyst::Runtime" : "5.8",
-            "File::Spec" : 0,
-            "File::Temp" : 0,
-            "MRO::Compat" : 0,
-            "MooseX::Emulate::Class::Accessor::Fast" : 0,
-            "Path::Class" : 0
-         }
-      }
-   },
-   "release_status" : "stable",
-   "version" : "0.16"
-}
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/META.yml b/sources/Catalyst-Plugin-Session-Store-FastMmap/META.yml
deleted file mode 100644
index cb6c2f4..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/META.yml
+++ /dev/null
@@ -1,30 +0,0 @@
----
-abstract: unknown
-author:
-  - unknown
-build_requires:
-  ExtUtils::MakeMaker: 0
-configure_requires:
-  ExtUtils::MakeMaker: 0
-dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621'
-license: unknown
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
-name: Catalyst-Plugin-Session-Store-FastMmap
-no_index:
-  directory:
-    - t
-    - inc
-requires:
-  Cache::FastMmap: 1.29
-  Catalyst::ClassData: 0
-  Catalyst::Plugin::Session: 0.27
-  Catalyst::Runtime: 5.8
-  File::Spec: 0
-  File::Temp: 0
-  MRO::Compat: 0
-  MooseX::Emulate::Class::Accessor::Fast: 0
-  Path::Class: 0
-version: 0.16
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/Makefile.PL b/sources/Catalyst-Plugin-Session-Store-FastMmap/Makefile.PL
deleted file mode 100644
index 0103c89..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/Makefile.PL
+++ /dev/null
@@ -1,21 +0,0 @@
-use ExtUtils::MakeMaker;
-WriteMakefile
-(
-          'NAME' => 'Catalyst::Plugin::Session::Store::FastMmap',
-          'VERSION_FROM' => 'lib/Catalyst/Plugin/Session/Store/FastMmap.pm',
-          'PREREQ_PM' => {
-                           'Cache::FastMmap' => '1.29',
-                           'Catalyst::Plugin::Session' => '0.27',
-                           'File::Spec' => '0',
-                           'File::Temp' => '0',
-                           'Path::Class' => '0',
-                           'MRO::Compat' => '0',
-                           'Catalyst::Runtime' => '5.8',
-                           'Catalyst::ClassData' => 0,
-                           'MooseX::Emulate::Class::Accessor::Fast' => 0,
-                         },
-          'INSTALLDIRS' => 'site',
-          'EXE_FILES' => [],
-          'PL_FILES' => {}
-        )
-;
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/README b/sources/Catalyst-Plugin-Session-Store-FastMmap/README
deleted file mode 100644
index e5cf7d6..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/README
+++ /dev/null
@@ -1,83 +0,0 @@
-NAME
-    Catalyst::Plugin::Session::Store::FastMmap - FastMmap session storage
-    backend.
-
-SYNOPSIS
-        use Catalyst qw/Session Session::Store::FastMmap Session::State::Foo/;
-    
-        MyApp->config->{session} = {
-            expires => 3600,
-            storage => '/tmp/session'
-        };
-
-        # ... in an action:
-        $c->session->{foo} = 'bar'; # will be saved
-
-DESCRIPTION
-    "Catalyst::Plugin::Session::Store::FastMmap" is a fast session storage
-    plugin for Catalyst that uses an mmap'ed file to act as a shared memory
-    interprocess cache. It is based on Cache::FastMmap.
-
-  METHODS
-    get_session_data
-    store_session_data
-    delete_session_data
-    delete_expired_sessions
-        These are implementations of the required methods for a store. See
-        Catalyst::Plugin::Session::Store.
-
-    get_and_set_session_data
-        This is the optional method for atomic write semantics. See
-        Catalyst::Plugin::Session::AtomicWrite.
-
-    setup_session
-        Sets up the session cache file.
-
-CAVEATS
-    Very loaded sites with lots of data in the session hash may have old
-    sessions expired prematurely, due to the LRU caching policy employed by
-    Cache::FastMmap. To get around this you can increase the "cache_size"
-    parameter, or switch session storage backends.
-
-    This is particularly inappropriate for use as a backend for e.g.
-    Catalyst::Plugin::Session::PerUser, for example.
-
-    Cache::FastMmap defaults to around 5mb (89 * 64k).
-
-CONFIGURATION
-    These parameters are placed in the hash under the "session" key in the
-    configuration hash.
-
-    storage
-        Specifies the file to be used for the sharing of session data. The
-        default value will use File::Spec to find the default tempdir, and
-        use a file named "MyApp_session_data", where "MyApp" is replaced
-        with the appname.
-
-        Note that the file will be created with mode 0640, which means that
-        it will only be writeable by processes running with the same uid as
-        the process that creates the file. If this may be a problem, for
-        example if you may try to debug the program as one user and run it
-        as another, specify a filename like "/tmp/session-$>", which
-        includes the UID of the process in the filename.
-
-    init_file
-    cache_size
-        See the Cache::FastMmap documentation for the meaning of these keys.
-        If these keys are not present Cache::FastMmap's defaults will be
-        used.
-
-SEE ALSO
-    Catalyst, Catalyst::Plugin::Session, Cache::FastMmap.
-
-AUTHORS
-    This module is derived from Catalyst::Plugin::Session::FastMmap code,
-    and has been heavily modified since.
-
-    Andrew Ford Andy Grundman Christian Hansen Yuval Kogman,
-    "nothingmuch at woobling.org" Marcus Ramberg Sebastian Riedel
-
-COPYRIGHT
-    This program is free software, you can redistribute it and/or modify it
-    under the same terms as Perl itself.
-
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/lib/Catalyst/Plugin/Session/Store/FastMmap.pm b/sources/Catalyst-Plugin-Session-Store-FastMmap/lib/Catalyst/Plugin/Session/Store/FastMmap.pm
deleted file mode 100644
index 51c31c9..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/lib/Catalyst/Plugin/Session/Store/FastMmap.pm
+++ /dev/null
@@ -1,219 +0,0 @@
-package Catalyst::Plugin::Session::Store::FastMmap;
-
-use strict;
-use Moose;
-use MRO::Compat;
-use namespace::clean -except => 'meta';
-
-with 'Catalyst::ClassData';
-with 'MooseX::Emulate::Class::Accessor::Fast';
-extends 'Catalyst::Plugin::Session::Store';
-
-use Cache::FastMmap;
-use Path::Class     ();
-use File::Spec      ();
-use Catalyst::Utils ();
-
-our $VERSION = '0.16';
-
-__PACKAGE__->mk_classdata(qw/_session_fastmmap_storage/);
-
-=head1 NAME
-
-Catalyst::Plugin::Session::Store::FastMmap - FastMmap session storage backend.
-
-=head1 SYNOPSIS
-
-    use Catalyst qw/Session Session::Store::FastMmap Session::State::Foo/;
-
-    MyApp->config(
-        'Plugin::Session' => {
-            expires => 3600,
-            storage => '/tmp/session'
-        },
-    );
-
-    # ... in an action:
-    $c->session->{foo} = 'bar'; # will be saved
-
-=head1 DESCRIPTION
-
-C<Catalyst::Plugin::Session::Store::FastMmap> is a fast session storage plugin
-for Catalyst that uses an mmap'ed file to act as a shared memory interprocess
-cache. It is based on L<Cache::FastMmap>.
-
-=head2 METHODS
-
-=over 4
-
-=item get_session_data
-
-=item store_session_data
-
-=item delete_session_data
-
-=item delete_expired_sessions
-
-These are implementations of the required methods for a store. See
-L<Catalyst::Plugin::Session::Store>.
-
-=item get_and_set_session_data
-
-This is the optional method for atomic write semantics. See
-L<Catalyst::Plugin::Session::AtomicWrite>.
-
-=cut
-
-sub get_session_data {
-    my ( $c, $sid ) = @_;
-    $c->_session_fastmmap_storage->get($sid);
-}
-
-sub store_session_data {
-    my ( $c, $sid, $data ) = @_;
-    $c->_session_fastmmap_storage->set( $sid, $data )
-        or Catalyst::Exception->throw("store_session: data too large");
-}
-
-sub delete_session_data {
-    my ( $c, $sid ) = @_;
-    $c->_session_fastmmap_storage->remove($sid);
-}
-
-sub delete_expired_sessions { } # unsupported
-
-sub get_and_set_session_data {
-    my ( $c, $sid, $sub ) = @_;
-    $c->_session_fastmmap_storage->get_and_set( $sid, sub {
-        my ( $key, $data ) = @_;
-        my $new = $sub->( $key, $data );
-        return $new;
-    });
-}
-
-=item setup_session
-
-Sets up the session cache file.
-
-=cut
-
-sub setup_session {
-    my $c = shift;
-
-    $c->maybe::next::method(@_);
-
-    my $tmpdir = Catalyst::Utils::class2tempdir($c)
-      || Catalyst::Exception->throw("Can't determine tempdir for $c");
-
-    my $file = $c->_session_plugin_config->{storage} ||=
-      File::Spec->catfile(    # Cache::FastMmap doesn't like Path::Class objects
-        $tmpdir,
-        "session_data",
-      );
-
-    my $dir = Path::Class::file($file)->parent;
-
-    unless (-d $dir) {
-        $dir->mkpath($c->debug);
-    }
-
-    if ($c->debug) {
-        $c->log->debug("Session Store file: $file");
-    }
-
-    my $cfg = $c->_session_plugin_config;
-
-    $c->_session_fastmmap_storage(
-        Cache::FastMmap->new(
-            raw_values  => 0,
-            share_file  => ($file . ''),  # force serialize in case it is a Path::Class object
-            (
-                map { $_ => $cfg->{$_} }
-                  grep { exists $cfg->{$_} } qw/init_file cache_size page_size unlink_on_exit/
-            ),
-        )
-    );
-}
-
-=back
-
-=head1 CAVEATS
-
-Very loaded sites with lots of data in the session hash may have old sessions
-expired prematurely, due to the LRU caching policy employed by
-L<Cache::FastMmap>. To get around this you can increase the C<cache_size>
-parameter, or switch session storage backends.
-L<Cache::FastMmap> defaults to around 5mb (89 * 64k).
-
-This is particularly inappropriate for use as a backend for e.g.
-L<Catalyst::Plugin::Session::PerUser>, for example.
-
-As L<Cache::FastMmap> is not "thread-safe" (at least version 1.30 and before)
-therefore also this module does not work in multi-threaded environment.
-It is "fork-safe", however keep in mind that on Win32 the perl "fork" call is
-implemented as an emulation via threads - that is the reason why you cannot use
-this store for example when running you catalyst application on Win32 platform
-with L<Catalyst::Engine::HTTP::Prefork> engine.
-
-=head1 CONFIGURATION
-
-These parameters are placed in the hash under the C<Plugin::Session> key in the
-configuration hash.
-
-=over 4
-
-=item storage
-
-Specifies the file to be used for the sharing of session data. The default
-value will use L<File::Spec> to find the default tempdir, and use a file named
-C<MyApp_session_data>, where C<MyApp> is replaced with the appname.
-
-Note that the file will be created with mode 0640, which means that it
-will only be writeable by processes running with the same uid as the
-process that creates the file.  If this may be a problem, for example
-if you may try to debug the program as one user and run it as another,
-specify a filename like C<< /tmp/session-$> >>, which includes the
-UID of the process in the filename.
-
-=item init_file
-
-=item cache_size
-
-=item unlink_on_exit
-
-See the L<Cache::FastMmap> documentation for the meaning of these keys. If
-these keys are not present L<Cache::FastMmap>'s defaults will be used.
-
-=back
-
-=head1 SEE ALSO
-
-L<Catalyst>, L<Catalyst::Plugin::Session>, L<Cache::FastMmap>.
-
-=head1 AUTHORS
-
-This module is derived from L<Catalyst::Plugin::Session::FastMmap> code, and
-has been heavily modified since.
-
-  Andrew Ford
-  Andy Grundman
-  Christian Hansen
-  Yuval Kogman, <nothingmuch at woobling.org>
-  Marcus Ramberg
-  Sebastian Riedel
-  Tomas Doran, (t0m) <bobtfish at bobtfish.net>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2005 - 2012
-the Catalyst::Plugin::Session::Store::FastMmap L</AUTHORS>
-as listed above.
-
-=head1 LICENSE
-
-This program is free software, you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
-=cut
-
-1;
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/01use.t b/sources/Catalyst-Plugin-Session-Store-FastMmap/t/01use.t
deleted file mode 100644
index 1d1c66f..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/01use.t
+++ /dev/null
@@ -1,6 +0,0 @@
-use strict;
-use Test::More tests => 1;
-
-BEGIN { use_ok('Catalyst::Plugin::Session::Store::FastMmap') }
-
-diag("testing Catalyst::Plugin::Session::Store::FastMmap version $Catalyst::Plugin::Session::Store::FastMmap::VERSION");
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/02pod.t b/sources/Catalyst-Plugin-Session-Store-FastMmap/t/02pod.t
deleted file mode 100644
index 1647794..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/02pod.t
+++ /dev/null
@@ -1,7 +0,0 @@
-use Test::More;
-
-eval "use Test::Pod 1.14";
-plan skip_all => 'Test::Pod 1.14 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
-
-all_pod_files_ok();
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/03podcoverage.t b/sources/Catalyst-Plugin-Session-Store-FastMmap/t/03podcoverage.t
deleted file mode 100644
index d91be5e..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/03podcoverage.t
+++ /dev/null
@@ -1,7 +0,0 @@
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
-
-all_pod_coverage_ok();
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/basic.t b/sources/Catalyst-Plugin-Session-Store-FastMmap/t/basic.t
deleted file mode 100644
index 112603d..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/basic.t
+++ /dev/null
@@ -1,11 +0,0 @@
-use strict;
-use warnings;
-
-use FindBin qw/$Bin/;
-use lib "$Bin/lib";
-
-use Catalyst::Test "SessionStoreTest";
-use Test::More;
-
-my $x = get("/store_scalar");
-is(get('/get_scalar'), 456, 'Can store scalar value okay');
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/lib/SessionStoreTest.pm b/sources/Catalyst-Plugin-Session-Store-FastMmap/t/lib/SessionStoreTest.pm
deleted file mode 100644
index 6209852..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/lib/SessionStoreTest.pm
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-use File::Temp;
-use File::Spec;
-
-use Catalyst::Plugin::Session::Test::Store (
-    backend => "FastMmap",
-    config  => { storage => scalar( File::Temp::tmpnam() ) },
-
-    # we do not care in this package about deleting temporary file as it is
-    # removed automatically by Cache::FastMmap
-    extra_tests => 1
-);
-
-{
-
-    package SessionStoreTest;
-    use Catalyst;
-
-    # we don't call ->setup because C::P::Session::Test::Store above
-    # calls it for us. -- apeiron, 2012-01-25 
-
-}
-
-1;
-
diff --git a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/lib/SessionStoreTest/Controller/Root.pm b/sources/Catalyst-Plugin-Session-Store-FastMmap/t/lib/SessionStoreTest/Controller/Root.pm
deleted file mode 100644
index 0cf3ba8..0000000
--- a/sources/Catalyst-Plugin-Session-Store-FastMmap/t/lib/SessionStoreTest/Controller/Root.pm
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/perl
-
-package SessionStoreTest::Controller::Root;
-use strict;
-use warnings;
-use base 'Catalyst::Controller';
-
-sub store_scalar : Global {
-    my ( $self, $c ) = @_;
-
-    $c->res->body( $c->session->{'scalar'} = 456 );
-}
-
-sub get_scalar : Global {
-    my ( $self, $c ) = @_;
-
-    $c->res->body( $c->session->{'scalar'} );
-}
-
-1;
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatalyst-modules-perl.git



More information about the Pkg-perl-cvs-commits mailing list