Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: nrr/Dist-Zilla-PluginBundle-NRR
base: 120074ed85
...
head fork: nrr/Dist-Zilla-PluginBundle-NRR
compare: ceac0d64e6
Checking mergeability… Don't worry, you can still create the pull request.
  • 4 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 26 additions and 29 deletions.
  1. +26 −29 lib/Dist/Zilla/PluginBundle/NRR.pm
View
55 lib/Dist/Zilla/PluginBundle/NRR.pm
@@ -24,7 +24,7 @@ Rawr!
has _plugins => (
is => 'ro',
- isa => 'ArrayRef[Str]',
+ isa => 'ArrayRef',
lazy => 1,
default => sub {
my $self = shift;
@@ -33,32 +33,30 @@ has _plugins => (
MinimumPerl
GithubMeta
),
- ( 'MetaNoIndex' =>
+ [ 'MetaNoIndex' =>
{ directory => [qw[ t xt examples corpus ]], }
- ),
- ( 'Bugtracker' => {
+ ],
+ [ 'Bugtracker' => {
web => 'https://github.com/nrr/%s/issues',
mailto => 'nrr+bug-%U@corvidae.org',
}
- ),
- ( 'MetaProvides::Package' => { meta_noindex => 1, } ),
+ ],
+ [ 'MetaProvides::Package' => { meta_noindex => 1, } ],
qw(
MetaYAML
MetaJSON
),
- ( 'AutoVersion' => { major => $self->major_version, } ),
- ( 'GatherDir' => {
+ [ 'AutoVersion' => { major => $self->major_version, } ],
+ [ 'GatherDir' => {
exclude_filename => [
qw[
README.pod
META.json
- perlcritic.rc
- perltidy.rc
]
],
}
- ),
- ( 'PruneCruft' => {
+ ],
+ [ 'PruneCruft' => {
except => [
qw[
.gitignore
@@ -67,31 +65,31 @@ has _plugins => (
]
],
}
- ),
+ ],
qw(
ManifestSkip
OurPkgVersion
InsertCopyright
PodWeaver
),
- ( 'PerlTidy' => { perltidyrc => 'perltidy.rc', } ),
+ [ 'PerlTidy' => { perltidyrc => 'perltidy.rc', } ],
qw(
License
ReadmeFromPod
),
- ( 'ReadmeAnyFromPod' => {
+ [ 'ReadmeAnyFromPod' => {
type => 'pod',
filename => 'README.pod',
location => 'root',
}
- ),
- ( 'Test::Compile' => { fake_home => 1, } ),
+ ],
+ [ 'Test::Compile' => { fake_home => 1, } ],
qw(
Test::PodSpelling
),
- ( 'Test::Perl::Critic' =>
+ [ 'Test::Perl::Critic' =>
{ critic_config => 'perlcritic.rc', }
- ),
+ ],
qw(
MetaTests
PodSyntaxTests
@@ -103,12 +101,12 @@ has _plugins => (
MakeMaker
Manifest
),
- ( 'CopyFilesFromBuild' => {
+ [ 'CopyFilesFromBuild' => {
copy => [qw[ META.json ]],
move => [qw[ .gitignore ]],
}
- ),
- ( 'Git::Check' => {
+ ],
+ [ 'Git::Check' => {
allow_dirty => [
qw[
dist.ini
@@ -118,7 +116,7 @@ has _plugins => (
]
],
}
- ),
+ ],
qw(
CheckPrereqsIndexed
CheckChangesHasContent
@@ -130,7 +128,7 @@ has _plugins => (
qw(
NextRelease
),
- ( 'Git::Commit' => {
+ [ 'Git::Commit' => {
allow_dirty => [
qw[
dist.ini
@@ -140,9 +138,9 @@ has _plugins => (
]
],
}
- ),
- ( 'Git::Tag' => { tag_format => 'release-%v', } ),
- ( 'Git::Push' => { push_to => 'origin', } ),
+ ],
+ [ 'Git::Tag' => { tag_format => 'release-%v', } ],
+ [ 'Git::Push' => { push_to => 'origin', } ],
];
},
);
@@ -188,8 +186,7 @@ sub configure
my ( $self ) = @_;
$self->add_plugins(
- map { [ $_ => ( $self->plugin_options->{$_} || {} ) ] }
- @{ $self->_plugins },
+ map { $_ } @{ $self->_plugins },
);
}

No commit comments for this range

Something went wrong with that request. Please try again.