File-ShareDir-ProjectDistDir-1.000008/0000755000175000017500000000000012550367211015675 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/.mailmap0000644000175000017500000000014412550367211017315 0ustar kentkent# git help shortlog # newname oldname File-ShareDir-ProjectDistDir-1.000008/INSTALL.SKIP0000644000175000017500000000002312550367211017466 0ustar kentkentCONTRIBUTING\.pod$ File-ShareDir-ProjectDistDir-1.000008/LICENSE0000644000175000017500000004373612550367211016717 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 File-ShareDir-ProjectDistDir-1.000008/Changes0000644000175000017500000002104612550367211017173 0ustar kentkentRelease history for File-ShareDir-ProjectDistDir 1.000008 2015-07-12T03:57:39Z 5a21094 [BugFix] - Declare a minimum version for a working Capture::Tiny::capture_stderr [Dependencies::Stats] - Dependencies changed since 1.000007, see misc/*.deps* for details - develop: +4 -1 (suggests: ↑2) - test: (suggests: +1) 1.000007 2015-04-22T05:48:43Z 274de7d [Documentation] - Apparently I can't link to myself right. 1.000006 2015-04-22T03:04:21Z f2105b9 [Documentation] - Add a deterrent notice. 1.000005 2015-04-14T12:54:44Z 6999a7d [Dependencies] - Minimums dropped. [Dependencies::Stats] - Dependencies changed since 1.000004, see misc/*.deps* for details - configure: +1 (recommends: ↑1) - develop: +8 ↑3 -2 (recommends: +1, suggests: ↑2) - runtime: ↓1 -1 (recommends: +1) - test: +1 (recommends: ↑1 ↓1) [Documentation] - Erroneous synopsis fixed, thanks to Michael Jemmeson/MJEMMESON (GH #15) 1.000004 2014-08-18T22:18:54Z [00 Trivial] - Minor documentation fixes. [Dependencies::Stats] - Dependencies changed since 1.000003, see misc/*.deps* for details - develop: +1 (suggests: ↑1) [Documentation] - misnamed heading, thanks to Michał Wojciechowski (GH #14) [Metadata] - new contributor. 1.000003 2014-08-16T06:53:18Z [00 Trivial] - CPANDAY! - no code changes. - tests updated. - metadata updated. - whitespace reduced. [Dependencies::Stats] - Dependencies changed since 1.000002, see misc/*.deps* for details - configure: ↓1 - develop: +4 ↑1 -2 (suggests: ↑2) - test: +1 -3 (recommends: ↑1 -1) [Metadata] - migrate to kentnl org. [Misc] - Improve source side POD to reduce build side whitespace. [Tests] - update Test::ReportPrereqs 1.000002 2014-06-13T15:17:10Z [Bugfix] - most tests refactored to have their dependent files inflated into existence during testing. - This is to avoid issues with an HP-UX box which has a tar implementation that truncates filenames at 100 chars. - closes #13 [Dependencies::Aggregate] - 5.008 : 47 → 46 - 5.010 : 37 → 30 - 5.018 : 18 - 5.019 : 20 → 19 [Dependencies::Stats] - Dependencies changed since 1.000001, see misc/*.deps* for details - configure: (recommends: ↑1) - develop: -1 (suggests: +2 -1) - test: +1 (recommends: ↑2) 1.000001 2014-03-04T14:17:26Z [Bugfix] - Fixed test failure on Perls that don't like unsetting %INC [Dependencies::Aggregate] - 5.008 : 47 → 47 - 5.010 : 37 → 37 - 5.019 : 20 → 20 1.000000 2014-02-28T15:00:49Z [00 MAJOR CHANGES] - add 'strict' mode - defer dev path and determination to calltime - switch to float versions. - start warning about Path::Class usage - stop depending on Path::Class - stop using Path::Class - use EUMM for tooling. - Seriously, read SIGNIFICANT CHANGES for details. [Dependencies::Aggregate] - 5.008 : 47 deps - 5.010 : 37 deps - 5.019 : 20 deps [Dependencies::Stats] - Dependencies changed since 0.5.2, see misc/*.deps* for details - build: -1 - configure: +1 -1 (recommends: +1) - develop: +42 ↑1 -2 (recommends: -1, suggests: +1 -1) - runtime: +1 ↑1 -2 - test: +4 ↓1 -3 (recommends: +4) 0.5.2 2013-09-25T20:04:10Z [Bugfix] - Use a Test::Compile not known to break on Win32 [Dependencies::Stats] - Dependencies changed since 0.5.1, see misc/*.deps* for details - test: +1 0.5.1 2013-09-16T07:34:01Z [!Minor] - No serious changes, just 0.5.0 without -TRIAL - and a few test changes and relevant dep changes. [Dependencies::Stats] - Dependencies changed since 0.5.0, see misc/*.deps* for details - build: ↑1 - configure: ↑1 - develop: +1 (suggests: ↑1) - test: +2 -2 0.5.0 2013-07-06T18:11:52Z [00 MAJOR CHANGES] - Entire Heuristics system replaced with Path::IsDev/Path::FindDev - Internals re-written to use Path::Tiny - Please read SIGNIFICANT CHANGES section on ::ProjectDistDir for details [Dependencies::Stats] - Dependencies changed since 0.4.4, see misc/*.deps* for details - develop: (suggests: ↑1) - runtime: +4 - test: +1 0.4.4 2013-06-05T17:11:18Z [00 Noteable Changes] - Edge Case logic that was added in 0.4.2 removed. - Test for edgecase that was added in 0.4.3 removed. [Documentation] - Basic MetaPOD information added. 0.4.3 2013-05-23T18:29:12Z [00 Noteable Changes] - added basic debugging of the dev/prod determination logic, controlled by FILE_SHAREDIR_PROJECTDISTDIR_DEBUG=1 [Tests] - added test case for Imagemagick 0.4.2 2013-05-23T17:11:31Z [Bug Fixes] - workaround for a user-installation that created a 'share' dir as a sibling of a 'lib' dir, which falsely lead us to believe the 'lib' dir was a "development lib dir", caused by a user installing ImageMagic wrongly. - This is only really a temporary solution, in lieu of better debugging diagnostics. [Dependencies::Stats] - Dependencies changed since 0.4.1, see misc/*.deps* for details - build: ↑1 - configure: ↑1 - develop: +1 (suggests: ↑1) [Packaging] - use MB 0.4004 test_requires 0.4.1 2013-02-13T23:17:46Z - No significant changes from 0.4.0, but non-trial [Dependencies::Stats] - Dependencies changed since 0.4.0, see misc/*.deps* for details - build: ↑1 - configure: ↑1 - develop: +5 (suggests: ↑1) [Documentation] - update copyright year [Meta] - bugtracker moved to github issues 0.4.0 2012-07-28T21:54:15Z [Dependencies::Stats] - Dependencies changed since 0.3.2, see misc/*.deps* for details - build: ↑1 - configure: ↑1 - develop: (suggests: ↑1) - test: ↑1 [Features] - now can specify 'pathclass => 1' in various places and get Path::Class objects. 0.3.2 2012-05-07T17:07:54Z [Bugs] - github#2 There was a bug on some platforms where Path::Class::Dir->new('/')->parent->dir_list() returned a 2-item list instead of a one-item list which was our loop termination criteria. This became an infinite death loop on all platforms that have a "volume" ( mac, win ). Has been resolved by performing a check to see if the path is the OS Specific path that represents a "root" from File::Spec->rootdir. Feedback on if this works or not requested, and if this still is a problem, I'll use $dir->parent eq $dir being the loop terminator. [Dependencies::Stats] - Dependencies changed since 0.3.1, see misc/*.deps* for details - develop: (recommends: ↑1, suggests: ↑1) 0.3.1 2012-03-07T03:57:06Z [00 Summary] - Dropping 5.10.0 dependency back to 5.006 due to github#1. Apparently there is a sustainable way to use decimal versions in <=5.10.0 reliably via 'use version', so this is somewhat experimental consideration of that fact. [Dependencies::Stats] - Dependencies changed since 0.3.0, see misc/*.deps* for details - runtime: ↓1 0.3.0 2012-03-05T05:27:43Z [00 Noteworthy Changes] - New 'distname' parameter - greatly enhanced documentation - supports 'projectdir' on a per-export level. [Dependencies::Stats] - Dependencies changed since 0.2.0, see misc/*.deps* for details - develop: (suggests: ↑1) - runtime: +1 [Documentation] - verbosely detailed the workings of the import method and its helper methods. [Features] - new experimental support for a 'distname' parameter. - per export support for 'projectdir' allowing >1 dist_dir method to be exported. [Packaging] - Update LICENSE ( Year, Indentation ) [Tests::New] - release/minimum-version.t - t/06_distname.t 0.2.0 2011-10-15T02:08:29Z [Dependencies::Stats] - Dependencies changed since 0.1.1, see misc/*.deps* for details - runtime: +2 - test: -1 [Features] - Custom Project Dir: - Can now support passing a directory other than 'share' to use in your project. - eg: use File::ShareDir::ProjectDistDir qw( :all ), projectdir => 'templates'; - Thank Getty/Torsten Raudssus for requesting this feature. [Internals] - $VERSION is no longer set during BEGIN ( Dist::Zilla ) [Packaging] - Re-generated License from more recent template ( minor indentation changes, change of address ) - AuthorTests/ReleaseTests no longer stored in t/, no longer do ENV{} based mangling, no longer spams you during install, and are now only even notable during `dzil release` and `dzil xtest`. ( See Dist::Zilla::Plugin::CheckExtraTests> for details. - All github URL's now point to https:// paths. - Now uses Authority plugin to create $AUTHORITY headings and x_authority = cpan:KENTNL [Tests] - New test that tests new syntax for using a custom sharedir name. 0.1.1 2011-04-08T01:29:46Z - No major changes, this is just a non-trial release, as at least one other person has now tested it and said it works. 0.1.0 2011-04-08T00:51:39Z - First version. - Early development release. - Thank Getty/Torsen Raudssus for requesting this modules development. File-ShareDir-ProjectDistDir-1.000008/lib/0000755000175000017500000000000012550367211016443 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/lib/File/0000755000175000017500000000000012550367211017322 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/lib/File/ShareDir/0000755000175000017500000000000012550367211021023 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/lib/File/ShareDir/ProjectDistDir.pm0000644000175000017500000005506612550367211024266 0ustar kentkentuse 5.006; use strict; use warnings; package File::ShareDir::ProjectDistDir; our $VERSION = '1.000008'; # ABSTRACT: Simple set-and-forget using of a '/share' directory in your projects root our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY use Path::IsDev qw(); use Path::FindDev qw(find_dev); use Sub::Exporter qw(build_exporter); use File::ShareDir qw(); my ($exporter) = build_exporter( { exports => [ dist_dir => \&build_dist_dir, dist_file => \&build_dist_file ], groups => { all => [qw( dist_dir dist_file )], 'default' => [qw( dist_dir dist_file )], }, collectors => [ 'defaults', ], }, ); my $env_key = 'FILE_SHAREDIR_PROJECTDISTDIR_DEBUG'; ## no critic (Subroutines::ProhibitSubroutinePrototypes) sub _debug($) { } ## use critic if ( $ENV{$env_key} ) { ## no critic (ProtectPrivateVars,TestingAndDebugging::ProhibitNoWarnings) no warnings 'redefine'; *File::ShareDir::ProjectDistDir::_debug = sub ($) { *STDERR->printf( qq{[ProjectDistDir] %s\n}, $_[0] ); }; $Path::IsDev::DEBUG = 1; $Path::FindDev::DEBUG = 1; } ## no critic (RequireArgUnpacking) sub _croak { require Carp; goto &Carp::croak } sub _carp { require Carp; goto &Carp::carp } sub _path { require Path::Tiny; goto &Path::Tiny::path } sub _need_pathclass { for my $package ( q[], q[::File], q[::Dir] ) { ## no critic (Variables::RequireInitializationForLocalVars) local $@ = undef; my $code = sprintf 'require %s%s;1', 'Path::Class', $package; ## no critic (BuiltinFunctions::ProhibitStringyEval,Lax::ProhibitStringyEval::ExceptForRequire) next if eval $code; my $err = $@; _carp('Path::Class is not installed.'); ## no critic (RequireCarping, ErrorHandling::RequireUseOfExceptions) die $err; } return 1; } sub import { my ( $class, @args ) = @_; my ( undef, $xfilename, undef ) = caller; my $defaults = { filename => $xfilename, projectdir => 'share', pathclass => undef, strict => undef, }; if ( not @args ) { @_ = ( $class, ':all', defaults => $defaults ); goto $exporter; } for ( 0 .. $#args - 1 ) { my ( $key, $value ); next unless $key = $args[$_] and $value = $args[ $_ + 1 ]; if ( 'defaults' eq $key ) { $defaults = $value; undef $args[$_]; undef $args[ $_ + 1 ]; next; } for my $setting (qw( projectdir filename distname pathclass pathtiny strict )) { if ( $key eq $setting and not ref $value ) { $defaults->{$setting} = $value; undef $args[$_]; undef $args[ $_ + 1 ]; last; } } } $defaults->{filename} = $xfilename if not defined $defaults->{filename}; $defaults->{projectdir} = 'share' if not defined $defaults->{projectdir}; if ( defined $defaults->{pathclass} ) { _carp( 'Path::Class support depecated and will be removed from a future release.' . ' see Documentation for details' ); _need_pathclass(); } @_ = ( $class, ( grep { defined } @args ), 'defaults' => $defaults ); goto $exporter; } sub _get_defaults { my ( $field, $arg, $col ) = @_; my $result; $result = $col->{defaults}->{$field} if $col->{defaults}->{$field}; $result = $arg->{$field} if $arg->{$field}; return $result; } sub _wrap_return { my ( $type, $value ) = @_; if ( not $type ) { return $value unless ref $value; return "$value"; } if ( 'pathtiny' eq $type ) { return $value if 'Path::Tiny' eq ref $value; return _path($value); } if ( 'pathclassdir' eq $type ) { return $value if 'Path::Class::Dir' eq ref $value; _need_pathclass; return Path::Class::Dir->new("$value"); } if ( 'pathclassfile' eq $type ) { return $value if 'Path::Class::File' eq ref $value; _need_pathclass; return Path::Class::File->new("$value"); } return _croak("Unknown return type $type"); } our %DIST_DIR_CACHE; sub _get_cached_dist_dir_result { my ( undef, $filename, $projectdir, $distname, $strict ) = @_; if ( defined $DIST_DIR_CACHE{$distname} ) { return $DIST_DIR_CACHE{$distname}; } _debug( 'Working on: ' . $filename ); my $dev = find_dev( _path($filename)->parent ); if ( not defined $dev ) { ## no critic (Variables::ProhibitPackageVars) local $Carp::CarpLevel = $Carp::CarpLevel + 1; return File::ShareDir::dist_dir($distname); } my $devel_share_dir = $dev->child($projectdir); if ($strict) { $devel_share_dir = $devel_share_dir->child( 'dist', $distname ); } if ( -d $devel_share_dir ) { _debug( 'ISDEV : exists : /' . $devel_share_dir->relative($dev) ); return ( $DIST_DIR_CACHE{$distname} = $devel_share_dir ); } _debug( 'ISPROD: does not exist : /' . $devel_share_dir->relative($dev) ); ## no critic (Variables::ProhibitPackageVars) local $Carp::CarpLevel = $Carp::CarpLevel + 1; return File::ShareDir::dist_dir($distname); } sub build_dist_dir { my ( $class, undef, $arg, $col ) = @_; my $projectdir = _get_defaults( projectdir => $arg, $col ); my $pathclass = _get_defaults( pathclass => $arg, $col ); my $pathtiny = _get_defaults( pathtiny => $arg, $col ); my $strict = _get_defaults( strict => $arg, $col ); my $filename = _get_defaults( filename => $arg, $col ); my $wrap_return_type; if ($pathclass) { $wrap_return_type = 'pathclassdir' } if ($pathtiny) { $wrap_return_type = 'pathtiny' } my $distname = _get_defaults( distname => $arg, $col ); if ( not $distname ) { return sub { my ($udistname) = @_; my $distdir = $class->_get_cached_dist_dir_result( $filename, $projectdir, $udistname, $strict ); return _wrap_return( $wrap_return_type, $distdir ); }; } return sub { my $distdir = $class->_get_cached_dist_dir_result( $filename, $projectdir, $distname, $strict ); return _wrap_return( $wrap_return_type, $distdir ); }; } sub build_dist_file { my ( $class, undef, $arg, $col ) = @_; my $projectdir = _get_defaults( projectdir => $arg, $col ); my $pathclass = _get_defaults( pathclass => $arg, $col ); my $pathtiny = _get_defaults( pathtiny => $arg, $col ); my $strict = _get_defaults( strict => $arg, $col ); my $filename = _get_defaults( filename => $arg, $col ); my $distname = _get_defaults( distname => $arg, $col ); my $wrap_return_type; if ($pathclass) { $wrap_return_type = 'pathclassfile' } if ($pathtiny) { $wrap_return_type = 'pathtiny' } my $check_file = sub { my ( $distdir, $wanted_file ) = @_; my $child = _path($distdir)->child($wanted_file); return unless -e $child; if ( -d $child ) { return _croak("Found dist_file '$child', but is a dir"); } if ( not -r $child ) { return _croak("File '$child', no read permissions"); } return _wrap_return( $wrap_return_type, $child ); }; if ( not $distname ) { return sub { my ( $udistname, $wanted_file ) = @_; my $distdir = $class->_get_cached_dist_dir_result( $filename, $projectdir, $udistname, $strict ); return $check_file->( $distdir, $wanted_file ); }; } return sub { my ($wanted_file) = @_; my $distdir = $class->_get_cached_dist_dir_result( $filename, $projectdir, $distname, $strict ); return $check_file->( $distdir, $wanted_file ); }; } 1; __END__ =pod =encoding UTF-8 =head1 NAME File::ShareDir::ProjectDistDir - Simple set-and-forget using of a '/share' directory in your projects root =head1 VERSION version 1.000008 =head1 DETERRENT B. Before using this distribution, some warnings B be considered. The primary use-case for this module is targeted at development projects that are I intended for C. As such, using it for C is generally a bad idea, and better solutions generally involve the less fragile L<< C|Test::File::ShareDir >>, constraining any magical behavior exclusively to where it is needed: Tests. Why? =over 4 =item * Determining whether or not we are C during C is a perilous heuristic that routinely fails with even slightly unusual file system layouts. =item * Auto-magical changing of behavior at C based on the above leads to many surprising and hard to debug problems. =back For these reason, it is dangerous to rely on this distribution while striving to produce quality code. If this documentation is not sufficient to dissuade you, I must B to choose the L<< "strict"|/Strict Mode. >> mechanism, because that substantially reduces the possibilities with regards to false-positive of potential C directories. I have in mind to find a better mechanism to deliver the same objective, but no solutions are forthcoming at this time. =head1 SYNOPSIS package An::Example::Package; use File::ShareDir::ProjectDistDir; # during development, $dir will be $projectroot/share # but once installed, it will be wherever File::Sharedir thinks it is. my $dir = dist_dir('An-Example') Project layout requirements: $project/ $project/lib/An/Example/Package.pm $project/share/ # files for package 'An-Example' go here. You can use a directory name other than 'share' ( Assuming you make sure when you install that, you specify the different directory there also ) as follows: use File::ShareDir::ProjectDistDir ':all', defaults => { projectdir => 'templates', }; =head1 METHODS =head2 import use File::ShareDir::ProjectDistDir (@args); This uses L<< C|Sub::Exporter >> to do the heavy lifting, so most usage of this module can be maximized by understanding that first. =over 4 =item * B> ->import( ':all' , .... ) Import both C and C =item * B> ->import('dist_dir' , .... ) Import the dist_dir method =item * B> ->import('dist_file' , .... ) Import the dist_file method =item * B> ->import( .... , projectdir => 'share' ) Specify what the project directory is as a path relative to the base of your distributions source, and this directory will be used as a C simulation path for the exported methods I. If not specified, the default value 'share' is used. =item * B> ->import( .... , filename => 'some/path/to/foo.pm' ); Generally you don't want to set this, as its worked out by caller() to work out the name of the file its being called from. This file's path is walked up to find the 'lib' element with a sibling of the name of your C. =item * B> ->import( .... , distname => 'somedistname' ); Specifying this argument changes the way the functions are emitted at I>, so that instead of taking the standard arguments File::ShareDir does, the specification of the C in those functions is eliminated. i.e: # without this flag use File::ShareDir::ProjectDistDir qw( :all ); my $dir = dist_dir('example'); my $file = dist_file('example', 'path/to/file.pm' ); # with this flag use File::ShareDir::ProjectDistDir ( qw( :all ), distname => 'example' ); my $dir = dist_dir(); my $file = dist_file('path/to/file.pm' ); =item * B> ->import( ... , strict => 1 ); This parameter specifies that all C C will occur within the C directory using the following layout: //dist// As opposed to / This means if Heuristics misfire and accidentally find another distributions C directory, it will not pick up on it unless that C directory also has that layout, and will instead revert to the C path in C<@INC> B Specifying this parameter also mandates you B declare the C value in your file somewhere. Doing otherwise is considered insanity anyway. =item * B> ->import( ... , defaults => { filename => ...., projectdir => ...., }); This is mostly an alternative syntax for specifying C and C, which is mostly used internally, and their corresponding other values are packed into this one. =back =head3 Sub::Exporter tricks of note. =head4 Make your own sharedir util package Foo::Util; sub import { my ($caller_class, $caller_file, $caller_line ) = caller(); if ( grep { /share/ } @_ ) { require File::ShareDir::ProjectDistDir; File::ShareDir::ProjectDistDir->import( filename => $caller_file, dist_dir => { distname => 'myproject' , -as => 'share' }, dist_dir => { distname => 'otherproject' , -as => 'other_share' , projectdir => 'share2' }, -into => $caller_class, ); } } .... package Foo; use Foo::Util qw( share ); my $dir = share(); my $other_dir => other_share(); =head2 build_dist_dir use File::ShareDir::ProjectDirDir ( : all ); # this calls my $coderef = File::ShareDir::ProjectDistDir->build_dist_dir( 'dist_dir' => {}, { defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } } ); use File::ShareDir::ProjectDirDir ( qw( :all ), distname => 'example-dist' ); # this calls my $coderef = File::ShareDir::ProjectDistDir->build_dist_dir( 'dist_dir' => {}, { distname => 'example-dist', defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } } ); use File::ShareDir::ProjectDirDir dist_dir => { distname => 'example-dist', -as => 'mydistdir' }, dist_dir => { distname => 'other-dist', -as => 'otherdistdir' }; # This calls my $coderef = File::ShareDir::ProjectDistDir->build_dist_dir( 'dist_dir', { distname => 'example-dist' }, { defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } }, ); my $othercoderef = File::ShareDir::ProjectDistDir->build_dist_dir( 'dist_dir', { distname => 'other-dist' }, { defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } }, ); # And leverages Sub::Exporter to create 2 subs in your package. Generates the exported 'dist_dir' method. In development environments, the generated method will return a path to the development directories 'share' directory. In non-development environments, this simply returns C. As a result of this, specifying the Distribution name is not required during development ( unless in C mode ), however, it will start to matter once it is installed. This is a potential avenues for bugs if you happen to name it wrong. In C mode, the distribution name is B, either at least at C or C time. =head2 build_dist_file use File::ShareDir::ProjectDirDir ( : all ); # this calls my $coderef = File::ShareDir::ProjectDistDir->build_dist_file( 'dist_file' => {}, { defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } } ); use File::ShareDir::ProjectDirDir ( qw( :all ), distname => 'example-dist' ); # this calls my $coderef = File::ShareDir::ProjectDistDir->build_dist_file( 'dist_file' => {}, { distname => 'example-dist', defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } } ); use File::ShareDir::ProjectDirDir dist_file => { distname => 'example-dist', -as => 'mydistfile' }, dist_file => { distname => 'other-dist', -as => 'otherdistfile' }; # This calls my $coderef = File::ShareDir::ProjectDistDir->build_dist_file( 'dist_file', { distname => 'example-dist' }, { defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } }, ); my $othercoderef = File::ShareDir::ProjectDistDir->build_dist_file( 'dist_file', { distname => 'other-dist' }, { defaults => { filename => 'path/to/yourcallingfile.pm', projectdir => 'share' } }, ); # And leverages Sub::Exporter to create 2 subs in your package. Generates the 'dist_file' method. In development environments, the generated method will return a path to the development directories 'share' directory. In non-development environments, this simply returns C. Caveats as a result of package-name as stated in L also apply to this method. =begin MetaPOD::JSON v1.0.0 { "namespace":"File::ShareDir::ProjectDistDir" } =end MetaPOD::JSON =head1 SIGNIFICANT CHANGES =head2 1.000000 =head3 Strict Mode. =head4 Using Strict Mode use File::ShareDir::ProjectDistDir ':all', strict => 1; use File::ShareDir::ProjectDistDir 'dist_dir' => { strict => 1 }; =head4 Why you should use strict mode Starting with C<1.000000>, there is a parameter C that changes how C resolution performs. Without strict: lib/... share/... With strict lib/... share/dist/Dist-Name-Here/... This technique greatly builds resilience to the long standing problem with "develop" vs "install" heuristic ambiguity. Here at least, dist_dir('Dist-Name') Will instead fall back to @INC/auto/share/dist/Dist-Name When share/dist/Dist-Name Does not exist. This means if you have a layout like this: /inc/ /lib/ Then when C is installed as: /inc/lib/Foo/Bar/Baz.pm /inc/lib/auto/share/dist/Foo-Bar-Baz Then C will not see the C and assume "Hey, this is development" and then proceed to try finding files in C Instead, C must have C too, otherwise it reverts to C =head3 C interfaces deprecated and dependency dropped. If you have any dependence on this function, now is the time to get yourself off it. =head4 Minimum Changes to stay with C short term. As the dependency has been dropped on C, if you have C modules relying on C interface, you should now at a very minimum start declaring { requires => "Path::Class" } This will keep your dist working, but will not be future proof against further changes. =head4 Staying with C long term. Recommended approach if you want to stay using the C interface: use File::ShareDir::... etc use Path::Class qw( dir file ); my $dir = dir( dist_dir('Dist-Name') ); This should future-proof you against anything File::ShareDir may do in the future. =head3 C This change is a superficial one, and should have no bearing on how significant you think this release is. It is a significant release, but the primary reason for the version change is simply to avoid compatibility issues in I. However, outside that, C semantics are still intended to be semi-meaningful, just with less C<.> and more C<0> ☺ =head3 C path determination now deferred to call time instead of C This was essentially a required change to make C mode plausible, because strict mode _requires_ the C to be known, even in the development environment. This should not have any user visible effects, but please, if you have any problems, file a bug. =head3 C component determination wrested from C. dist_file('foo','bar') Is now simply sugar syntax for path(dist_dir('foo'))->child('bar') This should have no side effects in your code, but please file any bugs you experience. ( return value is still C if the file does not exist, and still C's if the file is not a file, or unreadable, but these may both be subject to change ) =head2 0.5.0 - Heuristics and Return type changes =head3 New C heuristic Starting with 0.5.0, instead of using our simple C pattern heuristic, a more advanced heuristic is used from the new L<< C|Path::FindDev >> and L<< C|Path::IsDev >>. This relies on a more "concrete" marker somewhere at the top of your development tree, and more importantly, checks for the existence of specific files that are not likely to occur outside a project root. C and C based heuristics were a little fragile, for a few reasons: =over 4 =item * C can, and does appear all over UNIX file systems, for purposes B than development project roots. For instance, have a look in C /usr/bin /usr/lib /usr/share ## UHOH. This would have the very bad side effect of anything installed in C thinking its "in development". Fortunately, nobody seems to have hit this specific bug, which I suspect is due only to C being a symbolic link on most x86_64 systems. =item * C is also reasonably common within C package names. For instance: lib::abs Which means you'll have a hierarchy like: $PREFIX/lib/lib/abs All you need for something to go horribly wrong would be for somebody to install a C module named: share::mystuff Or similar, and instantly, you have: $PREFIX/lib/lib/ $PREFIX/lib/share/ Which would mean any module calling itself C would be unable to use this module. =back So instead, as of C<0.5.0>, the heuristic revolves around certain specific files being in the C directory. Which is hopefully a more fault resilient mechanism. =head3 New Return Types Starting with 0.5.0, the internals are now based on L<< C|Path::Tiny >> instead of L<< C|Path::Class >>, and as a result, there may be a few glitches in transition. Also, previously you could get a C object back from C and C by importing it as such: use File::ShareDir::ProjectDistDir qw( dist_dir dist_file ), defaults => { pathclass => 1 }; Now you can also get C objects back, by passing: use File::ShareDir::ProjectDistDir qw( dist_dir dist_file ), defaults => { pathtiny => 1 }; B<< For the time being, you can still get Path::Class objects back, it is deprecated since 1.000000 >> ( In fact, I may even make 2 specific sub-classes of C for people who want objects back, as it will make the C and the code much cleaner ) =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 File-ShareDir-ProjectDistDir-1.000008/Makefile.PL0000644000175000017500000000330112550367211017644 0ustar kentkent# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.037. use strict; use warnings; use 5.006; use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Simple set-and-forget using of a '/share' directory in your projects root", "AUTHOR" => "Kent Fredric ", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "File-ShareDir-ProjectDistDir", "EXE_FILES" => [], "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.006", "NAME" => "File::ShareDir::ProjectDistDir", "PREREQ_PM" => { "Carp" => 0, "File::ShareDir" => 0, "Path::FindDev" => 0, "Path::IsDev" => 0, "Path::Tiny" => 0, "Sub::Exporter" => 0, "strict" => 0, "warnings" => 0 }, "TEST_REQUIRES" => { "Class::Tiny" => 0, "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "FindBin" => 0, "Test::More" => "0.96", "lib" => 0 }, "VERSION" => "1.000008", "test" => { "TESTS" => "t/*.t t/00-compile/*.t t/classic/*.t t/deprecations/*.t t/strict/*.t" } ); my %FallbackPrereqs = ( "Carp" => 0, "Class::Tiny" => 0, "ExtUtils::MakeMaker" => 0, "File::ShareDir" => 0, "File::Spec" => 0, "FindBin" => 0, "Path::FindDev" => 0, "Path::IsDev" => 0, "Path::Tiny" => 0, "Sub::Exporter" => 0, "Test::More" => "0.96", "lib" => 0, "strict" => 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); File-ShareDir-ProjectDistDir-1.000008/xt/0000755000175000017500000000000012550367211016330 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/xt/release/0000755000175000017500000000000012550367211017750 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/xt/release/pod-coverage.t0000644000175000017500000000033412550367211022510 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' }); File-ShareDir-ProjectDistDir-1.000008/xt/release/cpan-changes.t0000644000175000017500000000026312550367211022465 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(); File-ShareDir-ProjectDistDir-1.000008/xt/release/pod-syntax.t0000644000175000017500000000022012550367211022235 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(); File-ShareDir-ProjectDistDir-1.000008/xt/release/distmeta.t0000644000175000017500000000017212550367211021747 0ustar kentkent#!perl # This file was automatically generated by Dist::Zilla::Plugin::MetaTests. use Test::CPAN::Meta; meta_yaml_ok(); File-ShareDir-ProjectDistDir-1.000008/xt/release/minimum-version.t0000644000175000017500000000027012550367211023272 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(); File-ShareDir-ProjectDistDir-1.000008/xt/release/kwalitee.t0000644000175000017500000000027512550367211021746 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; File-ShareDir-ProjectDistDir-1.000008/xt/author/0000755000175000017500000000000012550367211017632 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/xt/author/critic.t0000644000175000017500000000043512550367211021276 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(); File-ShareDir-ProjectDistDir-1.000008/xt/author/eol.t0000644000175000017500000000270212550367211020577 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/File/ShareDir/ProjectDistDir.pm', 't/00-compile/lib_File_ShareDir_ProjectDistDir_pm.t', 't/00-report-prereqs.dd', 't/00-report-prereqs.t', 't/classic/01_devel.t', 't/classic/02_installed_only.t', 't/classic/03_installed_and_dev_different.t', 't/classic/04_developing_installed.t', 't/classic/05_devel_spec.t', 't/classic/05_files/.devdir', 't/classic/05_files/lib/Example_05.pm', 't/classic/05_files/templates/file', 't/classic/06_distname.t', 't/deprecations/fatal_no_pathclass_installed.t', 't/deprecations/warn_on_pathclass.t', 't/lib/FakeFS.pm', 't/strict/01_devel.t', 't/strict/01_files/.devdir', 't/strict/01_files/lib/Example_01.pm', 't/strict/01_files/share/dist/Example_01/file', 't/strict/02_installed_only.t', 't/strict/03_installed_and_dev_different.t', 't/strict/04_developing_installed.t', 't/strict/05_devel_spec.t', 't/strict/05_files/.devdir', 't/strict/05_files/lib/Example_05.pm', 't/strict/05_files/templates/dist/Example_05/file', 't/strict/06_distname.t', 't/strict/07_files/.devdir', 't/strict/07_files/lib/Example_01.pm', 't/strict/07_files/share/dist/Example_01/file', 't/strict/07_gh15.t' ); eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; done_testing; File-ShareDir-ProjectDistDir-1.000008/dist.ini.meta0000644000175000017500000000164412550367211020273 0ustar kentkent; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.0.5 at Fri Apr 8 10:40:45 2011 ; vim: syntax=dosini name = File-ShareDir-ProjectDistDir author = Kent Fredric license = Perl_5 copyright_holder = Kent Fredric ; Uncomment this to bootstrap via self ; [Bootstrap::lib] [@Author::KENTNL] normal_form = numify mantissa = 6 toolkit = eumm toolkit_hardness = soft auto_prereqs_skip = ^Example_ srcreadme = mkdn bumpversions = 1 Test::ReportPrereqs.include = Path::Class [Munge::Whitespace] filename = LICENSE ;version_major = 0 ;version_minor = 1 ; the following data denotes when this minor was minted ;version_rel_year = 2011 ;version_rel_month = 4 ;version_rel_day = 8 ;version_rel_hour = 10 ;version_rel_time_zone = Pacific/Auckland [Prereqs] [Prereqs / TestSuggests] Capture::Tiny = 0.12 File-ShareDir-ProjectDistDir-1.000008/t/0000755000175000017500000000000012550367211016140 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/00-report-prereqs.dd0000644000175000017500000001662212550367211021667 0ustar kentkentdo { my $x = { 'configure' => { 'recommends' => { 'ExtUtils::MakeMaker' => '7.00' }, 'requires' => { 'ExtUtils::MakeMaker' => '0', 'perl' => '5.006' } }, 'develop' => { 'recommends' => { 'Test::More' => '0.99' }, 'requires' => { 'Dist::Zilla' => '5', 'Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING' => '0.001003', '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::Munge::Whitespace' => '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.025001' } }, 'runtime' => { 'recommends' => { 'Path::Tiny' => '0.058' }, 'requires' => { 'Carp' => '0', 'File::ShareDir' => '0', 'Path::FindDev' => '0', 'Path::IsDev' => '0', 'Path::Tiny' => '0', 'Sub::Exporter' => '0', 'perl' => '5.006', 'strict' => '0', 'warnings' => '0' } }, 'test' => { 'recommends' => { 'CPAN::Meta' => '2.120900', 'ExtUtils::MakeMaker' => '7.00', 'Test::More' => '0.99' }, 'requires' => { 'Class::Tiny' => '0', 'ExtUtils::MakeMaker' => '0', 'File::Spec' => '0', 'FindBin' => '0', 'Test::More' => '0.96', 'lib' => '0', 'perl' => '5.006' }, 'suggests' => { 'Capture::Tiny' => '0.12' } } }; $x; }File-ShareDir-ProjectDistDir-1.000008/t/lib/0000755000175000017500000000000012550367211016706 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/lib/FakeFS.pm0000644000175000017500000000122412550367211020342 0ustar kentkentuse 5.006; use strict; use warnings; package FakeFS; # ABSTRACT: Inflate a directory at a given path temporarily # AUTHORITY use Class::Tiny qw(root), { files => sub { [] } }; use Path::Tiny qw(path); sub BUILD { my ( $self, $args ) = @_; path( $self->root )->mkpath; } sub add_file { my ( $self, $path, $content ) = @_; my $target = path( $self->root )->child($path); $target->parent->mkpath; $target->spew($content); push @{ $self->files }, $target; } sub DESTROY { my ($self) = @_; return if $ENV{NODELETE}; for my $file ( @{ $self->files } ) { $file->remove; } path( $self->root )->remove_tree( { safe => 0 } ); } 1; File-ShareDir-ProjectDistDir-1.000008/t/strict/0000755000175000017500000000000012550367211017450 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/01_devel.t0000644000175000017500000000032312550367211021232 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib "$FindBin::Bin/01_files/lib"; use Example_01; is( Example_01->test(), '01', 'Example 01 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/strict/04_developing_installed.t0000644000175000017500000000235212550367211024335 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/04_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/dist/Example_06/file' => q[06] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_06/file' => q[06-old] ); $fake->add_file( 'develdir/lib/Example_06.pm' => <<'EOF_A' ); use strict; use warnings; package Example_06; use File::ShareDir::ProjectDistDir ':all', strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_06', 'file' ) )->slurp(); } 1; EOF_A $fake->add_file( 'installdir/lib/Example_06.pm' => <<'EOF_B' ); use strict; use warnings; package Example_06; use File::ShareDir::ProjectDistDir ':all', strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_06', 'file' ) )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/04_files/installdir/lib"; use lib "$FindBin::Bin/04_files/develdir/lib"; # simulate testing in a child project. use Example_06; is( Example_06->test(), '06', 'Example 06 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/strict/07_gh15.t0000644000175000017500000000074312550367211020713 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib "$FindBin::Bin/07_files/lib"; use Example_01; # This is a bug, TODO make it suck less local $TODO = "Not sure if this can even be solved. Docs are sub-par and the Sub::Exporter code is a mess"; my $err; is( do { local $@; my $x = eval { Example_01->test(); q[passed] }; $err = $@; $x; }, 'passed', 'Peculiar grammar messes up in a well defined way' ); note explain $err; done_testing; File-ShareDir-ProjectDistDir-1.000008/t/strict/05_devel_spec.t0000644000175000017500000000032312550367211022250 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib "$FindBin::Bin/05_files/lib"; use Example_05; is( Example_05->test(), '05', 'Example 05 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/strict/06_distname.t0000644000175000017500000000253412550367211021752 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/06_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/dist/Example_05/file' => q[05] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_04/file' => q[04] ); $fake->add_file( 'develdir/lib/Example_05.pm' => <<'EOF_A'); use strict; use warnings; package Example_05; use File::ShareDir::ProjectDistDir qw( :all ), distname => 'Example_05', strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file('file') )->slurp(); } 1; EOF_A $fake->add_file( 'installdir/lib/Example_04.pm' => <<'EOF_B'); use strict; use warnings; package Example_04; use File::ShareDir::ProjectDistDir qw( :all ), distname => "Example_04", strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file('file') )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/06_files/installdir/lib"; use lib "$FindBin::Bin/06_files/develdir/lib"; # simulate testing in a child project. use Example_04; use Example_05; is( Example_04->test(), '04', 'Example 04 returns the right shared value' ); is( Example_05->test(), '05', 'Example 05 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/0000755000175000017500000000000012550367211021056 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/lib/0000755000175000017500000000000012550367211021624 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/lib/Example_05.pm0000644000175000017500000000036312550367211024063 0ustar kentkentuse strict; use warnings; package Example_05; use File::ShareDir::ProjectDistDir ':all', projectdir => 'templates', strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_05', 'file' ) )->slurp(); } 1; File-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/.devdir0000644000175000017500000000000012550367211022322 0ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/templates/0000755000175000017500000000000012550367211023054 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/templates/dist/0000755000175000017500000000000012550367211024017 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/templates/dist/Example_05/0000755000175000017500000000000012550367211025716 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/05_files/templates/dist/Example_05/file0000644000175000017500000000000212550367211026550 0ustar kentkent05File-ShareDir-ProjectDistDir-1.000008/t/strict/02_installed_only.t0000644000175000017500000000205612550367211023161 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/02_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/file' => qq[03\n] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_02/file' => q[02] ); $fake->add_file( 'develdir/lib/Example_03.pm' => <<'EOF_A'); use strict; use warnings; package Example_03; 1; EOF_A $fake->add_file( 'installdir/lib/Example_02.pm' => <<'EOF_B'); use strict; use warnings; package Example_02; use File::ShareDir::ProjectDistDir; use Path::Tiny qw( path ); sub test { return scalar path( dist_file( 'Example_02', 'file' ) )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/02_files/installdir/lib"; use lib "$FindBin::Bin/02_files/develdir/lib"; # simulate testing in a child project. use Example_02; is( Example_02->test(), '02', 'Example 02 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/0000755000175000017500000000000012550367211021060 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/lib/0000755000175000017500000000000012550367211021626 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/lib/Example_01.pm0000644000175000017500000000035412550367211024061 0ustar kentkentuse strict; use warnings; package Example_01; use File::ShareDir::ProjectDistDir ':all', { defaults => { strict => 1 } }; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_01', 'file' ) )->slurp(); } 1; File-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/.devdir0000644000175000017500000000000012550367211022324 0ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/share/0000755000175000017500000000000012550367211022162 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/share/dist/0000755000175000017500000000000012550367211023125 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/share/dist/Example_01/0000755000175000017500000000000012550367211025020 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/07_files/share/dist/Example_01/file0000644000175000017500000000000212550367211025652 0ustar kentkent01File-ShareDir-ProjectDistDir-1.000008/t/strict/03_installed_and_dev_different.t0000644000175000017500000000247712550367211025636 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/03_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/dist/Example_05/file' => q[05] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_04/file' => q[04] ); $fake->add_file( 'develdir/lib/Example_05.pm' => <<'EOF_A'); use strict; use warnings; package Example_05; use File::ShareDir::ProjectDistDir ':all', strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_05', 'file' ) )->slurp(); } 1; EOF_A $fake->add_file( 'installdir/lib/Example_04.pm' => <<'EOF_B'); use strict; use warnings; package Example_04; use File::ShareDir::ProjectDistDir ':all', strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_04', 'file' ) )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/03_files/installdir/lib"; use lib "$FindBin::Bin/03_files/develdir/lib"; # simulate testing in a child project. use Example_04; use Example_05; is( Example_04->test(), '04', 'Example 04 returns the right shared value' ); is( Example_05->test(), '05', 'Example 05 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/0000755000175000017500000000000012550367211021052 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/lib/0000755000175000017500000000000012550367211021620 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/lib/Example_01.pm0000644000175000017500000000033012550367211024045 0ustar kentkentuse strict; use warnings; package Example_01; use File::ShareDir::ProjectDistDir ':all', strict => 1; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_01', 'file' ) )->slurp(); } 1; File-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/.devdir0000644000175000017500000000000012550367211022316 0ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/share/0000755000175000017500000000000012550367211022154 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/share/dist/0000755000175000017500000000000012550367211023117 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/share/dist/Example_01/0000755000175000017500000000000012550367211025012 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/strict/01_files/share/dist/Example_01/file0000644000175000017500000000000212550367211025644 0ustar kentkent01File-ShareDir-ProjectDistDir-1.000008/t/deprecations/0000755000175000017500000000000012550367211020620 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/deprecations/fatal_no_pathclass_installed.t0000644000175000017500000000235312550367211026674 0ustar kentkentuse strict; use warnings; use Test::More; # FILENAME: deprecate_path_class.t # CREATED: 03/01/14 02:01:07 by Kent Fredric (kentnl) # ABSTRACT: Test for warnings about deprecated Path::Class for my $package ('Capture::Tiny') { if ( not eval "require $package; ${package}->VERSION(0.12); 1" ) { plan skip_all => "$package 0.12 required for this test"; done_testing; exit; } } for my $package ('Path::Class') { if ( eval "require $package;1" ) { plan skip_all => "Test only run without $package installed"; done_testing; exit; } } pass('Test requirements available'); my $ex; sub test { package Foo; File::ShareDir::ProjectDistDir->import( q[:all], pathclass => 1 ); 1; } my $err = Capture::Tiny::capture_stderr( sub { require File::ShareDir::ProjectDistDir; delete $INC{'Path/Class.pm'}; local $@ = undef; if ( not eval { test() } ) { $ex = $@; } } ); like( $err, qr/Path::Class support depecated/, "warns about invocation" ); like( $err, qr/Path::Class is not installed/, "warns if require failed" ); isnt( $ex, undef, "An exception was thrown" ); if ( $ex ne '' ) { like( $ex, qr/Can\'t locate Path\/Class\.pm/, "dies with core failure" ); } done_testing; File-ShareDir-ProjectDistDir-1.000008/t/deprecations/warn_on_pathclass.t0000644000175000017500000000154512550367211024517 0ustar kentkentuse strict; use warnings; use Test::More; # FILENAME: deprecate_path_class.t # CREATED: 03/01/14 02:01:07 by Kent Fredric (kentnl) # ABSTRACT: Test for warnings about deprecated Path::Class for my $package ('Capture::Tiny') { if ( not eval "require $package; ${package}->VERSION(0.12); 1" ) { plan skip_all => "$package 0.12 required for this test"; done_testing; exit; } } for my $package ('Path::Class') { if ( not eval "require $package;1" ) { plan skip_all => "$package required for this test"; done_testing; exit; } } pass('Test requirements available'); my $err = Capture::Tiny::capture_stderr( sub { eval ' package Foo; use File::ShareDir::ProjectDistDir q[:all], pathclass => 1; '; } ); like( $err, qr/Path::Class support depecated/, "Deprecated support" ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/classic/0000755000175000017500000000000012550367211017561 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/classic/01_devel.t0000644000175000017500000000124212550367211021344 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/01_files" ); $fake->add_file( '.devdir' => q[] ); $fake->add_file( 'share/file' => q[01] ); $fake->add_file( 'lib/Example_01.pm' => <<'EOF' ); use strict; use warnings; package Example_01; use File::ShareDir::ProjectDistDir; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_01', 'file' ) )->slurp(); } 1; EOF } use lib "$FindBin::Bin/01_files/lib"; use Example_01; is( Example_01->test(), '01', 'Example 01 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/classic/04_developing_installed.t0000644000175000017500000000230212550367211024441 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/04_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/file' => q[06] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_06/file' => q[06-old] ); $fake->add_file( 'develdir/lib/Example_06.pm' => <<'EOF_A' ); use strict; use warnings; package Example_06; use File::ShareDir::ProjectDistDir; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_06', 'file' ) )->slurp(); } 1; EOF_A $fake->add_file( 'installdir/lib/Example_06.pm' => <<'EOF_B' ); use strict; use warnings; package Example_06; use File::ShareDir::ProjectDistDir; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_06', 'file' ) )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/04_files/installdir/lib"; use lib "$FindBin::Bin/04_files/develdir/lib"; # simulate testing in a child project. use Example_06; is( Example_06->test(), '06', 'Example 06 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/classic/05_devel_spec.t0000644000175000017500000000032312550367211022361 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib "$FindBin::Bin/05_files/lib"; use Example_05; is( Example_05->test(), '05', 'Example 05 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/classic/06_distname.t0000644000175000017500000000250212550367211022056 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/06_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/file' => q[05] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_04/file' => q[04] ); $fake->add_file( 'develdir/lib/Example_05.pm' => <<'EOF_A'); use strict; use warnings; package Example_05; use File::ShareDir::ProjectDistDir qw( :all ), distname => 'Example_05'; use Path::Tiny qw(path); sub test { return scalar path( dist_file('file') )->slurp(); } 1; EOF_A $fake->add_file( 'installdir/lib/Example_04.pm' => <<'EOF_B'); use strict; use warnings; package Example_04; use File::ShareDir::ProjectDistDir qw( :all ), distname => "Example_04"; use Path::Tiny qw(path); sub test { return scalar path( dist_file('file') )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/06_files/installdir/lib"; use lib "$FindBin::Bin/06_files/develdir/lib"; # simulate testing in a child project. use Example_04; use Example_05; is( Example_04->test(), '04', 'Example 04 returns the right shared value' ); is( Example_05->test(), '05', 'Example 05 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/classic/05_files/0000755000175000017500000000000012550367211021167 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/classic/05_files/lib/0000755000175000017500000000000012550367211021735 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/classic/05_files/lib/Example_05.pm0000644000175000017500000000034612550367211024175 0ustar kentkentuse strict; use warnings; package Example_05; use File::ShareDir::ProjectDistDir ':all', projectdir => 'templates'; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_05', 'file' ) )->slurp(); } 1; File-ShareDir-ProjectDistDir-1.000008/t/classic/05_files/.devdir0000644000175000017500000000000012550367211022433 0ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/classic/05_files/templates/0000755000175000017500000000000012550367211023165 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/classic/05_files/templates/file0000644000175000017500000000000212550367211024017 0ustar kentkent05File-ShareDir-ProjectDistDir-1.000008/t/classic/02_installed_only.t0000644000175000017500000000205412550367211023270 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/02_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/file' => qq[03\n] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_02/file' => q[02] ); $fake->add_file( 'develdir/lib/Example_03.pm' => <<'EOF_A'); use strict; use warnings; package Example_03; 1; EOF_A $fake->add_file( 'installdir/lib/Example_02.pm' => <<'EOF_B'); use strict; use warnings; package Example_02; use File::ShareDir::ProjectDistDir; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_02', 'file' ) )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/02_files/installdir/lib"; use lib "$FindBin::Bin/02_files/develdir/lib"; # simulate testing in a child project. use Example_02; is( Example_02->test(), '02', 'Example 02 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/classic/03_installed_and_dev_different.t0000644000175000017500000000242712550367211025742 0ustar kentkent use strict; use warnings; use Test::More 0.96; use FindBin; use lib 't/lib'; use FakeFS; my $fake; BEGIN { $fake = FakeFS->new( root => "$FindBin::Bin/03_files" ); $fake->add_file( 'develdir/.devdir' => q[] ); $fake->add_file( 'develdir/share/file' => q[05] ); $fake->add_file( 'installdir/lib/auto/share/dist/Example_04/file' => q[04] ); $fake->add_file( 'develdir/lib/Example_05.pm' => <<'EOF_A'); use strict; use warnings; package Example_05; use File::ShareDir::ProjectDistDir; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_05', 'file' ) )->slurp(); } 1; EOF_A $fake->add_file( 'installdir/lib/Example_04.pm' => <<'EOF_B'); use strict; use warnings; package Example_04; use File::ShareDir::ProjectDistDir; use Path::Tiny qw(path); sub test { return scalar path( dist_file( 'Example_04', 'file' ) )->slurp(); } 1; EOF_B } use lib "$FindBin::Bin/03_files/installdir/lib"; use lib "$FindBin::Bin/03_files/develdir/lib"; # simulate testing in a child project. use Example_04; use Example_05; is( Example_04->test(), '04', 'Example 04 returns the right shared value' ); is( Example_05->test(), '05', 'Example 05 returns the right shared value' ); done_testing; File-ShareDir-ProjectDistDir-1.000008/t/00-compile/0000755000175000017500000000000012550367211020005 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/t/00-compile/lib_File_ShareDir_ProjectDistDir_pm.t0000644000175000017500000000050712550367211027127 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/File/ShareDir/ProjectDistDir.pm"); File-ShareDir-ProjectDistDir-1.000008/t/00-report-prereqs.t0000644000175000017500000001274612550367211021546 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( Path::Class ); 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: File-ShareDir-ProjectDistDir-1.000008/maint/0000755000175000017500000000000012550367211017005 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/maint/perlcritic.rc.gen.pl0000644000175000017500000000301612550367211022655 0ustar kentkent#!/usr/bin/env perl # 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 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); my $bundle = create_bundle('Example::Author::KENTNL'); $bundle->configure; my @stopwords = (); for my $var (@stopwords) { $bundle->add_or_append_policy_field( 'Documentation::PodSpelling' => ( 'stop_words' => $var ) ); } $bundle->add_or_append_policy_field( 'Subroutines::ProhibitCallsToUndeclaredSubs' => ( 'exempt_subs' => 'String::Formatter::str_rf' ), ); $bundle->remove_policy('ValuesAndExpressions::RequireNumericVersion'); #$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'; } File-ShareDir-ProjectDistDir-1.000008/misc/0000755000175000017500000000000012550367211016630 5ustar kentkentFile-ShareDir-ProjectDistDir-1.000008/misc/Changes.deps.all0000644000175000017500000002152412550367211021630 0ustar kentkentThis file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) 1.000008 [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING 0.001003 - Dist::Zilla::Plugin::MetaYAML::Minimal - Dist::Zilla::Plugin::Munge::Whitespace - Dist::Zilla::Plugin::RemovePrereqs::Provided [Added / test suggests] - Capture::Tiny 0.12 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.002000 → 0.002005 - Dist::Zilla::PluginBundle::Author::KENTNL 2.024001 → 2.025001 [Removed / develop requires] - Dist::Zilla::Plugin::MetaYAML 1.000007 2015-04-22T05:48:43Z 1.000006 2015-04-22T03:04:21Z 1.000005 2015-04-14T12:54:44Z [Added / configure requires] - perl 5.006 [Added / develop recommends] - Test::More 0.99 [Added / develop requires] - Dist::Zilla 5 - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002 - Dist::Zilla::Plugin::Prereqs::AuthorDeps - Dist::Zilla::Plugin::Prereqs::Upgrade - Dist::Zilla::Plugin::Readme::Brief - Dist::Zilla::Plugin::Test::EOL - Test::EOL - Test::More 0.88 [Added / runtime recommends] - Path::Tiny 0.058 [Added / test requires] - perl 5.006 [Changed / configure recommends] - ExtUtils::MakeMaker 6.98 → 7.00 [Changed / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 - Dist::Zilla::Plugin::Git::NextRelease 0 → 0.004000 - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001002 → 0.002000 - Dist::Zilla::PluginBundle::Author::KENTNL 2.019000 → 2.024001 [Changed / runtime requires] - perl 5.008 → 5.006 [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] - utf8 1.000004 2014-08-18T22:18:54Z [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.017002 → 2.019000 1.000003 2014-08-16T06:53:18Z [Added / develop requires] - Dist::Zilla::Plugin::BumpVersionAfterRelease - Dist::Zilla::Plugin::CopyFilesFromBuild - Dist::Zilla::Plugin::Git::Contributors 0.006 - Dist::Zilla::Plugin::RewriteVersion::Sanitized [Added / test requires] - File::Spec [Changed / configure requires] - ExtUtils::MakeMaker 6.30 → 0 [Changed / develop requires] - Test::Kwalitee 1.12 → 1.21 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001000 → 0.001002 - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000 → 2.017002 [Changed / test recommends] - CPAN::Meta 0 → 2.120900 [Removed / develop requires] - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::PkgVersion [Removed / test recommends] - CPAN::Meta::Requirements 2.120900 [Removed / test requires] - File::Spec::Functions - List::Util - version 1.000002 2014-06-13T15:17:10Z [Added / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001000 - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000 [Added / test requires] - Class::Tiny [Changed / configure recommends] - ExtUtils::MakeMaker 6.90 → 6.98 [Changed / test recommends] - ExtUtils::MakeMaker 6.90 → 6.98 - Test::More 1.001002 → 1.001003 [Removed / develop requires] - Dist::Zilla::PluginBundle::Author::KENTNL 2.012000 [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 1.000001 2014-03-04T14:17:26Z 1.000000 2014-02-28T15:00:49Z [Added / configure recommends] - ExtUtils::MakeMaker 6.90 [Added / configure requires] - ExtUtils::MakeMaker 6.30 [Added / develop requires] - Dist::Zilla::Plugin::Authority 1.006 - Dist::Zilla::Plugin::AutoPrereqs - 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::NextRelease - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::Git::Tag - Dist::Zilla::Plugin::GithubMeta - Dist::Zilla::Plugin::License - Dist::Zilla::Plugin::MakeMaker - 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::MinimumPerl - Dist::Zilla::Plugin::PkgVersion - Dist::Zilla::Plugin::PodCoverageTests - Dist::Zilla::Plugin::PodSyntaxTests - Dist::Zilla::Plugin::PodWeaver - Dist::Zilla::Plugin::Prereqs - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - Dist::Zilla::Plugin::ReadmeAnyFromPod - Dist::Zilla::Plugin::ReadmeFromPod - Dist::Zilla::Plugin::RunExtraTests - 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::Test::ReportPrereqs - Dist::Zilla::Plugin::TestRelease - Dist::Zilla::Plugin::Twitter - Dist::Zilla::Plugin::UploadToCPAN - Dist::Zilla::PluginBundle::Author::KENTNL 2.012000 [Added / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 [Added / runtime requires] - utf8 [Added / test recommends] - CPAN::Meta - CPAN::Meta::Requirements 2.120900 - ExtUtils::MakeMaker 6.90 - Test::More 1.001002 [Added / test requires] - ExtUtils::MakeMaker - File::Spec::Functions - List::Util - version [Changed / develop requires] - Test::Kwalitee 1.08 → 1.12 [Changed / runtime requires] - perl 5.006 → 5.008 [Changed / test requires] - Test::More 0.98 → 0.96 [Removed / build requires] - Module::Build 0.4007 [Removed / configure requires] - Module::Build 0.4007 [Removed / develop recommends] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 [Removed / develop requires] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite - version 0.9901 [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 [Removed / runtime requires] - Path::Class::Dir - Path::Class::File [Removed / test requires] - File::Spec - IO::Handle - IPC::Open3 0.5.2 2013-09-25T20:04:10Z [Added / test requires] - File::Spec 0.5.1 2013-09-16T07:34:01Z [Added / develop requires] - Test::Kwalitee 1.08 [Added / test requires] - IO::Handle - IPC::Open3 [Changed / build requires] - Module::Build 0.4005 → 0.4007 [Changed / configure requires] - Module::Build 0.4005 → 0.4007 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.4 → v1.8.3 [Removed / test requires] - File::Find - File::Temp 0.5.0 2013-07-06T18:11:52Z [Added / runtime requires] - Path::Class::Dir - Path::FindDev - Path::IsDev - Path::Tiny [Added / test requires] - lib [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.3 → v1.7.4 0.4.4 2013-06-05T17:11:18Z 0.4.3 2013-05-23T18:29:12Z 0.4.2 2013-05-23T17:11:31Z [Added / develop requires] - Test::CPAN::Changes 0.19 [Changed / build requires] - Module::Build 0.4003 → 0.4005 [Changed / configure requires] - Module::Build 0.4003 → 0.4005 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.0 → v1.7.3 0.4.1 2013-02-13T23:17:46Z [Added / develop requires] - Pod::Coverage::TrustPod - Test::CPAN::Meta - Test::Pod 1.41 - Test::Pod::Coverage 1.08 - version 0.9901 [Changed / build requires] - Module::Build 0.4002 → 0.4003 [Changed / configure requires] - Module::Build 0.4002 → 0.4003 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.4.2 → v1.7.0 0.4.0 2012-07-28T21:54:15Z [Changed / build requires] - Module::Build 0.3601 → 0.4002 [Changed / configure requires] - Module::Build 0.3601 → 0.4002 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.3.0 → v1.4.2 [Changed / test requires] - Test::More 0.96 → 0.98 0.3.2 2012-05-07T17:07:54Z [Changed / develop recommends] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite 0.01009803 → v1.3.0 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.2.0 → v1.3.0 0.3.1 2012-03-07T03:57:06Z [Changed / runtime requires] - perl v5.10.0 → 5.006 0.3.0 2012-03-05T05:27:43Z [Added / runtime requires] - perl v5.10.0 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.0.0 → v1.2.0 0.2.0 2011-10-15T02:08:29Z [Added / runtime requires] - strict - warnings [Removed / test requires] - English 0.1.1 2011-04-08T01:29:46Z File-ShareDir-ProjectDistDir-1.000008/misc/Changes.deps0000644000175000017500000000531212550367211021056 0ustar kentkentThis file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) 1.000008 1.000007 2015-04-22T05:48:43Z 1.000006 2015-04-22T03:04:21Z 1.000005 2015-04-14T12:54:44Z [Added / configure requires] - perl 5.006 [Added / test requires] - perl 5.006 [Changed / runtime requires] - perl 5.008 → 5.006 [Removed / runtime requires] - utf8 1.000004 2014-08-18T22:18:54Z 1.000003 2014-08-16T06:53:18Z [Added / test requires] - File::Spec [Changed / configure requires] - ExtUtils::MakeMaker 6.30 → 0 [Removed / test requires] - File::Spec::Functions - List::Util - version 1.000002 2014-06-13T15:17:10Z [Added / test requires] - Class::Tiny 1.000001 2014-03-04T14:17:26Z 1.000000 2014-02-28T15:00:49Z [Added / configure requires] - ExtUtils::MakeMaker 6.30 [Added / runtime requires] - utf8 [Added / test requires] - ExtUtils::MakeMaker - File::Spec::Functions - List::Util - version [Changed / runtime requires] - perl 5.006 → 5.008 [Changed / test requires] - Test::More 0.98 → 0.96 [Removed / build requires] - Module::Build 0.4007 [Removed / configure requires] - Module::Build 0.4007 [Removed / runtime requires] - Path::Class::Dir - Path::Class::File [Removed / test requires] - File::Spec - IO::Handle - IPC::Open3 0.5.2 2013-09-25T20:04:10Z [Added / test requires] - File::Spec 0.5.1 2013-09-16T07:34:01Z [Added / test requires] - IO::Handle - IPC::Open3 [Changed / build requires] - Module::Build 0.4005 → 0.4007 [Changed / configure requires] - Module::Build 0.4005 → 0.4007 [Removed / test requires] - File::Find - File::Temp 0.5.0 2013-07-06T18:11:52Z [Added / runtime requires] - Path::Class::Dir - Path::FindDev - Path::IsDev - Path::Tiny [Added / test requires] - lib 0.4.4 2013-06-05T17:11:18Z 0.4.3 2013-05-23T18:29:12Z 0.4.2 2013-05-23T17:11:31Z [Changed / build requires] - Module::Build 0.4003 → 0.4005 [Changed / configure requires] - Module::Build 0.4003 → 0.4005 0.4.1 2013-02-13T23:17:46Z [Changed / build requires] - Module::Build 0.4002 → 0.4003 [Changed / configure requires] - Module::Build 0.4002 → 0.4003 0.4.0 2012-07-28T21:54:15Z [Changed / build requires] - Module::Build 0.3601 → 0.4002 [Changed / configure requires] - Module::Build 0.3601 → 0.4002 [Changed / test requires] - Test::More 0.96 → 0.98 0.3.2 2012-05-07T17:07:54Z 0.3.1 2012-03-07T03:57:06Z [Changed / runtime requires] - perl v5.10.0 → 5.006 0.3.0 2012-03-05T05:27:43Z [Added / runtime requires] - perl v5.10.0 0.2.0 2011-10-15T02:08:29Z [Added / runtime requires] - strict - warnings [Removed / test requires] - English 0.1.1 2011-04-08T01:29:46Z File-ShareDir-ProjectDistDir-1.000008/misc/built_with.json0000644000175000017500000001002312550367211021671 0ustar kentkent{ "modules" : { "CPAN::Meta" : "2.150005", "Capture::Tiny" : "0.30", "Carp" : "1.36", "Class::Tiny" : "1.001", "Dist::Zilla" : "5.037", "Dist::Zilla::App::Command::bakeini" : "0.002005", "Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING" : "0.001004", "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.005001", "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::Munge::Whitespace" : "0.001000", "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.025001", "ExtUtils::MakeMaker" : "7.04_01", "File::ShareDir" : "1.102", "File::Spec" : "3.56", "FindBin" : "1.51", "Path::FindDev" : "0.5.2", "Path::IsDev" : "1.001002", "Path::Tiny" : "0.070", "Pod::Coverage::TrustPod" : "0.100003", "Sub::Exporter" : "0.987", "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", "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.1.0-gentoo-r1 x86_64 GenuineIntel GNU/Linux" } File-ShareDir-ProjectDistDir-1.000008/misc/Changes.deps.dev0000644000175000017500000001403712550367211021637 0ustar kentkentThis file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) 1.000008 [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING 0.001003 - Dist::Zilla::Plugin::MetaYAML::Minimal - Dist::Zilla::Plugin::Munge::Whitespace - Dist::Zilla::Plugin::RemovePrereqs::Provided [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.002000 → 0.002005 - Dist::Zilla::PluginBundle::Author::KENTNL 2.024001 → 2.025001 [Removed / develop requires] - Dist::Zilla::Plugin::MetaYAML 1.000007 2015-04-22T05:48:43Z 1.000006 2015-04-22T03:04:21Z 1.000005 2015-04-14T12:54:44Z [Added / develop recommends] - Test::More 0.99 [Added / develop requires] - Dist::Zilla 5 - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002 - Dist::Zilla::Plugin::Prereqs::AuthorDeps - Dist::Zilla::Plugin::Prereqs::Upgrade - Dist::Zilla::Plugin::Readme::Brief - Dist::Zilla::Plugin::Test::EOL - Test::EOL - Test::More 0.88 [Changed / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 - Dist::Zilla::Plugin::Git::NextRelease 0 → 0.004000 - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001002 → 0.002000 - Dist::Zilla::PluginBundle::Author::KENTNL 2.019000 → 2.024001 [Removed / develop requires] - Dist::Zilla::Plugin::EOLTests - Dist::Zilla::Plugin::ReadmeFromPod 1.000004 2014-08-18T22:18:54Z [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.017002 → 2.019000 1.000003 2014-08-16T06:53:18Z [Added / develop requires] - Dist::Zilla::Plugin::BumpVersionAfterRelease - Dist::Zilla::Plugin::CopyFilesFromBuild - Dist::Zilla::Plugin::Git::Contributors 0.006 - Dist::Zilla::Plugin::RewriteVersion::Sanitized [Changed / develop requires] - Test::Kwalitee 1.12 → 1.21 [Changed / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001000 → 0.001002 - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000 → 2.017002 [Removed / develop requires] - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::PkgVersion 1.000002 2014-06-13T15:17:10Z [Added / develop suggests] - Dist::Zilla::App::Command::bakeini 0.001000 - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000 [Removed / develop requires] - Dist::Zilla::PluginBundle::Author::KENTNL 2.012000 [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 1.000001 2014-03-04T14:17:26Z 1.000000 2014-02-28T15:00:49Z [Added / develop requires] - Dist::Zilla::Plugin::Authority 1.006 - Dist::Zilla::Plugin::AutoPrereqs - 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::NextRelease - Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Dist::Zilla::Plugin::Git::Tag - Dist::Zilla::Plugin::GithubMeta - Dist::Zilla::Plugin::License - Dist::Zilla::Plugin::MakeMaker - 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::MinimumPerl - Dist::Zilla::Plugin::PkgVersion - Dist::Zilla::Plugin::PodCoverageTests - Dist::Zilla::Plugin::PodSyntaxTests - Dist::Zilla::Plugin::PodWeaver - Dist::Zilla::Plugin::Prereqs - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - Dist::Zilla::Plugin::ReadmeAnyFromPod - Dist::Zilla::Plugin::ReadmeFromPod - Dist::Zilla::Plugin::RunExtraTests - 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::Test::ReportPrereqs - Dist::Zilla::Plugin::TestRelease - Dist::Zilla::Plugin::Twitter - Dist::Zilla::Plugin::UploadToCPAN - Dist::Zilla::PluginBundle::Author::KENTNL 2.012000 [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 - version 0.9901 [Removed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 0.5.2 2013-09-25T20:04:10Z 0.5.1 2013-09-16T07:34:01Z [Added / develop requires] - Test::Kwalitee 1.08 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.4 → v1.8.3 0.5.0 2013-07-06T18:11:52Z [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.3 → v1.7.4 0.4.4 2013-06-05T17:11:18Z 0.4.3 2013-05-23T18:29:12Z 0.4.2 2013-05-23T17:11:31Z [Added / develop requires] - Test::CPAN::Changes 0.19 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.0 → v1.7.3 0.4.1 2013-02-13T23:17:46Z [Added / develop requires] - Pod::Coverage::TrustPod - Test::CPAN::Meta - Test::Pod 1.41 - Test::Pod::Coverage 1.08 - version 0.9901 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.4.2 → v1.7.0 0.4.0 2012-07-28T21:54:15Z [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.3.0 → v1.4.2 0.3.2 2012-05-07T17:07:54Z [Changed / develop recommends] - Dist::Zilla::PluginBundle::Author::KENTNL::Lite 0.01009803 → v1.3.0 [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.2.0 → v1.3.0 0.3.1 2012-03-07T03:57:06Z 0.3.0 2012-03-05T05:27:43Z [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.0.0 → v1.2.0 0.2.0 2011-10-15T02:08:29Z 0.1.1 2011-04-08T01:29:46Z File-ShareDir-ProjectDistDir-1.000008/misc/Changes.deps.opt0000644000175000017500000000273512550367211021665 0ustar kentkentThis file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) 1.000008 [Added / test suggests] - Capture::Tiny 0.12 1.000007 2015-04-22T05:48:43Z 1.000006 2015-04-22T03:04:21Z 1.000005 2015-04-14T12:54:44Z [Added / runtime recommends] - Path::Tiny 0.058 [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.000004 2014-08-18T22:18:54Z 1.000003 2014-08-16T06:53:18Z [Changed / test recommends] - CPAN::Meta 0 → 2.120900 [Removed / test recommends] - CPAN::Meta::Requirements 2.120900 1.000002 2014-06-13T15:17:10Z [Changed / configure recommends] - ExtUtils::MakeMaker 6.90 → 6.98 [Changed / test recommends] - ExtUtils::MakeMaker 6.90 → 6.98 - Test::More 1.001002 → 1.001003 1.000001 2014-03-04T14:17:26Z 1.000000 2014-02-28T15:00:49Z [Added / configure recommends] - ExtUtils::MakeMaker 6.90 [Added / test recommends] - CPAN::Meta - CPAN::Meta::Requirements 2.120900 - ExtUtils::MakeMaker 6.90 - Test::More 1.001002 0.5.2 2013-09-25T20:04:10Z 0.5.1 2013-09-16T07:34:01Z 0.5.0 2013-07-06T18:11:52Z 0.4.4 2013-06-05T17:11:18Z 0.4.3 2013-05-23T18:29:12Z 0.4.2 2013-05-23T17:11:31Z 0.4.1 2013-02-13T23:17:46Z 0.4.0 2012-07-28T21:54:15Z 0.3.2 2012-05-07T17:07:54Z 0.3.1 2012-03-07T03:57:06Z 0.3.0 2012-03-05T05:27:43Z 0.2.0 2011-10-15T02:08:29Z 0.1.1 2011-04-08T01:29:46Z File-ShareDir-ProjectDistDir-1.000008/misc/perlcritic.deps0000644000175000017500000000141112550367211021642 0ustar kentkentPerl::Critic::Policy::Lax::RequireExplicitPackage::ExceptForPragmata~0 Perl::Critic::Policy::Subroutines::ProhibitCallsToUndeclaredSubs~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 File-ShareDir-ProjectDistDir-1.000008/.travis.yml0000644000175000017500000000277312550367211020017 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 File-ShareDir-ProjectDistDir-1.000008/README0000644000175000017500000000120412550367211016552 0ustar kentkentFile::ShareDir::ProjectDistDir 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. File-ShareDir-ProjectDistDir-1.000008/.gitignore0000644000175000017500000000020712550367211017664 0ustar kentkent/.build /File-ShareDir-ProjectDistDir-* /tmp/ /META.json /MYMETA.json /META.yml /MYMETA.yml /Makefile /Makefile.old /blib/ /pm_to_blib File-ShareDir-ProjectDistDir-1.000008/META.yml0000644000175000017500000000217112550367211017147 0ustar kentkent--- abstract: "Simple set-and-forget using of a '/share' directory in your projects root" author: - 'Kent Fredric ' build_requires: Class::Tiny: '0' ExtUtils::MakeMaker: '0' File::Spec: '0' FindBin: '0' Test::More: '0.96' lib: '0' perl: '5.006' configure_requires: ExtUtils::MakeMaker: '0' perl: '5.006' 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: File-ShareDir-ProjectDistDir provides: File::ShareDir::ProjectDistDir: file: lib/File/ShareDir/ProjectDistDir.pm version: '1.000008' recommends: Path::Tiny: '0.058' requires: Carp: '0' File::ShareDir: '0' Path::FindDev: '0' Path::IsDev: '0' Path::Tiny: '0' Sub::Exporter: '0' perl: '5.006' strict: '0' warnings: '0' resources: bugtracker: https://github.com/kentnl/File-ShareDir-ProjectDistDir/issues homepage: https://github.com/kentnl/File-ShareDir-ProjectDistDir repository: https://github.com/kentnl/File-ShareDir-ProjectDistDir.git version: '1.000008' File-ShareDir-ProjectDistDir-1.000008/perlcritic.rc0000644000175000017500000002304312550367211020365 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] exempt_subs = String::Formatter::str_rf [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] File-ShareDir-ProjectDistDir-1.000008/dist.ini0000644000175000017500000001644012550367211017346 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.0.5 at Fri Apr 8 10:40:45 2011 ; vim: syntax=dosini ; Uncomment this to bootstrap via self ; [Bootstrap::lib] name = File-ShareDir-ProjectDistDir 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.pod 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] -location = root -phase = build :version = 0.001003 document_version = 0.1 [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] include = Path::Class [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] skips = ^Example_ [Prereqs / @Author::KENTNL/BundleDevelSuggests] -phase = develop -type = suggests Dist::Zilla::App::Command::bakeini = 0.001000 Dist::Zilla::PluginBundle::Author::KENTNL = 2.025001 [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 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] -phase = develop -relationship = requires Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING = 0.001003 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 [Munge::Whitespace] ;version_major = 0 ;version_minor = 1 ; the following data denotes when this minor was minted ;version_rel_year = 2011 ;version_rel_month = 4 ;version_rel_day = 8 ;version_rel_hour = 10 ;version_rel_time_zone = Pacific/Auckland filename = LICENSE [Prereqs] [Prereqs / TestSuggests] Capture::Tiny = 0.12 File-ShareDir-ProjectDistDir-1.000008/.perltidyrc0000644000175000017500000000001412550367211020052 0ustar kentkent-i 2 -l 130 File-ShareDir-ProjectDistDir-1.000008/META.json0000644000175000017500000007611712550367211017332 0ustar kentkent{ "abstract" : "Simple set-and-forget using of a '/share' directory in your projects root", "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" : "File-ShareDir-ProjectDistDir", "prereqs" : { "configure" : { "recommends" : { "ExtUtils::MakeMaker" : "7.00" }, "requires" : { "ExtUtils::MakeMaker" : "0", "perl" : "5.006" } }, "develop" : { "recommends" : { "Test::More" : "0.99" }, "requires" : { "Dist::Zilla" : "5", "Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING" : "0.001003", "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::Munge::Whitespace" : "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.025001" } }, "runtime" : { "recommends" : { "Path::Tiny" : "0.058" }, "requires" : { "Carp" : "0", "File::ShareDir" : "0", "Path::FindDev" : "0", "Path::IsDev" : "0", "Path::Tiny" : "0", "Sub::Exporter" : "0", "perl" : "5.006", "strict" : "0", "warnings" : "0" } }, "test" : { "recommends" : { "CPAN::Meta" : "2.120900", "ExtUtils::MakeMaker" : "7.00", "Test::More" : "0.99" }, "requires" : { "Class::Tiny" : "0", "ExtUtils::MakeMaker" : "0", "File::Spec" : "0", "FindBin" : "0", "Test::More" : "0.96", "lib" : "0", "perl" : "5.006" }, "suggests" : { "Capture::Tiny" : "0.12" } } }, "provides" : { "File::ShareDir::ProjectDistDir" : { "file" : "lib/File/ShareDir/ProjectDistDir.pm", "version" : "1.000008" } }, "release_status" : "stable", "resources" : { "bugtracker" : { "web" : "https://github.com/kentnl/File-ShareDir-ProjectDistDir/issues" }, "homepage" : "https://github.com/kentnl/File-ShareDir-ProjectDistDir", "repository" : { "type" : "git", "url" : "https://github.com/kentnl/File-ShareDir-ProjectDistDir.git", "web" : "https://github.com/kentnl/File-ShareDir-ProjectDistDir" } }, "version" : "1.000008", "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.pod", "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" }, "Dist::Zilla::Plugin::GenerateFile::ShareDir" : { "destination_filename" : "CONTRIBUTING.pod", "dist" : "Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING", "encoding" : "UTF-8", "location" : "root", "phase" : "build", "source_filename" : "contributing-0.1.pod" } }, "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/File/ShareDir/ProjectDistDir.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::Generic", "name" : "DETERRENT", "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" : "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::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.005001" }, { "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.000008-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.000008", "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::Munge::Whitespace", "config" : { "Dist::Zilla::Plugin::Munge::Whitespace" : { "filename" : [ "LICENSE" ] } }, "name" : "Munge::Whitespace", "version" : "0.001000" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "runtime", "type" : "requires" } }, "name" : "Prereqs", "version" : "5.037" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "test", "type" : "suggests" } }, "name" : "TestSuggests", "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", "x_contributors" : [ "Michael Jemmeson ", "Michał Wojciechowski " ] } File-ShareDir-ProjectDistDir-1.000008/weaver.ini0000644000175000017500000000134312550367211017670 0ustar kentkent[@CorePrep] [-SingleEncoding] [Name] [Version] [Generic / DETERRENT] [Region / prelude] [Generic / SYNOPSIS] [Generic / DESCRIPTION] [Generic / OVERVIEW] ;[Generic / METHODS] ;[Collect / METHODS] [Collect / METHODS] command = method [Collect / ATTRIBUTES] command = attr ;[Collect / FILTER_METHODS] ;header = FILTER METHODS ;command = filter ;[Collect / TERMINATOR_LIST_METHODS] ;header = TERMINATOR LIST METHODS ;command = terminator ;[Collect / MIRROR_LIST_METHODS] ;header = MIRROR LIST METHODS ;command = mirrorlist [Collect / PRIVATE_ATTRIBUTES] header = PRIVATE ATTRIBUTES command = p_attr [Collect / PRIVATE_METHODS] header = PRIVATE METHODS command = p_method [Leftovers] [Region / postlude] [Authors] [Legal] File-ShareDir-ProjectDistDir-1.000008/MANIFEST0000644000175000017500000000311312550367211017024 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 dist.ini dist.ini.meta lib/File/ShareDir/ProjectDistDir.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_File_ShareDir_ProjectDistDir_pm.t t/00-report-prereqs.dd t/00-report-prereqs.t t/classic/01_devel.t t/classic/02_installed_only.t t/classic/03_installed_and_dev_different.t t/classic/04_developing_installed.t t/classic/05_devel_spec.t t/classic/05_files/.devdir t/classic/05_files/lib/Example_05.pm t/classic/05_files/templates/file t/classic/06_distname.t t/deprecations/fatal_no_pathclass_installed.t t/deprecations/warn_on_pathclass.t t/lib/FakeFS.pm t/strict/01_devel.t t/strict/01_files/.devdir t/strict/01_files/lib/Example_01.pm t/strict/01_files/share/dist/Example_01/file t/strict/02_installed_only.t t/strict/03_installed_and_dev_different.t t/strict/04_developing_installed.t t/strict/05_devel_spec.t t/strict/05_files/.devdir t/strict/05_files/lib/Example_05.pm t/strict/05_files/templates/dist/Example_05/file t/strict/06_distname.t t/strict/07_files/.devdir t/strict/07_files/lib/Example_01.pm t/strict/07_files/share/dist/Example_01/file t/strict/07_gh15.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