Hello community,
here is the log from the commit of package perl-Log-Dispatchouli for
openSUSE:Factory checked in at 2013-10-07 08:31:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Log-Dispatchouli (Old)
and /work/SRC/openSUSE:Factory/.perl-Log-Dispatchouli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Log-Dispatchouli"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Log-Dispatchouli/perl-Log-Dispatchouli.changes
2013-06-06 15:26:17.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Log-Dispatchouli.new/perl-Log-Dispatchouli.changes
2013-10-07 08:31:45.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Oct 4 09:15:21 UTC 2013 - [email protected]
+
+- updated to 2.008
+ fix test for JSON::PP, which doesn't always follow orders about
+ spaces! (thanks, Dagfinn Ilmari Mannsåker!)
+ doc fixes and tests (thanks George Hartzell and Randy Stauner)
+
+-------------------------------------------------------------------
Old:
----
Log-Dispatchouli-2.006.tar.gz
New:
----
Log-Dispatchouli-2.008.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Log-Dispatchouli.spec ++++++
--- /var/tmp/diff_new_pack.VfFN5g/_old 2013-10-07 08:31:46.000000000 +0200
+++ /var/tmp/diff_new_pack.VfFN5g/_new 2013-10-07 08:31:46.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Log-Dispatchouli
-Version: 2.006
+Version: 2.008
Release: 0
%define cpan_name Log-Dispatchouli
Summary: a simple wrapper around Log::Dispatch
++++++ Log-Dispatchouli-2.006.tar.gz -> Log-Dispatchouli-2.008.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/Changes
new/Log-Dispatchouli-2.008/Changes
--- old/Log-Dispatchouli-2.006/Changes 2013-04-05 21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/Changes 2013-09-27 02:39:14.000000000 +0200
@@ -1,5 +1,12 @@
Revision history for Log-Dispatchouli
+2.008 2013-09-26 20:39:11 America/New_York
+ fix test for JSON::PP, which doesn't always follow orders about
+ spaces! (thanks, Dagfinn Ilmari Mannsåker!)
+
+2.007 2013-09-25 22:12:22 America/New_York
+ doc fixes and tests (thanks George Hartzell and Randy Stauner)
+
2.006 2013-04-05 15:02:05 America/New_York
put the ->info, ->fatal, ->debug methods on proxies, too
(thanks George Hartzell)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/MANIFEST
new/Log-Dispatchouli-2.008/MANIFEST
--- old/Log-Dispatchouli-2.006/MANIFEST 2013-04-05 21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/MANIFEST 2013-09-27 02:39:14.000000000 +0200
@@ -13,6 +13,7 @@
t/000-report-versions-tiny.t
t/basic.t
t/env-value.t
+t/file.t
t/global-subclass.t
t/global.t
t/lib/DDR/Child.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/META.json
new/Log-Dispatchouli-2.008/META.json
--- old/Log-Dispatchouli-2.006/META.json 2013-04-05 21:02:09.000000000
+0200
+++ new/Log-Dispatchouli-2.008/META.json 2013-09-27 02:39:14.000000000
+0200
@@ -4,7 +4,7 @@
"Ricardo SIGNES <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300032, CPAN::Meta::Converter
version 2.130880",
+ "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter
version 2.132620",
"license" : [
"perl_5"
],
@@ -48,39 +48,46 @@
},
"test" : {
"requires" : {
- "File::Find" : "0",
+ "File::Spec" : "0",
+ "File::Spec::Functions" : "0",
"File::Temp" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
"Test::Deep" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.96",
- "base" : "0"
+ "base" : "0",
+ "lib" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
- "homepage" : "https://github.com/rjbs/log-dispatchouli",
+ "bugtracker" : {
+ "web" : "https://github.com/rjbs/Log-Dispatchouli/issues"
+ },
+ "homepage" : "https://github.com/rjbs/Log-Dispatchouli",
"repository" : {
"type" : "git",
- "url" : "https://github.com/rjbs/log-dispatchouli.git",
- "web" : "https://github.com/rjbs/log-dispatchouli"
+ "url" : "https://github.com/rjbs/Log-Dispatchouli.git",
+ "web" : "https://github.com/rjbs/Log-Dispatchouli"
}
},
- "version" : "2.006",
+ "version" : "2.008",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.017010"
+ "version" : "5.019003"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.012"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.008"
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
@@ -88,94 +95,104 @@
"version" : "0.011"
},
{
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "name" : "@RJBS/RJBS-Outdated",
+ "version" : "0.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "name" : "@RJBS/CPAN-Outdated",
+ "version" : "0.006"
+ },
+ {
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@RJBS/@Filter/MakeMaker",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.012"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -185,17 +202,27 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "4.300032"
- },
- {
- "class" : "Dist::Zilla::Plugin::Test::Compile",
- "name" : "@RJBS/Test::Compile",
- "version" : "2.001"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
"name" : "@RJBS/ReportVersions::Tiny",
- "version" : "1.08"
+ "version" : "1.09"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::Compile",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::Compile" : {
+ "module_finder" : [
+ ":InstallModules"
+ ],
+ "script_finder" : [
+ ":ExecFiles"
+ ]
+ }
+ },
+ "name" : "@RJBS/Test::Compile",
+ "version" : "2.033"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -206,37 +233,46 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "config_plugin" : "@RJBS",
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ]
+ }
+ },
"name" : "@RJBS/PodWeaver",
- "version" : "3.101641"
+ "version" : "3.102000"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.28"
+ "version" : "0.38"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
- "version" : "2.012"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
- "version" : "2.012"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
- "version" : "2.012"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
- "version" : "2.012"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -247,37 +283,37 @@
}
},
"name" : "Prereqs",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300032"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300032"
+ "version" : "4.300039"
}
],
"zilla" : {
@@ -285,7 +321,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300032"
+ "version" : "4.300039"
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/META.yml
new/Log-Dispatchouli-2.008/META.yml
--- old/Log-Dispatchouli-2.006/META.yml 2013-04-05 21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/META.yml 2013-09-27 02:39:14.000000000 +0200
@@ -3,16 +3,20 @@
author:
- 'Ricardo SIGNES <[email protected]>'
build_requires:
- File::Find: 0
+ File::Spec: 0
+ File::Spec::Functions: 0
File::Temp: 0
+ IO::Handle: 0
+ IPC::Open3: 0
Test::Deep: 0
Test::Fatal: 0
Test::More: 0.96
base: 0
+ lib: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300032, CPAN::Meta::Converter version
2.130880'
+generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version
2.132620'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -37,97 +41,106 @@
strict: 0
warnings: 0
resources:
- homepage: https://github.com/rjbs/log-dispatchouli
- repository: https://github.com/rjbs/log-dispatchouli.git
-version: 2.006
+ bugtracker: https://github.com/rjbs/Log-Dispatchouli/issues
+ homepage: https://github.com/rjbs/Log-Dispatchouli
+ repository: https://github.com/rjbs/Log-Dispatchouli.git
+version: 2.008
x_Dist_Zilla:
perl:
- version: 5.017010
+ version: 5.019003
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
name: '@RJBS/Git::GatherDir'
- version: 2.012
+ version: 2.014
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: 0.008
+ version: 0.009
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
version: 0.011
-
+ class: Dist::Zilla::Plugin::PromptIfStale
+ name: '@RJBS/RJBS-Outdated'
+ version: 0.006
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ name: '@RJBS/CPAN-Outdated'
+ version: 0.006
+ -
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@RJBS/@Filter/MakeMaker'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: '@RJBS/Git::NextVersion'
- version: 2.012
+ version: 2.014
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
@@ -135,15 +148,21 @@
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 4.300032
- -
- class: Dist::Zilla::Plugin::Test::Compile
- name: '@RJBS/Test::Compile'
- version: 2.001
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@RJBS/ReportVersions::Tiny'
- version: 1.08
+ version: 1.09
+ -
+ class: Dist::Zilla::Plugin::Test::Compile
+ config:
+ Dist::Zilla::Plugin::Test::Compile:
+ module_finder:
+ - ':InstallModules'
+ script_finder:
+ - ':ExecFiles'
+ name: '@RJBS/Test::Compile'
+ version: 2.033
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -151,31 +170,37 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ config_plugin: '@RJBS'
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
name: '@RJBS/PodWeaver'
- version: 3.101641
+ version: 3.102000
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: 0.28
+ version: 0.38
-
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
- version: 2.012
+ version: 2.014
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
- version: 2.012
+ version: 2.014
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
- version: 2.012
+ version: 2.014
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
- version: 2.012
+ version: 2.014
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -183,33 +208,33 @@
phase: runtime
type: requires
name: Prereqs
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300032
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300032
+ version: 4.300039
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.300032
+ version: 4.300039
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/Makefile.PL
new/Log-Dispatchouli-2.008/Makefile.PL
--- old/Log-Dispatchouli-2.006/Makefile.PL 2013-04-05 21:02:09.000000000
+0200
+++ new/Log-Dispatchouli-2.008/Makefile.PL 2013-09-27 02:39:14.000000000
+0200
@@ -39,14 +39,18 @@
"warnings" => 0
},
"TEST_REQUIRES" => {
- "File::Find" => 0,
+ "File::Spec" => 0,
+ "File::Spec::Functions" => 0,
"File::Temp" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
"Test::Deep" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
- "base" => 0
+ "base" => 0,
+ "lib" => 0
},
- "VERSION" => "2.006",
+ "VERSION" => "2.008",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/README
new/Log-Dispatchouli-2.008/README
--- old/Log-Dispatchouli-2.006/README 2013-04-05 21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/README 2013-09-27 02:39:14.000000000 +0200
@@ -1,7 +1,7 @@
This archive contains the distribution Log-Dispatchouli,
-version 2.006:
+version 2.008:
a simple wrapper around Log::Dispatch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Log-Dispatchouli-2.006/lib/Log/Dispatchouli/Global.pm
new/Log-Dispatchouli-2.008/lib/Log/Dispatchouli/Global.pm
--- old/Log-Dispatchouli-2.006/lib/Log/Dispatchouli/Global.pm 2013-04-05
21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/lib/Log/Dispatchouli/Global.pm 2013-09-27
02:39:14.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Log::Dispatchouli::Global;
{
- $Log::Dispatchouli::Global::VERSION = '2.006';
+ $Log::Dispatchouli::Global::VERSION = '2.008';
}
# ABSTRACT: a system for sharing a global, dynamically-scoped logger
@@ -131,7 +131,7 @@
=head1 VERSION
-version 2.006
+version 2.008
=head1 DESCRIPTION
@@ -171,7 +171,7 @@
}
This eliminates the need to pass around what is effectively a global, while
-still allowing it to be specialized withing certain contexts of your program.
+still allowing it to be specialized within certain contexts of your program.
B<Warning!> Although you I<could> just use Log::Dispatchouli::Global as your
shared logging library, you almost I<certainly> want to write a subclass that
@@ -254,12 +254,8 @@
Since you want the default to be isolated to your application's logger, the
default behavior is default loggers are associated with the glob reference to
-which the default might be assigned. It is recommended that you replace this
-method to return a shared, private variable for your subclasses, by putting the
-following code in the base class for your Log::Dispatchouli::Global classes:
-
- my $default_logger;
- sub default_logger_ref { \$default_logger };
+which the default might be assigned. It is unlikely that you will need to
+interact with this method.
=head1 COOKBOOK
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/lib/Log/Dispatchouli/Proxy.pm
new/Log-Dispatchouli-2.008/lib/Log/Dispatchouli/Proxy.pm
--- old/Log-Dispatchouli-2.006/lib/Log/Dispatchouli/Proxy.pm 2013-04-05
21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/lib/Log/Dispatchouli/Proxy.pm 2013-09-27
02:39:14.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Log::Dispatchouli::Proxy;
{
- $Log::Dispatchouli::Proxy::VERSION = '2.006';
+ $Log::Dispatchouli::Proxy::VERSION = '2.008';
}
# ABSTRACT: a simple wrapper around Log::Dispatch
@@ -125,7 +125,7 @@
=head1 VERSION
-version 2.006
+version 2.008
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/lib/Log/Dispatchouli.pm
new/Log-Dispatchouli-2.008/lib/Log/Dispatchouli.pm
--- old/Log-Dispatchouli-2.006/lib/Log/Dispatchouli.pm 2013-04-05
21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/lib/Log/Dispatchouli.pm 2013-09-27
02:39:14.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Log::Dispatchouli;
{
- $Log::Dispatchouli::VERSION = '2.006';
+ $Log::Dispatchouli::VERSION = '2.008';
}
# ABSTRACT: a simple wrapper around Log::Dispatch
@@ -336,7 +336,7 @@
=head1 VERSION
-version 2.006
+version 2.008
=head1 SYNOPSIS
@@ -529,7 +529,7 @@
To pass a prefix per-message:
- $logger->log({ prefix => 'Sub-Item 234: ', 'error!' })
+ $logger->log({ prefix => 'Sub-Item 234: ' }, 'error!')
# Logs: Batch 123: Sub-Item 234: error!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/t/00-compile.t
new/Log-Dispatchouli-2.008/t/00-compile.t
--- old/Log-Dispatchouli-2.006/t/00-compile.t 2013-04-05 21:02:09.000000000
+0200
+++ new/Log-Dispatchouli-2.008/t/00-compile.t 2013-09-27 02:39:14.000000000
+0200
@@ -1,74 +1,48 @@
-#!perl
-
use strict;
use warnings;
-use Test::More;
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.033
+use Test::More 0.94 tests => 3 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
-use File::Find;
-use File::Temp qw{ tempdir };
-my @modules;
-find(
- sub {
- return if $File::Find::name !~ /\.pm\z/;
- my $found = $File::Find::name;
- $found =~ s{^lib/}{};
- $found =~ s{[/\\]}{::}g;
- $found =~ s/\.pm$//;
- # nothing to skip
- push @modules, $found;
- },
- 'lib',
+my @module_files = (
+ 'Log/Dispatchouli.pm',
+ 'Log/Dispatchouli/Global.pm',
+ 'Log/Dispatchouli/Proxy.pm'
);
-sub _find_scripts {
- my $dir = shift @_;
-
- my @found_scripts = ();
- find(
- sub {
- return unless -f;
- my $found = $File::Find::name;
- # nothing to skip
- open my $FH, '<', $_ or do {
- note( "Unable to open $found in ( $! ), skipping" );
- return;
- };
- my $shebang = <$FH>;
- return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
- push @found_scripts, $found;
- },
- $dir,
- );
- return @found_scripts;
-}
-my @scripts;
-do { push @scripts, _find_scripts($_) if -d $_ }
- for qw{ bin script scripts };
+# no fake home requested
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
+my @warnings;
+for my $lib (@module_files)
{
- # fake home for cpan-testers
- # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
+ # see L<perlfaq8/How can I capture STDERR from an external command?>
+ open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+ my $stderr = IO::Handle->new;
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', '-e', "require
q[$lib]");
+ binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+ my @_warnings = <$stderr>;
+ waitpid($pid, 0);
+ is($? >> 8, 0, "$lib loaded ok");
+
+ if (@_warnings)
+ {
+ warn @_warnings;
+ push @warnings, @_warnings;
+ }
+}
- like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_
loaded ok" )
- for sort @modules;
- SKIP: {
- eval "use Test::Script 1.05; 1;";
- skip "Test::Script needed to test script compilation",
scalar(@scripts) if $@;
- foreach my $file ( @scripts ) {
- my $script = $file;
- $script =~ s!.*/!!;
- script_compiles( $file, "$script script compiles" );
- }
- }
-}
+is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+
+BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/t/000-report-versions-tiny.t
new/Log-Dispatchouli-2.008/t/000-report-versions-tiny.t
--- old/Log-Dispatchouli-2.006/t/000-report-versions-tiny.t 2013-04-05
21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/t/000-report-versions-tiny.t 2013-09-27
02:39:14.000000000 +0200
@@ -9,7 +9,7 @@
END { $success && done_testing; }
# List our own version used to generate this
-my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
+my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.09\n";
eval { # no excuses!
# report our Perl details
@@ -50,9 +50,11 @@
eval { $v .= pmver('Carp','any version') };
eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
-eval { $v .= pmver('File::Find','any version') };
eval { $v .= pmver('File::Spec','any version') };
+eval { $v .= pmver('File::Spec::Functions','any version') };
eval { $v .= pmver('File::Temp','any version') };
+eval { $v .= pmver('IO::Handle','any version') };
+eval { $v .= pmver('IPC::Open3','any version') };
eval { $v .= pmver('Log::Dispatch','any version') };
eval { $v .= pmver('Log::Dispatch::Array','any version') };
eval { $v .= pmver('Log::Dispatch::File','any version') };
@@ -70,6 +72,7 @@
eval { $v .= pmver('Test::Pod','1.41') };
eval { $v .= pmver('Try::Tiny','0.04') };
eval { $v .= pmver('base','any version') };
+eval { $v .= pmver('lib','any version') };
eval { $v .= pmver('overload','any version') };
eval { $v .= pmver('strict','any version') };
eval { $v .= pmver('version','0.9901') };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.006/t/file.t
new/Log-Dispatchouli-2.008/t/file.t
--- old/Log-Dispatchouli-2.006/t/file.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Log-Dispatchouli-2.008/t/file.t 2013-09-27 02:39:14.000000000 +0200
@@ -0,0 +1,43 @@
+use strict;
+use warnings;
+
+use Log::Dispatchouli;
+use Test::More 0.88;
+use File::Spec::Functions qw( catfile );
+use File::Temp qw( tempdir );
+
+my $tmpdir = tempdir( TMPDIR => 1, CLEANUP => 1 );
+
+{
+ {
+ my $logger = Log::Dispatchouli->new({
+ log_pid => 1,
+ ident => 't_file',
+ to_file => 1,
+ log_path => $tmpdir,
+ });
+
+ isa_ok($logger, 'Log::Dispatchouli');
+
+ is($logger->ident, 't_file', '$logger->ident is available');
+
+ $logger->log([ "point: %s", {x=>1,y=>2} ]);
+ }
+
+ my ($log_file) = glob(catfile($tmpdir, 't_file.*'));
+ ok -r $log_file, 'log file with ident name';
+
+ like slurp_file($log_file),
+ qr/^.+? \[$$\] point: \{\{\{("[xy]": [12](, ?)?){2}\}\}\}$/,
+ 'logged timestamp, pid, and hash';
+}
+
+done_testing;
+
+sub slurp_file {
+ my ($file) = @_;
+ open my $fh, '<', $file
+ or die "Failed to open $file: $!";
+ local $/;
+ return <$fh>;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Log-Dispatchouli-2.006/xt/release/changes_has_content.t
new/Log-Dispatchouli-2.008/xt/release/changes_has_content.t
--- old/Log-Dispatchouli-2.006/xt/release/changes_has_content.t 2013-04-05
21:02:09.000000000 +0200
+++ new/Log-Dispatchouli-2.008/xt/release/changes_has_content.t 2013-09-27
02:39:14.000000000 +0200
@@ -4,7 +4,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '2.006';
+my $newver = '2.008';
my $trial_token = '-TRIAL';
SKIP: {
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]