r64019 - in /trunk/libtest-consistentversion-perl: Changes META.yml README debian/changelog debian/copyright lib/Test/ConsistentVersion.pm t/02.bad.t

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue Oct 19 21:23:22 UTC 2010


Author: periapt-guest
Date: Tue Oct 19 21:23:06 2010
New Revision: 64019

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64019
Log:
IGNORE-RELEASE: 0.2.3-1
* Refreshed copyright
* New upstream release

Modified:
    trunk/libtest-consistentversion-perl/Changes
    trunk/libtest-consistentversion-perl/META.yml
    trunk/libtest-consistentversion-perl/README
    trunk/libtest-consistentversion-perl/debian/changelog
    trunk/libtest-consistentversion-perl/debian/copyright
    trunk/libtest-consistentversion-perl/lib/Test/ConsistentVersion.pm
    trunk/libtest-consistentversion-perl/t/02.bad.t

Modified: trunk/libtest-consistentversion-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-consistentversion-perl/Changes?rev=64019&op=diff
==============================================================================
--- trunk/libtest-consistentversion-perl/Changes (original)
+++ trunk/libtest-consistentversion-perl/Changes Tue Oct 19 21:23:06 2010
@@ -1,4 +1,8 @@
 Revision history for Test-ConsistentVersion
+
+0.2.3  Tue Oct 19 2010
+       Fixed test that was broken by change to regex
+            in Perl v5.13.5
 
 0.2.2  Fri Sep 18 2009
        Fixed test that had a hardcoded assumption

Modified: trunk/libtest-consistentversion-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-consistentversion-perl/META.yml?rev=64019&op=diff
==============================================================================
--- trunk/libtest-consistentversion-perl/META.yml (original)
+++ trunk/libtest-consistentversion-perl/META.yml Tue Oct 19 21:23:06 2010
@@ -1,26 +1,26 @@
 ---
-name: Test-ConsistentVersion
-version: v0.2.2
+abstract: 'Ensures a CPAN distribution has consistent versioning.'
 author:
   - 'Glenn Fowler <cebjyre at cpan.org>'
-abstract: Ensures a CPAN distribution has consistent versioning.
+configure_requires:
+  Module::Build: 0.36
+generated_by: 'Module::Build version 0.3607'
 license: perl
-resources:
-  license: http://dev.perl.org/licenses/
-  repository: http://github.com/cebjyre/Test-ConsistentVersion
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Test-ConsistentVersion
+provides:
+  Test::ConsistentVersion:
+    file: lib/Test/ConsistentVersion.pm
+    version: v0.2.3
+recommends:
+  Test::Pod::Content: 0
 requires:
   Test::Builder: 0.94
   autodie: 0
   version: 0
-recommends:
-  Test::Pod::Content: 0
-configure_requires:
-  Module::Build: 0.35
-provides:
-  Test::ConsistentVersion:
-    file: lib/Test/ConsistentVersion.pm
-    version: v0.2.2
-generated_by: Module::Build version 0.35
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+resources:
+  license: http://dev.perl.org/licenses/
+  repository: http://github.com/cebjyre/Test-ConsistentVersion
+version: v0.2.3

Modified: trunk/libtest-consistentversion-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-consistentversion-perl/README?rev=64019&op=diff
==============================================================================
--- trunk/libtest-consistentversion-perl/README (original)
+++ trunk/libtest-consistentversion-perl/README Tue Oct 19 21:23:06 2010
@@ -1,8 +1,14 @@
-Test-ConsistentVersion version 0.2.2
+Test-ConsistentVersion version 0.2.3
 
 The purpose of this module is to make it easy for other distribution
 authors to have consistent version numbers within the modules (and
 changelog and readme) of the distribution.
+
+I recommend using Dist-Zilla with the PkgVersion, PodVersion (or
+PodWeaver) and NextRelease plugins as a more elegant and simple
+approach than this module (handling the numbering automatically,
+rather than informing you of what needs to be fixed); however I
+do still plan to fix bugs that may arise.
 
 
 INSTALLATION
@@ -26,7 +32,7 @@
 
 COPYRIGHT AND LICENCE
 
-Copyright (C) 2009, Glenn Fowler
+Copyright (C) 2010, Glenn Fowler
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.

Modified: trunk/libtest-consistentversion-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-consistentversion-perl/debian/changelog?rev=64019&op=diff
==============================================================================
--- trunk/libtest-consistentversion-perl/debian/changelog (original)
+++ trunk/libtest-consistentversion-perl/debian/changelog Tue Oct 19 21:23:06 2010
@@ -1,9 +1,13 @@
-libtest-consistentversion-perl (0.2.2-2) UNRELEASED; urgency=low
+libtest-consistentversion-perl (0.2.3-1) UNRELEASED; urgency=low
+
+  IGNORE-RELEASE: 0.2.3-1
 
   * Added myself to Uploaders
   * Upped standards version to 3.9.1
+  * Refreshed copyright
+  * New upstream release
 
- -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 19 Oct 2010 22:15:05 +0100
+ -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 19 Oct 2010 22:22:27 +0100
 
 libtest-consistentversion-perl (0.2.2-1) unstable; urgency=low
 

Modified: trunk/libtest-consistentversion-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-consistentversion-perl/debian/copyright?rev=64019&op=diff
==============================================================================
--- trunk/libtest-consistentversion-perl/debian/copyright (original)
+++ trunk/libtest-consistentversion-perl/debian/copyright Tue Oct 19 21:23:06 2010
@@ -1,4 +1,4 @@
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
 Maintainer: Glenn Fowler <cebjyre at cpan.org>
 Source: http://search.cpan.org/dist/Test-ConsistentVersion/
 Name: Test-ConsistentVersion
@@ -8,15 +8,17 @@
 License: Artistic or GPL-1+
 
 Files: debian/*
-Copyright: 2010, Jonathan Yu <jawnsy at cpan.org>
+Copyright:
+ 2010, Jonathan Yu <jawnsy at cpan.org>
+ 2010, Nicholas Bamber <nicholas at periapt.co.uk>
 License: Artistic or GPL-1+
 
 License: Artistic
  This program is free software; you can redistribute it and/or modify
  it under the terms of the Artistic License, which comes with Perl.
  .
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ On Debian systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'.
 
 License: GPL-1+
  This program is free software; you can redistribute it and/or modify
@@ -24,5 +26,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ On Debian systems, the complete text of version 1 of the
+ General Public License can be found in `/usr/share/common-licenses/GPL-1'.

Modified: trunk/libtest-consistentversion-perl/lib/Test/ConsistentVersion.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-consistentversion-perl/lib/Test/ConsistentVersion.pm?rev=64019&op=diff
==============================================================================
--- trunk/libtest-consistentversion-perl/lib/Test/ConsistentVersion.pm (original)
+++ trunk/libtest-consistentversion-perl/lib/Test/ConsistentVersion.pm Tue Oct 19 21:23:06 2010
@@ -6,7 +6,7 @@
 use Carp;
 use Test::Builder;
 
-use version; our $VERSION = qv('0.2.2');
+use version; our $VERSION = qv('0.2.3');
 
 my $TEST = Test::Builder->new;
 my %ARGS;
@@ -136,7 +136,7 @@
 
 =head1 VERSION
 
-This document describes Test::ConsistentVersion version 0.2.2
+This document describes Test::ConsistentVersion version 0.2.3
 
 
 =head1 SYNOPSIS

Modified: trunk/libtest-consistentversion-perl/t/02.bad.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-consistentversion-perl/t/02.bad.t?rev=64019&op=diff
==============================================================================
--- trunk/libtest-consistentversion-perl/t/02.bad.t (original)
+++ trunk/libtest-consistentversion-perl/t/02.bad.t Tue Oct 19 21:23:06 2010
@@ -10,6 +10,8 @@
                             #double it if we are checking for pod versions
 $expected_tests += 2; #changelog and readme
 use Test::ConsistentVersion;
+
+my $RE_DEFAULT_FLAGS = qr// eq '(?-xism:)' ? '-xism' : '^';
 
 my $test_count = 1;
 test_out(sprintf 'ok %d - Sample::Bad is the same as the distribution version', $test_count++);
@@ -34,7 +36,7 @@
     test_err(q{#   Failed test 'Sample::Bad POD version is the same as module version'});
     test_err(sprintf '/#\s+ at .+%s .+/', quotemeta 'Test/Pod/Content.pm');
     test_err(q{#                   '1.2.30'});
-    test_err(q{#     doesn't match '(?-xism:(^|\s)1\.2\.31(\s|$))'});
+    test_err(sprintf q{#     doesn't match '(?%s:(^|\s)1\.2\.31(\s|$))'}, $RE_DEFAULT_FLAGS);
 }
 
 # Changelog doesn't have the current version
@@ -48,7 +50,7 @@
 test_err(q{# });
 test_err(q{#     First version.});
 test_err(q{# '});
-test_err(q{#     doesn't match '(?-xism:\b1\.2\.31\b)'});
+test_err(sprintf q{#     doesn't match '(?%s:\b1\.2\.31\b)'}, $RE_DEFAULT_FLAGS);
 
 # No readme file:
 test_err(q{#   Failed test 'Unable to find README file'});




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