[libdist-zilla-role-bootstrap-perl] 06/06: reduce whitespace
Axel Beckert
abe at deuxchevaux.org
Sat Aug 8 11:59:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 1.000003-source
in repository libdist-zilla-role-bootstrap-perl.
commit dbab5deb138963f4230eb4a41ab5131b309aee8b
Author: Kent Fredric <kentfredric at gmail.com>
Date: Sat Aug 16 09:30:54 2014 +1200
reduce whitespace
---
Changes | 4 ++++
lib/Dist/Zilla/Role/Bootstrap.pm | 50 +++++++++++++++++++---------------------
2 files changed, 28 insertions(+), 26 deletions(-)
diff --git a/Changes b/Changes
index b1a89c1..5edc27d 100644
--- a/Changes
+++ b/Changes
@@ -5,6 +5,7 @@ Release history for Dist-Zilla-Role-Bootstrap
- CPANDAY!
- no code changes.
- tests augmented.
+ - whitespace adjusted.
[Dependencies::Stats]
- Dependencies changed since 1.000002, see misc/*.deps* for details
@@ -12,6 +13,9 @@ Release history for Dist-Zilla-Role-Bootstrap
- develop: +1 (suggests: ↑1)
- test: +1 -2 (recommends: ↑1 -1)
+ [Misc]
+ - Improve source side POD to reduce build side whitespace.
+
[Tests]
- Update ReportPrereqs tests.
diff --git a/lib/Dist/Zilla/Role/Bootstrap.pm b/lib/Dist/Zilla/Role/Bootstrap.pm
index 08246f3..1c79a07 100644
--- a/lib/Dist/Zilla/Role/Bootstrap.pm
+++ b/lib/Dist/Zilla/Role/Bootstrap.pm
@@ -28,31 +28,6 @@ use version qw();
=cut
-=head1 SYNOPSIS
-
-For consuming plugins:
-
- use Moose;
- with 'Dist::Zilla::Role::Bootstrap';
-
- sub bootstrap {
- my $bootstrap_root = $_[0]->_bootstrap_root;
- # Do the actual bootstrap work here
- $_[0]->_add_inc('./some/path/here');
- }
-
-For users of plugins:
-
- [Some::Plugin::Name]
- try_built = 0 ; # use / as the root to bootstrap
- try_built = 1 ; # try to use /Dist-Name-.*/ instead of /
-
- fallback = 0 ; # don't bootstrap at all if /Dist-Name-.*/ matches != 1 things
- fallback = 1 ; # fallback to / if /Dist-Name-.*/ matches != 1 things
-
-
-=cut
-
with 'Dist::Zilla::Role::Plugin';
around 'dump_config' => sub {
@@ -114,7 +89,6 @@ This attribute controls how the consuming C<plugin> behaves.
=back
-
=cut
has try_built => (
@@ -328,3 +302,27 @@ around plugin_from_config => sub {
no Moose::Role;
1;
+
+=head1 SYNOPSIS
+
+For consuming plugins:
+
+ use Moose;
+ with 'Dist::Zilla::Role::Bootstrap';
+
+ sub bootstrap {
+ my $bootstrap_root = $_[0]->_bootstrap_root;
+ # Do the actual bootstrap work here
+ $_[0]->_add_inc('./some/path/here');
+ }
+
+For users of plugins:
+
+ [Some::Plugin::Name]
+ try_built = 0 ; # use / as the root to bootstrap
+ try_built = 1 ; # try to use /Dist-Name-.*/ instead of /
+
+ fallback = 0 ; # don't bootstrap at all if /Dist-Name-.*/ matches != 1 things
+ fallback = 1 ; # fallback to / if /Dist-Name-.*/ matches != 1 things
+
+=cut
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git
More information about the Pkg-perl-cvs-commits
mailing list