Dist-Zilla-Role-Bootstrap-1.001002/0000755000175000017500000000000012544665230015256 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/.mailmap0000644000175000017500000000014412544665230016676 0ustar kentkent# git help shortlog # newname oldname Dist-Zilla-Role-Bootstrap-1.001002/INSTALL.SKIP0000644000175000017500000000002212544665230017046 0ustar kentkentCONTRIBUTING.pod$ Dist-Zilla-Role-Bootstrap-1.001002/LICENSE0000644000175000017500000004376512544665230016302 0ustar kentkentThis software is copyright (c) 2015 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Terms of the Perl programming language system itself a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" --- The GNU General Public License, Version 1, February 1989 --- This software is Copyright (c) 2015 by Kent Fredric . This is free software, licensed under: The GNU General Public License, Version 1, February 1989 GNU GENERAL PUBLIC LICENSE Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. 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. Preamble The license agreements of most software companies try to keep users at the mercy of those companies. By contrast, our General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. The General Public License applies to the Free Software Foundation's software and to any other program whose authors commit to using it. You can use it for your programs, too. When we speak of free software, we are referring to freedom, not price. Specifically, the General Public License is designed to make sure that you have the freedom to give away or sell copies of free software, that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of a such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must tell them their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any work containing the Program or a portion of it, either verbatim or with modifications. Each licensee is addressed as "you". 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this General Public License and to the absence of any warranty; and give any other recipients of the Program a copy of this General Public License along with the Program. You may charge a fee for the physical act of transferring a copy. 2. You may modify your copy or copies of the Program or any portion of it, and copy and distribute such modifications under the terms of Paragraph 1 above, provided that you also do the following: a) cause the modified files to carry prominent notices stating that you changed the files and the date of any change; and b) cause the whole of any work that you distribute or publish, that in whole or in part contains the Program or any part thereof, either with or without modifications, to be licensed at no charge to all third parties under the terms of this General Public License (except that you may choose to grant warranty protection to some or all third parties, at your option). c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the simplest and most usual way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this General Public License. d) You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. Mere aggregation of another independent work with the Program (or its derivative) on a volume of a storage or distribution medium does not bring the other work under the scope of these terms. 3. You may copy and distribute the Program (or a portion or derivative of it, under Paragraph 2) in object code or executable form under the terms of Paragraphs 1 and 2 above provided that you also do one of the following: a) accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Paragraphs 1 and 2 above; or, b) accompany it with a written offer, valid for at least three years, to give any third party free (except for a nominal charge for the cost of distribution) a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Paragraphs 1 and 2 above; or, c) accompany it with the information you received as to where the corresponding source code may be obtained. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form alone.) Source code for a work means the preferred form of the work for making modifications to it. For an executable file, complete source code means all the source code for all modules it contains; but, as a special exception, it need not include source code for modules which are standard libraries that accompany the operating system on which the executable file runs, or for standard header files or definitions files that accompany that operating system. 4. You may not copy, modify, sublicense, distribute or transfer the Program except as expressly provided under this General Public License. Any attempt otherwise to copy, modify, sublicense, distribute or transfer the Program is void, and will automatically terminate your rights to use the Program under this License. However, parties who have received copies, or rights to use copies, from you under this General Public License will not have their licenses terminated so long as such parties remain in full compliance. 5. By copying, distributing or modifying the Program (or any work based on the Program) you indicate your acceptance of this license to do so, and all its terms and conditions. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. 7. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of the license which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the license, you may choose any version ever published by the Free Software Foundation. 8. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to humanity, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19xx name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (a program to direct compilers to make passes at assemblers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice That's all there is to it! --- The Artistic License 1.0 --- This software is Copyright (c) 2015 by Kent Fredric . This is free software, licensed under: The Artistic License 1.0 The Artistic License Preamble The intent of this document is to state the conditions under which a Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications. Definitions: - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. A Package modified in such a way shall still be considered the Standard Version. 3. You may otherwise modify your copy of this Package in any way, provided that you insert a prominent notice in each changed file stating how and when you changed that file, and provided that you do at least ONE of the following: a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or placing the modifications on a major archive site such as ftp.uu.net, or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. b) use the modified Package only within your corporation or organization. c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided, and provide a separate manual page for each non-standard executable that clearly documents how it differs from the Standard Version. d) make other distribution arrangements with the Copyright Holder. 4. You may distribute the programs of this Package in object code or executable form, provided that you do at least ONE of the following: a) distribute a Standard Version of the executables and library files, together with instructions (in the manual page or equivalent) on where to get the Standard Version. b) accompany the distribution with the machine-readable source of the Package with your modifications. c) accompany any non-standard executables with their corresponding Standard Version executables, giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version. d) make other distribution arrangements with the Copyright Holder. 5. You may charge a reasonable copying fee for any distribution of this Package. You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. 7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package. 8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End Dist-Zilla-Role-Bootstrap-1.001002/Changes0000644000175000017500000001146212544665230016555 0ustar kentkentRelease history for Dist-Zilla-Role-Bootstrap 1.001002 2015-07-01T04:05:24Z 66d4baf [Bugfix] - Bodge around testers with broken mtime implementations by agressively trying to make files with seperate mtimes and then skipping all the tests if that isnt possible, with a grace window of up to 5 seconds to get it right. [Dependencies::Stats] - Dependencies changed since 1.001001, see misc/*.deps* for details - develop: +2 (suggests: ↑1) 1.001001 2015-06-29T09:03:38Z ab79bd2 [Bugfix] - Add diagnostics on mtime test to see why it failed. [Dependencies::Stats] - Dependencies changed since 1.001000, see misc/*.deps* for details - develop: +1 ↑3 -1 (suggests: ↑2) 1.001000 2015-01-20T20:29:54Z f0042b5 [Dependencies::Stats] - Dependencies changed since 1.000003, see misc/*.deps* for details - configure: +1 (recommends: ↑1) - develop: +9 ↑3 -2 (recommends: +1, suggests: ↑2) - runtime: -1 (recommends: +1) - test: +1 (recommends: +1 ↑1 ↓1) [Documentation] - Furnish a simple DESCRIPTION section for README [Internals] - Cease use of MX::AttributeShortcuts to remove autobox indirect dependency. [Meta] - Assign author=cpanid 1.000003 2014-08-15T21:30:54Z [00 Trivial] - CPANDAY! - no code changes. - tests augmented. - whitespace adjusted. [Dependencies::Stats] - Dependencies changed since 1.000002, see misc/*.deps* for details - configure: ↓1 - develop: +1 (suggests: ↑1) - test: +1 -2 (recommends: ↑1 -1) [Misc] - Improve source side POD to reduce build side whitespace. [Tests] - Update ReportPrereqs tests. 1.000002 2014-07-15T09:52:40Z [00 Trivial] - Minor packaging cleanups. [Dependencies::Stats] - Dependencies changed since 1.000001, see misc/*.deps* for details - configure: (recommends: ↑1) - develop: +3 -3 (suggests: +2 -1) - test: (recommends: ↑1) 1.000001 2014-04-05T07:37:23Z [00 Test Fixes] - Drop dependency on Path::FindDev [Dependencies::Aggregate] - 5.008 : 207 → 205 - 5.010 : 187 → 185 - 5.019 : 166 → 163 [Dependencies::Stats] - Dependencies changed since 1.000000, see misc/*.deps* for details - test: +1 -1 1.000000 2014-04-05T05:29:35Z [00 Major] - This distribution has a few changes that are major enough that non-perl toolchains may need to pay attention. - Everyone else should find the changes in this release boring, except maybe those who are trying to get off the Module::Build train. [01 Versioning Scheme change] - x.y.z becomes x.abydez, aka: Floats. If this is a problem, please normalise versions downstream. - Versioning scheme change is primary reason for 1.XXX on the box. [02 Tooling Change] - Internals now run on ExtUtils::MakeMaker instead of Module::Build. [Dependencies::Aggregate] - 5.008 : 205 → 207 - 5.010 : 183 → 187 - 5.019 : 167 → 166 [Dependencies::Stats] - Dependencies changed since 0.2.3, see misc/*.deps* for details - build: -1 - configure: +1 -1 (recommends: +1) - develop: +7 ↑1 -9 - runtime: +1 ↑1 - test: +3 ↓1 (recommends: +4) 0.2.3 2013-11-18T17:50:53Z [00 Bugfix] - Depend on a minimum version of MooseX::AttributeShortcuts to provide builder => sub {} support - Thanks, Graham Ollis for reporting, closes #1 [Dependencies::Noteworthy] - MooseX::AttributeShortcuts 0 → 0.015 [Dependencies::Stats] - Dependencies changed since 0.2.2, see misc/*.deps* for details - runtime: ↑1 0.2.2 2013-11-18T04:24:16Z [00 Minor/Bugfix] - Drop mandatory dep on 5.10.1. You will need a recent version.pm if you want a version-specific dependency to work - Use latest MB Magic - Switch to Compile::PerFile [Dependencies::Noteworthy] - Module::Build upgrade - perl v5.10.0 → 5.006 - Test::More 0.98 → 1.001002 [Dependencies::Stats] - Dependencies changed since 0.2.1, see misc/*.deps* for details - build: ↑1 - configure: ↑1 - develop: +43 ↑1 -1 (recommends: -1, suggests: +1 -1) - runtime: ↓1 - test: ↑1 -3 [Documentation] - Use MetaCPAN in README.mkdn [Tests] - Regenerate Report::Versions to not report develop things. - S/Compile/Compile::PerFile/ 0.2.1 2013-09-24T02:37:30Z [Bugfix] - use ->realpath for comparisons to avoid symlink confusion on darwin - use $zilla->root instead of calling cwd() [Dependencies::Stats] - Dependencies changed since 0.2.0, see misc/*.deps* for details - runtime: -1 0.2.0 2013-09-21T12:39:54Z [00 Major - try_built_method] - New mechanisms for try_built if there is >1 build trees - Default mechanism 'mtime' picks built dir with the most recent mtime - Alternative mechanism attempts to parse versions out of build dirs and use the latest [Dependencies::Noteworthy] - added : List::UtilsBy - added : version - added : File::Copy::Recursive [Dependencies::Stats] - Dependencies changed since 0.1.0, see misc/*.deps* for details - runtime: +2 - test: +2 0.1.0 2013-09-04T11:24:24Z - First version. Dist-Zilla-Role-Bootstrap-1.001002/lib/0000755000175000017500000000000012544665230016024 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/lib/Dist/0000755000175000017500000000000012544665230016727 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/lib/Dist/Zilla/0000755000175000017500000000000012544665230020002 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/lib/Dist/Zilla/Role/0000755000175000017500000000000012544665230020703 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/lib/Dist/Zilla/Role/Bootstrap.pm0000644000175000017500000002155612544665230023227 0ustar kentkentuse 5.008; # utf8 use strict; use warnings; use utf8; package Dist::Zilla::Role::Bootstrap; our $VERSION = '1.001002'; # ABSTRACT: Shared logic for bootstrap things. our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY use Moose::Role qw( with has around requires ); use List::UtilsBy qw( max_by nmax_by ); use version qw(); with 'Dist::Zilla::Role::Plugin'; around 'dump_config' => sub { my ( $orig, $self, @args ) = @_; my $config = $self->$orig(@args); my $localconf = {}; for my $attribute (qw( try_built try_built_method fallback distname )) { my $pred = 'has_' . $attribute; if ( $self->can($pred) ) { next unless $self->$pred(); } if ( $self->can($attribute) ) { $localconf->{$attribute} = $self->$attribute(); } } $config->{ q{} . __PACKAGE__ } = $localconf; return $config; }; has distname => ( isa => 'Str', is => ro =>, lazy_build => 1 ); sub _build_distname { my ($self) = @_; return $self->zilla->name; } has _cwd => ( is => ro =>, lazy_build => 1, ); sub _build__cwd { my ($self) = @_; require Path::Tiny; return Path::Tiny::path( $self->zilla->root ); } has try_built => ( isa => 'Bool', is => ro =>, lazy_build => 1, ); sub _build_try_built { return } has fallback => ( isa => 'Bool', is => ro =>, lazy_build => 1 ); sub _build_fallback { return 1 } has try_built_method => ( isa => 'Str', is => ro =>, lazy_build => 1, ); sub _build_try_built_method { return 'mtime' } sub _pick_latest_mtime { my ( undef, @candidates ) = @_; return max_by { $_->stat->mtime } @candidates; } sub _get_candidate_version { my ( $self, $candidate ) = @_; my $distname = $self->distname; if ( $candidate->basename =~ /\A\Q$distname\E-(.+\z)/msx ) { my $version = $1; $version =~ s/-TRIAL\z//msx; return version->parse($version); } } sub _pick_latest_parseversion { my ( $self, @candidates ) = @_; return max_by { $self->_get_candidate_version($_) } @candidates; } my (%methods) = ( mtime => _pick_latest_mtime =>, parseversion => _pick_latest_parseversion =>, ); sub _pick_candidate { my ( $self, @candidates ) = @_; my $method = $self->try_built_method; if ( not exists $methods{$method} ) { require Carp; Carp::croak("No such candidate picking method $method"); } $method = $methods{$method}; return $self->$method(@candidates); } has _bootstrap_root => ( is => ro =>, lazy_build => 1 ); sub _build__bootstrap_root { my ($self) = @_; if ( not $self->try_built ) { return $self->_cwd; } my $distname = $self->distname; my (@candidates) = grep { $_->basename =~ /\A\Q$distname\E-/msx } grep { $_->is_dir } $self->_cwd->children; if ( 1 == scalar @candidates ) { return $candidates[0]; } if ( scalar @candidates < 1 ) { if ( not $self->fallback ) { $self->log( [ 'candidates for bootstrap (%s) == 0, and fallback disabled. not bootstrapping', 0 + @candidates ] ); return; } else { $self->log( [ 'candidates for bootstrap (%s) == 0, fallback to boostrapping /', 0 + @candidates ] ); return $self->_cwd; } } $self->log_debug( [ '>1 candidates, picking one by method %s', $self->try_built_method ] ); return $self->_pick_candidate(@candidates); } sub _add_inc { my ( undef, $import ) = @_; if ( not ref $import ) { require lib; return lib->import($import); } require Carp; return Carp::croak('At this time, _add_inc(arg) only supports scalar values of arg'); } requires 'bootstrap'; around plugin_from_config => sub { my ( $orig, $plugin_class, $name, $payload, $section ) = @_; my $instance = $plugin_class->$orig( $name, $payload, $section ); $instance->bootstrap; return $instance; }; no Moose::Role; 1; __END__ =pod =encoding UTF-8 =head1 NAME Dist::Zilla::Role::Bootstrap - Shared logic for bootstrap things. =head1 VERSION version 1.001002 =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 =head1 DESCRIPTION This module is a role that aims to be consumed by plugins that want to perform some very early bootstrap operation that may affect the loading environment of successive plugins, especially with regards to plugins that may wish to build with themselves, either by consuming the source tree itself, or by consuming a previous built iteration. Implementation is quite simple: =over 4 =item 1. C this role in your plugin with 'Dist::Zilla::Role::Bootstrap' =item 2. Implement the C sub. sub bootstrap { my ( $self ) = @_; } =item 3. I: Fetch the discovered C root via: $self->_bootstap_root =item 4. I: Load some path into C<@INC> via: $self->_add_inc($path) =back =head1 REQUIRED METHODS =head2 C Any user specified C method will be invoked during C. This is B C<< ->new >>, B C<< ->BUILD >>, and B C's internal C steps. This occurs within the C phase of the plug-in loading and configuration. This also occurs B C attaches the plug-in into the plug-in stash. =head1 ATTRIBUTES =head2 C The name of the distribution. This value is vivified by asking C<< zilla->name >>. Usually this value is populated by C in the property C However, occasionally, this value is discovered by a C. In such a case, that plugin cannot be bootstrapped, because that plugin B be loaded prior to bootstrap. =head2 C This attribute controls how the consuming C behaves. =over 4 =item * false B<(default)> : bootstrapping is only done to C =item * true : bootstrap attempts to try C<< PROJECTROOT/-/lib >> =back =head2 C This attribute is for use in conjunction with C =over 4 =item * C : When C<< PROJECTROOT/- >> does not exist, don't perform any bootstrapping =item * C B<(default)> : When C<< PROJECTROOT/- >> does not exist, bootstrap to C<< PROJECTROOT/lib >> =back =head2 C This attribute controls how C behaves when multiple directories exist that match C<< PROJECTROOT/-.* >> Two valid options at this time: =over 4 =item * C B<(default)> : Pick the directory with the most recent C =item * C : Attempt to parse versions on all candidate directories and use the one with the largest version. =back Prior to C<0.2.0> this property did not exist, and default behavior was to assume C<0 Candidates> and C<2 or more Candidates> were the same problem. =head1 PRIVATE ATTRIBUTES =head2 C<_cwd> =head2 C<_bootstrap_root> Internal: This is the real legwork, and resolves the base directory using the bootstrap resolution protocol. It should always return a project root of some kind, whether it be a source tree, or built source tree. It can also return C if discovery concludes that no bootstrap can or should be performed. =head1 PRIVATE METHODS =head2 C<_pick_latest_mtime> "Latest" C candidate selector my $directory = $self->_pick_latest_mtime(@directory_objects) =head2 C<_get_candidate_version> Attempt to resolve a version from a directory name my $version = $self->_get_candidate_version($directory_object) B At this time, the presence of C<-TRIAL> is simply stripped and ignored =head2 C<_pick_latest_parseversion> "Latest" C candidate selector my $directory = $self->_pick_latest_parseversion(@directory_objects) =head2 C<_pick_candidate> Pick a directory from a list of candidates using the method described by C my $directory = $self->_pick_candidate( @directory_objects ); =head2 C<_add_inc> Internal: Used to perform the final step of injecting library paths into C<@INC> $self->_add_inc("$libraryPath"); =begin MetaPOD::JSON v1.1.0 { "namespace":"Dist::Zilla::Role::Bootstrap", "interface":"role", "does":"Dist::Zilla::Role::Plugin" } =end MetaPOD::JSON =head1 AUTHOR Kent Fredric =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2015 by Kent Fredric . 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 Dist-Zilla-Role-Bootstrap-1.001002/Makefile.PL0000644000175000017500000000400312544665230017225 0ustar kentkent# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.037. use strict; use warnings; use 5.008; use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Shared logic for bootstrap things.", "AUTHOR" => "Kent Fredric ", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Dist-Zilla-Role-Bootstrap", "EXE_FILES" => [], "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.008", "NAME" => "Dist::Zilla::Role::Bootstrap", "PREREQ_PM" => { "Carp" => 0, "Dist::Zilla::Role::Plugin" => 0, "List::UtilsBy" => 0, "Moose::Role" => 0, "Path::Tiny" => 0, "lib" => 0, "strict" => 0, "utf8" => 0, "version" => 0, "warnings" => 0 }, "TEST_REQUIRES" => { "Dist::Zilla::Chrome::Test" => 0, "Dist::Zilla::Dist::Builder" => 0, "Dist::Zilla::MVP::Assembler::Zilla" => 0, "Dist::Zilla::MVP::Section" => 0, "ExtUtils::MakeMaker" => 0, "File::Copy::Recursive" => 0, "File::Spec" => 0, "FindBin" => 0, "Moose" => 0, "Test::More" => "0.89" }, "VERSION" => "1.001002", "test" => { "TESTS" => "t/*.t t/00-compile/*.t" } ); my %FallbackPrereqs = ( "Carp" => 0, "Dist::Zilla::Chrome::Test" => 0, "Dist::Zilla::Dist::Builder" => 0, "Dist::Zilla::MVP::Assembler::Zilla" => 0, "Dist::Zilla::MVP::Section" => 0, "Dist::Zilla::Role::Plugin" => 0, "ExtUtils::MakeMaker" => 0, "File::Copy::Recursive" => 0, "File::Spec" => 0, "FindBin" => 0, "List::UtilsBy" => 0, "Moose" => 0, "Moose::Role" => 0, "Path::Tiny" => 0, "Test::More" => "0.89", "lib" => 0, "strict" => 0, "utf8" => 0, "version" => 0, "warnings" => 0 ); unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { delete $WriteMakefileArgs{TEST_REQUIRES}; delete $WriteMakefileArgs{BUILD_REQUIRES}; $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); Dist-Zilla-Role-Bootstrap-1.001002/xt/0000755000175000017500000000000012544665230015711 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/xt/release/0000755000175000017500000000000012544665230017331 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/xt/release/pod-coverage.t0000644000175000017500000000033412544665230022071 0ustar kentkent#!perl # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. use Test::Pod::Coverage 1.08; use Pod::Coverage::TrustPod; all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); Dist-Zilla-Role-Bootstrap-1.001002/xt/release/cpan-changes.t0000644000175000017500000000026312544665230022046 0ustar kentkent#!perl use strict; use warnings; use Test::More 0.96 tests => 2; use_ok('Test::CPAN::Changes'); subtest 'changes_ok' => sub { changes_file_ok('Changes'); }; done_testing(); Dist-Zilla-Role-Bootstrap-1.001002/xt/release/pod-syntax.t0000644000175000017500000000022012544665230021616 0ustar kentkent#!perl # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. use Test::More; use Test::Pod 1.41; all_pod_files_ok(); Dist-Zilla-Role-Bootstrap-1.001002/xt/release/distmeta.t0000644000175000017500000000017212544665230021330 0ustar kentkent#!perl # This file was automatically generated by Dist::Zilla::Plugin::MetaTests. use Test::CPAN::Meta; meta_yaml_ok(); Dist-Zilla-Role-Bootstrap-1.001002/xt/release/minimum-version.t0000644000175000017500000000027012544665230022653 0ustar kentkent#!perl use Test::More; eval "use Test::MinimumVersion"; plan skip_all => "Test::MinimumVersion required for testing minimum versions" if $@; all_minimum_version_from_metayml_ok(); Dist-Zilla-Role-Bootstrap-1.001002/xt/release/kwalitee.t0000644000175000017500000000027512544665230021327 0ustar kentkent# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.11 use strict; use warnings; use Test::More 0.88; use Test::Kwalitee 1.21 'kwalitee_ok'; kwalitee_ok(); done_testing; Dist-Zilla-Role-Bootstrap-1.001002/xt/author/0000755000175000017500000000000012544665230017213 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/xt/author/critic.t0000644000175000017500000000043512544665230020657 0ustar kentkent#!perl use strict; use warnings; use Test::More; use English qw(-no_match_vars); eval "use Test::Perl::Critic"; plan skip_all => 'Test::Perl::Critic required to criticise code' if $@; Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc"; all_critic_ok(); Dist-Zilla-Role-Bootstrap-1.001002/xt/author/eol.t0000644000175000017500000000072212544665230020160 0ustar kentkentuse strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::EOL 0.18 use Test::More 0.88; use Test::EOL; my @files = ( 'lib/Dist/Zilla/Role/Bootstrap.pm', 't/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t', 't/00-report-prereqs.dd', 't/00-report-prereqs.t', 't/01-basic.t', 't/02-try-built-mtime.t', 't/03-try-built-parseversion.t' ); eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; done_testing; Dist-Zilla-Role-Bootstrap-1.001002/dist.ini.meta0000644000175000017500000000157712544665230017661 0ustar kentkent; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.8.3 at Wed Sep 4 19:44:54 2013 ; vim: syntax=dosini name = Dist-Zilla-Role-Bootstrap author = Kent Fredric license = Perl_5 copyright_holder = Kent Fredric ; Uncomment this to bootstrap via self ; [Bootstrap::lib] ; try_built = 1 [@Author::KENTNL] :version = 2.023 normal_form = numify mantissa = 6 toolkit = eumm toolkit_hardness = soft bumpversions = 1 srcreadme = mkdn twitter_extra_hash_tags = #distzilla ; version_major = 0 ; version_minor = 1 ; the following data denotes when this minor was minted ; version_rel_year = 2013 ; version_rel_month = 9 ; version_rel_day = 4 ; version_rel_hour = 19 ; version_rel_time_zone = Pacific/Auckland ; auto_prereqs_skip = File::Find [Prereqs] Dist-Zilla-Role-Bootstrap-1.001002/t/0000755000175000017500000000000012544665230015521 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/t/00-report-prereqs.dd0000644000175000017500000001722012544665230021243 0ustar kentkentdo { my $x = { 'configure' => { 'recommends' => { 'ExtUtils::MakeMaker' => '7.00' }, 'requires' => { 'ExtUtils::MakeMaker' => '0', 'perl' => '5.008' } }, 'develop' => { 'recommends' => { 'Test::More' => '0.99' }, 'requires' => { 'Dist::Zilla' => '5', 'Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING' => '0.001002', 'Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes' => '0.004002', 'Dist::Zilla::Plugin::Author::KENTNL::TravisCI' => '0.001002', 'Dist::Zilla::Plugin::Authority' => '1.006', 'Dist::Zilla::Plugin::AutoPrereqs' => '0', 'Dist::Zilla::Plugin::BumpVersionAfterRelease' => '0', 'Dist::Zilla::Plugin::ConfirmRelease' => '0', 'Dist::Zilla::Plugin::CopyFilesFromBuild' => '0', 'Dist::Zilla::Plugin::Git::Check' => '0', 'Dist::Zilla::Plugin::Git::Commit' => '0', 'Dist::Zilla::Plugin::Git::CommitBuild' => '0', 'Dist::Zilla::Plugin::Git::Contributors' => '0.006', 'Dist::Zilla::Plugin::Git::GatherDir' => '0', 'Dist::Zilla::Plugin::Git::NextRelease' => '0.004000', 'Dist::Zilla::Plugin::Git::Tag' => '0', 'Dist::Zilla::Plugin::GithubMeta' => '0', 'Dist::Zilla::Plugin::License' => '0', 'Dist::Zilla::Plugin::MakeMaker' => '0', 'Dist::Zilla::Plugin::Manifest' => '0', 'Dist::Zilla::Plugin::ManifestSkip' => '0', 'Dist::Zilla::Plugin::MetaConfig' => '0', 'Dist::Zilla::Plugin::MetaData::BuiltWith' => '1.004000', 'Dist::Zilla::Plugin::MetaJSON' => '0', 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.14000001', 'Dist::Zilla::Plugin::MetaTests' => '0', 'Dist::Zilla::Plugin::MetaYAML::Minimal' => '0', 'Dist::Zilla::Plugin::MinimumPerl' => '0', 'Dist::Zilla::Plugin::PodCoverageTests' => '0', 'Dist::Zilla::Plugin::PodSyntaxTests' => '0', 'Dist::Zilla::Plugin::PodWeaver' => '0', 'Dist::Zilla::Plugin::Prereqs' => '0', 'Dist::Zilla::Plugin::Prereqs::AuthorDeps' => '0', 'Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled' => '0', 'Dist::Zilla::Plugin::Prereqs::Upgrade' => '0', 'Dist::Zilla::Plugin::Readme::Brief' => '0', 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0', 'Dist::Zilla::Plugin::RemovePrereqs::Provided' => '0', 'Dist::Zilla::Plugin::RewriteVersion::Sanitized' => '0', 'Dist::Zilla::Plugin::RunExtraTests' => '0', 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0', 'Dist::Zilla::Plugin::Test::Compile::PerFile' => '0', 'Dist::Zilla::Plugin::Test::EOL' => '0', 'Dist::Zilla::Plugin::Test::Kwalitee' => '0', 'Dist::Zilla::Plugin::Test::MinimumVersion' => '0', 'Dist::Zilla::Plugin::Test::Perl::Critic' => '0', 'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0', 'Dist::Zilla::Plugin::TestRelease' => '0', 'Dist::Zilla::Plugin::Twitter' => '0', 'Dist::Zilla::Plugin::UploadToCPAN' => '0', 'Pod::Coverage::TrustPod' => '0', 'Test::CPAN::Changes' => '0.19', 'Test::CPAN::Meta' => '0', 'Test::EOL' => '0', 'Test::Kwalitee' => '1.21', 'Test::More' => '0.88', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08' }, 'suggests' => { 'Dist::Zilla::App::Command::bakeini' => '0.002005', 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.025000' } }, 'runtime' => { 'recommends' => { 'Path::Tiny' => '0.058' }, 'requires' => { 'Carp' => '0', 'Dist::Zilla::Role::Plugin' => '0', 'List::UtilsBy' => '0', 'Moose::Role' => '0', 'Path::Tiny' => '0', 'lib' => '0', 'perl' => '5.008', 'strict' => '0', 'utf8' => '0', 'version' => '0', 'warnings' => '0' } }, 'test' => { 'recommends' => { 'CPAN::Meta' => '2.120900', 'ExtUtils::MakeMaker' => '7.00', 'Moose' => '2.000', 'Test::More' => '0.99' }, 'requires' => { 'Dist::Zilla::Chrome::Test' => '0', 'Dist::Zilla::Dist::Builder' => '0', 'Dist::Zilla::MVP::Assembler::Zilla' => '0', 'Dist::Zilla::MVP::Section' => '0', 'ExtUtils::MakeMaker' => '0', 'File::Copy::Recursive' => '0', 'File::Spec' => '0', 'FindBin' => '0', 'Moose' => '0', 'Test::More' => '0.89', 'perl' => '5.008' } } }; $x; }Dist-Zilla-Role-Bootstrap-1.001002/t/03-try-built-parseversion.t0000644000175000017500000000457112544665230022606 0ustar kentkent use strict; use warnings; use Test::More; { package Example; use Moose; with 'Dist::Zilla::Role::Bootstrap'; sub bootstrap { 1; } __PACKAGE__->meta->make_immutable; 1; } pass("Role Composition Check Ok"); ok( Example->bootstrap, 'invoke basic method on composed class' ); require Dist::Zilla::Chrome::Test; require Dist::Zilla::MVP::Section; require Dist::Zilla::Dist::Builder; require Dist::Zilla::MVP::Assembler::Zilla; my $chrome = Dist::Zilla::Chrome::Test->new(); my $section = Dist::Zilla::MVP::Assembler::Zilla->new( chrome => $chrome, zilla_class => 'Dist::Zilla::Dist::Builder', section_class => 'Dist::Zilla::MVP::Section', ); use FindBin; use Path::Tiny qw( path ); my $cwd = path('./')->absolute; my $source = path("$FindBin::Bin")->parent->child('corpus')->child('fake_dist_01'); my $scratch = Path::Tiny->tempdir; use File::Copy::Recursive qw(rcopy); rcopy "$source", "$scratch"; $scratch->child("Example-0.01")->child('lib')->mkpath; $scratch->child("Example-0.10")->child('lib')->mkpath; $scratch->child("Example-0.05")->child('lib')->mkpath; chdir $scratch->stringify; $section->current_section->payload->{chrome} = $chrome; $section->current_section->payload->{root} = $scratch->stringify; $section->current_section->payload->{name} = 'Example'; $section->finalize; my $instance = Example->plugin_from_config( 'testing', { try_built => 1, try_built_method => 'parseversion' }, $section ); $instance->distname; $instance->fallback; $instance->try_built; $instance->try_built_method; is_deeply( $instance->dump_config, { 'Dist::Zilla::Role::Bootstrap' => { distname => 'Example', fallback => 1, try_built => 1, try_built_method => 'parseversion', } }, 'dump_config is expected' ); is( $instance->distname, 'Example', 'distname is Example' ); is( $instance->_cwd->realpath, $scratch->realpath, 'cwd is project root/' ); is( $instance->try_built, 1, 'try_built is on' ); is( $instance->try_built_method, 'parseversion', 'try_built_method is parseversion' ); is( $instance->fallback, 1, 'fallback is on' ); is( $instance->_bootstrap_root->realpath, $scratch->child('Example-0.10')->realpath, '_bootstrap_root == _cwd' ); ok( $instance->can('_add_inc'), '_add_inc method exists' ); chdir $cwd->stringify; done_testing; Dist-Zilla-Role-Bootstrap-1.001002/t/00-compile/0000755000175000017500000000000012544665230017366 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/t/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t0000644000175000017500000000050112544665230026145 0ustar kentkentuse strict; use warnings; # This test was generated for # using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.003000 # with template 01-basic.t.tpl use Test::More 0.89 tests => 1; require_ok("lib/Dist/Zilla/Role/Bootstrap.pm"); Dist-Zilla-Role-Bootstrap-1.001002/t/00-report-prereqs.t0000644000175000017500000001273112544665230021121 0ustar kentkent#!perl use strict; use warnings; # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021 use Test::More tests => 1; use ExtUtils::MakeMaker; use File::Spec; # from $version::LAX my $lax_version_re = qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )? | (?:\.[0-9]+) (?:_[0-9]+)? ) | (?: v (?:[0-9]+) (?: (?:\.[0-9]+)+ (?:_[0-9]+)? )? | (?:[0-9]+)? (?:\.[0-9]+){2,} (?:_[0-9]+)? ) )/x; # hide optional CPAN::Meta modules from prereq scanner # and check if they are available my $cpan_meta = "CPAN::Meta"; my $cpan_meta_pre = "CPAN::Meta::Prereqs"; my $HAS_CPAN_META = eval "require $cpan_meta; $cpan_meta->VERSION('2.120900')" && eval "require $cpan_meta_pre"; ## no critic # Verify requirements? my $DO_VERIFY_PREREQS = 1; sub _max { my $max = shift; $max = ( $_ > $max ) ? $_ : $max for @_; return $max; } sub _merge_prereqs { my ($collector, $prereqs) = @_; # CPAN::Meta::Prereqs object if (ref $collector eq $cpan_meta_pre) { return $collector->with_merged_prereqs( CPAN::Meta::Prereqs->new( $prereqs ) ); } # Raw hashrefs for my $phase ( keys %$prereqs ) { for my $type ( keys %{ $prereqs->{$phase} } ) { for my $module ( keys %{ $prereqs->{$phase}{$type} } ) { $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module}; } } } return $collector; } my @include = qw( ); my @exclude = qw( ); # Add static prereqs to the included modules list my $static_prereqs = do 't/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ), $static_prereqs ); # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; if ( $source && $HAS_CPAN_META ) { if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } } else { $source = 'static metadata'; } my @full_reports; my @dep_errors; my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs; # Add static includes into a fake section for my $mod (@include) { $req_hash->{other}{modules}{$mod} = 0; } for my $phase ( qw(configure build test runtime develop other) ) { next unless $req_hash->{$phase}; next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING}); for my $type ( qw(requires recommends suggests conflicts modules) ) { next unless $req_hash->{$phase}{$type}; my $title = ucfirst($phase).' '.ucfirst($type); my @reports = [qw/Module Want Have/]; for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) { next if $mod eq 'perl'; next if grep { $_ eq $mod } @exclude; my $file = $mod; $file =~ s{::}{/}g; $file .= ".pm"; my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; my $want = $req_hash->{$phase}{$type}{$mod}; $want = "undef" unless defined $want; $want = "any" if !$want && $want == 0; my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; if ($prefix) { my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); $have = "undef" unless defined $have; push @reports, [$mod, $want, $have]; if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META && $type eq 'requires' ) { if ( $have !~ /\A$lax_version_re\z/ ) { push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)"; } elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) { push @dep_errors, "$mod version '$have' is not in required range '$want'"; } } } else { push @reports, [$mod, $want, "missing"]; if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) { push @dep_errors, "$mod is not installed ($req_string)"; } } } if ( @reports ) { push @full_reports, "=== $title ===\n\n"; my $ml = _max( map { length $_->[0] } @reports ); my $wl = _max( map { length $_->[1] } @reports ); my $hl = _max( map { length $_->[2] } @reports ); if ($type eq 'modules') { splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl]; push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports; } else { splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; } push @full_reports, "\n"; } } } if ( @full_reports ) { diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } if ( @dep_errors ) { diag join("\n", "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", "The following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); } pass; # vim: ts=4 sts=4 sw=4 et: Dist-Zilla-Role-Bootstrap-1.001002/t/01-basic.t0000644000175000017500000000364112544665230017211 0ustar kentkent use strict; use warnings; use Test::More; { package Example; use Moose; with 'Dist::Zilla::Role::Bootstrap'; sub bootstrap { 1; } __PACKAGE__->meta->make_immutable; 1; } pass("Role Composition Check Ok"); ok( Example->bootstrap, 'invoke basic method on composed class' ); require Dist::Zilla::Chrome::Test; require Dist::Zilla::MVP::Section; require Dist::Zilla::Dist::Builder; require Dist::Zilla::MVP::Assembler::Zilla; my $chrome = Dist::Zilla::Chrome::Test->new(); my $section = Dist::Zilla::MVP::Assembler::Zilla->new( chrome => $chrome, zilla_class => 'Dist::Zilla::Dist::Builder', section_class => 'Dist::Zilla::MVP::Section', ); use FindBin; use Path::Tiny qw( path ); my $cwd = path('./')->absolute; my $scratch = path("$FindBin::Bin")->parent->child('corpus')->child('fake_dist_01'); chdir $scratch->stringify; $section->current_section->payload->{chrome} = $chrome; $section->current_section->payload->{root} = $scratch->stringify; $section->current_section->payload->{name} = 'Example'; $section->finalize; my $instance = Example->plugin_from_config( 'testing', {}, $section ); $instance->distname; $instance->fallback; $instance->try_built; $instance->try_built_method; is_deeply( $instance->dump_config, { 'Dist::Zilla::Role::Bootstrap' => { distname => 'Example', fallback => 1, try_built => undef, try_built_method => 'mtime', } }, 'dump_config is expected' ); is( $instance->distname, 'Example', 'distname is Example' ); is( $instance->_cwd->realpath, $scratch->realpath, 'cwd is project root/' ); is( $instance->try_built, undef, 'try_built is off' ); is( $instance->fallback, 1, 'fallback is on' ); is( $instance->_bootstrap_root, $scratch, '_bootstrap_root == _cwd' ); ok( $instance->can('_add_inc'), '_add_inc method exists' ); done_testing; Dist-Zilla-Role-Bootstrap-1.001002/t/02-try-built-mtime.t0000644000175000017500000000724512544665230021201 0ustar kentkent use strict; use warnings; use Test::More; { package Example; use Moose; with 'Dist::Zilla::Role::Bootstrap'; sub bootstrap { 1; } __PACKAGE__->meta->make_immutable; 1; } pass("Role Composition Check Ok"); ok( Example->bootstrap, 'invoke basic method on composed class' ); require Dist::Zilla::Chrome::Test; require Dist::Zilla::MVP::Section; require Dist::Zilla::Dist::Builder; require Dist::Zilla::MVP::Assembler::Zilla; my $chrome = Dist::Zilla::Chrome::Test->new(); my $section = Dist::Zilla::MVP::Assembler::Zilla->new( chrome => $chrome, zilla_class => 'Dist::Zilla::Dist::Builder', section_class => 'Dist::Zilla::MVP::Section', ); use Path::Tiny qw( path ); use FindBin; my $cwd = path('./')->absolute; my $source = path("$FindBin::Bin")->parent->child('corpus')->child('fake_dist_01'); my $scratch = Path::Tiny->tempdir; use File::Copy::Recursive qw(rcopy); rcopy "$source", "$scratch"; my (@scratches) = map { $scratch->child( 'Example-' . $_ ) } qw( 0.01 0.10 0.05 ); for my $scratch_id ( 0 .. $#scratches ) { my $scratch = $scratches[$scratch_id]; if ( $scratch_id == 0 ) { $scratch->child('lib')->mkpath; next; } my $tries = 0; my $sleep_step = 0.3; # Start intentionally slow to hopefully hit a subsecond transition. my $elapsed = 0.0; while ( not -e $scratch or $scratch->stat->mtime <= $scratches[ $scratch_id - 1 ]->stat->mtime ) { $tries++; if ( $elapsed > 5 ) { diag "Your system has a broken clock/filesystem and mtime based tests cant work"; SKIP: { skip "Broken MTime", 8; } done_testing; exit 0; } if ( $elapsed > 2 ) { diag "mtime looks a bit wonky :/, this test will seem slow"; } select( undef, undef, undef, $sleep_step ); $elapsed += $sleep_step; note "Attempt " . ($tries) . " at creating " . $scratch . " @" . (gmtime) . "( elapsed: $elapsed )"; $scratch->remove_tree() if -e $scratch; $scratch->child('lib')->mkpath; $sleep_step = $sleep_step * 2; # Exponentially larger steps to find clock slew as fast as possible } note "Succcess @" . (gmtime) . "( elapsed: $elapsed )"; } chdir $scratch->stringify; $section->current_section->payload->{chrome} = $chrome; $section->current_section->payload->{root} = $scratch->stringify; $section->current_section->payload->{name} = 'Example'; $section->finalize; my $instance = Example->plugin_from_config( 'testing', { try_built => 1, try_built_method => 'mtime' }, $section ); $instance->distname; $instance->fallback; $instance->try_built; $instance->try_built_method; is_deeply( $instance->dump_config, { 'Dist::Zilla::Role::Bootstrap' => { distname => 'Example', fallback => 1, try_built => 1, try_built_method => 'mtime', } }, 'dump_config is expected' ); is( $instance->distname, 'Example', 'distname is Example' ); is( $instance->_cwd->realpath, $scratch->realpath, 'cwd is project root/' ); is( $instance->try_built, 1, 'try_built is on' ); is( $instance->try_built_method, 'mtime', 'try_built_method is mtime' ); is( $instance->fallback, 1, 'fallback is on' ); is( $instance->_bootstrap_root->realpath, $scratch->child('Example-0.05')->realpath, '_bootstrap_root == _cwd' ) or diag explain [ map { { $_->stringify => $_->stat->mtime } } @scratches ]; ok( $instance->can('_add_inc'), '_add_inc method exists' ); chdir $cwd->stringify; done_testing; Dist-Zilla-Role-Bootstrap-1.001002/maint/0000755000175000017500000000000012544665230016366 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/maint/perlcritic.rc.gen.pl0000644000175000017500000000270612544665230022243 0ustar kentkent#!/usr/bin/env perl ## no critic (Modules::RequireVersionVar) # FILENAME: bundle_to_ini.pl # CREATED: 02/06/14 01:48:56 by Kent Fredric (kentnl) # ABSTRACT: Write an INI file from a bundle use 5.008; # utf8 use strict; use warnings; use utf8; our $VERSION = 0.001; use Carp qw( croak carp ); use Perl::Critic::ProfileCompiler::Util qw( create_bundle ); use Path::Tiny qw(path); ## no critic (ErrorHandling::RequireUseOfExceptions) my $bundle = create_bundle('Example::Author::KENTNL'); $bundle->configure; my @stopwords = ( qw( ) ); for my $wordlist (@stopwords) { $bundle->add_or_append_policy_field( 'Documentation::PodSpelling' => ( 'stop_words' => $wordlist ) ); } #$bundle->remove_policy('ErrorHandling::RequireCarping'); #$bundle->remove_policy('NamingConventions::Capitalization'); my $inf = $bundle->actionlist->get_inflated; my $config = $inf->apply_config; { my $rcfile = path('./perlcritic.rc')->openw_utf8; $rcfile->print( $config->as_ini, "\n" ); close $rcfile or croak 'Something fubared closing perlcritic.rc'; } my $deps = $inf->own_deps; { my $target = path('./misc'); $target->mkpath if not $target->is_dir; my $depsfile = $target->child('perlcritic.deps')->openw_utf8; for my $key ( sort keys %{$deps} ) { $depsfile->printf( "%s~%s\n", $key, $deps->{$key} ); *STDERR->printf( "%s => %s\n", $key, $deps->{$key} ); } close $depsfile or carp 'Something fubared closing perlcritic.deps'; } Dist-Zilla-Role-Bootstrap-1.001002/misc/0000755000175000017500000000000012544665230016211 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/misc/Changes.deps.all0000644000175000017500000001717212544665230021215 0ustar kentkentThis file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) 1.001002 [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING 0.001002 - Dist::Zilla::Plugin::RemovePrereqs::Provided [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.024002 → 2.025000 1.001001 2015-06-29T09:03:38Z [Added / develop requires] - Dist::Zilla::Plugin::MetaYAML::Minimal [Changed / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0 → 0.001002 - Test::More 0 → 0.88 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.002000 → 0.002005 - Dist::Zilla::PluginBundle::Author::KENTNL 2.023002 → 2.024002 [Removed / develop requires] - Dist::Zilla::Plugin::MetaYAML 1.001000 2015-01-20T20:29:54Z [Added / configure requires] - perl 5.008 [Added / develop recommends] - Test::More 0.99 [Added / develop requires] - Dist::Zilla 5 - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 - Dist::Zilla::Plugin::Author::KENTNL::TravisCI - Dist::Zilla::Plugin::Prereqs::AuthorDeps - Dist::Zilla::Plugin::Prereqs::Upgrade - Dist::Zilla::Plugin::Readme::Brief - Dist::Zilla::Plugin::Test::EOL - Test::EOL - Test::More [Added / runtime recommends] - Path::Tiny 0.058 [Added / test recommends] - Moose 2.000 [Added / test requires] - perl 5.008 [Changed / configure recommends] - ExtUtils::MakeMaker 6.98 → 7.00 [Changed / develop requires] - Dist::Zilla::Plugin::Git::NextRelease 0 → 0.004000 - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 - Test::Kwalitee 1.12 → 1.21 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001001 → 0.002000 - Dist::Zilla::PluginBundle::Author::KENTNL 2.017002 → 2.023002 [Changed / test recommends] - ExtUtils::MakeMaker 6.98 → 7.00 - Test::More 1.001003 → 0.99 [Removed / develop requires] - Dist::Zilla::Plugin::EOLTests - Dist::Zilla::Plugin::ReadmeFromPod [Removed / runtime requires] - MooseX::AttributeShortcuts 0.015 1.000003 2014-08-15T21:30:54Z [Added / develop requires] - Dist::Zilla::Plugin::Git::Contributors 0.006 [Added / test requires] - File::Spec [Changed / configure requires] - ExtUtils::MakeMaker 6.30 → 0 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.016003 → 2.017002 [Changed / test recommends] - CPAN::Meta 0 → 2.120900 [Removed / test recommends] - CPAN::Meta::Requirements 2.120900 [Removed / test requires] - File::Spec::Functions - List::Util 1.000002 2014-07-15T09:52:40Z [Added / develop requires] - Dist::Zilla::Plugin::BumpVersionAfterRelease - Dist::Zilla::Plugin::CopyFilesFromBuild - Dist::Zilla::Plugin::RewriteVersion::Sanitized [Added / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001001 - Dist::Zilla::PluginBundle::Author::KENTNL 2.016003 [Changed / configure recommends] - ExtUtils::MakeMaker 6.94 → 6.98 [Changed / test recommends] - ExtUtils::MakeMaker 6.94 → 6.98 [Removed / develop requires] - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::PkgVersion - Dist::Zilla::PluginBundle::Author::KENTNL 2.012002 [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 1.000001 2014-04-05T07:37:23Z [Added / test requires] - FindBin [Removed / test requires] - Path::FindDev 1.000000 2014-04-05T05:29:35Z [Added / configure recommends] - ExtUtils::MakeMaker 6.94 [Added / configure requires] - ExtUtils::MakeMaker 6.30 [Added / develop requires] - Dist::Zilla::Plugin::Git::NextRelease - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::MakeMaker - Dist::Zilla::Plugin::MinimumPerl - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - Dist::Zilla::Plugin::RunExtraTests - Dist::Zilla::Plugin::Test::ReportPrereqs [Added / runtime requires] - utf8 [Added / test recommends] - CPAN::Meta - CPAN::Meta::Requirements 2.120900 - ExtUtils::MakeMaker 6.94 - Test::More 1.001003 [Added / test requires] - ExtUtils::MakeMaker - File::Spec::Functions - List::Util [Changed / develop requires] - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 → 2.012002 [Changed / runtime requires] - perl 5.006 → 5.008 [Changed / test requires] - Test::More 1.001002 → 0.89 [Removed / build requires] - Module::Build 0.4200 [Removed / configure requires] - Module::Build 0.4200 [Removed / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl - Dist::Zilla::Plugin::CheckExtraTests - Dist::Zilla::Plugin::Git::NextVersion - Dist::Zilla::Plugin::ModuleBuild - Dist::Zilla::Plugin::NextRelease - Dist::Zilla::Plugin::Prereqs::MatchInstalled - Dist::Zilla::Plugin::PruneCruft - Dist::Zilla::Plugin::ReportVersions::Tiny - version 0.9901 0.2.3 2013-11-18T17:50:53Z [Changed / runtime requires] - MooseX::AttributeShortcuts 0 → 0.015 0.2.2 2013-11-18T04:24:16Z [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl - Dist::Zilla::Plugin::Authority 1.006 - Dist::Zilla::Plugin::AutoPrereqs - Dist::Zilla::Plugin::CheckExtraTests - Dist::Zilla::Plugin::ConfirmRelease - Dist::Zilla::Plugin::EOLTests - Dist::Zilla::Plugin::Git::Check - Dist::Zilla::Plugin::Git::Commit - Dist::Zilla::Plugin::Git::CommitBuild - Dist::Zilla::Plugin::Git::GatherDir - Dist::Zilla::Plugin::Git::NextVersion - Dist::Zilla::Plugin::Git::Tag - Dist::Zilla::Plugin::GithubMeta - Dist::Zilla::Plugin::License - Dist::Zilla::Plugin::Manifest - Dist::Zilla::Plugin::ManifestSkip - Dist::Zilla::Plugin::MetaConfig - Dist::Zilla::Plugin::MetaData::BuiltWith - Dist::Zilla::Plugin::MetaJSON - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001 - Dist::Zilla::Plugin::MetaTests - Dist::Zilla::Plugin::MetaYAML - Dist::Zilla::Plugin::ModuleBuild - Dist::Zilla::Plugin::NextRelease - Dist::Zilla::Plugin::PkgVersion - Dist::Zilla::Plugin::PodCoverageTests - Dist::Zilla::Plugin::PodSyntaxTests - Dist::Zilla::Plugin::PodWeaver - Dist::Zilla::Plugin::Prereqs - Dist::Zilla::Plugin::Prereqs::MatchInstalled - Dist::Zilla::Plugin::PruneCruft - Dist::Zilla::Plugin::ReadmeAnyFromPod - Dist::Zilla::Plugin::ReadmeFromPod - Dist::Zilla::Plugin::ReportVersions::Tiny - Dist::Zilla::Plugin::Test::CPAN::Changes - Dist::Zilla::Plugin::Test::Compile::PerFile - Dist::Zilla::Plugin::Test::Kwalitee - Dist::Zilla::Plugin::Test::MinimumVersion - Dist::Zilla::Plugin::Test::Perl::Critic - Dist::Zilla::Plugin::TestRelease - Dist::Zilla::Plugin::Twitter - Dist::Zilla::Plugin::UploadToCPAN - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 [Added / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 [Changed / build requires] - Module::Build 0.4007 → 0.4200 [Changed / configure requires] - Module::Build 0.4007 → 0.4200 [Changed / develop requires] - Test::Kwalitee 1.08 → 1.12 [Changed / runtime requires] - perl v5.10.0 → 5.006 [Changed / test requires] - Test::More 0.98 → 1.001002 [Removed / develop recommends] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 [Removed / develop requires] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 [Removed / test requires] - File::Spec - IO::Handle - IPC::Open3 0.2.1 2013-09-24T02:37:30Z [Removed / runtime requires] - Cwd 0.2.0 2013-09-21T12:39:54Z [Added / runtime requires] - List::UtilsBy - version [Added / test requires] - File::Copy::Recursive - File::Spec Dist-Zilla-Role-Bootstrap-1.001002/misc/Changes.deps0000644000175000017500000000340112544665230020434 0ustar kentkentThis file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) 1.001002 1.001001 2015-06-29T09:03:38Z 1.001000 2015-01-20T20:29:54Z [Added / configure requires] - perl 5.008 [Added / test requires] - perl 5.008 [Removed / runtime requires] - MooseX::AttributeShortcuts 0.015 1.000003 2014-08-15T21:30:54Z [Added / test requires] - File::Spec [Changed / configure requires] - ExtUtils::MakeMaker 6.30 → 0 [Removed / test requires] - File::Spec::Functions - List::Util 1.000002 2014-07-15T09:52:40Z 1.000001 2014-04-05T07:37:23Z [Added / test requires] - FindBin [Removed / test requires] - Path::FindDev 1.000000 2014-04-05T05:29:35Z [Added / configure requires] - ExtUtils::MakeMaker 6.30 [Added / runtime requires] - utf8 [Added / test requires] - ExtUtils::MakeMaker - File::Spec::Functions - List::Util [Changed / runtime requires] - perl 5.006 → 5.008 [Changed / test requires] - Test::More 1.001002 → 0.89 [Removed / build requires] - Module::Build 0.4200 [Removed / configure requires] - Module::Build 0.4200 0.2.3 2013-11-18T17:50:53Z [Changed / runtime requires] - MooseX::AttributeShortcuts 0 → 0.015 0.2.2 2013-11-18T04:24:16Z [Changed / build requires] - Module::Build 0.4007 → 0.4200 [Changed / configure requires] - Module::Build 0.4007 → 0.4200 [Changed / runtime requires] - perl v5.10.0 → 5.006 [Changed / test requires] - Test::More 0.98 → 1.001002 [Removed / test requires] - File::Spec - IO::Handle - IPC::Open3 0.2.1 2013-09-24T02:37:30Z [Removed / runtime requires] - Cwd 0.2.0 2013-09-21T12:39:54Z [Added / runtime requires] - List::UtilsBy - version [Added / test requires] - File::Copy::Recursive - File::Spec Dist-Zilla-Role-Bootstrap-1.001002/misc/built_with.json0000644000175000017500000001025612544665230021262 0ustar kentkent{ "modules" : { "CPAN::Meta" : "2.150005", "Carp" : "1.36", "Dist::Zilla" : "5.037", "Dist::Zilla::App::Command::bakeini" : "0.002005", "Dist::Zilla::Chrome::Test" : "5.037", "Dist::Zilla::Dist::Builder" : "5.037", "Dist::Zilla::MVP::Assembler::Zilla" : "5.037", "Dist::Zilla::MVP::Section" : "5.037", "Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING" : "0.001004", "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.004003", "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : "0.001002", "Dist::Zilla::Plugin::Authority" : "1.009", "Dist::Zilla::Plugin::AutoPrereqs" : "5.037", "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.009", "Dist::Zilla::Plugin::ConfirmRelease" : "5.037", "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.151680", "Dist::Zilla::Plugin::Git::Check" : "2.035", "Dist::Zilla::Plugin::Git::Commit" : "2.035", "Dist::Zilla::Plugin::Git::CommitBuild" : "2.035", "Dist::Zilla::Plugin::Git::Contributors" : "0.011", "Dist::Zilla::Plugin::Git::GatherDir" : "2.035", "Dist::Zilla::Plugin::Git::NextRelease" : "0.004000", "Dist::Zilla::Plugin::Git::Tag" : "2.035", "Dist::Zilla::Plugin::GithubMeta" : "0.52", "Dist::Zilla::Plugin::License" : "5.037", "Dist::Zilla::Plugin::MakeMaker" : "5.037", "Dist::Zilla::Plugin::Manifest" : "5.037", "Dist::Zilla::Plugin::ManifestSkip" : "5.037", "Dist::Zilla::Plugin::MetaConfig" : "5.037", "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.004002", "Dist::Zilla::Plugin::MetaJSON" : "5.037", "Dist::Zilla::Plugin::MetaProvides::Package" : "2.003001", "Dist::Zilla::Plugin::MetaTests" : "5.037", "Dist::Zilla::Plugin::MetaYAML::Minimal" : "0.001000", "Dist::Zilla::Plugin::MinimumPerl" : "1.006", "Dist::Zilla::Plugin::PodCoverageTests" : "5.037", "Dist::Zilla::Plugin::PodSyntaxTests" : "5.037", "Dist::Zilla::Plugin::PodWeaver" : "4.006", "Dist::Zilla::Plugin::Prereqs" : "5.037", "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0.004", "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.003001", "Dist::Zilla::Plugin::Prereqs::Upgrade" : "0.001000", "Dist::Zilla::Plugin::Readme::Brief" : "0.002005", "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.150250", "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0.001000", "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001005", "Dist::Zilla::Plugin::RunExtraTests" : "0.027", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.009", "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.003000", "Dist::Zilla::Plugin::Test::EOL" : "0.18", "Dist::Zilla::Plugin::Test::Kwalitee" : "2.11", "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000006", "Dist::Zilla::Plugin::Test::Perl::Critic" : "3.000", "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.021", "Dist::Zilla::Plugin::TestRelease" : "5.037", "Dist::Zilla::Plugin::Twitter" : "0.026", "Dist::Zilla::Plugin::UploadToCPAN" : "5.037", "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.025000", "Dist::Zilla::Role::Plugin" : "5.037", "ExtUtils::MakeMaker" : "7.04_01", "File::Copy::Recursive" : "0.38", "File::Spec" : "3.56", "FindBin" : "1.51", "List::UtilsBy" : "0.09", "Moose" : "2.1405", "Moose::Role" : "2.1405", "Path::Tiny" : "0.070", "Pod::Coverage::TrustPod" : "0.100003", "Test::CPAN::Changes" : "0.400002", "Test::CPAN::Meta" : "0.25", "Test::EOL" : "1.5", "Test::Kwalitee" : "1.22", "Test::More" : "1.001014", "Test::Pod" : "1.50", "Test::Pod::Coverage" : "1.10", "lib" : "0.63", "strict" : "1.09", "utf8" : "1.17", "version" : "0.9912", "warnings" : "1.32" }, "perl" : { "original" : "v5.22.0", "qv" : 1, "version" : [ 5, 22, 0 ] }, "perl-config" : { "gccversion" : "4.9.2", "myarchname" : "x86_64-linux", "osname" : "linux" }, "platform" : "linux", "uname" : "Linux 4.0.0-gentoo x86_64 GenuineIntel GNU/Linux" } Dist-Zilla-Role-Bootstrap-1.001002/misc/Changes.deps.dev0000644000175000017500000001300512544665230021212 0ustar kentkentThis file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) 1.001002 [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING 0.001002 - Dist::Zilla::Plugin::RemovePrereqs::Provided [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.024002 → 2.025000 1.001001 2015-06-29T09:03:38Z [Added / develop requires] - Dist::Zilla::Plugin::MetaYAML::Minimal [Changed / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0 → 0.001002 - Test::More 0 → 0.88 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.002000 → 0.002005 - Dist::Zilla::PluginBundle::Author::KENTNL 2.023002 → 2.024002 [Removed / develop requires] - Dist::Zilla::Plugin::MetaYAML 1.001000 2015-01-20T20:29:54Z [Added / develop recommends] - Test::More 0.99 [Added / develop requires] - Dist::Zilla 5 - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 - Dist::Zilla::Plugin::Author::KENTNL::TravisCI - Dist::Zilla::Plugin::Prereqs::AuthorDeps - Dist::Zilla::Plugin::Prereqs::Upgrade - Dist::Zilla::Plugin::Readme::Brief - Dist::Zilla::Plugin::Test::EOL - Test::EOL - Test::More [Changed / develop requires] - Dist::Zilla::Plugin::Git::NextRelease 0 → 0.004000 - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 - Test::Kwalitee 1.12 → 1.21 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001001 → 0.002000 - Dist::Zilla::PluginBundle::Author::KENTNL 2.017002 → 2.023002 [Removed / develop requires] - Dist::Zilla::Plugin::EOLTests - Dist::Zilla::Plugin::ReadmeFromPod 1.000003 2014-08-15T21:30:54Z [Added / develop requires] - Dist::Zilla::Plugin::Git::Contributors 0.006 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.016003 → 2.017002 1.000002 2014-07-15T09:52:40Z [Added / develop requires] - Dist::Zilla::Plugin::BumpVersionAfterRelease - Dist::Zilla::Plugin::CopyFilesFromBuild - Dist::Zilla::Plugin::RewriteVersion::Sanitized [Added / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001001 - Dist::Zilla::PluginBundle::Author::KENTNL 2.016003 [Removed / develop requires] - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::PkgVersion - Dist::Zilla::PluginBundle::Author::KENTNL 2.012002 [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 1.000001 2014-04-05T07:37:23Z 1.000000 2014-04-05T05:29:35Z [Added / develop requires] - Dist::Zilla::Plugin::Git::NextRelease - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::MakeMaker - Dist::Zilla::Plugin::MinimumPerl - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - Dist::Zilla::Plugin::RunExtraTests - Dist::Zilla::Plugin::Test::ReportPrereqs [Changed / develop requires] - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 → 2.012002 [Removed / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl - Dist::Zilla::Plugin::CheckExtraTests - Dist::Zilla::Plugin::Git::NextVersion - Dist::Zilla::Plugin::ModuleBuild - Dist::Zilla::Plugin::NextRelease - Dist::Zilla::Plugin::Prereqs::MatchInstalled - Dist::Zilla::Plugin::PruneCruft - Dist::Zilla::Plugin::ReportVersions::Tiny - version 0.9901 0.2.3 2013-11-18T17:50:53Z 0.2.2 2013-11-18T04:24:16Z [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl - Dist::Zilla::Plugin::Authority 1.006 - Dist::Zilla::Plugin::AutoPrereqs - Dist::Zilla::Plugin::CheckExtraTests - Dist::Zilla::Plugin::ConfirmRelease - Dist::Zilla::Plugin::EOLTests - Dist::Zilla::Plugin::Git::Check - Dist::Zilla::Plugin::Git::Commit - Dist::Zilla::Plugin::Git::CommitBuild - Dist::Zilla::Plugin::Git::GatherDir - Dist::Zilla::Plugin::Git::NextVersion - Dist::Zilla::Plugin::Git::Tag - Dist::Zilla::Plugin::GithubMeta - Dist::Zilla::Plugin::License - Dist::Zilla::Plugin::Manifest - Dist::Zilla::Plugin::ManifestSkip - Dist::Zilla::Plugin::MetaConfig - Dist::Zilla::Plugin::MetaData::BuiltWith - Dist::Zilla::Plugin::MetaJSON - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001 - Dist::Zilla::Plugin::MetaTests - Dist::Zilla::Plugin::MetaYAML - Dist::Zilla::Plugin::ModuleBuild - Dist::Zilla::Plugin::NextRelease - Dist::Zilla::Plugin::PkgVersion - Dist::Zilla::Plugin::PodCoverageTests - Dist::Zilla::Plugin::PodSyntaxTests - Dist::Zilla::Plugin::PodWeaver - Dist::Zilla::Plugin::Prereqs - Dist::Zilla::Plugin::Prereqs::MatchInstalled - Dist::Zilla::Plugin::PruneCruft - Dist::Zilla::Plugin::ReadmeAnyFromPod - Dist::Zilla::Plugin::ReadmeFromPod - Dist::Zilla::Plugin::ReportVersions::Tiny - Dist::Zilla::Plugin::Test::CPAN::Changes - Dist::Zilla::Plugin::Test::Compile::PerFile - Dist::Zilla::Plugin::Test::Kwalitee - Dist::Zilla::Plugin::Test::MinimumVersion - Dist::Zilla::Plugin::Test::Perl::Critic - Dist::Zilla::Plugin::TestRelease - Dist::Zilla::Plugin::Twitter - Dist::Zilla::Plugin::UploadToCPAN - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 [Added / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 [Changed / develop requires] - Test::Kwalitee 1.08 → 1.12 [Removed / develop recommends] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 [Removed / develop requires] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 0.2.1 2013-09-24T02:37:30Z 0.2.0 2013-09-21T12:39:54Z Dist-Zilla-Role-Bootstrap-1.001002/misc/Changes.deps.opt0000644000175000017500000000217112544665230021240 0ustar kentkentThis file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) 1.001002 1.001001 2015-06-29T09:03:38Z 1.001000 2015-01-20T20:29:54Z [Added / runtime recommends] - Path::Tiny 0.058 [Added / test recommends] - Moose 2.000 [Changed / configure recommends] - ExtUtils::MakeMaker 6.98 → 7.00 [Changed / test recommends] - ExtUtils::MakeMaker 6.98 → 7.00 - Test::More 1.001003 → 0.99 1.000003 2014-08-15T21:30:54Z [Changed / test recommends] - CPAN::Meta 0 → 2.120900 [Removed / test recommends] - CPAN::Meta::Requirements 2.120900 1.000002 2014-07-15T09:52:40Z [Changed / configure recommends] - ExtUtils::MakeMaker 6.94 → 6.98 [Changed / test recommends] - ExtUtils::MakeMaker 6.94 → 6.98 1.000001 2014-04-05T07:37:23Z 1.000000 2014-04-05T05:29:35Z [Added / configure recommends] - ExtUtils::MakeMaker 6.94 [Added / test recommends] - CPAN::Meta - CPAN::Meta::Requirements 2.120900 - ExtUtils::MakeMaker 6.94 - Test::More 1.001003 0.2.3 2013-11-18T17:50:53Z 0.2.2 2013-11-18T04:24:16Z 0.2.1 2013-09-24T02:37:30Z 0.2.0 2013-09-21T12:39:54Z Dist-Zilla-Role-Bootstrap-1.001002/misc/perlcritic.deps0000644000175000017500000000130612544665230021226 0ustar kentkentPerl::Critic::Policy::Lax::RequireExplicitPackage::ExceptForPragmata~0 Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter~0 Perl::Critic::ProfileCompiler::Bundle::Bangs~0 Perl::Critic::ProfileCompiler::Bundle::Compatibility~0 Perl::Critic::ProfileCompiler::Bundle::Core~0 Perl::Critic::ProfileCompiler::Bundle::Deprecated~0 Perl::Critic::ProfileCompiler::Bundle::Itch~0 Perl::Critic::ProfileCompiler::Bundle::Lax~0 Perl::Critic::ProfileCompiler::Bundle::Moose~0 Perl::Critic::ProfileCompiler::Bundle::More~0 Perl::Critic::ProfileCompiler::Bundle::Pulp~0 Perl::Critic::ProfileCompiler::Bundle::StricterSubs~0 Perl::Critic::ProfileCompiler::Bundle::Swift~0 Perl::Critic::ProfileCompiler::Bundle::Tics~0 Dist-Zilla-Role-Bootstrap-1.001002/.travis.yml0000644000175000017500000000277312544665230017400 0ustar kentkent--- after_failure: - perl ./maint-travis-ci/report_fail_ctx.pl before_install: - perlbrew list - time git clone --depth 10 https://github.com/kentfredric/travis-scripts.git maint-travis-ci - time git -C ./maint-travis-ci reset --hard master - time perl ./maint-travis-ci/branch_reset.pl - time perl ./maint-travis-ci/sterilize_env.pl before_script: - time perl ./maint-travis-ci/before_script.pl branches: only: - master - builds - releases install: - time perl ./maint-travis-ci/install_deps_early.pl - time perl ./maint-travis-ci/install_deps.pl language: perl matrix: allow_failures: - perl: '5.8' - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 include: - env: STERILIZE_ENV=0 COVERAGE_TESTING=1 perl: '5.21' - env: STERILIZE_ENV=1 perl: '5.21' - env: STERILIZE_ENV=0 perl: '5.8' - env: STERILIZE_ENV=0 perl: '5.10' - env: STERILIZE_ENV=0 perl: '5.12' - env: STERILIZE_ENV=0 perl: '5.14' - env: STERILIZE_ENV=0 perl: '5.16' - env: STERILIZE_ENV=0 perl: '5.20' - env: STERILIZE_ENV=0 perl: '5.21' - env: STERILIZE_ENV=1 perl: '5.8' - env: STERILIZE_ENV=1 perl: '5.10' - env: STERILIZE_ENV=1 perl: '5.20' - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 perl: '5.21' - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 perl: '5.21' script: - time perl ./maint-travis-ci/script.pl sudo: false Dist-Zilla-Role-Bootstrap-1.001002/README0000644000175000017500000000251012544665230016134 0ustar kentkentDist::Zilla::Role::Bootstrap This module is a role that aims to be consumed by plugins that want to perform some very early bootstrap operation that may affect the loading environment of successive plugins, especially with regards to plugins that may wish to build with themselves, either by consuming the source tree itself, or by consuming a previous built iteration. Implementation is quite simple: 1. "with" this role in your plugin with 'Dist::Zilla::Role::Bootstrap' 2. Implement the "bootstrap" sub. sub bootstrap { my ( $self ) = @_; } 3. *Optional*: Fetch the discovered "bootstap" root via: $self->_bootstap_root 4. *Optional*: Load some path into @INC via: $self->_add_inc($path) INSTALLATION This is a Perl module distribution. It should be installed with whichever tool you use to manage your installation of Perl, e.g. any of cpanm . cpan . cpanp -i . Consult http://www.cpan.org/modules/INSTALL.html for further instruction. Should you wish to install this module manually, the procedure is perl Makefile.PL make make test make install COPYRIGHT AND LICENSE This software is copyright (c) 2015 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Dist-Zilla-Role-Bootstrap-1.001002/.gitignore0000644000175000017500000000014012544665230017241 0ustar kentkent.build Dist-Zilla-Role-Bootstrap-* MYMETA.json MYMETA.yml Makefile Makefile.old blib pm_to_blib Dist-Zilla-Role-Bootstrap-1.001002/META.yml0000644000175000017500000000236712544665230016537 0ustar kentkent--- abstract: 'Shared logic for bootstrap things.' author: - 'Kent Fredric ' build_requires: Dist::Zilla::Chrome::Test: '0' Dist::Zilla::Dist::Builder: '0' Dist::Zilla::MVP::Assembler::Zilla: '0' Dist::Zilla::MVP::Section: '0' ExtUtils::MakeMaker: '0' File::Copy::Recursive: '0' File::Spec: '0' FindBin: '0' Moose: '0' Test::More: '0.89' perl: '5.008' configure_requires: ExtUtils::MakeMaker: '0' perl: '5.008' dynamic_config: 0 generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: Dist-Zilla-Role-Bootstrap provides: Dist::Zilla::Role::Bootstrap: file: lib/Dist/Zilla/Role/Bootstrap.pm version: '1.001002' recommends: Path::Tiny: '0.058' requires: Carp: '0' Dist::Zilla::Role::Plugin: '0' List::UtilsBy: '0' Moose::Role: '0' Path::Tiny: '0' lib: '0' perl: '5.008' strict: '0' utf8: '0' version: '0' warnings: '0' resources: bugtracker: https://github.com/kentnl/Dist-Zilla-Role-Bootstrap/issues homepage: https://github.com/kentnl/Dist-Zilla-Role-Bootstrap repository: https://github.com/kentnl/Dist-Zilla-Role-Bootstrap.git version: '1.001002' Dist-Zilla-Role-Bootstrap-1.001002/perlcritic.rc0000644000175000017500000002277112544665230017755 0ustar kentkentcolor = 1 color-severity-low = green color-severity-medium = yellow only = 1 severity = 1 verbose = 9 [Bangs::ProhibitBitwiseOperators] [Bangs::ProhibitCommentedOutCode] [Bangs::ProhibitDebuggingModules] [-Bangs::ProhibitFlagComments] [Bangs::ProhibitNoPlan] [Bangs::ProhibitNumberedNames] [Bangs::ProhibitRefProtoOrProto] [Bangs::ProhibitUselessRegexModifiers] [Bangs::ProhibitVagueNames] [BuiltinFunctions::ProhibitBooleanGrep] [BuiltinFunctions::ProhibitComplexMappings] [BuiltinFunctions::ProhibitLvalueSubstr] [BuiltinFunctions::ProhibitReverseSortBlock] [BuiltinFunctions::ProhibitSleepViaSelect] [BuiltinFunctions::ProhibitStringyEval] allow_includes = 1 [BuiltinFunctions::ProhibitStringySplit] [BuiltinFunctions::ProhibitUniversalCan] [BuiltinFunctions::ProhibitUniversalIsa] [BuiltinFunctions::ProhibitUselessTopic] [BuiltinFunctions::ProhibitVoidGrep] [BuiltinFunctions::ProhibitVoidMap] [BuiltinFunctions::RequireBlockGrep] [BuiltinFunctions::RequireBlockMap] [BuiltinFunctions::RequireGlobFunction] [BuiltinFunctions::RequireSimpleSortBlock] [ClassHierarchies::ProhibitAutoloading] [ClassHierarchies::ProhibitExplicitISA] [ClassHierarchies::ProhibitOneArgBless] [CodeLayout::ProhibitFatCommaNewline] [CodeLayout::ProhibitHardTabs] [-CodeLayout::ProhibitHashBarewords] [CodeLayout::ProhibitIfIfSameLine] [CodeLayout::ProhibitParensWithBuiltins] [CodeLayout::ProhibitQuotedWordLists] [CodeLayout::ProhibitTrailingWhitespace] [-CodeLayout::RequireASCII] [CodeLayout::RequireConsistentNewlines] [CodeLayout::RequireFinalSemicolon] [-CodeLayout::RequireTidyCode] [CodeLayout::RequireTrailingCommaAtNewline] [CodeLayout::RequireTrailingCommas] [-CodeLayout::RequireUseUTF8] [Compatibility::ConstantLeadingUnderscore] [Compatibility::ConstantPragmaHash] [Compatibility::Gtk2Constants] [Compatibility::PerlMinimumVersionAndWhy] [-Compatibility::PodMinimumVersion] [Compatibility::ProhibitThreeArgumentOpen] [Compatibility::ProhibitUnixDevNull] [ControlStructures::ProhibitCStyleForLoops] [ControlStructures::ProhibitCascadingIfElse] [ControlStructures::ProhibitDeepNests] [ControlStructures::ProhibitLabelsWithSpecialBlockNames] [ControlStructures::ProhibitMutatingListFunctions] [ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions] [-ControlStructures::ProhibitPostfixControls] [ControlStructures::ProhibitUnlessBlocks] [ControlStructures::ProhibitUnreachableCode] [ControlStructures::ProhibitUntilBlocks] [Documentation::PodSpelling] spell_command = aspell list --lang en_US [Documentation::ProhibitAdjacentLinks] [Documentation::ProhibitBadAproposMarkup] [Documentation::ProhibitDuplicateHeadings] [Documentation::ProhibitDuplicateSeeAlso] [Documentation::ProhibitLinkToSelf] [Documentation::ProhibitParagraphEndComma] [Documentation::ProhibitParagraphTwoDots] [Documentation::ProhibitUnbalancedParens] [Documentation::ProhibitVerbatimMarkup] [Documentation::RequireEndBeforeLastPod] [Documentation::RequireFilenameMarkup] [Documentation::RequireFinalCut] [Documentation::RequireLinkedURLs] [-Documentation::RequirePODUseEncodingUTF8] [Documentation::RequirePackageMatchesPodName] [Documentation::RequirePodAtEnd] [Documentation::RequirePodLinksIncludeText] [-Documentation::RequirePodSections] [-Editor::RequireEmacsFileVariables] [ErrorHandling::RequireCarping] [ErrorHandling::RequireCheckingReturnValueOfEval] [ErrorHandling::RequireUseOfExceptions] [InputOutput::ProhibitBacktickOperators] [InputOutput::ProhibitBarewordFileHandles] [InputOutput::ProhibitExplicitStdin] [InputOutput::ProhibitInteractiveTest] [InputOutput::ProhibitJoinedReadline] [InputOutput::ProhibitOneArgSelect] [InputOutput::ProhibitReadlineInForLoop] [InputOutput::ProhibitTwoArgOpen] [InputOutput::RequireBracedFileHandleWithPrint] [InputOutput::RequireBriefOpen] [InputOutput::RequireCheckedClose] [InputOutput::RequireCheckedOpen] [InputOutput::RequireCheckedSyscalls] [InputOutput::RequireEncodingWithUTF8Layer] [Lax::ProhibitComplexMappings::LinesNotStatements] [Lax::ProhibitEmptyQuotes::ExceptAsFallback] [Lax::ProhibitLeadingZeros::ExceptChmod] [Lax::ProhibitStringyEval::ExceptForRequire] [Lax::RequireEndWithTrueConst] [Lax::RequireExplicitPackage::ExceptForPragmata] allowed_pragmata = diagnostics feature perlversion strict warnings utf8 [Miscellanea::ProhibitFormats] [Miscellanea::ProhibitTies] [Miscellanea::ProhibitUnrestrictedNoCritic] [-Miscellanea::ProhibitUselessNoCritic] [-Miscellanea::RequireRcsKeywords] [Miscellanea::TextDomainPlaceholders] [Miscellanea::TextDomainUnused] [Modules::PerlMinimumVersion] [Modules::ProhibitAutomaticExportation] [Modules::ProhibitConditionalUseStatements] [Modules::ProhibitEvilModules] [Modules::ProhibitExcessMainComplexity] [Modules::ProhibitModuleShebang] [Modules::ProhibitMultiplePackages] [Modules::ProhibitPOSIXimport] [Modules::ProhibitUseQuotedVersion] [Modules::RequireBarewordIncludes] [Modules::RequireEndWithOne] [-Modules::RequireExplicitInclusion] [-Modules::RequireExplicitPackage] [Modules::RequireFilenameMatchesPackage] [Modules::RequireNoMatchVarsWithUseEnglish] [Modules::RequirePerlVersion] [Modules::RequireVersionVar] [-Moose::ProhibitMultipleWiths] [Moose::ProhibitNewMethod] [Moose::RequireCleanNamespace] [Moose::RequireMakeImmutable] [NamingConventions::Capitalization] [NamingConventions::ProhibitAmbiguousNames] [NamingConventions::ProhibitMixedCaseSubs] [NamingConventions::ProhibitMixedCaseVars] [Objects::ProhibitIndirectSyntax] [References::ProhibitDoubleSigils] [RegularExpressions::ProhibitCaptureWithoutTest] [RegularExpressions::ProhibitComplexRegexes] [RegularExpressions::ProhibitEnumeratedClasses] [RegularExpressions::ProhibitEscapedMetacharacters] [RegularExpressions::ProhibitFixedStringMatches] [RegularExpressions::ProhibitSingleCharAlternation] [RegularExpressions::ProhibitUnusedCapture] [RegularExpressions::ProhibitUnusualDelimiters] [RegularExpressions::ProhibitUselessTopic] [RegularExpressions::RequireBracesForMultiline] [RegularExpressions::RequireDotMatchAnything] [RegularExpressions::RequireExtendedFormatting] [RegularExpressions::RequireLineBoundaryMatching] [Subroutines::ProhibitAmpersandSigils] [Subroutines::ProhibitBuiltinHomonyms] [Subroutines::ProhibitCallsToUndeclaredSubs] [Subroutines::ProhibitCallsToUnexportedSubs] [Subroutines::ProhibitExcessComplexity] [Subroutines::ProhibitExplicitReturnUndef] [Subroutines::ProhibitExportingUndeclaredSubs] [Subroutines::ProhibitManyArgs] [Subroutines::ProhibitNestedSubs] [Subroutines::ProhibitQualifiedSubDeclarations] [Subroutines::ProhibitReturnSort] [Subroutines::ProhibitSubroutinePrototypes] [Subroutines::ProhibitUnusedPrivateSubroutines] private_name_regex = _(?!build_)\w [Subroutines::ProtectPrivateSubs] [Subroutines::RequireArgUnpacking] [Subroutines::RequireFinalReturn] [TestingAndDebugging::ProhibitNoStrict] [TestingAndDebugging::ProhibitNoWarnings] [TestingAndDebugging::ProhibitProlongedStrictureOverride] [TestingAndDebugging::RequireTestLabels] [TestingAndDebugging::RequireUseStrict] equivalent_modules = Moose Moo [TestingAndDebugging::RequireUseWarnings] equivalent_modules = Moose Moo [Tics::ProhibitLongLines] base_max = 130 [Tics::ProhibitManyArrows] [Tics::ProhibitUseBase] [ValuesAndExpressions::ConstantBeforeLt] [ValuesAndExpressions::NotWithCompare] [ValuesAndExpressions::ProhibitArrayAssignAref] [ValuesAndExpressions::ProhibitBarewordDoubleColon] [ValuesAndExpressions::ProhibitCommaSeparatedStatements] [ValuesAndExpressions::ProhibitComplexVersion] [ValuesAndExpressions::ProhibitConstantPragma] [ValuesAndExpressions::ProhibitDuplicateHashKeys] [-ValuesAndExpressions::ProhibitEmptyCommas] [ValuesAndExpressions::ProhibitEmptyQuotes] [ValuesAndExpressions::ProhibitEscapedCharacters] [ValuesAndExpressions::ProhibitFiletest_f] [ValuesAndExpressions::ProhibitImplicitNewlines] [ValuesAndExpressions::ProhibitInterpolationOfLiterals] [ValuesAndExpressions::ProhibitLeadingZeros] [ValuesAndExpressions::ProhibitLongChainsOfMethodCalls] [-ValuesAndExpressions::ProhibitMagicNumbers] [ValuesAndExpressions::ProhibitMismatchedOperators] [ValuesAndExpressions::ProhibitMixedBooleanOperators] [ValuesAndExpressions::ProhibitNoisyQuotes] [ValuesAndExpressions::ProhibitNullStatements] [ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters] [ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator] [ValuesAndExpressions::ProhibitUnknownBackslash] [ValuesAndExpressions::ProhibitVersionStrings] [ValuesAndExpressions::RequireConstantOnLeftSideOfEquality] [ValuesAndExpressions::RequireConstantVersion] [ValuesAndExpressions::RequireInterpolationOfMetachars] [ValuesAndExpressions::RequireNumberSeparators] [ValuesAndExpressions::RequireNumericVersion] [ValuesAndExpressions::RequireQuotedHeredocTerminator] [ValuesAndExpressions::RequireUpperCaseHeredocTerminator] [ValuesAndExpressions::RestrictLongStrings] [ValuesAndExpressions::UnexpandedSpecialLiteral] [Variables::ProhibitAugmentedAssignmentInDeclaration] [Variables::ProhibitConditionalDeclarations] [Variables::ProhibitEvilVariables] [Variables::ProhibitLocalVars] [Variables::ProhibitMatchVars] [Variables::ProhibitPackageVars] [Variables::ProhibitPerl4PackageNames] [-Variables::ProhibitPunctuationVars] [Variables::ProhibitReusedNames] [Variables::ProhibitUnusedVariables] [Variables::ProhibitUnusedVarsStricter] [Variables::ProtectPrivateVars] [Variables::RequireInitializationForLocalVars] [Variables::RequireLexicalLoopIterators] [Variables::RequireLocalizedPunctuationVars] [Variables::RequireNegativeIndices] Dist-Zilla-Role-Bootstrap-1.001002/corpus/0000755000175000017500000000000012544665230016571 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/corpus/fake_dist_01/0000755000175000017500000000000012544665230021022 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/corpus/fake_dist_01/lib/0000755000175000017500000000000012544665230021570 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/corpus/fake_dist_01/lib/E.pm0000644000175000017500000000000012544665230022300 0ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/corpus/fake_dist_01/t/0000755000175000017500000000000012544665230021265 5ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/corpus/fake_dist_01/t/placeholder.txt0000644000175000017500000000000012544665230024276 0ustar kentkentDist-Zilla-Role-Bootstrap-1.001002/dist.ini0000644000175000017500000001632612544665230016732 0ustar kentkent; This file is generated from dist.ini.meta by dzil bakeini. ; Edit that file or the bundles contained within for long-term changes. ; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.8.3 at Wed Sep 4 19:44:54 2013 ; vim: syntax=dosini ; Uncomment this to bootstrap via self ; [Bootstrap::lib] ; try_built = 1 name = Dist-Zilla-Role-Bootstrap author = Kent Fredric license = Perl_5 copyright_holder = Kent Fredric [MetaConfig / @Author::KENTNL/MetaConfig] [GithubMeta / @Author::KENTNL/GithubMeta] issues = 1 [MetaProvides::Package / @Author::KENTNL/MetaProvides::Package] :version = 1.14000001 [MetaData::BuiltWith / @Author::KENTNL/MetaData::BuiltWith] :version = 1.004000 show_config = 1 show_uname = 1 uname_args = -s -o -r -m -i use_external_file = only [Git::Contributors / @Author::KENTNL/Git::Contributors] :version = 0.006 include_authors = 0 include_releaser = 0 order_by = name [Git::GatherDir / @Author::KENTNL/Git::GatherDir] exclude_filename = README exclude_filename = README.mkdn exclude_filename = README.pod exclude_filename = CONTRIBUTING.mkdn exclude_filename = LICENSE exclude_filename = Makefile.PL include_dotfiles = 1 [License / @Author::KENTNL/License] [MetaJSON / @Author::KENTNL/MetaJSON] [MetaYAML::Minimal / @Author::KENTNL/MetaYAML::Minimal] [Manifest / @Author::KENTNL/Manifest] [Author::KENTNL::TravisCI / @Author::KENTNL/Author::KENTNL::TravisCI] :version = 0.001002 [Author::KENTNL::CONTRIBUTING / @Author::KENTNL/Author::KENTNL::CONTRIBUTING] :version = 0.001002 document_version = 0.1 format = mkdn [CopyFilesFromBuild / @Author::KENTNL/CopyXBuild] copy = LICENSE copy = Makefile.PL [MetaTests / @Author::KENTNL/MetaTests] [PodCoverageTests / @Author::KENTNL/PodCoverageTests] [PodSyntaxTests / @Author::KENTNL/PodSyntaxTests] [Test::ReportPrereqs / @Author::KENTNL/Test::ReportPrereqs] [Test::Kwalitee / @Author::KENTNL/Test::Kwalitee] [Test::EOL / @Author::KENTNL/Test::EOL] trailing_whitespace = 1 [Test::MinimumVersion / @Author::KENTNL/Test::MinimumVersion] [Test::Compile::PerFile / @Author::KENTNL/Test::Compile::PerFile] [Test::Perl::Critic / @Author::KENTNL/Test::Perl::Critic] [ManifestSkip / @Author::KENTNL/ManifestSkip] [RewriteVersion::Sanitized / @Author::KENTNL/RewriteVersion::Sanitized] mantissa = 6 normal_form = numify [PodWeaver / @Author::KENTNL/PodWeaver] replacer = replace_with_blank [AutoPrereqs / @Author::KENTNL/AutoPrereqs] [Prereqs / @Author::KENTNL/BundleDevelSuggests] -phase = develop -type = suggests Dist::Zilla::App::Command::bakeini = 0.001000 Dist::Zilla::PluginBundle::Author::KENTNL = 2.025000 [Prereqs::AuthorDeps / @Author::KENTNL/Prereqs::AuthorDeps] [MinimumPerl / @Author::KENTNL/MinimumPerl] [Authority / @Author::KENTNL/Authority] :version = 1.006 authority = cpan:KENTNL do_metadata = 1 locate_comment = 1 [MakeMaker / @Author::KENTNL/MakeMaker] default_jobs = 10 [Author::KENTNL::RecommendFixes / @Author::KENTNL/Author::KENTNL::RecommendFixes] :version = 0.004002 [Readme::Brief / @Author::KENTNL/ShippedReadme] [ReadmeAnyFromPod / @Author::KENTNL/ReadmeAnyFromPod] filename = README.mkdn location = root type = markdown [Test::CPAN::Changes / @Author::KENTNL/Test::CPAN::Changes] [RunExtraTests / @Author::KENTNL/RunExtraTests] default_jobs = 10 [TestRelease / @Author::KENTNL/TestRelease] [ConfirmRelease / @Author::KENTNL/ConfirmRelease] [Git::Check / @Author::KENTNL/Git::Check] filename = Changes [Git::Commit / @Author::KENTNL/commit_dirty_files] [Git::Tag / @Author::KENTNL/tag_master] tag_format = %v-source [Git::NextRelease / @Author::KENTNL/Git::NextRelease] :version = 0.004000 default_branch = master format = %v %{yyyy-MM-dd'T'HH:mm:ss}dZ %h time_zone = UTC [BumpVersionAfterRelease / @Author::KENTNL/BumpVersionAfterRelease] [Git::Commit / @Author::KENTNL/commit_release_changes] allow_dirty_match = ^lib/ [Git::CommitBuild / @Author::KENTNL/Git::CommitBuild] branch = builds release_branch = releases [Git::Tag / @Author::KENTNL/tag_release] branch = releases tag_format = %v [UploadToCPAN / @Author::KENTNL/UploadToCPAN] [Twitter / @Author::KENTNL/Twitter] hash_tags = #perl #cpan #distzilla tweet_url = https://metacpan.org/release/{{$AUTHOR_UC}}/{{$DIST}}-{{$VERSION}}{{$TRIAL}}#whatsnew url_shortener = none [Prereqs::Upgrade / @Author::KENTNL/Prereqs::Upgrade] Dist::Zila::Plugin::MetaProvides::Package = 2.000000 Dist::Zilla = 5 ExtUtils::MakeMaker = 7.00 File::ShareDir::Install = 0.10 Moo = 1.000008 Moose = 2.000 Path::Tiny = 0.058 Test::File::ShareDir = 1.000000 Test::More = 0.99 [Prereqs::Recommend::MatchInstalled / @Author::KENTNL/always_latest_develop_bundle] applyto_map = develop.suggests = develop.suggests applyto_phase = develop modules = Dist::Zilla::PluginBundle::Author::KENTNL modules = Dist::Zilla::App::Command::bakeini [RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided] [Prereqs / @Author::KENTNL/::Role::BundleDeps] ; version_major = 0 ; version_minor = 1 ; the following data denotes when this minor was minted ; version_rel_year = 2013 ; version_rel_month = 9 ; version_rel_day = 4 ; version_rel_hour = 19 ; version_rel_time_zone = Pacific/Auckland ; auto_prereqs_skip = File::Find -phase = develop -relationship = requires Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING = 0.001002 Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002 Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002 Dist::Zilla::Plugin::Authority = 1.006 Dist::Zilla::Plugin::AutoPrereqs = 0 Dist::Zilla::Plugin::BumpVersionAfterRelease = 0 Dist::Zilla::Plugin::ConfirmRelease = 0 Dist::Zilla::Plugin::CopyFilesFromBuild = 0 Dist::Zilla::Plugin::Git::Check = 0 Dist::Zilla::Plugin::Git::Commit = 0 Dist::Zilla::Plugin::Git::CommitBuild = 0 Dist::Zilla::Plugin::Git::Contributors = 0.006 Dist::Zilla::Plugin::Git::GatherDir = 0 Dist::Zilla::Plugin::Git::NextRelease = 0.004000 Dist::Zilla::Plugin::Git::Tag = 0 Dist::Zilla::Plugin::GithubMeta = 0 Dist::Zilla::Plugin::License = 0 Dist::Zilla::Plugin::MakeMaker = 0 Dist::Zilla::Plugin::Manifest = 0 Dist::Zilla::Plugin::ManifestSkip = 0 Dist::Zilla::Plugin::MetaConfig = 0 Dist::Zilla::Plugin::MetaData::BuiltWith = 1.004000 Dist::Zilla::Plugin::MetaJSON = 0 Dist::Zilla::Plugin::MetaProvides::Package = 1.14000001 Dist::Zilla::Plugin::MetaTests = 0 Dist::Zilla::Plugin::MetaYAML::Minimal = 0 Dist::Zilla::Plugin::MinimumPerl = 0 Dist::Zilla::Plugin::PodCoverageTests = 0 Dist::Zilla::Plugin::PodSyntaxTests = 0 Dist::Zilla::Plugin::PodWeaver = 0 Dist::Zilla::Plugin::Prereqs = 0 Dist::Zilla::Plugin::Prereqs::AuthorDeps = 0 Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled = 0 Dist::Zilla::Plugin::Prereqs::Upgrade = 0 Dist::Zilla::Plugin::Readme::Brief = 0 Dist::Zilla::Plugin::ReadmeAnyFromPod = 0 Dist::Zilla::Plugin::RemovePrereqs::Provided = 0 Dist::Zilla::Plugin::RewriteVersion::Sanitized = 0 Dist::Zilla::Plugin::RunExtraTests = 0 Dist::Zilla::Plugin::Test::CPAN::Changes = 0 Dist::Zilla::Plugin::Test::Compile::PerFile = 0 Dist::Zilla::Plugin::Test::EOL = 0 Dist::Zilla::Plugin::Test::Kwalitee = 0 Dist::Zilla::Plugin::Test::MinimumVersion = 0 Dist::Zilla::Plugin::Test::Perl::Critic = 0 Dist::Zilla::Plugin::Test::ReportPrereqs = 0 Dist::Zilla::Plugin::TestRelease = 0 Dist::Zilla::Plugin::Twitter = 0 Dist::Zilla::Plugin::UploadToCPAN = 0 [Prereqs] Dist-Zilla-Role-Bootstrap-1.001002/.perltidyrc0000644000175000017500000000001412544665230017433 0ustar kentkent-i 2 -l 130 Dist-Zilla-Role-Bootstrap-1.001002/META.json0000644000175000017500000007430312544665230016706 0ustar kentkent{ "abstract" : "Shared logic for bootstrap things.", "author" : [ "Kent Fredric " ], "dynamic_config" : 0, "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : "2" }, "name" : "Dist-Zilla-Role-Bootstrap", "prereqs" : { "configure" : { "recommends" : { "ExtUtils::MakeMaker" : "7.00" }, "requires" : { "ExtUtils::MakeMaker" : "0", "perl" : "5.008" } }, "develop" : { "recommends" : { "Test::More" : "0.99" }, "requires" : { "Dist::Zilla" : "5", "Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING" : "0.001002", "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.004002", "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : "0.001002", "Dist::Zilla::Plugin::Authority" : "1.006", "Dist::Zilla::Plugin::AutoPrereqs" : "0", "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0", "Dist::Zilla::Plugin::ConfirmRelease" : "0", "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0", "Dist::Zilla::Plugin::Git::Check" : "0", "Dist::Zilla::Plugin::Git::Commit" : "0", "Dist::Zilla::Plugin::Git::CommitBuild" : "0", "Dist::Zilla::Plugin::Git::Contributors" : "0.006", "Dist::Zilla::Plugin::Git::GatherDir" : "0", "Dist::Zilla::Plugin::Git::NextRelease" : "0.004000", "Dist::Zilla::Plugin::Git::Tag" : "0", "Dist::Zilla::Plugin::GithubMeta" : "0", "Dist::Zilla::Plugin::License" : "0", "Dist::Zilla::Plugin::MakeMaker" : "0", "Dist::Zilla::Plugin::Manifest" : "0", "Dist::Zilla::Plugin::ManifestSkip" : "0", "Dist::Zilla::Plugin::MetaConfig" : "0", "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.004000", "Dist::Zilla::Plugin::MetaJSON" : "0", "Dist::Zilla::Plugin::MetaProvides::Package" : "1.14000001", "Dist::Zilla::Plugin::MetaTests" : "0", "Dist::Zilla::Plugin::MetaYAML::Minimal" : "0", "Dist::Zilla::Plugin::MinimumPerl" : "0", "Dist::Zilla::Plugin::PodCoverageTests" : "0", "Dist::Zilla::Plugin::PodSyntaxTests" : "0", "Dist::Zilla::Plugin::PodWeaver" : "0", "Dist::Zilla::Plugin::Prereqs" : "0", "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0", "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0", "Dist::Zilla::Plugin::Prereqs::Upgrade" : "0", "Dist::Zilla::Plugin::Readme::Brief" : "0", "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0", "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0", "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0", "Dist::Zilla::Plugin::RunExtraTests" : "0", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0", "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0", "Dist::Zilla::Plugin::Test::EOL" : "0", "Dist::Zilla::Plugin::Test::Kwalitee" : "0", "Dist::Zilla::Plugin::Test::MinimumVersion" : "0", "Dist::Zilla::Plugin::Test::Perl::Critic" : "0", "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0", "Dist::Zilla::Plugin::TestRelease" : "0", "Dist::Zilla::Plugin::Twitter" : "0", "Dist::Zilla::Plugin::UploadToCPAN" : "0", "Pod::Coverage::TrustPod" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta" : "0", "Test::EOL" : "0", "Test::Kwalitee" : "1.21", "Test::More" : "0.88", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08" }, "suggests" : { "Dist::Zilla::App::Command::bakeini" : "0.002005", "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.025000" } }, "runtime" : { "recommends" : { "Path::Tiny" : "0.058" }, "requires" : { "Carp" : "0", "Dist::Zilla::Role::Plugin" : "0", "List::UtilsBy" : "0", "Moose::Role" : "0", "Path::Tiny" : "0", "lib" : "0", "perl" : "5.008", "strict" : "0", "utf8" : "0", "version" : "0", "warnings" : "0" } }, "test" : { "recommends" : { "CPAN::Meta" : "2.120900", "ExtUtils::MakeMaker" : "7.00", "Moose" : "2.000", "Test::More" : "0.99" }, "requires" : { "Dist::Zilla::Chrome::Test" : "0", "Dist::Zilla::Dist::Builder" : "0", "Dist::Zilla::MVP::Assembler::Zilla" : "0", "Dist::Zilla::MVP::Section" : "0", "ExtUtils::MakeMaker" : "0", "File::Copy::Recursive" : "0", "File::Spec" : "0", "FindBin" : "0", "Moose" : "0", "Test::More" : "0.89", "perl" : "5.008" } } }, "provides" : { "Dist::Zilla::Role::Bootstrap" : { "file" : "lib/Dist/Zilla/Role/Bootstrap.pm", "version" : "1.001002" } }, "release_status" : "stable", "resources" : { "bugtracker" : { "web" : "https://github.com/kentnl/Dist-Zilla-Role-Bootstrap/issues" }, "homepage" : "https://github.com/kentnl/Dist-Zilla-Role-Bootstrap", "repository" : { "type" : "git", "url" : "https://github.com/kentnl/Dist-Zilla-Role-Bootstrap.git", "web" : "https://github.com/kentnl/Dist-Zilla-Role-Bootstrap" } }, "version" : "1.001002", "x_BuiltWith" : { "external_file" : "misc/built_with.json" }, "x_Dist_Zilla" : { "perl" : { "version" : "5.022000" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::KENTNL/MetaConfig", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@Author::KENTNL/GithubMeta", "version" : "0.52" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", "config" : { "Dist::Zilla::Plugin::MetaProvides::Package" : { "finder_objects" : [ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", "version" : "5.037" } ] }, "Dist::Zilla::Role::MetaProvider::Provider" : { "inherit_missing" : "1", "inherit_version" : "1", "meta_noindex" : "1" } }, "name" : "@Author::KENTNL/MetaProvides::Package", "version" : "2.003001" }, { "class" : "Dist::Zilla::Plugin::MetaData::BuiltWith", "config" : { "Dist::Zilla::Plugin::MetaData::BuiltWith" : { "_stash_key" : "x_BuiltWith", "external_file_name" : "misc/built_with.json", "show_config" : "1", "show_uname" : "1", "uname" : { "uname_args" : [ "-s", "-o", "-r", "-m", "-i" ], "uname_call" : "uname" }, "use_external_file" : "only" } }, "name" : "@Author::KENTNL/MetaData::BuiltWith", "version" : "1.004002" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { "include_authors" : "0", "include_releaser" : "0", "order_by" : "name", "paths" : [] } }, "name" : "@Author::KENTNL/Git::Contributors", "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "config" : { "Dist::Zilla::Plugin::GatherDir" : { "exclude_filename" : [ "README", "README.mkdn", "README.pod", "CONTRIBUTING.mkdn", "LICENSE", "Makefile.PL" ], "exclude_match" : [], "follow_symlinks" : "0", "include_dotfiles" : "1", "prefix" : "", "prune_directory" : [], "root" : "." }, "Dist::Zilla::Plugin::Git::GatherDir" : { "include_untracked" : "0" } }, "name" : "@Author::KENTNL/Git::GatherDir", "version" : "2.035" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::KENTNL/License", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::KENTNL/MetaJSON", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::MetaYAML::Minimal", "config" : { "Dist::Zilla::Plugin::MetaYAML::Minimal" : { "filename" : "META.yml", "version" : "1.4" } }, "name" : "@Author::KENTNL/MetaYAML::Minimal", "version" : "0.001000" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::KENTNL/Manifest", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Author::KENTNL::TravisCI", "name" : "@Author::KENTNL/Author::KENTNL::TravisCI", "version" : "0.001002" }, { "class" : "Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING", "config" : { "Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING" : { "document_version" : "0.1" } }, "name" : "@Author::KENTNL/Author::KENTNL::CONTRIBUTING", "version" : "0.001004" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", "name" : "@Author::KENTNL/CopyXBuild", "version" : "0.151680" }, { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::KENTNL/MetaTests", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::KENTNL/PodCoverageTests", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::KENTNL/PodSyntaxTests", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@Author::KENTNL/Test::ReportPrereqs", "version" : "0.021" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", "config" : { "Dist::Zilla::Plugin::Test::Kwalitee" : { "filename" : "xt/release/kwalitee.t", "skiptest" : [] } }, "name" : "@Author::KENTNL/Test::Kwalitee", "version" : "2.11" }, { "class" : "Dist::Zilla::Plugin::Test::EOL", "config" : { "Dist::Zilla::Plugin::Test::EOL" : { "filename" : "xt/author/eol.t", "finder" : [ ":InstallModules", ":ExecFiles", ":TestFiles" ], "trailing_whitespace" : "1" } }, "name" : "@Author::KENTNL/Test::EOL", "version" : "0.18" }, { "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", "name" : "@Author::KENTNL/Test::MinimumVersion", "version" : "2.000006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Test::Compile::PerFile", "config" : { "Dist::Zilla::Plugin::Test::Compile::PerFile" : { "file" : [ "lib/Dist/Zilla/Role/Bootstrap.pm" ], "path_translator" : "base64_filter", "prefix" : "t/00-compile", "skip" : [], "test_template" : "01-basic.t.tpl", "xt_mode" : null } }, "name" : "@Author::KENTNL/Test::Compile::PerFile", "version" : "0.003000" }, { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", "name" : "@Author::KENTNL/Test::Perl::Critic", "version" : "3.000" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::KENTNL/ManifestSkip", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Sanitized", "config" : { "Dist::Zilla::Role::Version::Sanitize" : { "mantissa" : "6", "normal_form" : "numify" } }, "name" : "@Author::KENTNL/RewriteVersion::Sanitized", "version" : "0.001005" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", "config" : { "Dist::Zilla::Plugin::PodWeaver" : { "finder" : [ ":InstallModules", ":ExecFiles" ], "plugins" : [ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", "version" : "4.012" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", "version" : "4.012" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "-SingleEncoding", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Name", "name" : "Name", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Version", "name" : "Version", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Region", "name" : "prelude", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "REQUIRES", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_ATTRIBUTES", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_METHODS", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_FUNCTIONS", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "Leftovers", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Region", "name" : "postlude", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "Authors", "version" : "4.012" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "Legal", "version" : "4.012" } ] } }, "name" : "@Author::KENTNL/PodWeaver", "version" : "4.006" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::KENTNL/AutoPrereqs", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", "type" : "suggests" } }, "name" : "@Author::KENTNL/BundleDevelSuggests", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", "name" : "@Author::KENTNL/Prereqs::AuthorDeps", "version" : "0.004" }, { "class" : "Dist::Zilla::Plugin::MinimumPerl", "name" : "@Author::KENTNL/MinimumPerl", "version" : "1.006" }, { "class" : "Dist::Zilla::Plugin::Authority", "name" : "@Author::KENTNL/Authority", "version" : "1.009" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", "config" : { "Dist::Zilla::Role::TestRunner" : { "default_jobs" : "10" } }, "name" : "@Author::KENTNL/MakeMaker", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes", "name" : "@Author::KENTNL/Author::KENTNL::RecommendFixes", "version" : "0.004003" }, { "class" : "Dist::Zilla::Plugin::Readme::Brief", "name" : "@Author::KENTNL/ShippedReadme", "version" : "0.002005" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", "config" : { "Dist::Zilla::Role::FileWatcher" : { "version" : "0.006" } }, "name" : "@Author::KENTNL/ReadmeAnyFromPod", "version" : "0.150250" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", "name" : "@Author::KENTNL/Test::CPAN::Changes", "version" : "0.009" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", "config" : { "Dist::Zilla::Role::TestRunner" : { "default_jobs" : "10" } }, "name" : "@Author::KENTNL/RunExtraTests", "version" : "0.027" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::KENTNL/TestRelease", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::KENTNL/ConfirmRelease", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "config" : { "Dist::Zilla::Plugin::Git::Check" : { "untracked_files" : "die" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ "dist.ini", "Changes" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::KENTNL/Git::Check", "version" : "2.035" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], "commit_msg" : "v%v%n%n%c", "time_zone" : "local" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ "dist.ini", "Changes" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::KENTNL/commit_dirty_files", "version" : "2.035" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, "signed" : 0, "tag" : "1.001002-source", "tag_format" : "%v-source", "tag_message" : "v%v", "time_zone" : "local" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::KENTNL/tag_master", "version" : "2.035" }, { "class" : "Dist::Zilla::Plugin::Git::NextRelease", "config" : { "Dist::Zilla::Plugin::Git::NextRelease" : { "default_branch" : "master" } }, "name" : "@Author::KENTNL/Git::NextRelease", "version" : "0.004000" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease", "name" : "@Author::KENTNL/BumpVersionAfterRelease", "version" : "0.009" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], "commit_msg" : "v%v%n%n%c", "time_zone" : "local" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ "dist.ini", "Changes" ], "allow_dirty_match" : [ "(?^u:^lib/)" ], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::KENTNL/commit_release_changes", "version" : "2.035" }, { "class" : "Dist::Zilla::Plugin::Git::CommitBuild", "config" : { "Dist::Zilla::Plugin::Git::CommitBuild" : { "branch" : "builds", "build_root" : null, "message" : "Build results of %h (on %b)", "multiple_inheritance" : 0, "release_branch" : "releases", "release_message" : "Build results of %h (on %b)" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::KENTNL/Git::CommitBuild", "version" : "2.035" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : "releases", "signed" : 0, "tag" : "1.001002", "tag_format" : "%v", "tag_message" : "v%v", "time_zone" : "local" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::KENTNL/tag_release", "version" : "2.035" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::KENTNL/UploadToCPAN", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Twitter", "name" : "@Author::KENTNL/Twitter", "version" : "0.026" }, { "class" : "Dist::Zilla::Plugin::Prereqs::Upgrade", "config" : { "Dist::Zilla::Plugin::Prereqs::Upgrade" : { "modules" : { "Dist::Zila::Plugin::MetaProvides::Package" : "2.000000", "Dist::Zilla" : "5", "ExtUtils::MakeMaker" : "7.00", "File::ShareDir::Install" : "0.10", "Moo" : "1.000008", "Moose" : "2.000", "Path::Tiny" : "0.058", "Test::File::ShareDir" : "1.000000", "Test::More" : "0.99" } } }, "name" : "@Author::KENTNL/Prereqs::Upgrade", "version" : "0.001000" }, { "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled", "config" : { "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : { "applyto_map" : [ "develop.suggests = develop.suggests" ], "applyto_phase" : [ "develop" ], "modules" : [ "Dist::Zilla::PluginBundle::Author::KENTNL", "Dist::Zilla::App::Command::bakeini" ], "source_relation" : "requires", "target_relation" : "recommends" } }, "name" : "@Author::KENTNL/always_latest_develop_bundle", "version" : "0.003001" }, { "class" : "Dist::Zilla::Plugin::RemovePrereqs::Provided", "name" : "@Author::KENTNL/RemovePrereqs::Provided", "version" : "0.001000" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", "type" : "requires" } }, "name" : "@Author::KENTNL/::Role::BundleDeps", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "runtime", "type" : "requires" } }, "name" : "Prereqs", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", "version" : "5.037" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { "is_trial" : "0" }, "version" : "5.037" } }, "x_authority" : "cpan:KENTNL" } Dist-Zilla-Role-Bootstrap-1.001002/weaver.ini0000644000175000017500000000113712544665230017252 0ustar kentkent[@CorePrep] [-SingleEncoding] [Name] [Version] [Region / prelude] [Generic / SYNOPSIS] [Generic / DESCRIPTION] [Generic / OVERVIEW] ;[Generic / METHODS] ;[Collect / METHODS] [Collect / REQUIRES] command = requires header = REQUIRED METHODS [Collect / METHODS] command = method [Collect / ATTRIBUTES] command = attr [Collect / PRIVATE_ATTRIBUTES] header = PRIVATE ATTRIBUTES command = p_attr [Collect / PRIVATE_METHODS] header = PRIVATE METHODS command = p_method [Collect / PRIVATE_FUNCTIONS] header = PRIVATE FUNCTIONS command = p_func [Leftovers] [Region / postlude] [Authors] [Legal] Dist-Zilla-Role-Bootstrap-1.001002/MANIFEST0000644000175000017500000000151512544665230016411 0ustar kentkent# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.037. .gitignore .mailmap .perltidyrc .travis.yml Changes INSTALL.SKIP LICENSE MANIFEST META.json META.yml Makefile.PL README corpus/fake_dist_01/lib/E.pm corpus/fake_dist_01/t/placeholder.txt dist.ini dist.ini.meta lib/Dist/Zilla/Role/Bootstrap.pm maint/perlcritic.rc.gen.pl misc/Changes.deps misc/Changes.deps.all misc/Changes.deps.dev misc/Changes.deps.opt misc/built_with.json misc/perlcritic.deps perlcritic.rc t/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t t/00-report-prereqs.dd t/00-report-prereqs.t t/01-basic.t t/02-try-built-mtime.t t/03-try-built-parseversion.t weaver.ini xt/author/critic.t xt/author/eol.t xt/release/cpan-changes.t xt/release/distmeta.t xt/release/kwalitee.t xt/release/minimum-version.t xt/release/pod-coverage.t xt/release/pod-syntax.t