r64017 - in /branches/upstream/libtest-consistentversion-perl/current: Changes META.yml README 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:19:54 UTC 2010
Author: periapt-guest
Date: Tue Oct 19 21:18:07 2010
New Revision: 64017
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64017
Log:
[svn-upgrade] new version libtest-consistentversion-perl (0.2.3)
Modified:
branches/upstream/libtest-consistentversion-perl/current/Changes
branches/upstream/libtest-consistentversion-perl/current/META.yml
branches/upstream/libtest-consistentversion-perl/current/README
branches/upstream/libtest-consistentversion-perl/current/lib/Test/ConsistentVersion.pm
branches/upstream/libtest-consistentversion-perl/current/t/02.bad.t
Modified: branches/upstream/libtest-consistentversion-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-consistentversion-perl/current/Changes?rev=64017&op=diff
==============================================================================
--- branches/upstream/libtest-consistentversion-perl/current/Changes (original)
+++ branches/upstream/libtest-consistentversion-perl/current/Changes Tue Oct 19 21:18:07 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: branches/upstream/libtest-consistentversion-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-consistentversion-perl/current/META.yml?rev=64017&op=diff
==============================================================================
--- branches/upstream/libtest-consistentversion-perl/current/META.yml (original)
+++ branches/upstream/libtest-consistentversion-perl/current/META.yml Tue Oct 19 21:18:07 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: branches/upstream/libtest-consistentversion-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-consistentversion-perl/current/README?rev=64017&op=diff
==============================================================================
--- branches/upstream/libtest-consistentversion-perl/current/README (original)
+++ branches/upstream/libtest-consistentversion-perl/current/README Tue Oct 19 21:18:07 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: branches/upstream/libtest-consistentversion-perl/current/lib/Test/ConsistentVersion.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-consistentversion-perl/current/lib/Test/ConsistentVersion.pm?rev=64017&op=diff
==============================================================================
--- branches/upstream/libtest-consistentversion-perl/current/lib/Test/ConsistentVersion.pm (original)
+++ branches/upstream/libtest-consistentversion-perl/current/lib/Test/ConsistentVersion.pm Tue Oct 19 21:18:07 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: branches/upstream/libtest-consistentversion-perl/current/t/02.bad.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-consistentversion-perl/current/t/02.bad.t?rev=64017&op=diff
==============================================================================
--- branches/upstream/libtest-consistentversion-perl/current/t/02.bad.t (original)
+++ branches/upstream/libtest-consistentversion-perl/current/t/02.bad.t Tue Oct 19 21:18:07 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