diff --git a/Build.PL b/Build.PL index 75015d48..be82b546 100644 --- a/Build.PL +++ b/Build.PL @@ -29,7 +29,7 @@ my %module_build_args = ( "Kent Fredric " ], "dist_name" => "Dist-Zilla-PluginBundle-Author-KENTNL", - "dist_version" => "1.0.19", + "dist_version" => "1.0.20", "license" => "perl", "module_name" => "Dist::Zilla::PluginBundle::Author::KENTNL", "recommends" => {}, @@ -39,6 +39,7 @@ my %module_build_args = ( "Class::Load" => 0, "Dist::Zilla" => "4.300000", "Dist::Zilla::File::FromCode" => 0, + "Dist::Zilla::Plugin::Authority" => 0, "Dist::Zilla::Plugin::AutoPrereqs" => "4.200011", "Dist::Zilla::Plugin::AutoVersion::Relative" => "0.01035617", "Dist::Zilla::Plugin::CheckExtraTests" => 0, diff --git a/Changes b/Changes index 335d7f84..1ea1e316 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ Revision history for Dist-Zilla-PluginBundle-Author-KENTNL +1.0.20 2011-09-10T19:45:36Z + [Dependencies::Runtime::New] + - Dist::Zilla::Plugin::Authority + + [Features] + - Use Authority. + 1.0.19 2011-09-06T19:42:54Z [BugFix] - Only call uname on Linux. ( Reported by James Laver ) diff --git a/META.json b/META.json index 29dc4df9..56033fca 100644 --- a/META.json +++ b/META.json @@ -42,6 +42,7 @@ "Class::Load" : 0, "Dist::Zilla" : "4.300000", "Dist::Zilla::File::FromCode" : 0, + "Dist::Zilla::Plugin::Authority" : 0, "Dist::Zilla::Plugin::AutoPrereqs" : "4.200011", "Dist::Zilla::Plugin::AutoVersion::Relative" : "0.01035617", "Dist::Zilla::Plugin::CheckExtraTests" : 0, @@ -120,15 +121,15 @@ "provides" : { "Dist::Zilla::MintingProfile::Author::KENTNL" : { "file" : "lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm", - "version" : "v1.0.19" + "version" : "v1.0.20" }, "Dist::Zilla::Plugin::Author::KENTNL::DistINI" : { "file" : "lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm", - "version" : "v1.0.19" + "version" : "v1.0.20" }, "Dist::Zilla::PluginBundle::Author::KENTNL" : { "file" : "lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm", - "version" : "v1.0.19" + "version" : "v1.0.20" } }, "release_status" : "stable", @@ -140,14 +141,15 @@ "web" : "https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL" } }, - "version" : "1.0.19", + "version" : "1.0.20", "x_BuiltWith" : { "modules" : { "Capture::Tiny" : "0.11", "Carp" : "1.20", - "Class::Load" : "0.08", + "Class::Load" : "0.10", "Dist::Zilla" : "4.300000", "Dist::Zilla::File::FromCode" : "4.300000", + "Dist::Zilla::Plugin::Authority" : "0.01", "Dist::Zilla::Plugin::AutoPrereqs" : "4.300000", "Dist::Zilla::Plugin::AutoVersion::Relative" : "0.01060309", "Dist::Zilla::Plugin::Bootstrap::lib" : "0.01023600", @@ -230,7 +232,7 @@ ] }, "platform" : "linux", - "uname" : "Linux 3.0.1-gentoo x86_64 GenuineIntel GNU/Linux" + "uname" : "Linux 3.0.3-gentoo x86_64 GenuineIntel GNU/Linux" }, "x_Dist_Zilla" : { "plugins" : [ @@ -269,6 +271,11 @@ "name" : "@Author::KENTNL/PkgVersion", "version" : "4.300000" }, + { + "class" : "Dist::Zilla::Plugin::Authority", + "name" : "@Author::KENTNL/Authority", + "version" : "0.01" + }, { "class" : "Dist::Zilla::Plugin::PodWeaver", "name" : "@Author::KENTNL/PodWeaver", @@ -533,6 +540,7 @@ }, "version" : "4.300000" } - } + }, + "x_authority" : "cpan:KENTNL" } diff --git a/META.yml b/META.yml index eb6954d5..f9614865 100644 --- a/META.yml +++ b/META.yml @@ -28,18 +28,19 @@ name: Dist-Zilla-PluginBundle-Author-KENTNL provides: Dist::Zilla::MintingProfile::Author::KENTNL: file: lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm - version: v1.0.19 + version: v1.0.20 Dist::Zilla::Plugin::Author::KENTNL::DistINI: file: lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm - version: v1.0.19 + version: v1.0.20 Dist::Zilla::PluginBundle::Author::KENTNL: file: lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm - version: v1.0.19 + version: v1.0.20 requires: Carp: 0 Class::Load: 0 Dist::Zilla: 4.300000 Dist::Zilla::File::FromCode: 0 + Dist::Zilla::Plugin::Authority: 0 Dist::Zilla::Plugin::AutoPrereqs: 4.200011 Dist::Zilla::Plugin::AutoVersion::Relative: 0.01035617 Dist::Zilla::Plugin::CheckExtraTests: 0 @@ -99,14 +100,15 @@ requires: resources: homepage: https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL repository: https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL.git -version: 1.0.19 +version: 1.0.20 x_BuiltWith: modules: Capture::Tiny: 0.11 Carp: 1.20 - Class::Load: 0.08 + Class::Load: 0.10 Dist::Zilla: 4.300000 Dist::Zilla::File::FromCode: 4.300000 + Dist::Zilla::Plugin::Authority: 0.01 Dist::Zilla::Plugin::AutoPrereqs: 4.300000 Dist::Zilla::Plugin::AutoVersion::Relative: 0.01060309 Dist::Zilla::Plugin::Bootstrap::lib: 0.01023600 @@ -186,7 +188,7 @@ x_BuiltWith: - 14 - 1 platform: linux - uname: 'Linux 3.0.1-gentoo x86_64 GenuineIntel GNU/Linux' + uname: 'Linux 3.0.3-gentoo x86_64 GenuineIntel GNU/Linux' x_Dist_Zilla: plugins: - @@ -217,6 +219,10 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::PkgVersion name: '@Author::KENTNL/PkgVersion' version: 4.300000 + - + class: Dist::Zilla::Plugin::Authority + name: '@Author::KENTNL/Authority' + version: 0.01 - class: Dist::Zilla::Plugin::PodWeaver name: '@Author::KENTNL/PodWeaver' @@ -422,3 +428,4 @@ x_Dist_Zilla: config: is_trial: 0 version: 4.300000 +x_authority: cpan:KENTNL diff --git a/README b/README index c62a40b3..a7196aff 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME build your distributions. VERSION - version 1.0.19 + version 1.0.20 SYNOPSIS [@Author::KENTNL] diff --git a/dist.ini b/dist.ini index a8c49e12..96758e20 100644 --- a/dist.ini +++ b/dist.ini @@ -28,6 +28,7 @@ Dist::Zilla::Plugin::Bootstrap::lib = 0 [Prereqs] Dist::Zilla = 4.300000 +Dist::Zilla::Plugin::Authority = 0 Dist::Zilla::Plugin::AutoPrereqs = 4.200011 ; skip takes an array Dist::Zilla::Plugin::AutoVersion::Relative = 0.01035617 Dist::Zilla::Plugin::CheckExtraTests = 0 diff --git a/lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm b/lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm index 5d27b38a..3b053f83 100644 --- a/lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm +++ b/lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm @@ -2,8 +2,11 @@ use strict; use warnings; package Dist::Zilla::MintingProfile::Author::KENTNL; +BEGIN { + $Dist::Zilla::MintingProfile::Author::KENTNL::AUTHORITY = 'cpan:KENTNL'; +} { - $Dist::Zilla::MintingProfile::Author::KENTNL::VERSION = '1.0.19'; + $Dist::Zilla::MintingProfile::Author::KENTNL::VERSION = '1.0.20'; } # ABSTRACT: KENTNL's Minting Profile @@ -26,7 +29,7 @@ Dist::Zilla::MintingProfile::Author::KENTNL - KENTNL's Minting Profile =head1 VERSION -version 1.0.19 +version 1.0.20 =head1 SYNOPSIS diff --git a/lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm b/lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm index 838fcc7c..7a864482 100644 --- a/lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm +++ b/lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm @@ -2,8 +2,11 @@ use strict; use warnings; package Dist::Zilla::Plugin::Author::KENTNL::DistINI; +BEGIN { + $Dist::Zilla::Plugin::Author::KENTNL::DistINI::AUTHORITY = 'cpan:KENTNL'; +} { - $Dist::Zilla::Plugin::Author::KENTNL::DistINI::VERSION = '1.0.19'; + $Dist::Zilla::Plugin::Author::KENTNL::DistINI::VERSION = '1.0.20'; } # ABSTRACT: Generate a C for @Author::KENTNL projects. @@ -115,7 +118,7 @@ Dist::Zilla::Plugin::Author::KENTNL::DistINI - Generate a C for @Autho =head1 VERSION -version 1.0.19 +version 1.0.20 =head1 SYNOPSIS diff --git a/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm b/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm index 6cedec23..3df00de5 100644 --- a/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm +++ b/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm @@ -2,8 +2,11 @@ use strict; use warnings; package Dist::Zilla::PluginBundle::Author::KENTNL; +BEGIN { + $Dist::Zilla::PluginBundle::Author::KENTNL::AUTHORITY = 'cpan:KENTNL'; +} { - $Dist::Zilla::PluginBundle::Author::KENTNL::VERSION = '1.0.19'; + $Dist::Zilla::PluginBundle::Author::KENTNL::VERSION = '1.0.20'; } # ABSTRACT: BeLike::KENTNL when you build your distributions. @@ -150,6 +153,9 @@ sub bundle_config { $checker->( $self, $param ); } + if ( not defined $arg->{authority} ) { + $arg->{authority} = 'cpan:KENTNL'; + } if ( not defined $arg->{auto_prereqs_skip} ) { $arg->{auto_prereqs_skip} = []; } @@ -183,6 +189,7 @@ sub bundle_config { _only_git( $arg, [ 'GithubMeta' => {} ] ), [ 'License' => {} ], [ 'PkgVersion' => {} ], + [ 'Authority' => { authority => $arg->{authority}, do_metadata => 1 } ], [ 'PodWeaver' => {} ], [ 'MetaProvides::Package' => {} ], [ 'MetaJSON' => {} ], @@ -191,7 +198,7 @@ sub bundle_config { [ 'ReadmeFromPod' => {} ], [ 'ManifestSkip' => {} ], [ 'Manifest' => {} ], - [ 'AutoPrereqs' => { skip => $arg->{auto_prereqs_skip} } ], + [ 'AutoPrereqs' => { skip => $arg->{auto_prereqs_skip} } ], [ 'Prereqs' => { -name => 'BundleDevelNeeds', @@ -217,19 +224,19 @@ sub bundle_config { } ], - [ 'MetaData::BuiltWith' => { $^O eq 'linux' ? ( show_uname => 1, uname_args => q{ -s -o -r -m -i } ) : ( ) } ], - [ 'Test::CPAN::Changes' => {} ], - [ 'Test::Compile' => {} ], - [ 'Test::Perl::Critic' => {} ], - [ 'MetaTests' => {} ], - [ 'PodCoverageTests' => {} ], - [ 'PodSyntaxTests' => {} ], + [ 'MetaData::BuiltWith' => { $^O eq 'linux' ? ( show_uname => 1, uname_args => q{ -s -o -r -m -i } ) : () } ], + [ 'Test::CPAN::Changes' => {} ], + [ 'Test::Compile' => {} ], + [ 'Test::Perl::Critic' => {} ], + [ 'MetaTests' => {} ], + [ 'PodCoverageTests' => {} ], + [ 'PodSyntaxTests' => {} ], [ 'ReportVersions::Tiny' => {} ], [ 'Test::Kwalitee' => {} ], - [ 'EOLTests' => { trailing_whitespace => 1, } ], - [ 'CheckExtraTests' => {} ], - [ 'TestRelease' => {} ], - [ 'ConfirmRelease' => {} ], + [ 'EOLTests' => { trailing_whitespace => 1, } ], + [ 'CheckExtraTests' => {} ], + [ 'TestRelease' => {} ], + [ 'ConfirmRelease' => {} ], _if_twitter( $arg, [ [ 'FakeRelease' => { user => 'KENTNL' }, ], [ 'Twitter' => $twitter_conf, ], ], @@ -265,7 +272,7 @@ Dist::Zilla::PluginBundle::Author::KENTNL - BeLike::KENTNL when you build your d =head1 VERSION -version 1.0.19 +version 1.0.20 =head1 SYNOPSIS diff --git a/t/000-report-versions-tiny.t b/t/000-report-versions-tiny.t index b88d1173..00cf9812 100644 --- a/t/000-report-versions-tiny.t +++ b/t/000-report-versions-tiny.t @@ -53,6 +53,7 @@ eval { $v .= pmver('Carp','any version') }; eval { $v .= pmver('Class::Load','any version') }; eval { $v .= pmver('Dist::Zilla','4.300000') }; eval { $v .= pmver('Dist::Zilla::File::FromCode','any version') }; +eval { $v .= pmver('Dist::Zilla::Plugin::Authority','any version') }; eval { $v .= pmver('Dist::Zilla::Plugin::AutoPrereqs','4.200011') }; eval { $v .= pmver('Dist::Zilla::Plugin::AutoVersion::Relative','0.01035617') }; eval { $v .= pmver('Dist::Zilla::Plugin::Bootstrap::lib','any version') };