Hello community, here is the log from the commit of package perl-Log-Dispatch for openSUSE:Factory checked in at 2015-09-08 17:39:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Log-Dispatch (Old) and /work/SRC/openSUSE:Factory/.perl-Log-Dispatch.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Log-Dispatch" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Log-Dispatch/perl-Log-Dispatch.changes 2015-08-27 08:56:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Log-Dispatch.new/perl-Log-Dispatch.changes 2015-09-08 17:42:43.000000000 +0200 @@ -1,0 +2,13 @@ +Thu Sep 3 08:48:01 UTC 2015 - co...@suse.com + +- updated to 2.50 + see /usr/share/doc/packages/perl-Log-Dispatch/Changes + + 2.50 2015-09-02 + + - Changed how the Screen output handles UTF-8 data once more. The Screen + module has gone back to printing output directly to the global STDOUT and + STDERR handles. The previous changes broke the tests for several modules, + including Log::Dispatch::Config. This change should fix them. + +------------------------------------------------------------------- Old: ---- Log-Dispatch-2.49.tar.gz New: ---- Log-Dispatch-2.50.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Log-Dispatch.spec ++++++ --- /var/tmp/diff_new_pack.hvVjQo/_old 2015-09-08 17:42:44.000000000 +0200 +++ /var/tmp/diff_new_pack.hvVjQo/_new 2015-09-08 17:42:44.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Log-Dispatch -Version: 2.49 +Version: 2.50 Release: 0 %define cpan_name Log-Dispatch Summary: Dispatches messages to one or more outputs ++++++ Log-Dispatch-2.49.tar.gz -> Log-Dispatch-2.50.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/Changes new/Log-Dispatch-2.50/Changes --- old/Log-Dispatch-2.49/Changes 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/Changes 2015-09-02 17:18:23.000000000 +0200 @@ -1,3 +1,11 @@ +2.50 2015-09-02 + +- Changed how the Screen output handles UTF-8 data once more. The Screen + module has gone back to printing output directly to the global STDOUT and + STDERR handles. The previous changes broke the tests for several modules, + including Log::Dispatch::Config. This change should fix them. + + 2.49 2015-08-21 - The Screen output now enables autoflush on the handle it uses to send output diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/META.json new/Log-Dispatch-2.50/META.json --- old/Log-Dispatch-2.49/META.json 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/META.json 2015-09-02 17:18:23.000000000 +0200 @@ -48,6 +48,7 @@ "Carp" : "0", "Devel::GlobalDestruction" : "0", "Dist::CheckConflicts" : "0.02", + "Encode" : "0", "Fcntl" : "0", "IO::Handle" : "0", "Module::Runtime" : "0", @@ -86,67 +87,67 @@ "provides" : { "Log::Dispatch" : { "file" : "lib/Log/Dispatch.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::ApacheLog" : { "file" : "lib/Log/Dispatch/ApacheLog.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Base" : { "file" : "lib/Log/Dispatch/Base.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Code" : { "file" : "lib/Log/Dispatch/Code.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Email" : { "file" : "lib/Log/Dispatch/Email.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Email::MIMELite" : { "file" : "lib/Log/Dispatch/Email/MIMELite.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Email::MailSend" : { "file" : "lib/Log/Dispatch/Email/MailSend.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Email::MailSender" : { "file" : "lib/Log/Dispatch/Email/MailSender.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Email::MailSendmail" : { "file" : "lib/Log/Dispatch/Email/MailSendmail.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::File" : { "file" : "lib/Log/Dispatch/File.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::File::Locked" : { "file" : "lib/Log/Dispatch/File/Locked.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Handle" : { "file" : "lib/Log/Dispatch/Handle.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Null" : { "file" : "lib/Log/Dispatch/Null.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Output" : { "file" : "lib/Log/Dispatch/Output.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Screen" : { "file" : "lib/Log/Dispatch/Screen.pm", - "version" : "2.49" + "version" : "2.50" }, "Log::Dispatch::Syslog" : { "file" : "lib/Log/Dispatch/Syslog.pm", - "version" : "2.49" + "version" : "2.50" } }, "release_status" : "stable", @@ -162,7 +163,7 @@ "web" : "https://github.com/houseabsolute/Log-Dispatch" } }, - "version" : "2.49", + "version" : "2.50", "x_Dist_Zilla" : { "perl" : { "version" : "5.022000" @@ -290,8 +291,8 @@ "class" : "Dist::Zilla::Plugin::PromptIfStale", "config" : { "Dist::Zilla::Plugin::PromptIfStale" : { - "check_all_plugins" : "1", - "check_all_prereqs" : "1", + "check_all_plugins" : 1, + "check_all_prereqs" : 1, "modules" : [], "phase" : "release", "skip" : [ @@ -302,7 +303,7 @@ } }, "name" : "@DROLSKY/PromptIfStale", - "version" : "0.045" + "version" : "0.046" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -684,7 +685,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v2.49", + "tag" : "v2.50", "tag_format" : "v%v", "tag_message" : "v%v" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/META.yml new/Log-Dispatch-2.50/META.yml --- old/Log-Dispatch-2.49/META.yml 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/META.yml 2015-09-02 17:18:23.000000000 +0200 @@ -31,56 +31,57 @@ provides: Log::Dispatch: file: lib/Log/Dispatch.pm - version: '2.49' + version: '2.50' Log::Dispatch::ApacheLog: file: lib/Log/Dispatch/ApacheLog.pm - version: '2.49' + version: '2.50' Log::Dispatch::Base: file: lib/Log/Dispatch/Base.pm - version: '2.49' + version: '2.50' Log::Dispatch::Code: file: lib/Log/Dispatch/Code.pm - version: '2.49' + version: '2.50' Log::Dispatch::Email: file: lib/Log/Dispatch/Email.pm - version: '2.49' + version: '2.50' Log::Dispatch::Email::MIMELite: file: lib/Log/Dispatch/Email/MIMELite.pm - version: '2.49' + version: '2.50' Log::Dispatch::Email::MailSend: file: lib/Log/Dispatch/Email/MailSend.pm - version: '2.49' + version: '2.50' Log::Dispatch::Email::MailSender: file: lib/Log/Dispatch/Email/MailSender.pm - version: '2.49' + version: '2.50' Log::Dispatch::Email::MailSendmail: file: lib/Log/Dispatch/Email/MailSendmail.pm - version: '2.49' + version: '2.50' Log::Dispatch::File: file: lib/Log/Dispatch/File.pm - version: '2.49' + version: '2.50' Log::Dispatch::File::Locked: file: lib/Log/Dispatch/File/Locked.pm - version: '2.49' + version: '2.50' Log::Dispatch::Handle: file: lib/Log/Dispatch/Handle.pm - version: '2.49' + version: '2.50' Log::Dispatch::Null: file: lib/Log/Dispatch/Null.pm - version: '2.49' + version: '2.50' Log::Dispatch::Output: file: lib/Log/Dispatch/Output.pm - version: '2.49' + version: '2.50' Log::Dispatch::Screen: file: lib/Log/Dispatch/Screen.pm - version: '2.49' + version: '2.50' Log::Dispatch::Syslog: file: lib/Log/Dispatch/Syslog.pm - version: '2.49' + version: '2.50' requires: Carp: '0' Devel::GlobalDestruction: '0' Dist::CheckConflicts: '0.02' + Encode: '0' Fcntl: '0' IO::Handle: '0' Module::Runtime: '0' @@ -95,7 +96,7 @@ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Log-Dispatch homepage: http://metacpan.org/release/Log-Dispatch repository: git://github.com/houseabsolute/Log-Dispatch.git -version: '2.49' +version: '2.50' x_Dist_Zilla: perl: version: '5.022000' @@ -193,8 +194,8 @@ class: Dist::Zilla::Plugin::PromptIfStale config: Dist::Zilla::Plugin::PromptIfStale: - check_all_plugins: '1' - check_all_prereqs: '1' + check_all_plugins: 1 + check_all_prereqs: 1 modules: [] phase: release skip: @@ -202,7 +203,7 @@ - Dist::Zilla::Plugin::DROLSKY::License - Dist::Zilla::Plugin::DROLSKY::TidyAll name: '@DROLSKY/PromptIfStale' - version: '0.045' + version: '0.046' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -497,7 +498,7 @@ branch: ~ changelog: Changes signed: 0 - tag: v2.49 + tag: v2.50 tag_format: v%v tag_message: v%v Dist::Zilla::Role::Git::Repo: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/Makefile.PL new/Log-Dispatch-2.50/Makefile.PL --- old/Log-Dispatch-2.49/Makefile.PL 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/Makefile.PL 2015-09-02 17:18:23.000000000 +0200 @@ -22,6 +22,7 @@ "Carp" => 0, "Devel::GlobalDestruction" => 0, "Dist::CheckConflicts" => "0.02", + "Encode" => 0, "Fcntl" => 0, "IO::Handle" => 0, "Module::Runtime" => 0, @@ -49,7 +50,7 @@ "lib" => 0, "utf8" => 0 }, - "VERSION" => "2.49", + "VERSION" => "2.50", "test" => { "TESTS" => "t/*.t" } @@ -61,6 +62,7 @@ "Data::Dumper" => 0, "Devel::GlobalDestruction" => 0, "Dist::CheckConflicts" => "0.02", + "Encode" => 0, "Exporter" => 0, "ExtUtils::MakeMaker" => 0, "Fcntl" => 0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/README.md new/Log-Dispatch-2.50/README.md --- old/Log-Dispatch-2.49/README.md 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/README.md 2015-09-02 17:18:23.000000000 +0200 @@ -4,7 +4,7 @@ VERSION - version 2.49 + version 2.50 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/cpanfile new/Log-Dispatch-2.50/cpanfile --- old/Log-Dispatch-2.49/cpanfile 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/cpanfile 2015-09-02 17:18:23.000000000 +0200 @@ -1,6 +1,7 @@ requires "Carp" => "0"; requires "Devel::GlobalDestruction" => "0"; requires "Dist::CheckConflicts" => "0.02"; +requires "Encode" => "0"; requires "Fcntl" => "0"; requires "IO::Handle" => "0"; requires "Module::Runtime" => "0"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/ApacheLog.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/ApacheLog.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/ApacheLog.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/ApacheLog.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; @@ -68,7 +68,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Base.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Base.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Base.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Base.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; sub _get_callbacks { shift; @@ -59,7 +59,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Code.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Code.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Code.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Code.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; @@ -49,7 +49,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Conflicts.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Conflicts.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Conflicts.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Conflicts.pm 2015-09-02 17:18:23.000000000 +0200 @@ -15,6 +15,7 @@ Carp Devel::GlobalDestruction Dist::CheckConflicts + Encode Fcntl IO::Handle Module::Runtime diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MIMELite.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MIMELite.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MIMELite.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MIMELite.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Email; @@ -44,7 +44,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MailSend.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MailSend.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MailSend.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MailSend.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Email; @@ -52,7 +52,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MailSender.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MailSender.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MailSender.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MailSender.pm 2015-09-02 17:18:23.000000000 +0200 @@ -8,7 +8,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Email; @@ -96,7 +96,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MailSendmail.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MailSendmail.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Email/MailSendmail.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Email/MailSendmail.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Email; @@ -44,7 +44,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Email.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Email.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Email.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Email.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; @@ -117,7 +117,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/File/Locked.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/File/Locked.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/File/Locked.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/File/Locked.pm 2015-09-02 17:18:23.000000000 +0200 @@ -5,7 +5,7 @@ use base qw( Log::Dispatch::File ); -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Fcntl qw(:DEFAULT :flock); @@ -38,7 +38,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/File.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/File.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/File.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/File.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; @@ -180,7 +180,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Handle.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Handle.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Handle.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Handle.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; @@ -48,7 +48,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Null.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Null.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Null.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Null.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; @@ -36,7 +36,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Output.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Output.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Output.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Output.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch; @@ -188,7 +188,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Screen.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Screen.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Screen.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Screen.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,12 +3,13 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; use base qw( Log::Dispatch::Output ); +use Encode qw( encode ); use IO::Handle; use Params::Validate qw(validate BOOLEAN); Params::Validate::validation_options( allow_extra => 1 ); @@ -30,12 +31,7 @@ } ); - my $fh = IO::Handle->new; - $fh->fdopen( $p{stderr} ? fileno(*STDERR) : fileno(*STDOUT), 'w' ); - $fh->autoflush(1); - binmode $fh, ':encoding(UTF-8)' if $p{utf8}; - - my $self = bless { fh => $fh }, $class; + my $self = bless \%p, $class; $self->_basic_init(%p); return $self; @@ -45,7 +41,14 @@ my $self = shift; my %p = @_; - $self->{fh}->print( $p{message} ); + my $message + = $self->{utf8} ? encode( 'UTF-8', $p{message} ) : $p{message}; + if ( $self->{stderr} ) { + print STDERR $message; + } + else { + print STDOUT $message; + } } 1; @@ -62,7 +65,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch/Syslog.pm new/Log-Dispatch-2.50/lib/Log/Dispatch/Syslog.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch/Syslog.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch/Syslog.pm 2015-09-02 17:18:23.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use Log::Dispatch::Output; @@ -127,7 +127,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/lib/Log/Dispatch.pm new/Log-Dispatch-2.50/lib/Log/Dispatch.pm --- old/Log-Dispatch-2.49/lib/Log/Dispatch.pm 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/lib/Log/Dispatch.pm 2015-09-02 17:18:23.000000000 +0200 @@ -5,7 +5,7 @@ use strict; use warnings; -our $VERSION = '2.49'; +our $VERSION = '2.50'; use base qw( Log::Dispatch::Base ); @@ -300,7 +300,7 @@ =head1 VERSION -version 2.49 +version 2.50 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/t/00-report-prereqs.dd new/Log-Dispatch-2.50/t/00-report-prereqs.dd --- old/Log-Dispatch-2.49/t/00-report-prereqs.dd 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/t/00-report-prereqs.dd 2015-09-02 17:18:23.000000000 +0200 @@ -33,6 +33,7 @@ 'Carp' => '0', 'Devel::GlobalDestruction' => '0', 'Dist::CheckConflicts' => '0.02', + 'Encode' => '0', 'Fcntl' => '0', 'IO::Handle' => '0', 'Module::Runtime' => '0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.49/t/release-pod-coverage.t new/Log-Dispatch-2.50/t/release-pod-coverage.t --- old/Log-Dispatch-2.49/t/release-pod-coverage.t 2015-08-22 00:57:30.000000000 +0200 +++ new/Log-Dispatch-2.50/t/release-pod-coverage.t 2015-09-02 17:18:23.000000000 +0200 @@ -34,16 +34,16 @@ plan tests => scalar @modules; my %trustme = ( + 'Log::Dispatch::File' => [ + qr/^(?:O_)?APPEND$/ + ], 'Log::Dispatch::Output' => [ qr/^new$/ ], 'Log::Dispatch' => [ qr/^(?:warn|err|crit|emerg)$/, qr/^is_\w+$/ - ], - 'Log::Dispatch::File' => [ - qr/^(?:O_)?APPEND$/ - ] + ] ); my @also_private;