r35986 - in /trunk/libclass-c3-adopt-next-perl: Changes MANIFEST META.yml README debian/changelog debian/control lib/Class/C3/Adopt/NEXT.pm t/basic.t t/warning_package.t
eloy at users.alioth.debian.org
eloy at users.alioth.debian.org
Wed May 20 09:01:22 UTC 2009
Author: eloy
Date: Wed May 20 09:01:15 2009
New Revision: 35986
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35986
Log:
new upstream version
Removed:
trunk/libclass-c3-adopt-next-perl/README
Modified:
trunk/libclass-c3-adopt-next-perl/Changes
trunk/libclass-c3-adopt-next-perl/MANIFEST
trunk/libclass-c3-adopt-next-perl/META.yml
trunk/libclass-c3-adopt-next-perl/debian/changelog
trunk/libclass-c3-adopt-next-perl/debian/control
trunk/libclass-c3-adopt-next-perl/lib/Class/C3/Adopt/NEXT.pm
trunk/libclass-c3-adopt-next-perl/t/basic.t
trunk/libclass-c3-adopt-next-perl/t/warning_package.t
Modified: trunk/libclass-c3-adopt-next-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/Changes?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/Changes (original)
+++ trunk/libclass-c3-adopt-next-perl/Changes Wed May 20 09:01:15 2009
@@ -1,3 +1,6 @@
+0.11 Tue, 19 May 2009 18:34:17 +0100
+ * Change wording of warning to be more clear.
+
0.10 Tue, 12 May 2009 13:23:52 +0200
* Depend on Test::Exception 0.27 to avoid breaking tests on older versions
(Closes: RT#45986).
Modified: trunk/libclass-c3-adopt-next-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/MANIFEST?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/MANIFEST (original)
+++ trunk/libclass-c3-adopt-next-perl/MANIFEST Wed May 20 09:01:15 2009
@@ -12,7 +12,6 @@
Makefile.PL
MANIFEST This list of files
META.yml
-README
t/basic.t
t/disable.t
t/disable_regex.t
Modified: trunk/libclass-c3-adopt-next-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/META.yml?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/META.yml (original)
+++ trunk/libclass-c3-adopt-next-perl/META.yml Wed May 20 09:01:15 2009
@@ -25,4 +25,4 @@
NEXT: 0
resources:
license: http://dev.perl.org/licenses/
-version: 0.10
+version: 0.11
Modified: trunk/libclass-c3-adopt-next-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/debian/changelog?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/debian/changelog (original)
+++ trunk/libclass-c3-adopt-next-perl/debian/changelog Wed May 20 09:01:15 2009
@@ -1,3 +1,10 @@
+libclass-c3-adopt-next-perl (0.11-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * debian/control: Update build dependencies, libtest-exception-perl added
+
+ -- Krzysztof Krzyżaniak (eloy) <eloy at debian.org> Wed, 20 May 2009 10:57:47 +0200
+
libclass-c3-adopt-next-perl (0.10-1) unstable; urgency=low
* New upstream release
Modified: trunk/libclass-c3-adopt-next-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/debian/control?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/debian/control (original)
+++ trunk/libclass-c3-adopt-next-perl/debian/control Wed May 20 09:01:15 2009
@@ -2,7 +2,8 @@
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl (>= 5.6.0-12), libmro-compat-perl, liblist-moreutils-perl
+Build-Depends-Indep: perl (>= 5.6.0-12), libmro-compat-perl, liblist-moreutils-perl,
+ libtest-exception-perl (>= 0.27)
Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
Ansgar Burchardt <ansgar at 43-1.org>
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Modified: trunk/libclass-c3-adopt-next-perl/lib/Class/C3/Adopt/NEXT.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/lib/Class/C3/Adopt/NEXT.pm?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/lib/Class/C3/Adopt/NEXT.pm (original)
+++ trunk/libclass-c3-adopt-next-perl/lib/Class/C3/Adopt/NEXT.pm Wed May 20 09:01:15 2009
@@ -8,7 +8,7 @@
use List::MoreUtils qw/none/;
use warnings::register;
-our $VERSION = '0.10';
+our $VERSION = '0.11';
{
my %c3_mro_ok;
@@ -43,8 +43,8 @@
unless ($warned_for{$caller}) {
$warned_for{$caller} = 1;
if (!@no_warn_regexes || none { $caller =~ $_ } @no_warn_regexes) {
- warnings::warnif("${caller} is trying to use NEXT, which is deprecated. "
- . "Please see the Class::C3::Adopt::NEXT documentation for details");
+ warnings::warnif("${caller} uses NEXT, which is deprecated. Please see "
+ . "the Class::C3::Adopt::NEXT documentation for details. NEXT used ");
}
}
}
Modified: trunk/libclass-c3-adopt-next-perl/t/basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/t/basic.t?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/t/basic.t (original)
+++ trunk/libclass-c3-adopt-next-perl/t/basic.t Wed May 20 09:01:15 2009
@@ -19,7 +19,7 @@
is(scalar @warnings, 0, 'no warnings yet');
is($quux_obj->basic, 42, 'Basic inherited method returns correct value');
-like($warnings[0], qr/C3NT::Quux is trying to use NEXT/, 'warning for the first time NEXT is used');
+like($warnings[0], qr/C3NT::Quux uses NEXT/, 'warning for the first time NEXT is used');
is($quux_obj->basic, 42, 'Basic inherited method returns correct value');
is(scalar @warnings, 3, 'warn only once per class');
Modified: trunk/libclass-c3-adopt-next-perl/t/warning_package.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-adopt-next-perl/t/warning_package.t?rev=35986&op=diff
==============================================================================
--- trunk/libclass-c3-adopt-next-perl/t/warning_package.t (original)
+++ trunk/libclass-c3-adopt-next-perl/t/warning_package.t Wed May 20 09:01:15 2009
@@ -17,6 +17,6 @@
my $child = C3NT::Child->new;
@warnings = ();
$child->basic;
-like($warnings[0], qr/C3NT::Quux is trying to use NEXT/, 'warning for the class NEXT is used by');
-like($warnings[1], qr/C3NT::Bar is trying to use NEXT/, 'warning for the class NEXT is used by');
-like($warnings[2], qr/C3NT::Baz is trying to use NEXT/, 'warning for the class NEXT is used by');
+like($warnings[0], qr/C3NT::Quux uses NEXT/, 'warning for the class NEXT is used by');
+like($warnings[1], qr/C3NT::Bar uses NEXT/, 'warning for the class NEXT is used by');
+like($warnings[2], qr/C3NT::Baz uses NEXT/, 'warning for the class NEXT is used by');
More information about the Pkg-perl-cvs-commits
mailing list