@@ -0,0 +1,13 @@
+
+# CPAN Covenant for Audio-MPD-Common
+
+I, Jerome Quelin, hereby give modules@perl.org permission to grant co-maintainership
+to Audio-MPD-Common, if all the following conditions are met:
+
+ (1) I haven't released the module for a year or more
+ (2) There are outstanding issues in the module's public bug tracker
+ (3) Email to my CPAN email address hasn't been answered after a month
+ (4) The requester wants to make worthwhile changes that will benefit CPAN
+
+In the event of my death, then the time-limits in (1) and (3) do not apply.
+
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.014.
use strict;
use warnings;
@@ -7,10 +8,7 @@ use Module::Build 0.3601;
my %module_build_args = (
"build_requires" => {
- "File::Find" => 0,
- "File::Temp" => 0,
- "Module::Build" => "0.3601",
- "Test::More" => "0.88"
+ "Module::Build" => "0.3601"
},
"configure_requires" => {
"Module::Build" => "0.3601"
@@ -20,7 +18,7 @@ my %module_build_args = (
"Jerome Quelin"
],
"dist_name" => "Audio-MPD-Common",
- "dist_version" => "1.120881",
+ "dist_version" => "2.000",
"license" => "perl",
"module_name" => "Audio::MPD::Common",
"recommends" => {},
@@ -38,10 +36,30 @@ my %module_build_args = (
"strict" => 0,
"warnings" => 0
},
- "script_files" => []
+ "script_files" => [],
+ "test_requires" => {
+ "File::Spec" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "Test::More" => "0.88"
+ }
);
+my %fallback_build_requires = (
+ "File::Spec" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "Module::Build" => "0.3601",
+ "Test::More" => "0.88"
+);
+
+
+unless ( eval { Module::Build->VERSION(0.4004) } ) {
+ delete $module_build_args{test_requires};
+ $module_build_args{build_requires} = \%fallback_build_requires;
+}
+
my $build = Module::Build->new(%module_build_args);
$build->create_build_script;
@@ -1,5 +1,9 @@
Revision history for Audio-MPD-Common
+2.000 2014-04-04 13:45:48+02:00 Europe/Paris
+ - moving to @Author::JQUELIN for dzil setup
+ - fix Moose enum (rt#90670)
+
1.120881 2012-03-28 17:54:21 Europe/Paris
- new amci:song attributes: composer, performer
- amci:song attribute album_artist renamed to albumartist
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -1,3 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.014.
+AUTHOR_PLEDGE
Build.PL
Changes
LICENSE
@@ -20,9 +22,6 @@ t/00-compile.t
t/000-report-versions-tiny.t
t/item.t
t/output.t
-t/release-has-version.t
-t/release-kwalitee.t
-t/release-minimum-version.t
t/release-pod-coverage.t
t/release-pod-syntax.t
t/stats.t
@@ -4,7 +4,7 @@
"Jerome Quelin"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300009, CPAN::Meta::Converter version 2.120630",
+ "generated_by" : "Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.140640",
"license" : [
"perl_5"
],
@@ -24,6 +24,14 @@
"Module::Build" : "0.3601"
}
},
+ "develop" : {
+ "requires" : {
+ "Pod::Coverage::TrustPod" : "0",
+ "Test::Pod" : "1.41",
+ "Test::Pod::Coverage" : "1.08",
+ "version" : "0.9901"
+ }
+ },
"runtime" : {
"requires" : {
"Moose" : "0.92",
@@ -41,8 +49,9 @@
},
"test" : {
"requires" : {
- "File::Find" : "0",
- "File::Temp" : "0",
+ "File::Spec" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
"Test::More" : "0.88"
}
}
@@ -50,43 +59,43 @@
"provides" : {
"Audio::MPD::Common" : {
"file" : "lib/Audio/MPD/Common.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Item" : {
"file" : "lib/Audio/MPD/Common/Item.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Item::Directory" : {
"file" : "lib/Audio/MPD/Common/Item/Directory.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Item::Playlist" : {
"file" : "lib/Audio/MPD/Common/Item/Playlist.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Item::Song" : {
"file" : "lib/Audio/MPD/Common/Item/Song.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Output" : {
"file" : "lib/Audio/MPD/Common/Output.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Stats" : {
"file" : "lib/Audio/MPD/Common/Stats.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Status" : {
"file" : "lib/Audio/MPD/Common/Status.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Time" : {
"file" : "lib/Audio/MPD/Common/Time.pm",
- "version" : "1.120881"
+ "version" : "2.000"
},
"Audio::MPD::Common::Types" : {
"file" : "lib/Audio/MPD/Common/Types.pm",
- "version" : "1.120881"
+ "version" : "2.000"
}
},
"release_status" : "stable",
@@ -99,242 +108,377 @@
"repository" : {
"type" : "git",
"url" : "git://github.com/jquelin/audio-mpd-common.git",
- "web" : "http://github.com/jquelin/audio-mpd-common"
+ "web" : "https://github.com/jquelin/audio-mpd-common"
},
"x_MailingList" : "http://groups.google.com/group/audio-mpd"
},
- "version" : "1.120881",
+ "version" : "2.000",
"x_Dist_Zilla" : {
+ "perl" : {
+ "version" : "5.018002"
+ },
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "4.300009"
+ "version" : "5.014"
},
{
- "class" : "Dist::Zilla::Plugin::AutoVersion",
- "name" : "@JQUELIN/AutoVersion",
- "version" : "4.300009"
+ "class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "name" : "@Author::JQUELIN/Git::NextVersion",
+ "version" : "2.020"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
- "name" : "@JQUELIN/GatherDir",
- "version" : "4.300009"
- },
- {
- "class" : "Dist::Zilla::Plugin::CompileTests",
- "name" : "@JQUELIN/CompileTests",
- "version" : "1.112820"
- },
- {
- "class" : "Dist::Zilla::Plugin::HasVersionTests",
- "name" : "@JQUELIN/HasVersionTests",
- "version" : "1.101420"
- },
- {
- "class" : "Dist::Zilla::Plugin::KwaliteeTests",
- "name" : "@JQUELIN/KwaliteeTests",
- "version" : "2.03"
- },
- {
- "class" : "Dist::Zilla::Plugin::MinimumVersionTests",
- "name" : "@JQUELIN/MinimumVersionTests",
- "version" : "2.0.1"
+ "name" : "@Author::JQUELIN/GatherDir",
+ "version" : "5.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::Compile",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::Compile" : {
+ "filename" : "t/00-compile.t",
+ "module_finder" : [
+ ":InstallModules"
+ ],
+ "script_finder" : [
+ ":ExecFiles"
+ ]
+ }
+ },
+ "name" : "@Author::JQUELIN/Test::Compile",
+ "version" : "2.039"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
- "name" : "@JQUELIN/PodCoverageTests",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/PodCoverageTests",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
- "name" : "@JQUELIN/PodSyntaxTests",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/PodSyntaxTests",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
- "name" : "@JQUELIN/ReportVersions::Tiny",
- "version" : "1.03"
+ "name" : "@Author::JQUELIN/ReportVersions::Tiny",
+ "version" : "1.10"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
- "name" : "@JQUELIN/PruneCruft",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/PruneCruft",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::PruneFiles",
- "name" : "@JQUELIN/PruneFiles",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/PruneFiles",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
- "name" : "@JQUELIN/ManifestSkip",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/ManifestSkip",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
- "name" : "@JQUELIN/AutoPrereqs",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/AutoPrereqs",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
- "name" : "@JQUELIN/ExtraTests",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/ExtraTests",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
- "name" : "@JQUELIN/NextRelease",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/NextRelease",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
- "name" : "@JQUELIN/PkgVersion",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/PkgVersion",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
- "name" : "@JQUELIN/PodWeaver",
- "version" : "3.101641"
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ],
+ "plugins" : [
+ {
+ "class" : "Pod::Weaver::Plugin::EnsurePod5",
+ "name" : "@CorePrep/EnsurePod5",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::H1Nester",
+ "name" : "@CorePrep/H1Nester",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::SingleEncoding",
+ "name" : "@Default/SingleEncoding",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Name",
+ "name" : "@Default/Name",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "@Default/Version",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@Default/prelude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "SYNOPSIS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "DESCRIPTION",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "OVERVIEW",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "ATTRIBUTES",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "METHODS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "FUNCTIONS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "@Default/Leftovers",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@Default/postlude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "@Default/Authors",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "@Default/Legal",
+ "version" : "4.006"
+ }
+ ]
+ }
+ },
+ "name" : "@Author::JQUELIN/PodWeaver",
+ "version" : "4.005"
},
{
"class" : "Dist::Zilla::Plugin::Prepender",
- "name" : "@JQUELIN/Prepender",
+ "name" : "@Author::JQUELIN/Prepender",
"version" : "1.112280"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
- "name" : "@JQUELIN/ExecDir",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/ExecDir",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
- "name" : "@JQUELIN/ShareDir",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/ShareDir",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::Bugtracker",
- "name" : "@JQUELIN/Bugtracker",
+ "name" : "@Author::JQUELIN/Bugtracker",
"version" : "1.111080"
},
{
"class" : "Dist::Zilla::Plugin::Homepage",
- "name" : "@JQUELIN/Homepage",
+ "name" : "@Author::JQUELIN/Homepage",
"version" : "1.101420"
},
{
"class" : "Dist::Zilla::Plugin::Repository",
- "name" : "@JQUELIN/Repository",
- "version" : "0.18"
+ "name" : "@Author::JQUELIN/Repository",
+ "version" : "0.20"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
- "name" : "@JQUELIN/MetaProvides::Package",
- "version" : "1.14000001"
+ "config" : {
+ "Dist::Zilla::Plugin::MetaProvides::Package" : {
+ "finder_objects" : [
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : "@Author::JQUELIN/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
+ "version" : "5.014"
+ }
+ ]
+ },
+ "Dist::Zilla::Role::MetaProvider::Provider" : {
+ "inherit_missing" : "1",
+ "inherit_version" : "1",
+ "meta_noindex" : "1"
+ }
+ },
+ "name" : "@Author::JQUELIN/MetaProvides::Package",
+ "version" : "2.000001"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
- "name" : "@JQUELIN/MetaConfig",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/MetaConfig",
+ "version" : "5.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::HelpWanted",
+ "name" : "@Author::JQUELIN/HelpWanted",
+ "version" : "0.3.1"
},
{
"class" : "Dist::Zilla::Plugin::License",
- "name" : "@JQUELIN/License",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/License",
+ "version" : "5.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Covenant",
+ "name" : "@Author::JQUELIN/Covenant",
+ "version" : "0.1.0"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
- "name" : "@JQUELIN/MetaYAML",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/MetaYAML",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
- "name" : "@JQUELIN/MetaJSON",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/MetaJSON",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild",
- "name" : "@JQUELIN/ModuleBuild",
- "version" : "4.300009"
+ "config" : {
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : 1
+ }
+ },
+ "name" : "@Author::JQUELIN/ModuleBuild",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
- "name" : "@JQUELIN/Readme",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/Readme",
+ "version" : "5.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
+ "name" : "@Author::JQUELIN/ReadmeAnyFromPod",
+ "version" : "0.133360"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
- "name" : "@JQUELIN/Manifest",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/Manifest",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::CheckChangeLog",
- "name" : "@JQUELIN/CheckChangeLog",
+ "name" : "@Author::JQUELIN/CheckChangeLog",
"version" : "0.01"
},
{
- "class" : "Dist::Zilla::Plugin::Git::Check",
- "name" : "@JQUELIN/Git::Check",
- "version" : "1.120370"
- },
- {
- "class" : "Dist::Zilla::Plugin::Git::Commit",
- "name" : "@JQUELIN/Git::Commit",
- "version" : "1.120370"
+ "class" : "Dist::Zilla::Plugin::TestRelease",
+ "name" : "@Author::JQUELIN/TestRelease",
+ "version" : "5.014"
},
{
- "class" : "Dist::Zilla::Plugin::Git::CommitBuild",
- "name" : "@JQUELIN/Git::CommitBuild",
- "version" : "1.120370"
+ "class" : "Dist::Zilla::Plugin::Git::Check",
+ "name" : "@Author::JQUELIN/Git::Check",
+ "version" : "2.020"
},
{
- "class" : "Dist::Zilla::Plugin::Git::Tag",
- "name" : "@JQUELIN/TagMaster",
- "version" : "1.120370"
+ "class" : "Dist::Zilla::Plugin::Git::Commit",
+ "name" : "@Author::JQUELIN/Git::Commit",
+ "version" : "2.020"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
- "name" : "@JQUELIN/TagRelease",
- "version" : "1.120370"
+ "name" : "@Author::JQUELIN/Git::Tag",
+ "version" : "2.020"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
- "name" : "@JQUELIN/Git::Push",
- "version" : "1.120370"
+ "name" : "@Author::JQUELIN/Git::Push",
+ "version" : "2.020"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
- "name" : "@JQUELIN/UploadToCPAN",
- "version" : "4.300009"
+ "name" : "@Author::JQUELIN/UploadToCPAN",
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300009"
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300009"
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300009"
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300009"
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300009"
+ "version" : "5.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300009"
+ "version" : "5.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : "@Author::JQUELIN/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
+ "version" : "5.014"
}
],
"zilla" : {
@@ -342,8 +486,11 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300009"
+ "version" : "5.014"
}
+ },
+ "x_author_pledge" : {
+ "version" : 1
}
}
@@ -3,256 +3,360 @@ abstract: 'common helper classes for mpd'
author:
- 'Jerome Quelin'
build_requires:
- File::Find: 0
- File::Temp: 0
- Module::Build: 0.3601
- Test::More: 0.88
+ File::Spec: '0'
+ IO::Handle: '0'
+ IPC::Open3: '0'
+ Module::Build: '0.3601'
+ Test::More: '0.88'
configure_requires:
- Module::Build: 0.3601
+ Module::Build: '0.3601'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300009, CPAN::Meta::Converter version 2.120630'
+generated_by: 'Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.140640'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Audio-MPD-Common
provides:
Audio::MPD::Common:
file: lib/Audio/MPD/Common.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Item:
file: lib/Audio/MPD/Common/Item.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Item::Directory:
file: lib/Audio/MPD/Common/Item/Directory.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Item::Playlist:
file: lib/Audio/MPD/Common/Item/Playlist.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Item::Song:
file: lib/Audio/MPD/Common/Item/Song.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Output:
file: lib/Audio/MPD/Common/Output.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Stats:
file: lib/Audio/MPD/Common/Stats.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Status:
file: lib/Audio/MPD/Common/Status.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Time:
file: lib/Audio/MPD/Common/Time.pm
- version: 1.120881
+ version: '2.000'
Audio::MPD::Common::Types:
file: lib/Audio/MPD/Common/Types.pm
- version: 1.120881
+ version: '2.000'
requires:
- Moose: 0.92
- Moose::Util::TypeConstraints: 0
- MooseX::Has::Sugar: 0
- MooseX::Types::Moose: 0
- Readonly: 0
- String::Formatter: 0
- base: 0
- overload: 0
- perl: 5.008
- strict: 0
- warnings: 0
+ Moose: '0.92'
+ Moose::Util::TypeConstraints: '0'
+ MooseX::Has::Sugar: '0'
+ MooseX::Types::Moose: '0'
+ Readonly: '0'
+ String::Formatter: '0'
+ base: '0'
+ overload: '0'
+ perl: '5.008'
+ strict: '0'
+ warnings: '0'
resources:
+ MailingList: http://groups.google.com/group/audio-mpd
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Audio-MPD-Common
homepage: http://search.cpan.org/dist/Audio-MPD-Common/
repository: git://github.com/jquelin/audio-mpd-common.git
- x_MailingList: http://groups.google.com/group/audio-mpd
-version: 1.120881
+version: '2.000'
x_Dist_Zilla:
+ perl:
+ version: '5.018002'
plugins:
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: 4.300009
+ version: '5.014'
-
- class: Dist::Zilla::Plugin::AutoVersion
- name: '@JQUELIN/AutoVersion'
- version: 4.300009
+ class: Dist::Zilla::Plugin::Git::NextVersion
+ name: '@Author::JQUELIN/Git::NextVersion'
+ version: '2.020'
-
class: Dist::Zilla::Plugin::GatherDir
- name: '@JQUELIN/GatherDir'
- version: 4.300009
- -
- class: Dist::Zilla::Plugin::CompileTests
- name: '@JQUELIN/CompileTests'
- version: 1.112820
- -
- class: Dist::Zilla::Plugin::HasVersionTests
- name: '@JQUELIN/HasVersionTests'
- version: 1.101420
- -
- class: Dist::Zilla::Plugin::KwaliteeTests
- name: '@JQUELIN/KwaliteeTests'
- version: 2.03
- -
- class: Dist::Zilla::Plugin::MinimumVersionTests
- name: '@JQUELIN/MinimumVersionTests'
- version: 2.0.1
+ name: '@Author::JQUELIN/GatherDir'
+ version: '5.014'
+ -
+ class: Dist::Zilla::Plugin::Test::Compile
+ config:
+ Dist::Zilla::Plugin::Test::Compile:
+ filename: t/00-compile.t
+ module_finder:
+ - ':InstallModules'
+ script_finder:
+ - ':ExecFiles'
+ name: '@Author::JQUELIN/Test::Compile'
+ version: '2.039'
-
class: Dist::Zilla::Plugin::PodCoverageTests
- name: '@JQUELIN/PodCoverageTests'
- version: 4.300009
+ name: '@Author::JQUELIN/PodCoverageTests'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
- name: '@JQUELIN/PodSyntaxTests'
- version: 4.300009
+ name: '@Author::JQUELIN/PodSyntaxTests'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
- name: '@JQUELIN/ReportVersions::Tiny'
- version: 1.03
+ name: '@Author::JQUELIN/ReportVersions::Tiny'
+ version: '1.10'
-
class: Dist::Zilla::Plugin::PruneCruft
- name: '@JQUELIN/PruneCruft'
- version: 4.300009
+ name: '@Author::JQUELIN/PruneCruft'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::PruneFiles
- name: '@JQUELIN/PruneFiles'
- version: 4.300009
+ name: '@Author::JQUELIN/PruneFiles'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::ManifestSkip
- name: '@JQUELIN/ManifestSkip'
- version: 4.300009
+ name: '@Author::JQUELIN/ManifestSkip'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::AutoPrereqs
- name: '@JQUELIN/AutoPrereqs'
- version: 4.300009
+ name: '@Author::JQUELIN/AutoPrereqs'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::ExtraTests
- name: '@JQUELIN/ExtraTests'
- version: 4.300009
+ name: '@Author::JQUELIN/ExtraTests'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::NextRelease
- name: '@JQUELIN/NextRelease'
- version: 4.300009
+ name: '@Author::JQUELIN/NextRelease'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::PkgVersion
- name: '@JQUELIN/PkgVersion'
- version: 4.300009
+ name: '@Author::JQUELIN/PkgVersion'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::PodWeaver
- name: '@JQUELIN/PodWeaver'
- version: 3.101641
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
+ plugins:
+ -
+ class: Pod::Weaver::Plugin::EnsurePod5
+ name: '@CorePrep/EnsurePod5'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Plugin::H1Nester
+ name: '@CorePrep/H1Nester'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Plugin::SingleEncoding
+ name: '@Default/SingleEncoding'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Name
+ name: '@Default/Name'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Version
+ name: '@Default/Version'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@Default/prelude'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: SYNOPSIS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: DESCRIPTION
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: OVERVIEW
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: ATTRIBUTES
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: METHODS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: FUNCTIONS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: '@Default/Leftovers'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@Default/postlude'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Authors
+ name: '@Default/Authors'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Legal
+ name: '@Default/Legal'
+ version: '4.006'
+ name: '@Author::JQUELIN/PodWeaver'
+ version: '4.005'
-
class: Dist::Zilla::Plugin::Prepender
- name: '@JQUELIN/Prepender'
- version: 1.112280
+ name: '@Author::JQUELIN/Prepender'
+ version: '1.112280'
-
class: Dist::Zilla::Plugin::ExecDir
- name: '@JQUELIN/ExecDir'
- version: 4.300009
+ name: '@Author::JQUELIN/ExecDir'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::ShareDir
- name: '@JQUELIN/ShareDir'
- version: 4.300009
+ name: '@Author::JQUELIN/ShareDir'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::Bugtracker
- name: '@JQUELIN/Bugtracker'
- version: 1.111080
+ name: '@Author::JQUELIN/Bugtracker'
+ version: '1.111080'
-
class: Dist::Zilla::Plugin::Homepage
- name: '@JQUELIN/Homepage'
- version: 1.101420
+ name: '@Author::JQUELIN/Homepage'
+ version: '1.101420'
-
class: Dist::Zilla::Plugin::Repository
- name: '@JQUELIN/Repository'
- version: 0.18
+ name: '@Author::JQUELIN/Repository'
+ version: '0.20'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
- name: '@JQUELIN/MetaProvides::Package'
- version: 1.14000001
+ config:
+ Dist::Zilla::Plugin::MetaProvides::Package:
+ finder_objects:
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: '@Author::JQUELIN/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
+ version: '5.014'
+ Dist::Zilla::Role::MetaProvider::Provider:
+ inherit_missing: '1'
+ inherit_version: '1'
+ meta_noindex: '1'
+ name: '@Author::JQUELIN/MetaProvides::Package'
+ version: '2.000001'
-
class: Dist::Zilla::Plugin::MetaConfig
- name: '@JQUELIN/MetaConfig'
- version: 4.300009
+ name: '@Author::JQUELIN/MetaConfig'
+ version: '5.014'
+ -
+ class: Dist::Zilla::Plugin::HelpWanted
+ name: '@Author::JQUELIN/HelpWanted'
+ version: 0.3.1
-
class: Dist::Zilla::Plugin::License
- name: '@JQUELIN/License'
- version: 4.300009
+ name: '@Author::JQUELIN/License'
+ version: '5.014'
+ -
+ class: Dist::Zilla::Plugin::Covenant
+ name: '@Author::JQUELIN/Covenant'
+ version: 0.1.0
-
class: Dist::Zilla::Plugin::MetaYAML
- name: '@JQUELIN/MetaYAML'
- version: 4.300009
+ name: '@Author::JQUELIN/MetaYAML'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::MetaJSON
- name: '@JQUELIN/MetaJSON'
- version: 4.300009
+ name: '@Author::JQUELIN/MetaJSON'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::ModuleBuild
- name: '@JQUELIN/ModuleBuild'
- version: 4.300009
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 1
+ name: '@Author::JQUELIN/ModuleBuild'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::Readme
- name: '@JQUELIN/Readme'
- version: 4.300009
+ name: '@Author::JQUELIN/Readme'
+ version: '5.014'
+ -
+ class: Dist::Zilla::Plugin::ReadmeAnyFromPod
+ name: '@Author::JQUELIN/ReadmeAnyFromPod'
+ version: '0.133360'
-
class: Dist::Zilla::Plugin::Manifest
- name: '@JQUELIN/Manifest'
- version: 4.300009
+ name: '@Author::JQUELIN/Manifest'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::CheckChangeLog
- name: '@JQUELIN/CheckChangeLog'
- version: 0.01
+ name: '@Author::JQUELIN/CheckChangeLog'
+ version: '0.01'
+ -
+ class: Dist::Zilla::Plugin::TestRelease
+ name: '@Author::JQUELIN/TestRelease'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::Git::Check
- name: '@JQUELIN/Git::Check'
- version: 1.120370
+ name: '@Author::JQUELIN/Git::Check'
+ version: '2.020'
-
class: Dist::Zilla::Plugin::Git::Commit
- name: '@JQUELIN/Git::Commit'
- version: 1.120370
- -
- class: Dist::Zilla::Plugin::Git::CommitBuild
- name: '@JQUELIN/Git::CommitBuild'
- version: 1.120370
+ name: '@Author::JQUELIN/Git::Commit'
+ version: '2.020'
-
class: Dist::Zilla::Plugin::Git::Tag
- name: '@JQUELIN/TagMaster'
- version: 1.120370
- -
- class: Dist::Zilla::Plugin::Git::Tag
- name: '@JQUELIN/TagRelease'
- version: 1.120370
+ name: '@Author::JQUELIN/Git::Tag'
+ version: '2.020'
-
class: Dist::Zilla::Plugin::Git::Push
- name: '@JQUELIN/Git::Push'
- version: 1.120370
+ name: '@Author::JQUELIN/Git::Push'
+ version: '2.020'
-
class: Dist::Zilla::Plugin::UploadToCPAN
- name: '@JQUELIN/UploadToCPAN'
- version: 4.300009
+ name: '@Author::JQUELIN/UploadToCPAN'
+ version: '5.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300009
+ version: '5.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300009
+ version: '5.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300009
+ version: '5.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300009
+ version: '5.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300009
+ version: '5.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300009
+ version: '5.014'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: '5.014'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: '5.014'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: '@Author::JQUELIN/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
+ version: '5.014'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 4.300009
+ is_trial: '0'
+ version: '5.014'
+x_author_pledge:
+ version: 1
@@ -1,7 +1,7 @@
This archive contains the distribution Audio-MPD-Common,
-version 1.120881:
+version 2.000:
common helper classes for mpd
@@ -11,3 +11,5 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.014.
+
@@ -8,4 +8,4 @@ copyright_year = 2007
[MetaResources]
x_MailingList = http://groups.google.com/group/audio-mpd
-[@JQUELIN]
+[@Author::JQUELIN]
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Item::Directory;
-{
- $Audio::MPD::Common::Item::Directory::VERSION = '1.120881';
-}
# ABSTRACT: a directory object
-
+$Audio::MPD::Common::Item::Directory::VERSION = '2.000';
use Moose;
use MooseX::Has::Sugar;
use MooseX::Types::Moose qw{ Str };
@@ -30,16 +27,19 @@ has directory => ( rw, isa=>Str, required );
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Item::Directory - a directory object
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -67,7 +67,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Item::Playlist;
-{
- $Audio::MPD::Common::Item::Playlist::VERSION = '1.120881';
-}
# ABSTRACT: a playlist object
-
+$Audio::MPD::Common::Item::Playlist::VERSION = '2.000';
use Moose;
use MooseX::Has::Sugar;
use MooseX::Types::Moose qw{ Str };
@@ -31,16 +28,19 @@ has playlist => ( rw, isa=>Str, required );
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Item::Playlist - a playlist object
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -72,7 +72,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Item::Song;
-{
- $Audio::MPD::Common::Item::Song::VERSION = '1.120881';
-}
# ABSTRACT: a song object with some audio tags
-
+$Audio::MPD::Common::Item::Song::VERSION = '2.000';
use Moose;
use MooseX::Has::Sugar;
use MooseX::Types::Moose qw{ Int Str };
@@ -90,16 +87,19 @@ sub as_string {
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Item::Song - a song object with some audio tags
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -219,7 +219,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Item;
-{
- $Audio::MPD::Common::Item::VERSION = '1.120881';
-}
# ABSTRACT: a generic collection item
-
+$Audio::MPD::Common::Item::VERSION = '2.000';
use Audio::MPD::Common::Item::Directory;
use Audio::MPD::Common::Item::Playlist;
use Audio::MPD::Common::Item::Song;
@@ -38,16 +35,19 @@ sub new {
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Item - a generic collection item
=head1 VERSION
-version 1.120881
+version 2.000
=head1 SYNOPSIS
@@ -84,7 +84,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Output;
-{
- $Audio::MPD::Common::Output::VERSION = '1.120881';
-}
# ABSTRACT: class representing MPD output
-
+$Audio::MPD::Common::Output::VERSION = '2.000';
use Moose;
use MooseX::Has::Sugar;
@@ -30,16 +27,19 @@ has enabled => ( ro, isa=>"Bool", required );
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Output - class representing MPD output
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -81,7 +81,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Stats;
-{
- $Audio::MPD::Common::Stats::VERSION = '1.120881';
-}
# ABSTRACT: class representing MPD stats
-
+$Audio::MPD::Common::Stats::VERSION = '2.000';
use Moose;
use MooseX::Has::Sugar;
use MooseX::Types::Moose qw{ Int };
@@ -35,16 +32,19 @@ has db_update => ( ro, isa=>Int, required );
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Stats - class representing MPD stats
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -100,7 +100,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Status;
-{
- $Audio::MPD::Common::Status::VERSION = '1.120881';
-}
# ABSTRACT: class representing MPD status
-
+$Audio::MPD::Common::Status::VERSION = '2.000';
use Moose;
use MooseX::Has::Sugar;
use MooseX::Types::Moose qw{ Bool Int Str };
@@ -45,16 +42,19 @@ has xfade => ( ro, isa=>Int );
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Status - class representing MPD status
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -142,7 +142,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,11 +11,8 @@ use strict;
use warnings;
package Audio::MPD::Common::Time;
-{
- $Audio::MPD::Common::Time::VERSION = '1.120881';
-}
# ABSTRACT: class representing time of current song
-
+$Audio::MPD::Common::Time::VERSION = '2.000';
use Moose 0.92; # need hash trait
@@ -101,16 +98,19 @@ sub _build__cooked_values {
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Time - class representing time of current song
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -199,8 +199,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
-
@@ -11,16 +11,13 @@ use warnings;
use strict;
package Audio::MPD::Common::Types;
-{
- $Audio::MPD::Common::Types::VERSION = '1.120881';
-}
# ABSTRACT: types used in the distribution
-
+$Audio::MPD::Common::Types::VERSION = '2.000';
use Moose::Util::TypeConstraints;
use Audio::MPD::Common::Time;
-enum 'State' => qw{ play stop pause };
+enum 'State' => [ qw{ play stop pause } ];
coerce 'Audio::MPD::Common::Time'
=> from 'Str'
@@ -28,16 +25,19 @@ coerce 'Audio::MPD::Common::Time'
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common::Types - types used in the distribution
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -67,7 +67,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -11,23 +11,23 @@ use strict;
use warnings;
package Audio::MPD::Common;
-{
- $Audio::MPD::Common::VERSION = '1.120881';
-}
# ABSTRACT: common helper classes for mpd
-
+$Audio::MPD::Common::VERSION = '2.000';
1;
+__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Audio::MPD::Common - common helper classes for mpd
=head1 VERSION
-version 1.120881
+version 2.000
=head1 DESCRIPTION
@@ -118,7 +118,3 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
-
-__END__
-
@@ -1,81 +1,59 @@
-#!perl
-#
-# This file is part of Audio-MPD-Common
-#
-# This software is copyright (c) 2007 by Jerome Quelin.
-#
-# This is free software; you can redistribute it and/or modify it under
-# the same terms as the Perl 5 programming language system itself.
-#
-
+use 5.006;
use strict;
use warnings;
-use Test::More;
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.039
+use Test::More tests => 10 + ($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 = (
+ 'Audio/MPD/Common.pm',
+ 'Audio/MPD/Common/Item.pm',
+ 'Audio/MPD/Common/Item/Directory.pm',
+ 'Audio/MPD/Common/Item/Playlist.pm',
+ 'Audio/MPD/Common/Item/Song.pm',
+ 'Audio/MPD/Common/Output.pm',
+ 'Audio/MPD/Common/Stats.pm',
+ 'Audio/MPD/Common/Status.pm',
+ 'Audio/MPD/Common/Time.pm',
+ 'Audio/MPD/Common/Types.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 };
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
+# no fake home requested
+
+my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
+
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
+
+open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+my @warnings;
+for my $lib (@module_files)
{
- # fake home for cpan-testers
- # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
-
- 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" );
- }
+ # see L<perlfaq8/How can I capture STDERR from an external command?>
+ my $stderr = IO::Handle->new;
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
+ binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+ my @_warnings = <$stderr>;
+ waitpid($pid, 0);
+ is($?, 0, "$lib loaded ok");
+
+ if (@_warnings)
+ {
+ warn @_warnings;
+ push @warnings, @_warnings;
}
}
+
+
+
+is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+
+
@@ -8,13 +8,13 @@ use Test::More 0.88;
our $success = 0;
END { $success && done_testing; }
-my $v = "\n";
+# List our own version used to generate this
+my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
eval { # no excuses!
# report our Perl details
my $want = '5.008';
- my $pv = ($^V || $]);
- $v .= "perl: $pv (wanted $want) on $^O from $^X\n\n";
+ $v .= "perl: $] (wanted $want) on $^O from $^X\n\n";
};
defined($@) and diag("$@");
@@ -48,8 +48,9 @@ sub pmver {
return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
}
-eval { $v .= pmver('File::Find','any version') };
-eval { $v .= pmver('File::Temp','any version') };
+eval { $v .= pmver('File::Spec','any version') };
+eval { $v .= pmver('IO::Handle','any version') };
+eval { $v .= pmver('IPC::Open3','any version') };
eval { $v .= pmver('Module::Build','0.3601') };
eval { $v .= pmver('Moose','0.92') };
eval { $v .= pmver('Moose::Util::TypeConstraints','any version') };
@@ -64,13 +65,12 @@ eval { $v .= pmver('strict','any version') };
eval { $v .= pmver('warnings','any version') };
-
# All done.
$v .= <<'EOT';
Thanks for using my code. I hope it works for you.
If not, please try and include this output in the bug report.
-That will help me reproduce the issue and solve you problem.
+That will help me reproduce the issue and solve your problem.
EOT
@@ -1,24 +0,0 @@
-#!perl
-#
-# This file is part of Audio-MPD-Common
-#
-# This software is copyright (c) 2007 by Jerome Quelin.
-#
-# This is free software; you can redistribute it and/or modify it under
-# the same terms as the Perl 5 programming language system itself.
-#
-
-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::HasVersion";
-plan skip_all => "Test::HasVersion required for testing version numbers"
- if $@;
-all_pm_version_ok();
@@ -1,25 +0,0 @@
-#!perl
-#
-# This file is part of Audio-MPD-Common
-#
-# This software is copyright (c) 2007 by Jerome Quelin.
-#
-# This is free software; you can redistribute it and/or modify it under
-# the same terms as the Perl 5 programming language system itself.
-#
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-
-# This test is generated by Dist::Zilla::Plugin::Test::Kwalitee
-use strict;
-use warnings;
-use Test::More; # needed to provide plan.
-eval "use Test::Kwalitee";
-
-plan skip_all => "Test::Kwalitee required for testing kwalitee" if $@;
@@ -1,24 +0,0 @@
-#!perl
-#
-# This file is part of Audio-MPD-Common
-#
-# This software is copyright (c) 2007 by Jerome Quelin.
-#
-# This is free software; you can redistribute it and/or modify it under
-# the same terms as the Perl 5 programming language system itself.
-#
-
-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::MinimumVersion";
-plan skip_all => "Test::MinimumVersion required for testing minimum versions"
- if $@;
-all_minimum_version_from_metayml_ok();
@@ -15,15 +15,9 @@ BEGIN {
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
@@ -15,9 +15,8 @@ BEGIN {
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();