r71720 - in /branches/upstream/liblog-dispatch-perl/current: ./ lib/Log/ lib/Log/Dispatch/ lib/Log/Dispatch/Email/ lib/Log/Dispatch/File/ t/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Mar 20 00:36:47 UTC 2011
Author: jawnsy-guest
Date: Sun Mar 20 00:36:03 2011
New Revision: 71720
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71720
Log:
[svn-upgrade] new version liblog-dispatch-perl (2.29)
Added:
branches/upstream/liblog-dispatch-perl/current/t/release-pod-syntax.t
Removed:
branches/upstream/liblog-dispatch-perl/current/t/release-kwalitee.t
branches/upstream/liblog-dispatch-perl/current/t/release-pod.t
Modified:
branches/upstream/liblog-dispatch-perl/current/Changes
branches/upstream/liblog-dispatch-perl/current/LICENSE
branches/upstream/liblog-dispatch-perl/current/MANIFEST
branches/upstream/liblog-dispatch-perl/current/META.json
branches/upstream/liblog-dispatch-perl/current/META.yml
branches/upstream/liblog-dispatch-perl/current/Makefile.PL
branches/upstream/liblog-dispatch-perl/current/README
branches/upstream/liblog-dispatch-perl/current/SIGNATURE
branches/upstream/liblog-dispatch-perl/current/dist.ini
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/ApacheLog.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Base.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MIMELite.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSend.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSender.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSendmail.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File/Locked.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Handle.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Null.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Output.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Screen.pm
branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Syslog.pm
branches/upstream/liblog-dispatch-perl/current/t/00-compile.t
branches/upstream/liblog-dispatch-perl/current/t/01-basic.t
branches/upstream/liblog-dispatch-perl/current/t/02-email-exit.t
branches/upstream/liblog-dispatch-perl/current/t/03-short-syntax.t
branches/upstream/liblog-dispatch-perl/current/t/release-pod-coverage.t
branches/upstream/liblog-dispatch-perl/current/t/release-pod-spell.t
Modified: branches/upstream/liblog-dispatch-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/Changes?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/Changes (original)
+++ branches/upstream/liblog-dispatch-perl/current/Changes Sun Mar 20 00:36:03 2011
@@ -1,3 +1,8 @@
+2.29
+
+- Add is_$level methods for compatibility with Log::Contextual. Patch by frew.
+
+
2.28 2010-12-13
- The Log::Dispatch module still had version 2.26 in the last
Modified: branches/upstream/liblog-dispatch-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/LICENSE?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/LICENSE (original)
+++ branches/upstream/liblog-dispatch-perl/current/LICENSE Sun Mar 20 00:36:03 2011
@@ -1,8 +1,8 @@
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
The Artistic License 2.0
Modified: branches/upstream/liblog-dispatch-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/MANIFEST?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/MANIFEST (original)
+++ branches/upstream/liblog-dispatch-perl/current/MANIFEST Sun Mar 20 00:36:03 2011
@@ -30,9 +30,8 @@
t/email-exit-helper.pl
t/lib/Log/Dispatch/TestUtil.pm
t/release-eol.t
-t/release-kwalitee.t
t/release-no-tabs.t
t/release-pod-coverage.t
t/release-pod-spell.t
-t/release-pod.t
+t/release-pod-syntax.t
t/sendmail
Modified: branches/upstream/liblog-dispatch-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/META.json?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/META.json (original)
+++ branches/upstream/liblog-dispatch-perl/current/META.json Sun Mar 20 00:36:03 2011
@@ -4,7 +4,7 @@
"Dave Rolsky <autarch at urth.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.102345, CPAN::Meta::Converter version 2.101670",
+ "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110240",
"license" : [
"artistic_2"
],
@@ -17,7 +17,7 @@
"build" : {
"requires" : {
"File::Temp" : 0,
- "Test::More" : 0
+ "Test::More" : "0.88"
}
},
"configure" : {
@@ -44,6 +44,6 @@
"web" : "http://hg.urth.org/hg/Log-Dispatch"
}
},
- "version" : "2.28"
+ "version" : "2.29"
}
Modified: branches/upstream/liblog-dispatch-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/META.yml?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/META.yml (original)
+++ branches/upstream/liblog-dispatch-perl/current/META.yml Sun Mar 20 00:36:03 2011
@@ -4,11 +4,11 @@
- 'Dave Rolsky <autarch at urth.org>'
build_requires:
File::Temp: 0
- Test::More: 0
+ Test::More: 0.88
configure_requires:
ExtUtils::MakeMaker: 6.31
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.102345, CPAN::Meta::Converter version 2.101670'
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110240'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -20,4 +20,4 @@
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Log-Dispatch
repository: http://hg.urth.org/hg/Log-Dispatch
-version: 2.28
+version: 2.29
Modified: branches/upstream/liblog-dispatch-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/Makefile.PL?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/Makefile.PL (original)
+++ branches/upstream/liblog-dispatch-perl/current/Makefile.PL Sun Mar 20 00:36:03 2011
@@ -13,7 +13,7 @@
'AUTHOR' => 'Dave Rolsky <autarch at urth.org>',
'BUILD_REQUIRES' => {
'File::Temp' => '0',
- 'Test::More' => '0'
+ 'Test::More' => '0.88'
},
'CONFIGURE_REQUIRES' => {
'ExtUtils::MakeMaker' => '6.31'
@@ -26,7 +26,7 @@
'Params::Validate' => '0.15',
'Sys::Syslog' => '0.25'
},
- 'VERSION' => '2.28',
+ 'VERSION' => '2.29',
'test' => {
'TESTS' => 't/*.t'
}
Modified: branches/upstream/liblog-dispatch-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/README?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/README (original)
+++ branches/upstream/liblog-dispatch-perl/current/README Sun Mar 20 00:36:03 2011
@@ -1,14 +1,14 @@
This archive contains the distribution Log-Dispatch,
-version 2.28:
+version 2.29:
Dispatches messages to one or more outputs
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
Modified: branches/upstream/liblog-dispatch-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/SIGNATURE?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/SIGNATURE (original)
+++ branches/upstream/liblog-dispatch-perl/current/SIGNATURE Sun Mar 20 00:36:03 2011
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.61.
+signed via the Module::Signature module, version 0.66.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -14,47 +14,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 9201986b5dd4cd0ef5a50f43b0d24f24d82ffc30 Changes
+SHA1 7993d66bcaf63571e70cadc1e0ecb1498c6a193e Changes
SHA1 80e345bffac0ecb01b0293b9825111a2c33b090b INSTALL
-SHA1 23c628b4a8a36738405ccdacaeb912d2e727b4c0 LICENSE
-SHA1 3fa45b69edc5987a28e591f7aae66cd1a9648985 MANIFEST
-SHA1 0cfcdd5a669dfd419499f75e5dfa3d34604885c6 META.json
-SHA1 1863e20823589fae68ae2b65ce899917a8c77e86 META.yml
-SHA1 44a4c995781e7bbf82e5a6313f399a819568c658 Makefile.PL
-SHA1 d0560d122b700e5b5449d1929111931257a07f16 README
-SHA1 e08594e72502bf96b26e248b17ad70af6d574891 dist.ini
-SHA1 62614a97b28714e3e9aa3faba239b29ce1ba8bbc lib/Log/Dispatch.pm
-SHA1 21b82bb8c961e23e9f1c05d7427e7e01a624f131 lib/Log/Dispatch/ApacheLog.pm
-SHA1 b57f112abe1a06e47d4a10459c028a4c74b621b3 lib/Log/Dispatch/Base.pm
-SHA1 5cbb1e98b8abef91a907c7b2bafc93587d987266 lib/Log/Dispatch/Email.pm
-SHA1 420c80d01176a09aef03783e0e7de41ec14432a7 lib/Log/Dispatch/Email/MIMELite.pm
-SHA1 5174253b21dfd23e2e438da35760fe09f9cde347 lib/Log/Dispatch/Email/MailSend.pm
-SHA1 36c3d5a3f9a55f2a8abc55ed3e8b9295653a343f lib/Log/Dispatch/Email/MailSender.pm
-SHA1 a030999adc2528505309343474a1afd937448f9b lib/Log/Dispatch/Email/MailSendmail.pm
-SHA1 7ce5cfa2edbe3bff033d92c4668a7fe1da12856c lib/Log/Dispatch/File.pm
-SHA1 2e7e7ae5cb60a8a54ce656f0f9b76c768e7e6006 lib/Log/Dispatch/File/Locked.pm
-SHA1 8038801568bb487f3013bb1271a35a2193870242 lib/Log/Dispatch/Handle.pm
-SHA1 d9b4ecd64fdf63b357de2655e5c3373ea5d00022 lib/Log/Dispatch/Null.pm
-SHA1 6dc982f5abe9a2ce722b7395099855398b0eeece lib/Log/Dispatch/Output.pm
-SHA1 93cd30126aa9a95a8919ff776bde417668bfb2a2 lib/Log/Dispatch/Screen.pm
-SHA1 1fa526de163d2d4c298e7c1117953c108cb6b26c lib/Log/Dispatch/Syslog.pm
-SHA1 df97eb936f0555d2adc1aae7d0518dc9c7353b06 t/00-compile.t
-SHA1 03f03f5135dbfac38ad6610e08b376dc510b5ee9 t/01-basic.t
-SHA1 587927a0b6aa079ceffecabbccde78cfb9a568dc t/02-email-exit.t
-SHA1 3938c81751d8cd0d09a65f6a7a2fbfed96e2a152 t/03-short-syntax.t
+SHA1 c715d20265d2931c7564fc64abfdc4f8ff33e297 LICENSE
+SHA1 222afadc264d57a2e17d19ca2533e946ee8c4bf7 MANIFEST
+SHA1 631dad07d54e115cf279537c45dfe612ad6fd2f5 META.json
+SHA1 0c708e06d75902e401b410766a2e9cc9edbdde48 META.yml
+SHA1 e41783f5e3820d277e72ed8f46f2201d5b489af7 Makefile.PL
+SHA1 b0f16f9c1c2f0cfb75612118ad0178a9f4286ba0 README
+SHA1 579506af92fd4049d11414894c8b0466d9078f91 dist.ini
+SHA1 a2da673d9b55a8527f5b693224b861536b35f10b lib/Log/Dispatch.pm
+SHA1 a5f9c73f5fafdad33d75dd58ad8107cebfa39917 lib/Log/Dispatch/ApacheLog.pm
+SHA1 593ecab31ab9d9789e5843182df0c2a21d144ff8 lib/Log/Dispatch/Base.pm
+SHA1 9caf072fc052761a257d6fc5263286d1bbe2fb3e lib/Log/Dispatch/Email.pm
+SHA1 2e4b746d1d7b7c4256ed5f1a53766ef006dd7aa4 lib/Log/Dispatch/Email/MIMELite.pm
+SHA1 120f0e6e391c7b013af5f3c7255e9573a8cd78ec lib/Log/Dispatch/Email/MailSend.pm
+SHA1 3eefbe062cc14da3c244cf3833eafcc41b5d0fea lib/Log/Dispatch/Email/MailSender.pm
+SHA1 9de13a92eb16eedcbbb51d803294a8500935a6ac lib/Log/Dispatch/Email/MailSendmail.pm
+SHA1 da3600152b9679c20ed4479a8c440cfd9c273159 lib/Log/Dispatch/File.pm
+SHA1 7c1a22198a07d6bc0743d9e48bc27c411a04eba1 lib/Log/Dispatch/File/Locked.pm
+SHA1 2d1336430f86f3fda2739197efb9d30d9ef083ee lib/Log/Dispatch/Handle.pm
+SHA1 28a0873548aae4e31cce0bd8334c47b0d5d9251e lib/Log/Dispatch/Null.pm
+SHA1 07e81bd1118d2537fe09a8607b8dd4d72fdb0ea1 lib/Log/Dispatch/Output.pm
+SHA1 723103444c1c01d8f70a03b194de19951a1d2cc5 lib/Log/Dispatch/Screen.pm
+SHA1 86e0eddaeca8d50943cf014a83bf49dbafc679fd lib/Log/Dispatch/Syslog.pm
+SHA1 898a7de5445e3a2fdb0619ef3755ec63d2c0713b t/00-compile.t
+SHA1 d244bf0cb98ae40026b43c647a85dfb394fff94c t/01-basic.t
+SHA1 071817b6ad68b790908b38dfe9657afcd5d6c200 t/02-email-exit.t
+SHA1 762bc1b1edd792093415cdb7f3e1cadb0e74345d t/03-short-syntax.t
SHA1 cae62e2988e1623b42d5af18c7059af9225be2ce t/email-exit-helper.pl
SHA1 66f75fd01fd1c3c4b3fad0a91d66d41c9aa2104d t/lib/Log/Dispatch/TestUtil.pm
SHA1 a032c41ef6887fab1b900669c2d304fab46680e2 t/release-eol.t
-SHA1 961a1e2c92d836c8cad2d34b784cbc75345dec63 t/release-kwalitee.t
SHA1 455d1dd1867212a665ad5ea4126b572411de300c t/release-no-tabs.t
-SHA1 c47c6701ade05ffed6eb4b4f82024f6bc5fb87e0 t/release-pod-coverage.t
-SHA1 83fa4ecd03b760b5e3dab46158c6607ba0ed69d4 t/release-pod-spell.t
-SHA1 f982b775c480b339eee4b1151468769b648126e6 t/release-pod.t
+SHA1 867fa319e231e8520cf41baeaf1eba3746031ebb t/release-pod-coverage.t
+SHA1 436b024e862590cb1ef8d608b683bb93bf0056a4 t/release-pod-spell.t
+SHA1 b30cbdfaf935017c4568c0c91b242438cb87786e t/release-pod-syntax.t
SHA1 16667ed5d34e132bb361b463cd451e880390f334 t/sendmail
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-iEYEARECAAYFAk0GOo0ACgkQIgMCsV8qvRJYugCfdUyqmBoADydjMY8rfnPoWL6g
-bM8An0+ZsbVrXcnDYEqSYpg7VUkKrMzh
-=bDlV
+iEYEARECAAYFAk2Dxj0ACgkQIgMCsV8qvRJ+pACgjrgFUrXVGZUSFj7hFUQl73gJ
+QUgAoJOXzlEKo8yHEtmgq1PO0spPxyhC
+=JgtO
-----END PGP SIGNATURE-----
Modified: branches/upstream/liblog-dispatch-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/dist.ini?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/dist.ini (original)
+++ branches/upstream/liblog-dispatch-perl/current/dist.ini Sun Mar 20 00:36:03 2011
@@ -1,10 +1,10 @@
-name = Log-Dispatch
+name = Log-Dispatch
author = Dave Rolsky <autarch at urth.org>
license = Artistic_2_0
copyright_holder = Dave Rolsky
-copyright_year = 2010
+copyright_year = 2011
-version = 2.28
+version = 2.29
[@Basic]
@@ -18,11 +18,11 @@
repository.web = http://hg.urth.org/hg/Log-Dispatch
repository.type = hg
-[PodWeaver]
+[SurgicalPodWeaver]
[PkgVersion]
-[KwaliteeTests]
+[PodSyntaxTests]
[NoTabsTests]
[EOLTests]
[Signature]
@@ -35,5 +35,6 @@
[Prereqs / BuildRequires]
File::Temp = 0
-Test::More = 0
+Test::More = 0.88
+[@Mercurial]
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch;
BEGIN {
- $Log::Dispatch::VERSION = '2.28';
+ $Log::Dispatch::VERSION = '2.29';
}
use 5.006;
@@ -225,6 +225,19 @@
return 0;
}
+sub is_debug { $_[0]->would_log('debug') }
+sub is_info { $_[0]->would_log('info') }
+sub is_notice { $_[0]->would_log('notice') }
+sub is_warning { $_[0]->would_log('warning') }
+sub is_warn { $_[0]->would_log('warn') }
+sub is_error { $_[0]->would_log('error') }
+sub is_err { $_[0]->would_log('err') }
+sub is_critical { $_[0]->would_log('critical') }
+sub is_crit { $_[0]->would_log('crit') }
+sub is_alert { $_[0]->would_log('alert') }
+sub is_emerg { $_[0]->would_log('emerg') }
+sub is_emergency { $_[0]->would_log('emergency') }
+
sub _require_dynamic {
my ($class) = @_;
@@ -247,7 +260,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -432,6 +445,12 @@
Given a log level, returns true or false to indicate whether or not
anything would be logged for that log level.
+=item * is_C<$level>
+
+There are methods for every log level: C<is_debug()>, C<is_warning()>, etc.
+
+This returns true if the logger will log a message at the given level.
+
=back
=head2 Output objects
@@ -629,11 +648,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/ApacheLog.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/ApacheLog.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/ApacheLog.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/ApacheLog.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::ApacheLog;
BEGIN {
- $Log::Dispatch::ApacheLog::VERSION = '2.28';
+ $Log::Dispatch::ApacheLog::VERSION = '2.29';
}
use strict;
@@ -69,7 +69,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -107,11 +107,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Base.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Base.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Base.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Base;
BEGIN {
- $Log::Dispatch::Base::VERSION = '2.28';
+ $Log::Dispatch::Base::VERSION = '2.29';
}
use strict;
@@ -60,7 +60,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -81,11 +81,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Email;
BEGIN {
- $Log::Dispatch::Email::VERSION = '2.28';
+ $Log::Dispatch::Email::VERSION = '2.29';
}
use strict;
@@ -104,7 +104,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -185,11 +185,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MIMELite.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MIMELite.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MIMELite.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MIMELite.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Email::MIMELite;
BEGIN {
- $Log::Dispatch::Email::MIMELite::VERSION = '2.28';
+ $Log::Dispatch::Email::MIMELite::VERSION = '2.29';
}
use strict;
@@ -45,7 +45,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -75,11 +75,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSend.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSend.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSend.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSend.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Email::MailSend;
BEGIN {
- $Log::Dispatch::Email::MailSend::VERSION = '2.28';
+ $Log::Dispatch::Email::MailSend::VERSION = '2.29';
}
use strict;
@@ -53,7 +53,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -94,11 +94,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSender.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSender.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSender.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSender.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Email::MailSender;
BEGIN {
- $Log::Dispatch::Email::MailSender::VERSION = '2.28';
+ $Log::Dispatch::Email::MailSender::VERSION = '2.29';
}
# By: Joseph Annino
@@ -72,7 +72,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -102,11 +102,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSendmail.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSendmail.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSendmail.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Email/MailSendmail.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Email::MailSendmail;
BEGIN {
- $Log::Dispatch::Email::MailSendmail::VERSION = '2.28';
+ $Log::Dispatch::Email::MailSendmail::VERSION = '2.29';
}
use strict;
@@ -45,7 +45,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -75,11 +75,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::File;
BEGIN {
- $Log::Dispatch::File::VERSION = '2.28';
+ $Log::Dispatch::File::VERSION = '2.29';
}
use strict;
@@ -166,7 +166,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -254,11 +254,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File/Locked.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File/Locked.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File/Locked.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/File/Locked.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::File::Locked;
BEGIN {
- $Log::Dispatch::File::Locked::VERSION = '2.28';
+ $Log::Dispatch::File::Locked::VERSION = '2.29';
}
use strict;
@@ -39,7 +39,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -70,11 +70,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Handle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Handle.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Handle.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Handle.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Handle;
BEGIN {
- $Log::Dispatch::Handle::VERSION = '2.28';
+ $Log::Dispatch::Handle::VERSION = '2.29';
}
use strict;
@@ -49,7 +49,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -92,11 +92,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Null.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Null.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Null.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Null.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Null;
BEGIN {
- $Log::Dispatch::Null::VERSION = '2.28';
+ $Log::Dispatch::Null::VERSION = '2.29';
}
use strict;
@@ -37,7 +37,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -58,11 +58,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Output.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Output.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Output.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Output.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Output;
BEGIN {
- $Log::Dispatch::Output::VERSION = '2.28';
+ $Log::Dispatch::Output::VERSION = '2.29';
}
use strict;
@@ -188,7 +188,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -306,11 +306,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Screen.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Screen.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Screen.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Screen.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Screen;
BEGIN {
- $Log::Dispatch::Screen::VERSION = '2.28';
+ $Log::Dispatch::Screen::VERSION = '2.29';
}
use strict;
@@ -60,7 +60,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -108,11 +108,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Syslog.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Syslog.pm?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Syslog.pm (original)
+++ branches/upstream/liblog-dispatch-perl/current/lib/Log/Dispatch/Syslog.pm Sun Mar 20 00:36:03 2011
@@ -1,6 +1,6 @@
package Log::Dispatch::Syslog;
BEGIN {
- $Log::Dispatch::Syslog::VERSION = '2.28';
+ $Log::Dispatch::Syslog::VERSION = '2.29';
}
use strict;
@@ -108,7 +108,7 @@
=head1 VERSION
-version 2.28
+version 2.29
=head1 SYNOPSIS
@@ -180,11 +180,11 @@
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: branches/upstream/liblog-dispatch-perl/current/t/00-compile.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/t/00-compile.t?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/t/00-compile.t (original)
+++ branches/upstream/liblog-dispatch-perl/current/t/00-compile.t Sun Mar 20 00:36:03 2011
@@ -1,6 +1,5 @@
-#!/usr/bin/perl -w
-
use strict;
+use warnings;
use Test::More;
Modified: branches/upstream/liblog-dispatch-perl/current/t/01-basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/t/01-basic.t?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/t/01-basic.t (original)
+++ branches/upstream/liblog-dispatch-perl/current/t/01-basic.t Sun Mar 20 00:36:03 2011
@@ -1,7 +1,7 @@
use strict;
use warnings;
-use Test::More tests => 165;
+use Test::More;
use File::Spec;
use File::Temp qw( tempdir );
@@ -691,7 +691,22 @@
);
ok(
+ !$dispatch->is_debug(),
+ 'is_debug returns false'
+ );
+
+ ok(
+ $dispatch->is_warning(),
+ 'is_warning returns true'
+ );
+
+ ok(
$dispatch->would_log('crit'),
+ "will log 'crit'"
+ );
+
+ ok(
+ $dispatch->is_crit,
"will log 'crit'"
);
}
@@ -936,6 +951,8 @@
is( $dispatch->max_level, 'emergency', 'max_level is emergency' );
}
+done_testing();
+
package Log::Dispatch::String;
use strict;
Modified: branches/upstream/liblog-dispatch-perl/current/t/02-email-exit.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/t/02-email-exit.t?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/t/02-email-exit.t (original)
+++ branches/upstream/liblog-dispatch-perl/current/t/02-email-exit.t Sun Mar 20 00:36:03 2011
@@ -8,9 +8,9 @@
exit;
}
-plan tests => 1;
system( $^X, 't/email-exit-helper.pl' );
is( $? >> 8, 5, 'exit code of helper was 5' );
+done_testing();
Modified: branches/upstream/liblog-dispatch-perl/current/t/03-short-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/t/03-short-syntax.t?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/t/03-short-syntax.t (original)
+++ branches/upstream/liblog-dispatch-perl/current/t/03-short-syntax.t Sun Mar 20 00:36:03 2011
@@ -1,7 +1,7 @@
use strict;
use warnings;
use lib qw(t/lib);
-use Test::More tests => 4;
+use Test::More;
use Log::Dispatch;
use Log::Dispatch::TestUtil qw(cmp_deeply);
use File::Temp qw( tempdir );
@@ -65,3 +65,5 @@
like( $@, qr/not one of the allowed types: arrayref/,
"got error for expected outer arrayref" );
}
+
+done_testing();
Modified: branches/upstream/liblog-dispatch-perl/current/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/t/release-pod-coverage.t?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/t/release-pod-coverage.t (original)
+++ branches/upstream/liblog-dispatch-perl/current/t/release-pod-coverage.t Sun Mar 20 00:36:03 2011
@@ -11,9 +11,6 @@
use Test::More;
-plan skip_all => 'This test is only run for the module author'
- unless -d '.hg' || $ENV{IS_MAINTAINER};
-
eval "use Test::Pod::Coverage 1.04";
plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
if $@;
@@ -25,6 +22,7 @@
qr/^send_email|log_message|new$/,
qr/^add_callback$/,
qr/^(?:O_)?APPEND$/,
+ qr/^is_\w+$/
]
}
);
Modified: branches/upstream/liblog-dispatch-perl/current/t/release-pod-spell.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/t/release-pod-spell.t?rev=71720&op=diff
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/t/release-pod-spell.t (original)
+++ branches/upstream/liblog-dispatch-perl/current/t/release-pod-spell.t Sun Mar 20 00:36:03 2011
@@ -10,13 +10,6 @@
use warnings;
use Test::Spelling;
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
my @stopwords;
for (<DATA>) {
Added: branches/upstream/liblog-dispatch-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/liblog-dispatch-perl/current/t/release-pod-syntax.t?rev=71720&op=file
==============================================================================
--- branches/upstream/liblog-dispatch-perl/current/t/release-pod-syntax.t (added)
+++ branches/upstream/liblog-dispatch-perl/current/t/release-pod-syntax.t Sun Mar 20 00:36:03 2011
@@ -1,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+use Test::More;
+
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list