[libcgi-session-driver-chi-perl] 02/02: Improvements to documentation, added dependancies libchi-perl, libcgi-session-perl

Christopher Hoskin christopher.hoskin at gmail.com
Mon Jan 26 22:30:06 UTC 2015


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

grinorcole-guest pushed a commit to branch master
in repository libcgi-session-driver-chi-perl.

commit 45486c95f16e0f5657dc98d754f8b208ad239f62
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date:   Mon Jan 26 22:28:42 2015 +0000

    Improvements to documentation, added dependancies libchi-perl, libcgi-session-perl
---
 .gitignore                                     |  1 +
 debian/changelog                               |  2 +-
 debian/control                                 | 11 ++++++--
 debian/patches/NAMEsection                     | 32 +++++++++++++++++++++++
 debian/patches/grammar-fixes-to-documentation. | 35 ++++++++++++++++++++++++++
 debian/patches/series                          |  2 ++
 lib/CGI/Session/Driver/chi.pm                  |  7 +++---
 7 files changed, 83 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..845ca06
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.pc
diff --git a/debian/changelog b/debian/changelog
index 50c96e8..b1c1fc4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 libcgi-session-driver-chi-perl (1.0.3-1) UNRELEASED; urgency=low
 
-  * Initial Release. Closes #776324
+  * Initial Release. Closes: #776324
 
  -- Christopher Hoskin <christopher.hoskin at gmail.com>  Mon, 26 Jan 2015 20:16:05 +0000
diff --git a/debian/control b/debian/control
index 3aaff19..2282235 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,13 @@ Testsuite: autopkgtest-pkg-perl
 
 Package: libcgi-session-driver-chi-perl
 Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends}
+Depends: ${misc:Depends}, ${perl:Depends}, libchi-perl, libcgi-session-perl
 Description: This driver allows CGI::Session to use CHI as a session store
- This driver allows CGI::Session to use CHI as a session store
+ This driver allows CGI::Session to use CHI as a session store. e.g.
+ .
+ $s = CGI::Session->new( "driver:chi", $sid, { driver => 'File', root_dir
+    => '/path/to/root' });
+ .
+ $s = CGI::Session->new( "driver:chi", $sid, { chi_class => 'My::CHI',
+    namespace => 'cgi', });
+
diff --git a/debian/patches/NAMEsection b/debian/patches/NAMEsection
new file mode 100644
index 0000000..89a0646
--- /dev/null
+++ b/debian/patches/NAMEsection
@@ -0,0 +1,32 @@
+Description: Fix the NAME section
+ .
+ libcgi-session-driver-chi-perl (1.0.3-1) UNRELEASED; urgency=low
+ .
+   * Initial Release. Closes: #776324
+Author: Christopher Hoskin <christopher.hoskin at gmail.com>
+Bug-Debian: http://bugs.debian.org/776324
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- libcgi-session-driver-chi-perl-1.0.3.orig/lib/CGI/Session/Driver/chi.pm
++++ libcgi-session-driver-chi-perl-1.0.3/lib/CGI/Session/Driver/chi.pm
+@@ -1,7 +1,7 @@
+ package CGI::Session::Driver::chi;
+ =head1 NAME
+ 
+-CGI::Session::Driver::chi
++CGI::Session::Driver::chi - This driver allows CGI::Session to use CHI as a session store
+ 
+ =cut
+ 
diff --git a/debian/patches/grammar-fixes-to-documentation. b/debian/patches/grammar-fixes-to-documentation.
new file mode 100644
index 0000000..8c8e9ff
--- /dev/null
+++ b/debian/patches/grammar-fixes-to-documentation.
@@ -0,0 +1,35 @@
+Description: Grammar fixes to documentation
+ .
+ libcgi-session-driver-chi-perl (1.0.3-1) UNRELEASED; urgency=low
+ .
+   * Initial Release. Closes: #776324
+Author: Christopher Hoskin <christopher.hoskin at gmail.com>
+Bug-Debian: http://bugs.debian.org/776324
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- libcgi-session-driver-chi-perl-1.0.3.orig/lib/CGI/Session/Driver/chi.pm
++++ libcgi-session-driver-chi-perl-1.0.3/lib/CGI/Session/Driver/chi.pm
+@@ -31,9 +31,8 @@ This driver allows L<CGI::Session> to us
+ 
+ =head2 DRIVER ARGUMENTS
+ 
+-It accept a hash ref with the same arguements to would pass to L<CHI>
+-
+-An additional arguement chi_class
++The init sub accepts a hash ref with the same arguments as would be passed to
++L<CHI>, plus an additional argument, chi_class.
+ 
+ =cut
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..632c3b2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+grammar-fixes-to-documentation.
+NAMEsection
diff --git a/lib/CGI/Session/Driver/chi.pm b/lib/CGI/Session/Driver/chi.pm
index 2074470..0d11070 100644
--- a/lib/CGI/Session/Driver/chi.pm
+++ b/lib/CGI/Session/Driver/chi.pm
@@ -1,7 +1,7 @@
 package CGI::Session::Driver::chi;
 =head1 NAME
 
-CGI::Session::Driver::chi
+CGI::Session::Driver::chi - This driver allows CGI::Session to use CHI as a session store
 
 =cut
 
@@ -31,9 +31,8 @@ This driver allows L<CGI::Session> to use L<CHI> as a session store
 
 =head2 DRIVER ARGUMENTS
 
-It accept a hash ref with the same arguements to would pass to L<CHI>
-
-An additional arguement chi_class
+The init sub accepts a hash ref with the same arguments as would be passed to
+L<CHI>, plus an additional argument, chi_class.
 
 =cut
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-session-driver-chi-perl.git



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