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

Damyan Ivanov dmn at moszumanska.debian.org
Wed May 14 12:13:45 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 69a4c5456cb2946377923c5f43a6f794397adbe1
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed May 14 12:13:38 2014 +0000

    replace bundled Catalyst-Plugin-Session-Store-Cache with a dependency on libcatalyst-plugin-session-store-cache-perl
---
 bundle/02/Catalyst-Plugin-Session-Store-Cache      |  1 -
 debian/control                                     |  1 +
 debian/copyright                                   |  5 --
 .../Catalyst-Plugin-Session-Store-Cache/Changes    |  6 --
 .../Catalyst-Plugin-Session-Store-Cache/MANIFEST   |  8 ---
 .../Catalyst-Plugin-Session-Store-Cache/META.yml   | 12 ----
 .../Makefile.PL                                    |  8 ---
 sources/Catalyst-Plugin-Session-Store-Cache/README | 37 ----------
 .../lib/Catalyst/Plugin/Session/Store/Cache.pm     | 78 ----------------------
 .../Catalyst-Plugin-Session-Store-Cache/t/01use.t  |  4 --
 .../Catalyst-Plugin-Session-Store-Cache/t/02pod.t  |  7 --
 .../t/03podcoverage.t                              |  7 --
 12 files changed, 1 insertion(+), 173 deletions(-)

diff --git a/bundle/02/Catalyst-Plugin-Session-Store-Cache b/bundle/02/Catalyst-Plugin-Session-Store-Cache
deleted file mode 120000
index 7f9f384..0000000
--- a/bundle/02/Catalyst-Plugin-Session-Store-Cache
+++ /dev/null
@@ -1 +0,0 @@
-../../sources/Catalyst-Plugin-Session-Store-Cache
\ No newline at end of file
diff --git a/debian/control b/debian/control
index 26d616b..922d859 100644
--- a/debian/control
+++ b/debian/control
@@ -110,6 +110,7 @@ Depends: ${misc:Depends},
          libcatalyst-plugin-configloader-perl,
          libcatalyst-plugin-session-perl,
          libcatalyst-plugin-session-state-cookie-perl,
+         libcatalyst-plugin-session-store-cache-perl,
          libcatalyst-plugin-stacktrace-perl,
          libcatalyst-plugin-stactic-simple-perl,
          libcatalyst-view-tt-perl,
diff --git a/debian/copyright b/debian/copyright
index cad2872..3cb12c2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -17,11 +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-Cache
-Copyright: 2007, Lars Balker Rasmussen <lbr at cpan.org>
-X-Upstream-Maintainers: Lars Balker Rasmussen <lars at balker.dk>
-License: Artistic or GPL-1+
-
 Files: sources/Catalyst-Plugin-Session-Store-DBI
 Copyright: 2005-2009, Andy Grundman <andy at hybridized.org>
 X-Upstream-Maintainers: Andy Grundman <andy at hybridized.org>
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/Changes b/sources/Catalyst-Plugin-Session-Store-Cache/Changes
deleted file mode 100644
index 4d1925a..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/Changes
+++ /dev/null
@@ -1,6 +0,0 @@
-Revision history for Perl extension Catalyst::Plugin::Session::Store::Cache.
-
-0.01  Sat Jul 21 14:45:57 2007
-	- original version; created by h2xs 1.23 with options
-		-AX -n Catalyst::Plugin::Session::Store::Cache
-
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/MANIFEST b/sources/Catalyst-Plugin-Session-Store-Cache/MANIFEST
deleted file mode 100644
index 4b4d1dc..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/MANIFEST
+++ /dev/null
@@ -1,8 +0,0 @@
-Changes
-Makefile.PL
-MANIFEST
-README
-t/01use.t
-t/02pod.t
-t/03podcoverage.t
-lib/Catalyst/Plugin/Session/Store/Cache.pm
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/META.yml b/sources/Catalyst-Plugin-Session-Store-Cache/META.yml
deleted file mode 100644
index 394e578..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/META.yml
+++ /dev/null
@@ -1,12 +0,0 @@
---- #YAML:1.0
-name:                Catalyst-Plugin-Session-Store-Cache
-version:             0.01
-abstract:            ~
-license:             ~
-generated_by:        ExtUtils::MakeMaker version 6.36
-distribution_type:   module
-requires:     
-    Catalyst::Plugin::Session:     0.06
-meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.2.html
-    version: 1.2
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/Makefile.PL b/sources/Catalyst-Plugin-Session-Store-Cache/Makefile.PL
deleted file mode 100644
index 357dd81..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/Makefile.PL
+++ /dev/null
@@ -1,8 +0,0 @@
-use ExtUtils::MakeMaker;
-WriteMakefile(
-    NAME              => 'Catalyst::Plugin::Session::Store::Cache',
-    VERSION_FROM      => 'lib/Catalyst/Plugin/Session/Store/Cache.pm',
-    PREREQ_PM         => {
-        'Catalyst::Plugin::Session' => '0.06',
-    },
-);
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/README b/sources/Catalyst-Plugin-Session-Store-Cache/README
deleted file mode 100644
index 79be0b5..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/README
+++ /dev/null
@@ -1,37 +0,0 @@
-Catalyst-Plugin-Session-Store-Cache version 0.01
-================================================
-
-The README is used to introduce the module and provide instructions on
-how to install the module, any machine dependencies it may have (for
-example C compilers and installed libraries) and any other information
-that should be provided before the module is installed.
-
-A README file is required for CPAN modules since CPAN extracts the
-README file from a module distribution so that people browsing the
-archive can use it get an idea of the modules uses. It is usually a
-good idea to provide version information here so that people can
-decide whether fixes for the module are worth downloading.
-
-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:
-
-      Catalyst::Plugin::Session
-      Some type of Catalyst::Plugin::Cache::...
-
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2007 by Lars Balker Rasmussen
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself, either Perl version 5.8.8 or,
-at your option, any later version of Perl 5 you may have available.
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/lib/Catalyst/Plugin/Session/Store/Cache.pm b/sources/Catalyst-Plugin-Session-Store-Cache/lib/Catalyst/Plugin/Session/Store/Cache.pm
deleted file mode 100644
index b9f9f93..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/lib/Catalyst/Plugin/Session/Store/Cache.pm
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/perl
-
-package Catalyst::Plugin::Session::Store::Cache;
-use base qw/Catalyst::Plugin::Session::Store/;
-
-use strict;
-use warnings;
-
-our $VERSION = "0.01";
-
-my $cache_key_prefix = "catalyst-plugin-session-store-cache:";
-
-sub get_session_data {
-    my ($c, $key) = @_;
-    $c->cache->get($cache_key_prefix . $key);
-}
-
-sub store_session_data {
-    my ($c, $key, $data) = @_;
-    my $expires = $c->config->{session}{expires};
-    $c->cache->set($cache_key_prefix . $key, $data, $expires);
-}
-
-sub delete_session_data {
-    my ( $c, $key ) = @_;
-    $c->cache->remove($cache_key_prefix . $key);
-}
-
-sub delete_expired_sessions { }
-
-1;
-
-__END__
-
-=pod
-
-=head1 NAME
-
-Catalyst::Plugin::Session::Store::Cache - Store sessions using a Catalyst::Plugin::Cache
-
-=head1 SYNOPSIS
-
-    use Catalyst qw/Cache::YourFavoriteCache Session Session::Store::Cache/;
-
-=head1 DESCRIPTION
-
-This plugin will store your session data in whatever cache module you
-have configured.
-
-=head1 METHODS
-
-See L<Catalyst::Plugin::Session::Store>.
-
-=over 4
-
-=item get_session_data
-
-=item store_session_data
-
-=item delete_session_data
-
-=item delete_expired_sessions
-
-=back
-
-=head1 AUTHOR
-
-Lars Balker Rasmussen, E<lt>lbr at cpan.orgE<gt>
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (C) 2007 by Lars Balker Rasmussen
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself, either Perl version 5.8.8 or,
-at your option, any later version of Perl 5 you may have available.
-
-=cut
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/t/01use.t b/sources/Catalyst-Plugin-Session-Store-Cache/t/01use.t
deleted file mode 100644
index 2a236fb..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/t/01use.t
+++ /dev/null
@@ -1,4 +0,0 @@
-use strict;
-use Test::More tests => 1;
-
-BEGIN { use_ok('Catalyst::Plugin::Session::Store::Cache') }
diff --git a/sources/Catalyst-Plugin-Session-Store-Cache/t/02pod.t b/sources/Catalyst-Plugin-Session-Store-Cache/t/02pod.t
deleted file mode 100644
index 1647794..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/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-Cache/t/03podcoverage.t b/sources/Catalyst-Plugin-Session-Store-Cache/t/03podcoverage.t
deleted file mode 100644
index d91be5e..0000000
--- a/sources/Catalyst-Plugin-Session-Store-Cache/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();

-- 
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