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

dom pushed a commit to branch master
in repository libnet-ldap-filterbuilder-perl.git.

commit 697928512be1fabbba40be8d267042d3de2af537
Author: Dominic Hargreaves <d...@earth.li>
Date:   Tue Nov 18 18:45:47 2008 +0000

    new upstream
---
 Changes                       |  6 ++++++
 MANIFEST                      |  3 +++
 META.yml                      |  5 ++++-
 Makefile.PL                   |  2 ++
 README                        |  2 +-
 debian/changelog              |  7 +++++++
 debian/control                |  2 +-
 debian/rules                  |  1 +
 examples/demo.pl              |  6 ++++++
 lib/Net/LDAP/FilterBuilder.pm | 10 +++++-----
 t/pod-coverage.t              |  8 ++++++++
 t/pod.t                       |  6 ++++++
 12 files changed, 50 insertions(+), 8 deletions(-)

diff --git a/Changes b/Changes
index 530db17..e0632df 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,9 @@
+libnet-ldap-filterbuilder (1.0002-1) UNRELEASED; urgency=low
+
+  * Add example and pod tests 
+
+ -- Oliver Gorwits <oliver.gorw...@oucs.ox.ac.uk>  Sat,  8 Nov 2008 17:32:57 
+0000
+
 libnet-ldap-filterbuilder (1.0001-1) UNRELEASED; urgency=low
 
   * Initial release on an unsuspecting world.
diff --git a/MANIFEST b/MANIFEST
index 61748d6..a64cbfe 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,5 @@
 Changes
+examples/demo.pl
 inc/Module/Install.pm
 inc/Module/Install/Base.pm
 inc/Module/Install/Can.pm
@@ -15,3 +16,5 @@ META.yml
 README
 t/00-load.t
 t/20-filter.t
+t/pod-coverage.t
+t/pod.t
diff --git a/META.yml b/META.yml
index 45b58c3..ae80d87 100644
--- a/META.yml
+++ b/META.yml
@@ -4,6 +4,8 @@ author:
   - 'Originally written by Ray Miller.'
 build_requires:
   Test::More: 0
+  Test::Pod: 0
+  Test::Pod::Coverage: 0
 distribution_type: module
 generated_by: 'Module::Install version 0.77'
 license: perl
@@ -15,8 +17,9 @@ no_index:
   directory:
     - inc
     - t
+    - examples
 requires:
   perl: 5.8.1
 resources:
   license: http://dev.perl.org/licenses/
-version: 1.0001
+version: 1.0002
diff --git a/Makefile.PL b/Makefile.PL
index fd86ffe..9f1e811 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,6 +5,8 @@ name           'Net-LDAP-FilterBuilder';
 all_from       'lib/Net/LDAP/FilterBuilder.pm';
 
 test_requires  'Test::More' => 0;
+test_requires  'Test::Pod' => 0;
+test_requires  'Test::Pod::Coverage' => 0;
 
 WriteAll;
 
diff --git a/README b/README
index c9d46cc..9709e5d 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
     Net::LDAP::FilterBuilder - Build LDAP filter statements
 
 VERSION
-    This document refers to version 1.0001 of Net::LDAP::FilterBuilder
+    This document refers to version 1.0002 of Net::LDAP::FilterBuilder
 
 PURPOSE
     Use this module to construct LDAP filter statments which are compliant
diff --git a/debian/changelog b/debian/changelog
index 5ef8192..5816b97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libnet-ldap-filterbuilder-perl (1.0002-1) unstable; urgency=low
+
+  * New upstream release
+    - includes example
+
+ -- Dominic Hargreaves <d...@earth.li>  Tue, 18 Nov 2008 18:44:49 +0000
+
 libnet-ldap-filterbuilder-perl (1.0001-1) unstable; urgency=low
 
   * Initial Release (closes: #500922).
diff --git a/debian/control b/debian/control
index 71d10e4..0c3f183 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libnet-ldap-filterbuilder-perl
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.6.10-12)
+Build-Depends-Indep: perl (>= 5.6.10-12), libtest-pod-coverage-perl, 
libtest-pod-perl
 Maintainer: Dominic Hargreaves <d...@earth.li>
 Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/Net-LDAP-FilterBuilder/
diff --git a/debian/rules b/debian/rules
index 849f988..89b4bac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,6 +51,7 @@ binary-indep: build install
        dh_testroot
        dh_installdocs README
        dh_installchangelogs Changes
+       dh_installexamples examples/*
        dh_perl
        dh_compress
        dh_fixperms
diff --git a/examples/demo.pl b/examples/demo.pl
new file mode 100644
index 0000000..b364534
--- /dev/null
+++ b/examples/demo.pl
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+
+use Net::LDAP::FilterBuilder;
+
+my $filter1 = Net::LDAP::FilterBuilder->new( sn => 'Jones' );
+# now $filter1 eq '(sn=Jones)'
diff --git a/lib/Net/LDAP/FilterBuilder.pm b/lib/Net/LDAP/FilterBuilder.pm
index 338c070..6c88720 100644
--- a/lib/Net/LDAP/FilterBuilder.pm
+++ b/lib/Net/LDAP/FilterBuilder.pm
@@ -1,7 +1,7 @@
 #
-# $HeadURL: 
https://svn.oucs.ox.ac.uk/people/oliver/pub/libnet-ldap-filterbuilder/trunk/lib/Net/LDAP/FilterBuilder.pm
 $
-# $LastChangedRevision: 234 $
-# $LastChangedDate: 2008-10-02 15:15:43 +0100 (Thu, 02 Oct 2008) $
+# $HeadURL: 
https://svn.oucs.ox.ac.uk/people/oliver/pub/cpan/libnet-ldap-filterbuilder/trunk/lib/Net/LDAP/FilterBuilder.pm
 $
+# $LastChangedRevision: 282 $
+# $LastChangedDate: 2008-11-08 17:34:38 +0000 (Sat, 08 Nov 2008) $
 # $LastChangedBy: oliver $
 #
 package Net::LDAP::FilterBuilder;
@@ -9,7 +9,7 @@ package Net::LDAP::FilterBuilder;
 use strict;
 use warnings FATAL => 'all';
 
-our $VERSION = '1.0001';
+our $VERSION = '1.0002';
 $VERSION = eval $VERSION; # numify for warning-free dev releases
 
 use overload '""' => \&as_str;
@@ -102,7 +102,7 @@ Net::LDAP::FilterBuilder - Build LDAP filter statements
 
 =head1 VERSION
 
-This document refers to version 1.0001 of Net::LDAP::FilterBuilder
+This document refers to version 1.0002 of Net::LDAP::FilterBuilder
 
 =head1 PURPOSE
 
diff --git a/t/pod-coverage.t b/t/pod-coverage.t
new file mode 100644
index 0000000..362dd78
--- /dev/null
+++ b/t/pod-coverage.t
@@ -0,0 +1,8 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" 
if $@;
+all_pod_coverage_ok(
+    {also_private => [ qr/./, ]}
+);
diff --git a/t/pod.t b/t/pod.t
new file mode 100644
index 0000000..976d7cd
--- /dev/null
+++ b/t/pod.t
@@ -0,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libnet-ldap-filterbuilder-perl.git.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to