MooseX-Types-Path-Tiny-0.011/000755 000767 000024 00000000000 12400241072 016106 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/Build.PL000644 000767 000024 00000006722 12400241072 017411 0ustar00etherstaff000000 000000 # This Build.PL for MooseX-Types-Path-Tiny was generated by # Dist::Zilla::Plugin::ModuleBuildTiny::Fallback 0.005 if (eval 'use Module::Build::Tiny 0.037; 1') { print "Congratulations, your toolchain understands 'configure_requires'!\n\n"; # This section for MooseX-Types-Path-Tiny was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.006. use 5.006; # use Module::Build::Tiny 0.037; Build_PL(); } else { $ENV{PERL_MB_FALLBACK_SILENCE_WARNING} or warn <<'EOW'; *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** If you're seeing this warning, your toolchain is really, really old* and you'll almost certainly have problems installing CPAN modules from this century. But never fear, dear user, for we have the technology to fix this! If you're using CPAN.pm to install things, then you can upgrade it using: cpan CPAN If you're using CPANPLUS to install things, then you can upgrade it using: cpanp CPANPLUS If you're using cpanminus, you shouldn't be seeing this message in the first place, so please file an issue on github. This public service announcement was brought to you by the Perl Toolchain Gang, the irc.perl.org #toolchain IRC channel, and the number 42. ---- * Alternatively, you are running this file manually, in which case you need to learn to first fulfill all configure requires prerequisites listed in META.yml or META.json -- or use a cpan client to install this distribution. You can also silence this warning for future installations by setting the PERL_MB_FALLBACK_SILENCE_WARNING environment variable, but please don't do that until you fix your toolchain as described above. EOW sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)); # This section was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.020. use strict; use warnings; require Module::Build; Module::Build->VERSION(0.28); my %module_build_args = ( "build_requires" => {}, "configure_requires" => { "ExtUtils::MakeMaker" => 0, "Module::Build::Tiny" => "0.037" }, "dist_abstract" => "Path::Tiny types and coercions for Moose", "dist_author" => [ "David Golden " ], "dist_name" => "MooseX-Types-Path-Tiny", "dist_version" => "0.011", "license" => "apache", "module_name" => "MooseX::Types::Path::Tiny", "recommends" => {}, "recursive_test_files" => 1, "requires" => { "Moose" => 2, "MooseX::Types" => 0, "MooseX::Types::Moose" => 0, "MooseX::Types::Stringlike" => 0, "Path::Tiny" => 0, "if" => 0, "namespace::autoclean" => 0, "perl" => "5.006", "strict" => 0, "warnings" => 0 }, "script_files" => [], "test_requires" => { "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "File::Temp" => "0.18", "File::pushd" => 0, "Test::Fatal" => 0, "Test::More" => "0.96" } ); my %fallback_build_requires = ( "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "File::Temp" => "0.18", "File::pushd" => 0, "Test::Fatal" => 0, "Test::More" => "0.96" ); unless ( eval { Module::Build->VERSION(0.4004) } ) { delete $module_build_args{test_requires}; $module_build_args{build_requires} = \%fallback_build_requires; } my $build = Module::Build->new(%module_build_args); $build->create_build_script; } MooseX-Types-Path-Tiny-0.011/Changes000644 000767 000024 00000002753 12400241072 017410 0ustar00etherstaff000000 000000 Revision history for 4350187104 0.011 2014-08-30 03:17:07Z - documentation amendments (thanks, Demian Riccardi!) - add missing prereq declaration 0.010 2014-02-16 22:02:29Z - fixed if eval problem in "use if" in 0.009 0.009 2014-02-16 21:57:00Z - only clean namespaces when MooseX::Types is new enough that our declared types are installed as methods 0.008 2014-02-16 21:20:46Z - new Paths, AbsPaths types, for coercable ArrayRefs 0.007 2013-12-22 00:44:49Z - add missing authority data to module and metadata 0.006 2013-06-21 22:01:15Z - re-release with my plugin bundle, fixing associated metadata. 0.005 2013-06-21 20:11:26Z - split apart MooseX::Types::Path::Tiny and Types::Path::Tiny into their own distributions. This dist has reverted back to MooseX-Types-Path-Tiny as of version 0.002, and to using MooseX::Types -- the Type::Tiny version is available in the separate Types-Path-Tiny distribution. - Perl prereq remains at v5.8.1 0.004 2013-06-21 13:05:55 America/New_York - Bumped Type::Tiny prereq to avoid known bugs in it 0.003 2013-06-20 16:01:13 America/New_York - Converted to Type::Tiny; works with Moose or Moo now - Dropped Perl prereq to v5.8.1 0.002 2013-02-12 09:35:41 America/New_York - Bump Moose version prereq to 2, just in case anyone out there still has version 1 installed. 0.001 2013-01-31 10:45:24 America/New_York - First release MooseX-Types-Path-Tiny-0.011/CONTRIBUTING000644 000767 000024 00000007260 12400241072 017745 0ustar00etherstaff000000 000000 CONTRIBUTING Thank you for considering contributing to this distribution. This file contains instructions that will help you work with the source code. PLEASE NOTE that if you have any questions or difficulties, you can reach me through the bug queue described later in this document, or by emailing me directly. You are not required to follow any of the steps in this document to submit a patch or bug report; these are just guidelines, intended to help you. The distribution is managed with Dist::Zilla (https://metacpan.org/release/Dist-Zilla). This means than many of the usual files you might expect are not in the repository, but are generated at release time (e.g. Makefile.PL). However, you can run tests directly using the 'prove' tool: $ prove -l $ prove -lv t/some_test_file.t $ prove -lvr t/ In most cases, 'prove' is entirely sufficent for you to test any patches you have. You may need to satisfy some dependencies. The easiest way to satisfy dependencies is to install the last release -- this is available at https://metacpan.org/release/MooseX-Types-Path-Tiny. If you use cpanminus, you can do it without downloading the tarball first: $ cpanm --reinstall --installdeps --with-recommends MooseX::Types::Path::Tiny Dist::Zilla is a very powerful authoring tool, but requires a number of author-specific plugins. If you would like to use it for contributing, install it from CPAN, then run one of the following commands, depending on your CPAN client: $ cpan `dzil authordeps --missing` or $ dzil authordeps --missing | cpanm You should then also install any additional requirements not needed by the dzil build but may be needed by tests or other development: $ cpan `dzil listdeps --author --missing` or $ dzil listdeps --author --missing | cpanm Or, you can use the 'dzil stale' command to install all requirements at once: $ cpan Dist::Zilla::App::Command::stale $ cpan `dzil stale --all` or $ cpanm Dist::Zilla::App::Command::stale $ dzil stale --all | cpanm You can also do this via cpanm directly: $ cpanm --reinstall --installdeps --with-develop --with-recommends MooseX::Types::Path::Tiny Once installed, here are some dzil commands you might try: $ dzil build $ dzil test $ dzil test --release $ dzil xtest $ dzil listdeps --json $ dzil build --notgz You can learn more about Dist::Zilla at http://dzil.org/. The code for this distribution is hosted at GitHub. The repository is: https://github.com/karenetheridge/MooseX-Types-Path-Tiny You can submit code changes by forking the repository, pushing your code changes to your clone, and then submitting a pull request. Detailed instructions for doing that is available here: https://help.github.com/ https://help.github.com/articles/creating-a-pull-request If you have found a bug, but do not have an accompanying patch to fix it, you can submit an issue report here: https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Path-Tiny or via bug-MooseX-Types-Path-Tiny@rt.cpan.org. There is also a mailing list available for users of this distribution, at http://lists.perl.org/list/moose.html. There is also an irc channel available for users of this distribution, at irc://irc.perl.org/#moose. If you send me a patch or pull request, your name and email address will be included in the documentation as a contributor, unless you specifically request for it not to be (using the attribution on the commit or patch). If you wish to be listed under a different name, you should submit a pull request to the .mailmap file to contain the correct mapping. This file was generated via Dist::Zilla::Plugin::GenerateFile::ShareDir 0.005 from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.072. MooseX-Types-Path-Tiny-0.011/dist.ini000644 000767 000024 00000001263 12400241072 017554 0ustar00etherstaff000000 000000 name = MooseX-Types-Path-Tiny author = David Golden license = Apache_2_0 copyright_holder = David Golden copyright_year = 2013 [@Author::ETHER] :version = 0.068 Authority.authority = cpan:ETHER Test::MinimumVersion.max_target_perl = 5.008001 Test::ReportPrereqs.include = Dist::CheckConflicts [Test::Perl::Critic] ; authordep Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire [MetaResources] x_IRC = irc://irc.perl.org/#moose x_MailingList = http://lists.perl.org/list/moose.html [Prereqs] namespace::autoclean = 0 [Prereqs / DevelopRequires] Test::CleanNamespaces = 0 Test::Requires = 0 [Test::CheckBreaks] conflicts_module = Moose::Conflicts MooseX-Types-Path-Tiny-0.011/INSTALL000644 000767 000024 00000002021 12400241072 017132 0ustar00etherstaff000000 000000 This is the Perl distribution MooseX-Types-Path-Tiny. Installing MooseX-Types-Path-Tiny is straightforward. ## Installation with cpanm If you have cpanm, you only need one line: % cpanm MooseX::Types::Path::Tiny If you are installing into a system-wide directory, you may need to pass the "-S" flag to cpanm, which uses sudo to install the module: % cpanm -S MooseX::Types::Path::Tiny ## Installing with the CPAN shell Alternatively, if your CPAN shell is set up, you should just be able to do: % cpan MooseX::Types::Path::Tiny ## Manual installation As a last resort, you can manually install it. Download the tarball, untar it, then build it: % perl Build.PL % ./Build && ./Build test Then install it: % ./Build install If you are installing into a system-wide directory, you may need to run: % sudo ./Build install ## Documentation MooseX-Types-Path-Tiny documentation is available as POD. You can run perldoc from a shell to read the documentation: % perldoc MooseX::Types::Path::Tiny MooseX-Types-Path-Tiny-0.011/lib/000755 000767 000024 00000000000 12400241072 016654 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/LICENSE000644 000767 000024 00000026354 12400241072 017125 0ustar00etherstaff000000 000000 This software is Copyright (c) 2013 by David Golden. This is free software, licensed under: The Apache License, Version 2.0, January 2004 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. MooseX-Types-Path-Tiny-0.011/Makefile.PL000644 000767 000024 00000006755 12400241072 020075 0ustar00etherstaff000000 000000 # This Makefile.PL for MooseX-Types-Path-Tiny was generated by # Dist::Zilla::Plugin::MakeMaker::Fallback 0.013 # and Dist::Zilla::Plugin::MakeMaker::Awesome 0.24. # Don't edit it but the dist.ini and plugins used to construct it. use strict; use warnings; BEGIN { my %configure_requires = ( 'ExtUtils::MakeMaker' => '0', 'Module::Build::Tiny' => '0.037', ); my @missing = grep { ! eval "require $_; $_->VERSION($configure_requires{$_}); 1" } keys %configure_requires; if (not @missing) { print "Congratulations, your toolchain understands 'configure_requires'!\n\n"; } else { $ENV{PERL_MM_FALLBACK_SILENCE_WARNING} or warn <<'EOW'; *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** If you're seeing this warning, your toolchain is really, really old* and you'll almost certainly have problems installing CPAN modules from this century. But never fear, dear user, for we have the technology to fix this! If you're using CPAN.pm to install things, then you can upgrade it using: cpan CPAN If you're using CPANPLUS to install things, then you can upgrade it using: cpanp CPANPLUS If you're using cpanminus, you shouldn't be seeing this message in the first place, so please file an issue on github. If you're installing manually, please retrain your fingers to run Build.PL when present instead. This public service announcement was brought to you by the Perl Toolchain Gang, the irc.perl.org #toolchain IRC channel, and the number 42. ---- * Alternatively, you are doing something overly clever, in which case you should consider setting the 'prefer_installer' config option in CPAN.pm, or 'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively. You can also silence this warning for future installations by setting the PERL_MM_FALLBACK_SILENCE_WARNING environment variable. EOW sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)); } } use 5.006; use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Path::Tiny types and coercions for Moose", "AUTHOR" => "David Golden ", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0, "Module::Build::Tiny" => "0.037" }, "DISTNAME" => "MooseX-Types-Path-Tiny", "EXE_FILES" => [], "LICENSE" => "apache", "NAME" => "MooseX::Types::Path::Tiny", "PREREQ_PM" => { "Moose" => 2, "MooseX::Types" => 0, "MooseX::Types::Moose" => 0, "MooseX::Types::Stringlike" => 0, "Path::Tiny" => 0, "if" => 0, "namespace::autoclean" => 0, "strict" => 0, "warnings" => 0 }, "TEST_REQUIRES" => { "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "File::Temp" => "0.18", "File::pushd" => 0, "Test::Fatal" => 0, "Test::More" => "0.96" }, "VERSION" => "0.011", "test" => { "TESTS" => "t/*.t" } ); my %FallbackPrereqs = ( "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "File::Temp" => "0.18", "File::pushd" => 0, "Moose" => 2, "MooseX::Types" => 0, "MooseX::Types::Moose" => 0, "MooseX::Types::Stringlike" => 0, "Path::Tiny" => 0, "Test::Fatal" => 0, "Test::More" => "0.96", "if" => 0, "namespace::autoclean" => 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); MooseX-Types-Path-Tiny-0.011/MANIFEST000644 000767 000024 00000001363 12400241072 017242 0ustar00etherstaff000000 000000 # This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020. Build.PL CONTRIBUTING Changes INSTALL LICENSE MANIFEST META.json META.yml Makefile.PL README dist.ini lib/MooseX/Types/Path/Tiny.pm perlcritic.rc t/00-report-prereqs.dd t/00-report-prereqs.t t/06-fully-qualified.t t/arrayref.t t/basic.t t/error.t t/zzz-check-breaks.t tidyall.ini weaver.ini xt/author/00-compile.t xt/author/clean-namespaces.t xt/author/critic.t xt/author/no-tabs.t xt/author/pod-spell.t xt/release/changes_has_content.t xt/release/cpan-changes.t xt/release/distmeta.t xt/release/eol.t xt/release/kwalitee.t xt/release/minimum-version.t xt/release/mojibake.t xt/release/pod-coverage.t xt/release/pod-no404s.t xt/release/pod-syntax.t xt/release/portability.t MooseX-Types-Path-Tiny-0.011/META.json000644 000767 000024 00000105103 12400241072 017527 0ustar00etherstaff000000 000000 { "abstract" : "Path::Tiny types and coercions for Moose", "author" : [ "David Golden " ], "dynamic_config" : 0, "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060", "keywords" : [ "moose", "type", "constraint", "path", "filename", "directory" ], "license" : [ "apache_2_0" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : "2" }, "name" : "MooseX-Types-Path-Tiny", "no_index" : { "directory" : [ "t", "xt" ] }, "prereqs" : { "configure" : { "requires" : { "ExtUtils::MakeMaker" : "0", "Module::Build::Tiny" : "0.037" } }, "develop" : { "recommends" : { "Dist::Zilla::PluginBundle::Author::ETHER" : "0.072" }, "requires" : { "Dist::Zilla" : "5", "Dist::Zilla::Plugin::Authority" : "0", "Dist::Zilla::Plugin::AutoMetaResources" : "0", "Dist::Zilla::Plugin::AutoPrereqs" : "0", "Dist::Zilla::Plugin::CheckIssues" : "0", "Dist::Zilla::Plugin::CheckPrereqsIndexed" : "0", "Dist::Zilla::Plugin::CheckSelfDependency" : "0", "Dist::Zilla::Plugin::CheckStrictVersion" : "0", "Dist::Zilla::Plugin::ConfirmRelease" : "0", "Dist::Zilla::Plugin::CopyFilesFromRelease" : "0", "Dist::Zilla::Plugin::EOLTests" : "0", "Dist::Zilla::Plugin::ExecDir" : "0", "Dist::Zilla::Plugin::FileFinder::ByName" : "0", "Dist::Zilla::Plugin::GenerateFile::ShareDir" : "0", "Dist::Zilla::Plugin::Git::Check" : "0", "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch" : "0.004", "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts" : "0", "Dist::Zilla::Plugin::Git::Commit" : "2.020", "Dist::Zilla::Plugin::Git::Contributors" : "0.004", "Dist::Zilla::Plugin::Git::Describe" : "0", "Dist::Zilla::Plugin::Git::GatherDir" : "2.016", "Dist::Zilla::Plugin::Git::NextVersion" : "0", "Dist::Zilla::Plugin::Git::Push" : "0", "Dist::Zilla::Plugin::Git::Remote::Check" : "0", "Dist::Zilla::Plugin::Git::Tag" : "0", "Dist::Zilla::Plugin::GitHub::Update" : "0", "Dist::Zilla::Plugin::GithubMeta" : "0", "Dist::Zilla::Plugin::InstallGuide" : "0", "Dist::Zilla::Plugin::Keywords" : "0.004", "Dist::Zilla::Plugin::License" : "0", "Dist::Zilla::Plugin::MakeMaker::Fallback" : "0.012", "Dist::Zilla::Plugin::Manifest" : "0", "Dist::Zilla::Plugin::MetaConfig" : "0", "Dist::Zilla::Plugin::MetaJSON" : "0", "Dist::Zilla::Plugin::MetaNoIndex" : "0", "Dist::Zilla::Plugin::MetaProvides::Package" : "1.15000002", "Dist::Zilla::Plugin::MetaResources" : "0", "Dist::Zilla::Plugin::MetaTests" : "0", "Dist::Zilla::Plugin::MetaYAML" : "0", "Dist::Zilla::Plugin::MinimumPerl" : "0", "Dist::Zilla::Plugin::ModuleBuildTiny::Fallback" : "0.005", "Dist::Zilla::Plugin::MojibakeTests" : "0", "Dist::Zilla::Plugin::NextRelease" : "4.300018", "Dist::Zilla::Plugin::PkgVersion" : "5.010", "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::PromptIfStale" : "0", "Dist::Zilla::Plugin::Readme" : "0", "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142180", "Dist::Zilla::Plugin::Run::AfterBuild" : "0", "Dist::Zilla::Plugin::Run::AfterRelease" : "0", "Dist::Zilla::Plugin::RunExtraTests" : "0.019", "Dist::Zilla::Plugin::ShareDir" : "0", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008", "Dist::Zilla::Plugin::Test::ChangesHasContent" : "0", "Dist::Zilla::Plugin::Test::CheckBreaks" : "0", "Dist::Zilla::Plugin::Test::Compile" : "2.039", "Dist::Zilla::Plugin::Test::Kwalitee" : "0", "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000003", "Dist::Zilla::Plugin::Test::NoTabs" : "0", "Dist::Zilla::Plugin::Test::Perl::Critic" : "0", "Dist::Zilla::Plugin::Test::Pod::No404s" : "0", "Dist::Zilla::Plugin::Test::PodSpelling" : "0", "Dist::Zilla::Plugin::Test::Portability" : "0", "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0", "Dist::Zilla::Plugin::TestRelease" : "0", "Dist::Zilla::Plugin::UploadToCPAN" : "0", "Dist::Zilla::PluginBundle::Author::ETHER" : "0.068", "File::Spec" : "0", "IO::Handle" : "0", "IPC::Open3" : "0", "Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire" : "0", "Pod::Coverage::TrustPod" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta" : "0", "Test::CleanNamespaces" : "0", "Test::Kwalitee" : "1.21", "Test::More" : "0.94", "Test::NoTabs" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", "Test::Requires" : "0", "Test::Spelling" : "0.12" } }, "runtime" : { "requires" : { "Moose" : "2", "MooseX::Types" : "0", "MooseX::Types::Moose" : "0", "MooseX::Types::Stringlike" : "0", "Path::Tiny" : "0", "if" : "0", "namespace::autoclean" : "0", "perl" : "5.006", "strict" : "0", "warnings" : "0" } }, "test" : { "recommends" : { "CPAN::Meta" : "2.120900" }, "requires" : { "ExtUtils::MakeMaker" : "0", "File::Spec" : "0", "File::Temp" : "0.18", "File::pushd" : "0", "Test::Fatal" : "0", "Test::More" : "0.96" } } }, "provides" : { "MooseX::Types::Path::Tiny" : { "file" : "lib/MooseX/Types/Path/Tiny.pm", "version" : "0.011" } }, "release_status" : "stable", "resources" : { "bugtracker" : { "mailto" : "bug-MooseX-Types-Path-Tiny@rt.cpan.org", "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Path-Tiny" }, "homepage" : "https://github.com/karenetheridge/MooseX-Types-Path-Tiny", "repository" : { "type" : "git", "url" : "https://github.com/karenetheridge/MooseX-Types-Path-Tiny.git", "web" : "https://github.com/karenetheridge/MooseX-Types-Path-Tiny" }, "x_IRC" : "irc://irc.perl.org/#moose", "x_MailingList" : "http://lists.perl.org/list/moose.html" }, "version" : "0.011", "x_Dist_Zilla" : { "perl" : { "version" : "5.021003" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", "type" : "requires" } }, "name" : "@Author::ETHER/bundle_plugins", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "config" : { "Dist::Zilla::Plugin::Git::NextVersion" : { "first_version" : "0.001", "version_by_branch" : "0", "version_regexp" : "(?^:^v([\\d._]+)(-TRIAL)?$)" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/Git::NextVersion", "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", "config" : { "Dist::Zilla::Plugin::PromptIfStale" : { "check_all_plugins" : 0, "check_all_prereqs" : 0, "modules" : [ "Dist::Zilla::PluginBundle::Author::ETHER" ], "phase" : "build", "skip" : [] } }, "name" : "@Author::ETHER/stale modules, build", "version" : "0.024" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", "config" : { "Dist::Zilla::Plugin::PromptIfStale" : { "check_all_plugins" : "1", "check_all_prereqs" : "1", "modules" : [], "phase" : "release", "skip" : [] } }, "name" : "@Author::ETHER/stale modules, release", "version" : "0.024" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::ETHER/ExecDir", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::ETHER/ShareDir", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FileFinder::ByName", "name" : "@Author::ETHER/Examples", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FileFinder::ByName", "name" : "@Author::ETHER/ExtraTestFiles", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "config" : { "Dist::Zilla::Plugin::Git::GatherDir" : { "include_untracked" : "0" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/Git::GatherDir", "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::ETHER/MetaYAML", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::ETHER/MetaJSON", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::ETHER/License", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@Author::ETHER/Readme", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::ETHER/Manifest", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir", "config" : { "Dist::Zilla::Plugin::GenerateFile::ShareDir" : { "destination_filename" : "CONTRIBUTING", "dist" : "Dist-Zilla-PluginBundle-Author-ETHER", "encoding" : "UTF-8", "has_xs" : 0, "source_filename" : "CONTRIBUTING" } }, "name" : "@Author::ETHER/generate CONTRIBUTING", "version" : "0.005" }, { "class" : "Dist::Zilla::Plugin::Test::Compile", "config" : { "Dist::Zilla::Plugin::Test::Compile" : { "bail_out_on_fail" : "1", "fail_on_warning" : "author", "fake_home" : "0", "filename" : "xt/author/00-compile.t", "module_finder" : [ ":InstallModules" ], "needs_display" : "0", "phase" : "develop", "script_finder" : [ ":ExecFiles", "@Author::ETHER/Examples" ], "skips" : [] } }, "name" : "@Author::ETHER/Test::Compile", "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Test::NoTabs", "config" : { "Dist::Zilla::Plugin::Test::NoTabs" : { "filename" : "xt/author/no-tabs.t", "finder" : [ ":InstallModules", ":ExecFiles", "@Author::ETHER/Examples", ":TestFiles", "@Author::ETHER/ExtraTestFiles" ] } }, "name" : "@Author::ETHER/Test::NoTabs", "version" : "0.09" }, { "class" : "Dist::Zilla::Plugin::EOLTests", "name" : "@Author::ETHER/EOLTests", "version" : "0.02" }, { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::ETHER/MetaTests", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", "name" : "@Author::ETHER/Test::CPAN::Changes", "version" : "0.008" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", "name" : "@Author::ETHER/Test::ChangesHasContent", "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", "name" : "@Author::ETHER/Test::MinimumVersion", "version" : "2.000005" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::ETHER/PodSyntaxTests", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::ETHER/PodCoverageTests", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Test::PodSpelling", "name" : "@Author::ETHER/Test::PodSpelling", "version" : "2.006008" }, { "class" : "Dist::Zilla::Plugin::Test::Pod::No404s", "name" : "@Author::ETHER/Test::Pod::No404s", "version" : "1.001" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", "config" : { "Dist::Zilla::Plugin::Test::Kwalitee" : { "filename" : "xt/release/kwalitee.t", "skiptest" : [] } }, "name" : "@Author::ETHER/Test::Kwalitee", "version" : "2.11" }, { "class" : "Dist::Zilla::Plugin::MojibakeTests", "name" : "@Author::ETHER/MojibakeTests", "version" : "0.7" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@Author::ETHER/Test::ReportPrereqs", "version" : "0.019" }, { "class" : "Dist::Zilla::Plugin::Test::Portability", "name" : "@Author::ETHER/Test::Portability", "version" : "2.000005" }, { "class" : "Dist::Zilla::Plugin::Git::Describe", "name" : "@Author::ETHER/Git::Describe", "version" : "0.003" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@Author::ETHER/PkgVersion", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Authority", "name" : "@Author::ETHER/Authority", "version" : "1.006" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", "config" : { "Dist::Zilla::Plugin::PodWeaver" : { "finder" : [ ":InstallModules", ":ExecFiles" ], "plugins" : [ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@Default/SingleEncoding", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Name", "name" : "@Default/Name", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@Default/Version", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Default/prelude", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "FUNCTIONS", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@Default/Leftovers", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Default/postlude", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "@Default/Authors", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "@Default/Legal", "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "-Transformer", "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Contributors", "name" : "Contributors", "version" : "0.008" } ] } }, "name" : "@Author::ETHER/PodWeaver", "version" : "4.006" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::ETHER/NextRelease", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", "name" : "@Author::ETHER/ReadmeAnyFromPod", "version" : "0.142250" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@Author::ETHER/GithubMeta", "version" : "0.46" }, { "class" : "Dist::Zilla::Plugin::AutoMetaResources", "name" : "@Author::ETHER/AutoMetaResources", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::ETHER/MetaNoIndex", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", "config" : { "Dist::Zilla::Plugin::MetaProvides::Package" : { "finder" : [ ":InstallModules" ], "finder_objects" : [ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", "version" : "5.020" } ] }, "Dist::Zilla::Role::MetaProvider::Provider" : { "inherit_missing" : "1", "inherit_version" : "1", "meta_noindex" : "1" } }, "name" : "@Author::ETHER/MetaProvides::Package", "version" : "2.001001" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::ETHER/MetaConfig", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Keywords", "config" : { "Dist::Zilla::Plugin::Keywords" : { "keywords" : [ "moose", "type", "constraint", "path", "filename", "directory" ] } }, "name" : "@Author::ETHER/Keywords", "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { "include_authors" : "0", "include_releaser" : "1", "order_by" : "commits", "paths" : [] } }, "name" : "@Author::ETHER/Git::Contributors", "version" : "0.007" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::ETHER/AutoPrereqs", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", "name" : "@Author::ETHER/Prereqs::AuthorDeps", "version" : "0.003" }, { "class" : "Dist::Zilla::Plugin::MinimumPerl", "name" : "@Author::ETHER/MinimumPerl", "version" : "1.003" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", "type" : "recommends" } }, "name" : "@Author::ETHER/pluginbundle_version", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MakeMaker::Fallback", "config" : { "Dist::Zilla::Role::TestRunner" : { "default_jobs" : 9 } }, "name" : "@Author::ETHER/MakeMaker::Fallback", "version" : "0.013" }, { "class" : "Dist::Zilla::Plugin::ModuleBuildTiny::Fallback", "config" : { "Dist::Zilla::Role::TestRunner" : { "default_jobs" : 9 } }, "name" : "@Author::ETHER/ModuleBuildTiny::Fallback", "version" : "0.005" }, { "class" : "Dist::Zilla::Plugin::InstallGuide", "name" : "@Author::ETHER/InstallGuide", "version" : "1.200003" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", "config" : { "Dist::Zilla::Role::TestRunner" : { "default_jobs" : 9 } }, "name" : "@Author::ETHER/RunExtraTests", "version" : "0.022" }, { "class" : "Dist::Zilla::Plugin::CheckSelfDependency", "config" : { "Dist::Zilla::Plugin::CheckSelfDependency" : { "finder" : [ ":InstallModules" ] } }, "name" : "@Author::ETHER/CheckSelfDependency", "version" : "0.007" }, { "class" : "Dist::Zilla::Plugin::Run::AfterBuild", "config" : { "Dist::Zilla::Plugin::Run::Role::Runner" : { "run" : [ "bash -c \"if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi; if [[ %d =~ ^%n-[.[:xdigit:]]+$ ]]; then rm -f .latest; ln -s %d .latest; fi\"" ] } }, "name" : "@Author::ETHER/Run::AfterBuild", "version" : "0.023" }, { "class" : "Dist::Zilla::Plugin::CheckStrictVersion", "name" : "@Author::ETHER/CheckStrictVersion", "version" : "0.001" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "config" : { "Dist::Zilla::Plugin::Git::Check" : { "untracked_files" : "die" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/initial check", "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", "config" : { "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/Git::CheckFor::MergeConflicts", "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", "config" : { "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/Git::CheckFor::CorrectBranch", "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::Git::Remote::Check", "name" : "@Author::ETHER/Git::Remote::Check", "version" : "0.1.2" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@Author::ETHER/CheckPrereqsIndexed", "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::ETHER/TestRelease", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "config" : { "Dist::Zilla::Plugin::Git::Check" : { "untracked_files" : "die" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/after tests", "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::CheckIssues", "name" : "@Author::ETHER/CheckIssues", "version" : "0.002" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::ETHER/UploadToCPAN", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", "name" : "@Author::ETHER/CopyFilesFromRelease", "version" : "0.002" }, { "class" : "Dist::Zilla::Plugin::Run::AfterRelease", "config" : { "Dist::Zilla::Plugin::Run::Role::Runner" : { "run" : [ "rm -f README.md" ] } }, "name" : "@Author::ETHER/remove old READMEs", "version" : "0.023" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [ "." ], "commit_msg" : "%N-%v%t%n%n%c", "time_zone" : "local" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ "Changes", "README.md", "README.pod", "LICENSE", "CONTRIBUTING" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/Git::Commit", "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, "signed" : 0, "tag" : "v0.011", "tag_format" : "v%v%t", "tag_message" : "v%v%t", "time_zone" : "local" }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/Git::Tag", "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::GitHub::Update", "name" : "@Author::ETHER/GitHub::Update", "version" : "0.38" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "config" : { "Dist::Zilla::Plugin::Git::Push" : { "push_to" : [ "origin" ], "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { "repo_root" : "." } }, "name" : "@Author::ETHER/Git::Push", "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::Run::AfterRelease", "config" : { "Dist::Zilla::Plugin::Run::Role::Runner" : { "run" : "REDACTED" } }, "name" : "@Author::ETHER/install release", "version" : "0.023" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::ETHER/ConfirmRelease", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", "name" : "Test::Perl::Critic", "version" : "2.112410" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "runtime", "type" : "requires" } }, "name" : "Prereqs", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", "type" : "requires" } }, "name" : "DevelopRequires", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Test::CheckBreaks", "config" : { "Dist::Zilla::Plugin::Test::CheckBreaks" : { "conflicts_module" : "Moose::Conflicts" } }, "name" : "Test::CheckBreaks", "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::VerifyPhases", "name" : "@Author::ETHER/PHASE VERIFICATION", "version" : "0.003" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { "is_trial" : "0" }, "version" : "5.020" } }, "x_authority" : "cpan:ETHER", "x_contributors" : [ "Karen Etheridge ", "Toby Inkster ", "Demian Riccardi " ] } MooseX-Types-Path-Tiny-0.011/META.yml000644 000767 000024 00000047051 12400241072 017366 0ustar00etherstaff000000 000000 --- abstract: 'Path::Tiny types and coercions for Moose' author: - 'David Golden ' build_requires: ExtUtils::MakeMaker: '0' File::Spec: '0' File::Temp: '0.18' File::pushd: '0' Test::Fatal: '0' Test::More: '0.96' configure_requires: ExtUtils::MakeMaker: '0' Module::Build::Tiny: '0.037' dynamic_config: 0 generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060' keywords: - moose - type - constraint - path - filename - directory license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: MooseX-Types-Path-Tiny no_index: directory: - t - xt provides: MooseX::Types::Path::Tiny: file: lib/MooseX/Types/Path/Tiny.pm version: '0.011' requires: Moose: '2' MooseX::Types: '0' MooseX::Types::Moose: '0' MooseX::Types::Stringlike: '0' Path::Tiny: '0' if: '0' namespace::autoclean: '0' perl: '5.006' strict: '0' warnings: '0' resources: IRC: irc://irc.perl.org/#moose MailingList: http://lists.perl.org/list/moose.html bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Path-Tiny homepage: https://github.com/karenetheridge/MooseX-Types-Path-Tiny repository: https://github.com/karenetheridge/MooseX-Types-Path-Tiny.git version: '0.011' x_Dist_Zilla: perl: version: '5.021003' plugins: - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop type: requires name: '@Author::ETHER/bundle_plugins' version: '5.020' - class: Dist::Zilla::Plugin::Git::NextVersion config: Dist::Zilla::Plugin::Git::NextVersion: first_version: '0.001' version_by_branch: '0' version_regexp: (?^:^v([\d._]+)(-TRIAL)?$) Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/Git::NextVersion' version: '2.023' - class: Dist::Zilla::Plugin::PromptIfStale config: Dist::Zilla::Plugin::PromptIfStale: check_all_plugins: 0 check_all_prereqs: 0 modules: - Dist::Zilla::PluginBundle::Author::ETHER phase: build skip: [] name: '@Author::ETHER/stale modules, build' version: '0.024' - class: Dist::Zilla::Plugin::PromptIfStale config: Dist::Zilla::Plugin::PromptIfStale: check_all_plugins: '1' check_all_prereqs: '1' modules: [] phase: release skip: [] name: '@Author::ETHER/stale modules, release' version: '0.024' - class: Dist::Zilla::Plugin::ExecDir name: '@Author::ETHER/ExecDir' version: '5.020' - class: Dist::Zilla::Plugin::ShareDir name: '@Author::ETHER/ShareDir' version: '5.020' - class: Dist::Zilla::Plugin::FileFinder::ByName name: '@Author::ETHER/Examples' version: '5.020' - class: Dist::Zilla::Plugin::FileFinder::ByName name: '@Author::ETHER/ExtraTestFiles' version: '5.020' - class: Dist::Zilla::Plugin::Git::GatherDir config: Dist::Zilla::Plugin::Git::GatherDir: include_untracked: '0' Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/Git::GatherDir' version: '2.023' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::ETHER/MetaYAML' version: '5.020' - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::ETHER/MetaJSON' version: '5.020' - class: Dist::Zilla::Plugin::License name: '@Author::ETHER/License' version: '5.020' - class: Dist::Zilla::Plugin::Readme name: '@Author::ETHER/Readme' version: '5.020' - class: Dist::Zilla::Plugin::Manifest name: '@Author::ETHER/Manifest' version: '5.020' - class: Dist::Zilla::Plugin::GenerateFile::ShareDir config: Dist::Zilla::Plugin::GenerateFile::ShareDir: destination_filename: CONTRIBUTING dist: Dist-Zilla-PluginBundle-Author-ETHER encoding: UTF-8 has_xs: 0 source_filename: CONTRIBUTING name: '@Author::ETHER/generate CONTRIBUTING' version: '0.005' - class: Dist::Zilla::Plugin::Test::Compile config: Dist::Zilla::Plugin::Test::Compile: bail_out_on_fail: '1' fail_on_warning: author fake_home: '0' filename: xt/author/00-compile.t module_finder: - ':InstallModules' needs_display: '0' phase: develop script_finder: - ':ExecFiles' - '@Author::ETHER/Examples' skips: [] name: '@Author::ETHER/Test::Compile' version: '2.046' - class: Dist::Zilla::Plugin::Test::NoTabs config: Dist::Zilla::Plugin::Test::NoTabs: filename: xt/author/no-tabs.t finder: - ':InstallModules' - ':ExecFiles' - '@Author::ETHER/Examples' - ':TestFiles' - '@Author::ETHER/ExtraTestFiles' name: '@Author::ETHER/Test::NoTabs' version: '0.09' - class: Dist::Zilla::Plugin::EOLTests name: '@Author::ETHER/EOLTests' version: '0.02' - class: Dist::Zilla::Plugin::MetaTests name: '@Author::ETHER/MetaTests' version: '5.020' - class: Dist::Zilla::Plugin::Test::CPAN::Changes name: '@Author::ETHER/Test::CPAN::Changes' version: '0.008' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@Author::ETHER/Test::ChangesHasContent' version: '0.006' - class: Dist::Zilla::Plugin::Test::MinimumVersion name: '@Author::ETHER/Test::MinimumVersion' version: '2.000005' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::ETHER/PodSyntaxTests' version: '5.020' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::ETHER/PodCoverageTests' version: '5.020' - class: Dist::Zilla::Plugin::Test::PodSpelling name: '@Author::ETHER/Test::PodSpelling' version: '2.006008' - class: Dist::Zilla::Plugin::Test::Pod::No404s name: '@Author::ETHER/Test::Pod::No404s' version: '1.001' - class: Dist::Zilla::Plugin::Test::Kwalitee config: Dist::Zilla::Plugin::Test::Kwalitee: filename: xt/release/kwalitee.t skiptest: [] name: '@Author::ETHER/Test::Kwalitee' version: '2.11' - class: Dist::Zilla::Plugin::MojibakeTests name: '@Author::ETHER/MojibakeTests' version: '0.7' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@Author::ETHER/Test::ReportPrereqs' version: '0.019' - class: Dist::Zilla::Plugin::Test::Portability name: '@Author::ETHER/Test::Portability' version: '2.000005' - class: Dist::Zilla::Plugin::Git::Describe name: '@Author::ETHER/Git::Describe' version: '0.003' - class: Dist::Zilla::Plugin::PkgVersion name: '@Author::ETHER/PkgVersion' version: '5.020' - class: Dist::Zilla::Plugin::Authority name: '@Author::ETHER/Authority' version: '1.006' - class: Dist::Zilla::Plugin::PodWeaver config: Dist::Zilla::Plugin::PodWeaver: finder: - ':InstallModules' - ':ExecFiles' plugins: - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' version: '4.006' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' version: '4.006' - class: Pod::Weaver::Plugin::SingleEncoding name: '@Default/SingleEncoding' version: '4.006' - class: Pod::Weaver::Section::Name name: '@Default/Name' version: '4.006' - class: Pod::Weaver::Section::Version name: '@Default/Version' version: '4.006' - class: Pod::Weaver::Section::Region name: '@Default/prelude' version: '4.006' - class: Pod::Weaver::Section::Generic name: SYNOPSIS version: '4.006' - class: Pod::Weaver::Section::Generic name: DESCRIPTION version: '4.006' - class: Pod::Weaver::Section::Generic name: OVERVIEW version: '4.006' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES version: '4.006' - class: Pod::Weaver::Section::Collect name: METHODS version: '4.006' - class: Pod::Weaver::Section::Collect name: FUNCTIONS version: '4.006' - class: Pod::Weaver::Section::Leftovers name: '@Default/Leftovers' version: '4.006' - class: Pod::Weaver::Section::Region name: '@Default/postlude' version: '4.006' - class: Pod::Weaver::Section::Authors name: '@Default/Authors' version: '4.006' - class: Pod::Weaver::Section::Legal name: '@Default/Legal' version: '4.006' - class: Pod::Weaver::Plugin::Transformer name: -Transformer version: '4.006' - class: Pod::Weaver::Section::Contributors name: Contributors version: '0.008' name: '@Author::ETHER/PodWeaver' version: '4.006' - class: Dist::Zilla::Plugin::NextRelease name: '@Author::ETHER/NextRelease' version: '5.020' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod name: '@Author::ETHER/ReadmeAnyFromPod' version: '0.142250' - class: Dist::Zilla::Plugin::GithubMeta name: '@Author::ETHER/GithubMeta' version: '0.46' - class: Dist::Zilla::Plugin::AutoMetaResources name: '@Author::ETHER/AutoMetaResources' version: '1.20' - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::ETHER/MetaNoIndex' version: '5.020' - class: Dist::Zilla::Plugin::MetaProvides::Package config: Dist::Zilla::Plugin::MetaProvides::Package: finder: - ':InstallModules' finder_objects: - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' version: '5.020' Dist::Zilla::Role::MetaProvider::Provider: inherit_missing: '1' inherit_version: '1' meta_noindex: '1' name: '@Author::ETHER/MetaProvides::Package' version: '2.001001' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::ETHER/MetaConfig' version: '5.020' - class: Dist::Zilla::Plugin::Keywords config: Dist::Zilla::Plugin::Keywords: keywords: - moose - type - constraint - path - filename - directory name: '@Author::ETHER/Keywords' version: '0.006' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: include_authors: '0' include_releaser: '1' order_by: commits paths: [] name: '@Author::ETHER/Git::Contributors' version: '0.007' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::ETHER/AutoPrereqs' version: '5.020' - class: Dist::Zilla::Plugin::Prereqs::AuthorDeps name: '@Author::ETHER/Prereqs::AuthorDeps' version: '0.003' - class: Dist::Zilla::Plugin::MinimumPerl name: '@Author::ETHER/MinimumPerl' version: '1.003' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop type: recommends name: '@Author::ETHER/pluginbundle_version' version: '5.020' - class: Dist::Zilla::Plugin::MakeMaker::Fallback config: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@Author::ETHER/MakeMaker::Fallback' version: '0.013' - class: Dist::Zilla::Plugin::ModuleBuildTiny::Fallback config: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@Author::ETHER/ModuleBuildTiny::Fallback' version: '0.005' - class: Dist::Zilla::Plugin::InstallGuide name: '@Author::ETHER/InstallGuide' version: '1.200003' - class: Dist::Zilla::Plugin::RunExtraTests config: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@Author::ETHER/RunExtraTests' version: '0.022' - class: Dist::Zilla::Plugin::CheckSelfDependency config: Dist::Zilla::Plugin::CheckSelfDependency: finder: - ':InstallModules' name: '@Author::ETHER/CheckSelfDependency' version: '0.007' - class: Dist::Zilla::Plugin::Run::AfterBuild config: Dist::Zilla::Plugin::Run::Role::Runner: run: - "bash -c \"if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi; if [[ %d =~ ^%n-[.[:xdigit:]]+$ ]]; then rm -f .latest; ln -s %d .latest; fi\"" name: '@Author::ETHER/Run::AfterBuild' version: '0.023' - class: Dist::Zilla::Plugin::CheckStrictVersion name: '@Author::ETHER/CheckStrictVersion' version: '0.001' - class: Dist::Zilla::Plugin::Git::Check config: Dist::Zilla::Plugin::Git::Check: untracked_files: die Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: [] allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/initial check' version: '2.023' - class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts config: Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/Git::CheckFor::MergeConflicts' version: '0.011' - class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch config: Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/Git::CheckFor::CorrectBranch' version: '0.011' - class: Dist::Zilla::Plugin::Git::Remote::Check name: '@Author::ETHER/Git::Remote::Check' version: 0.1.2 - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@Author::ETHER/CheckPrereqsIndexed' version: '0.012' - class: Dist::Zilla::Plugin::TestRelease name: '@Author::ETHER/TestRelease' version: '5.020' - class: Dist::Zilla::Plugin::Git::Check config: Dist::Zilla::Plugin::Git::Check: untracked_files: die Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: [] allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/after tests' version: '2.023' - class: Dist::Zilla::Plugin::CheckIssues name: '@Author::ETHER/CheckIssues' version: '0.002' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::ETHER/UploadToCPAN' version: '5.020' - class: Dist::Zilla::Plugin::CopyFilesFromRelease name: '@Author::ETHER/CopyFilesFromRelease' version: '0.002' - class: Dist::Zilla::Plugin::Run::AfterRelease config: Dist::Zilla::Plugin::Run::Role::Runner: run: - 'rm -f README.md' name: '@Author::ETHER/remove old READMEs' version: '0.023' - class: Dist::Zilla::Plugin::Git::Commit config: Dist::Zilla::Plugin::Git::Commit: add_files_in: - . commit_msg: '%N-%v%t%n%n%c' time_zone: local Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - Changes - README.md - README.pod - LICENSE - CONTRIBUTING allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/Git::Commit' version: '2.023' - class: Dist::Zilla::Plugin::Git::Tag config: Dist::Zilla::Plugin::Git::Tag: branch: ~ signed: 0 tag: v0.011 tag_format: v%v%t tag_message: v%v%t time_zone: local Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/Git::Tag' version: '2.023' - class: Dist::Zilla::Plugin::GitHub::Update name: '@Author::ETHER/GitHub::Update' version: '0.38' - class: Dist::Zilla::Plugin::Git::Push config: Dist::Zilla::Plugin::Git::Push: push_to: - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: repo_root: . name: '@Author::ETHER/Git::Push' version: '2.023' - class: Dist::Zilla::Plugin::Run::AfterRelease config: Dist::Zilla::Plugin::Run::Role::Runner: run: REDACTED name: '@Author::ETHER/install release' version: '0.023' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::ETHER/ConfirmRelease' version: '5.020' - class: Dist::Zilla::Plugin::Test::Perl::Critic name: Test::Perl::Critic version: '2.112410' - class: Dist::Zilla::Plugin::MetaResources name: MetaResources version: '5.020' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: runtime type: requires name: Prereqs version: '5.020' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop type: requires name: DevelopRequires version: '5.020' - class: Dist::Zilla::Plugin::Test::CheckBreaks config: Dist::Zilla::Plugin::Test::CheckBreaks: conflicts_module: Moose::Conflicts name: Test::CheckBreaks version: '0.011' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' version: '5.020' - class: Dist::Zilla::Plugin::VerifyPhases name: '@Author::ETHER/PHASE VERIFICATION' version: '0.003' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' version: '5.020' x_authority: cpan:ETHER x_contributors: - 'Karen Etheridge ' - 'Toby Inkster ' - 'Demian Riccardi ' MooseX-Types-Path-Tiny-0.011/perlcritic.rc000644 000767 000024 00000001072 12400241072 020574 0ustar00etherstaff000000 000000 severity = 5 verbose = 8 [Variables::ProhibitPunctuationVars] allow = $@ $! [TestingAndDebugging::ProhibitNoStrict] allow = refs # Turn these off [-BuiltinFunctions::ProhibitStringyEval] [-ControlStructures::ProhibitPostfixControls] [-ControlStructures::ProhibitUnlessBlocks] [-Documentation::RequirePodSections] [-InputOutput::ProhibitInteractiveTest] [-References::ProhibitDoubleSigils] [-RegularExpressions::RequireExtendedFormatting] [-InputOutput::ProhibitTwoArgOpen] [-Modules::ProhibitEvilModules] # Turn this on [Lax::ProhibitStringyEval::ExceptForRequire] MooseX-Types-Path-Tiny-0.011/README000644 000767 000024 00000000524 12400241072 016767 0ustar00etherstaff000000 000000 This archive contains the distribution MooseX-Types-Path-Tiny, version 0.011: Path::Tiny types and coercions for Moose This software is Copyright (c) 2013 by David Golden. This is free software, licensed under: The Apache License, Version 2.0, January 2004 This README file was generated by Dist::Zilla::Plugin::Readme v5.020. MooseX-Types-Path-Tiny-0.011/t/000755 000767 000024 00000000000 12400241072 016351 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/tidyall.ini000644 000767 000024 00000000240 12400241072 020245 0ustar00etherstaff000000 000000 ; Install Code::TidyAll ; run "tidyall -a" to tidy all files ; run "tidyall -g" to tidy only files modified from git [PerlTidy] select = {lib,t}/**/*.{pl,pm,t} MooseX-Types-Path-Tiny-0.011/weaver.ini000644 000767 000024 00000000076 12400241072 020103 0ustar00etherstaff000000 000000 [@Default] [-Transformer] transformer = List [Contributors] MooseX-Types-Path-Tiny-0.011/xt/000755 000767 000024 00000000000 12400241072 016541 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/xt/author/000755 000767 000024 00000000000 12400241072 020043 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/xt/release/000755 000767 000024 00000000000 12400241072 020161 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/xt/release/changes_has_content.t000644 000767 000024 00000002011 12400241072 024335 0ustar00etherstaff000000 000000 #!perl use Test::More tests => 2; note 'Checking Changes'; my $changes_file = 'Changes'; my $newver = '0.011'; my $trial_token = '-TRIAL'; SKIP: { ok(-e $changes_file, "$changes_file file exists") or skip 'Changes is missing', 1; ok(_get_changes($newver), "$changes_file has content for $newver"); } done_testing; # _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit # by Jerome Quelin sub _get_changes { my $newver = shift; # parse changelog to find commit message open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!"; my $changelog = join('', <$fh>); close $fh; my @content = grep { /^$newver(?:$trial_token)?(?:\s+|$)/ ... /^\S/ } # from newver to un-indented split /\n/, $changelog; shift @content; # drop the version line # drop unindented last line and trailing blank lines pop @content while ( @content && $content[-1] =~ /^(?:\S|\s*$)/ ); # return number of non-blank lines return scalar @content; } MooseX-Types-Path-Tiny-0.011/xt/release/cpan-changes.t000644 000767 000024 00000000263 12400241072 022676 0ustar00etherstaff000000 000000 #!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(); MooseX-Types-Path-Tiny-0.011/xt/release/distmeta.t000644 000767 000024 00000000172 12400241072 022160 0ustar00etherstaff000000 000000 #!perl # This file was automatically generated by Dist::Zilla::Plugin::MetaTests. use Test::CPAN::Meta; meta_yaml_ok(); MooseX-Types-Path-Tiny-0.011/xt/release/eol.t000644 000767 000024 00000000240 12400241072 021121 0ustar00etherstaff000000 000000 use strict; use warnings; use Test::More; eval 'use Test::EOL'; plan skip_all => 'Test::EOL required' if $@; all_perl_files_ok({ trailing_whitespace => 1 }); MooseX-Types-Path-Tiny-0.011/xt/release/kwalitee.t000644 000767 000024 00000000275 12400241072 022157 0ustar00etherstaff000000 000000 # 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; MooseX-Types-Path-Tiny-0.011/xt/release/minimum-version.t000644 000767 000024 00000000271 12400241072 023504 0ustar00etherstaff000000 000000 #!perl use Test::More; eval "use Test::MinimumVersion"; plan skip_all => "Test::MinimumVersion required for testing minimum versions" if $@; all_minimum_version_ok( qq{5.008001} ); MooseX-Types-Path-Tiny-0.011/xt/release/mojibake.t000644 000767 000024 00000000406 12400241072 022127 0ustar00etherstaff000000 000000 #!perl use strict; use warnings qw(all); use Test::More; ## no critic (ProhibitStringyEval, RequireCheckingReturnValueOfEval) eval q(use Test::Mojibake); plan skip_all => q(Test::Mojibake required for source encoding testing) if $@; all_files_encoding_ok(); MooseX-Types-Path-Tiny-0.011/xt/release/pod-coverage.t000644 000767 000024 00000000334 12400241072 022721 0ustar00etherstaff000000 000000 #!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' }); MooseX-Types-Path-Tiny-0.011/xt/release/pod-no404s.t000644 000767 000024 00000000527 12400241072 022161 0ustar00etherstaff000000 000000 #!perl use strict; use warnings; use Test::More; foreach my $env_skip ( qw( SKIP_POD_NO404S AUTOMATED_TESTING ) ){ plan skip_all => "\$ENV{$env_skip} is set, skipping" if $ENV{$env_skip}; } eval "use Test::Pod::No404s"; if ( $@ ) { plan skip_all => 'Test::Pod::No404s required for testing POD'; } else { all_pod_files_ok(); } MooseX-Types-Path-Tiny-0.011/xt/release/pod-syntax.t000644 000767 000024 00000000220 12400241072 022446 0ustar00etherstaff000000 000000 #!perl # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. use Test::More; use Test::Pod 1.41; all_pod_files_ok(); MooseX-Types-Path-Tiny-0.011/xt/release/portability.t000644 000767 000024 00000000276 12400241072 022715 0ustar00etherstaff000000 000000 #!perl use strict; use warnings; use Test::More; eval 'use Test::Portability::Files'; plan skip_all => 'Test::Portability::Files required for testing portability' if $@; run_tests(); MooseX-Types-Path-Tiny-0.011/xt/author/00-compile.t000644 000767 000024 00000002121 12400241072 022071 0ustar00etherstaff000000 000000 use 5.006; use strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.046 use Test::More 0.94 tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); my @module_files = ( 'MooseX/Types/Path/Tiny.pm' ); # no fake home requested my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; use File::Spec; use IPC::Open3; use IO::Handle; open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; my @warnings; for my $lib (@module_files) { # see L my $stderr = IO::Handle->new; my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); if (@_warnings) { warn @_warnings; push @warnings, @_warnings; } } is(scalar(@warnings), 0, 'no warnings found') or diag 'got warnings: ', explain \@warnings if $ENV{AUTHOR_TESTING}; BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing; MooseX-Types-Path-Tiny-0.011/xt/author/clean-namespaces.t000644 000767 000024 00000000340 12400241072 023424 0ustar00etherstaff000000 000000 use strict; use warnings FATAL => 'all'; use Test::More; use Test::CleanNamespaces; # this test won't pass with older MooseX::Types! use Test::Requires { 'MooseX::Types' => '0.42' }; all_namespaces_clean(); done_testing; MooseX-Types-Path-Tiny-0.011/xt/author/critic.t000644 000767 000024 00000000435 12400241072 021507 0ustar00etherstaff000000 000000 #!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(); MooseX-Types-Path-Tiny-0.011/xt/author/no-tabs.t000644 000767 000024 00000001606 12400241072 021576 0ustar00etherstaff000000 000000 use strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.09 use Test::More 0.88; use Test::NoTabs; my @files = ( 'lib/MooseX/Types/Path/Tiny.pm', 't/00-report-prereqs.dd', 't/00-report-prereqs.t', 't/06-fully-qualified.t', 't/arrayref.t', 't/basic.t', 't/error.t', 't/zzz-check-breaks.t', 'xt/author/00-compile.t', 'xt/author/clean-namespaces.t', 'xt/author/critic.t', 'xt/author/no-tabs.t', 'xt/author/pod-spell.t', 'xt/release/changes_has_content.t', 'xt/release/cpan-changes.t', 'xt/release/distmeta.t', 'xt/release/eol.t', 'xt/release/kwalitee.t', 'xt/release/minimum-version.t', 'xt/release/mojibake.t', 'xt/release/pod-coverage.t', 'xt/release/pod-no404s.t', 'xt/release/pod-syntax.t', 'xt/release/portability.t' ); notabs_ok($_) foreach @files; done_testing; MooseX-Types-Path-Tiny-0.011/xt/author/pod-spell.t000644 000767 000024 00000000522 12400241072 022126 0ustar00etherstaff000000 000000 use strict; use warnings; use Test::More; # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(); all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ David Golden dagolden Karen Etheridge ether Toby Inkster mail Demian Riccardi dde lib MooseX Types Path Tiny MooseX-Types-Path-Tiny-0.011/t/00-report-prereqs.dd000644 000767 000024 00000021417 12400241072 022076 0ustar00etherstaff000000 000000 do { my $x = { 'configure' => { 'requires' => { 'ExtUtils::MakeMaker' => '0', 'Module::Build::Tiny' => '0.037' } }, 'develop' => { 'recommends' => { 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.072' }, 'requires' => { 'Dist::Zilla' => '5', 'Dist::Zilla::Plugin::Authority' => '0', 'Dist::Zilla::Plugin::AutoMetaResources' => '0', 'Dist::Zilla::Plugin::AutoPrereqs' => '0', 'Dist::Zilla::Plugin::CheckIssues' => '0', 'Dist::Zilla::Plugin::CheckPrereqsIndexed' => '0', 'Dist::Zilla::Plugin::CheckSelfDependency' => '0', 'Dist::Zilla::Plugin::CheckStrictVersion' => '0', 'Dist::Zilla::Plugin::ConfirmRelease' => '0', 'Dist::Zilla::Plugin::CopyFilesFromRelease' => '0', 'Dist::Zilla::Plugin::EOLTests' => '0', 'Dist::Zilla::Plugin::ExecDir' => '0', 'Dist::Zilla::Plugin::FileFinder::ByName' => '0', 'Dist::Zilla::Plugin::GenerateFile::ShareDir' => '0', 'Dist::Zilla::Plugin::Git::Check' => '0', 'Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch' => '0.004', 'Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts' => '0', 'Dist::Zilla::Plugin::Git::Commit' => '2.020', 'Dist::Zilla::Plugin::Git::Contributors' => '0.004', 'Dist::Zilla::Plugin::Git::Describe' => '0', 'Dist::Zilla::Plugin::Git::GatherDir' => '2.016', 'Dist::Zilla::Plugin::Git::NextVersion' => '0', 'Dist::Zilla::Plugin::Git::Push' => '0', 'Dist::Zilla::Plugin::Git::Remote::Check' => '0', 'Dist::Zilla::Plugin::Git::Tag' => '0', 'Dist::Zilla::Plugin::GitHub::Update' => '0', 'Dist::Zilla::Plugin::GithubMeta' => '0', 'Dist::Zilla::Plugin::InstallGuide' => '0', 'Dist::Zilla::Plugin::Keywords' => '0.004', 'Dist::Zilla::Plugin::License' => '0', 'Dist::Zilla::Plugin::MakeMaker::Fallback' => '0.012', 'Dist::Zilla::Plugin::Manifest' => '0', 'Dist::Zilla::Plugin::MetaConfig' => '0', 'Dist::Zilla::Plugin::MetaJSON' => '0', 'Dist::Zilla::Plugin::MetaNoIndex' => '0', 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.15000002', 'Dist::Zilla::Plugin::MetaResources' => '0', 'Dist::Zilla::Plugin::MetaTests' => '0', 'Dist::Zilla::Plugin::MetaYAML' => '0', 'Dist::Zilla::Plugin::MinimumPerl' => '0', 'Dist::Zilla::Plugin::ModuleBuildTiny::Fallback' => '0.005', 'Dist::Zilla::Plugin::MojibakeTests' => '0', 'Dist::Zilla::Plugin::NextRelease' => '4.300018', 'Dist::Zilla::Plugin::PkgVersion' => '5.010', '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::PromptIfStale' => '0', 'Dist::Zilla::Plugin::Readme' => '0', 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0.142180', 'Dist::Zilla::Plugin::Run::AfterBuild' => '0', 'Dist::Zilla::Plugin::Run::AfterRelease' => '0', 'Dist::Zilla::Plugin::RunExtraTests' => '0.019', 'Dist::Zilla::Plugin::ShareDir' => '0', 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0.008', 'Dist::Zilla::Plugin::Test::ChangesHasContent' => '0', 'Dist::Zilla::Plugin::Test::CheckBreaks' => '0', 'Dist::Zilla::Plugin::Test::Compile' => '2.039', 'Dist::Zilla::Plugin::Test::Kwalitee' => '0', 'Dist::Zilla::Plugin::Test::MinimumVersion' => '2.000003', 'Dist::Zilla::Plugin::Test::NoTabs' => '0', 'Dist::Zilla::Plugin::Test::Perl::Critic' => '0', 'Dist::Zilla::Plugin::Test::Pod::No404s' => '0', 'Dist::Zilla::Plugin::Test::PodSpelling' => '0', 'Dist::Zilla::Plugin::Test::Portability' => '0', 'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0', 'Dist::Zilla::Plugin::TestRelease' => '0', 'Dist::Zilla::Plugin::UploadToCPAN' => '0', 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.068', 'File::Spec' => '0', 'IO::Handle' => '0', 'IPC::Open3' => '0', 'Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire' => '0', 'Pod::Coverage::TrustPod' => '0', 'Test::CPAN::Changes' => '0.19', 'Test::CPAN::Meta' => '0', 'Test::CleanNamespaces' => '0', 'Test::Kwalitee' => '1.21', 'Test::More' => '0.94', 'Test::NoTabs' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', 'Test::Requires' => '0', 'Test::Spelling' => '0.12' } }, 'runtime' => { 'requires' => { 'Moose' => '2', 'MooseX::Types' => '0', 'MooseX::Types::Moose' => '0', 'MooseX::Types::Stringlike' => '0', 'Path::Tiny' => '0', 'if' => '0', 'namespace::autoclean' => '0', 'perl' => '5.006', 'strict' => '0', 'warnings' => '0' } }, 'test' => { 'recommends' => { 'CPAN::Meta' => '2.120900' }, 'requires' => { 'ExtUtils::MakeMaker' => '0', 'File::Spec' => '0', 'File::Temp' => '0.18', 'File::pushd' => '0', 'Test::Fatal' => '0', 'Test::More' => '0.96' } } }; $x; }MooseX-Types-Path-Tiny-0.011/t/00-report-prereqs.t000644 000767 000024 00000012342 12400241072 021747 0ustar00etherstaff000000 000000 #!perl use strict; use warnings; # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019 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( Dist::CheckConflicts ); 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 ); 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: MooseX-Types-Path-Tiny-0.011/t/06-fully-qualified.t000644 000767 000024 00000000602 12400241072 022053 0ustar00etherstaff000000 000000 use strict; use warnings FATAL => 'all'; use Test::More; use if $ENV{AUTHOR_TESTING}, 'Test::Warnings'; use MooseX::Types::Path::Tiny 'Path'; use Path::Tiny; ok(is_Path(path('foo')), 'is_Path'); ok(Path->isa('Moose::Meta::TypeConstraint'), 'type is available as an import'); ok(MooseX::Types::Path::Tiny->can('Path'), 'type is available as a fully-qualified name'); done_testing; MooseX-Types-Path-Tiny-0.011/t/arrayref.t000644 000767 000024 00000001606 12400241072 020354 0ustar00etherstaff000000 000000 use strict; use warnings; use Test::More; use Path::Tiny; use File::Temp; use File::pushd qw/tempd/; use MooseX::Types::Path::Tiny qw/Paths AbsPaths/; { my %tests = ( "path('foo')" => path('foo'), 'foo' => 'foo', "[ path('foo') ]" => [ path('foo') ], "[ 'foo' ]" => [ 'foo' ], ); foreach my $test (keys %tests) { ok(is_Paths(to_Paths($tests{$test})), 'can coerce ' . $test . ' to Paths'); } } { my $wd = tempd; my $tf = File::Temp->new; my %tests = ( 'path($filename)' => path($tf), '$filename' => $tf, '[ path($filename) ]' => [ path($tf) ], '[ $filename ]' => [ $tf ], ); foreach my $test (keys %tests) { ok(is_AbsPaths(to_AbsPaths($tests{$test})), 'can coerce ' . $test . ' to AbsPaths'); } } done_testing; MooseX-Types-Path-Tiny-0.011/t/basic.t000644 000767 000024 00000010011 12400241072 017610 0ustar00etherstaff000000 000000 use strict; use warnings; use Test::More 0.96; use File::Temp 0.18; use File::pushd qw/tempd/; use Path::Tiny; { package Foo; use Moose; use MooseX::Types::Path::Tiny qw/Path File Dir/; has a_path => ( is => 'ro', isa => Path, coerce => 1 ); has a_file => ( is => 'ro', isa => File, coerce => 1 ); has a_dir => ( is => 'ro', isa => Dir, coerce => 1 ); } { package AbsFoo; use Moose; use MooseX::Types::Path::Tiny qw/AbsPath AbsFile AbsDir/; has a_path => ( is => 'ro', isa => AbsPath, coerce => 1 ); has a_file => ( is => 'ro', isa => AbsFile, coerce => 1 ); has a_dir => ( is => 'ro', isa => AbsDir, coerce => 1 ); } my $tf = File::Temp->new; my $td = File::Temp->newdir; my @cases = ( # Path { label => "coerce string to Path", absolute => 0, attr => "a_path", input => "./foo", }, { label => "coerce object to Path", absolute => 0, attr => "a_path", input => $tf, }, { label => "coerce array ref to Path", absolute => 0, attr => "a_path", input => [qw/foo bar/], }, # AbsPath { label => "coerce string to AbsPath", absolute => 1, attr => "a_path", input => "./foo", }, { label => "coerce Path to AbsPath", absolute => 1, attr => "a_path", input => path($tf), }, { label => "coerce object to AbsPath", absolute => 1, attr => "a_path", input => $tf, }, { label => "coerce array ref to AbsPath", absolute => 1, attr => "a_path", input => [qw/foo bar/], }, # File { label => "coerce string to File", absolute => 0, attr => "a_file", input => "$tf", }, { label => "coerce object to File", absolute => 0, attr => "a_file", input => $tf, }, { label => "coerce array ref to File", absolute => 0, attr => "a_file", input => [$tf], }, # Dir { label => "coerce string to Dir", absolute => 0, attr => "a_dir", input => "$td", }, { label => "coerce object to Dir", absolute => 0, attr => "a_dir", input => $td, }, { label => "coerce array ref to Dir", absolute => 0, attr => "a_dir", input => [$td], }, # AbsFile { label => "coerce string to AbsFile", absolute => 1, attr => "a_file", input => "$tf", }, { label => "coerce object to AbsFile", absolute => 1, attr => "a_file", input => $tf, }, { label => "coerce array ref to AbsFile", absolute => 1, attr => "a_file", input => [$tf], }, # AbsDir { label => "coerce string to AbsDir", absolute => 1, attr => "a_dir", input => "$td", }, { label => "coerce object to AbsDir", absolute => 1, attr => "a_dir", input => $td, }, { label => "coerce array ref to AbsDir", absolute => 1, attr => "a_dir", input => [$td], }, ); for my $c (@cases) { subtest $c->{label} => sub { my $wd = tempd; my $class = $c->{absolute} ? "AbsFoo" : "Foo"; my $attr = $c->{attr}; my $input = $c->{input}; my $expected = path( ref $input eq 'ARRAY' ? @$input : $input ); $expected = $expected->absolute if $c->{absolute}; my $obj = eval { $class->new( $attr => $input ); }; is( $@, '', "object created without exception" ); isa_ok( $obj->$attr, "Path::Tiny", $attr ); is( $obj->$attr, $expected, "$attr set correctly" ); }; } done_testing; # COPYRIGHT MooseX-Types-Path-Tiny-0.011/t/error.t000644 000767 000024 00000002401 12400241072 017664 0ustar00etherstaff000000 000000 use strict; use warnings; use Test::More 0.96; use Test::Fatal; use Path::Tiny; { package Foo; use Moose; use MooseX::Types::Path::Tiny qw/Path File Dir/; has a_path => ( is => 'ro', isa => Path, coerce => 1 ); has a_file => ( is => 'ro', isa => File, coerce => 1 ); has a_dir => ( is => 'ro', isa => Dir, coerce => 1 ); } { package AbsFoo; use Moose; use MooseX::Types::Path::Tiny qw/AbsPath AbsFile AbsDir/; has a_path => ( is => 'ro', isa => AbsPath, coerce => 1 ); has a_file => ( is => 'ro', isa => AbsFile, coerce => 1 ); has a_dir => ( is => 'ro', isa => AbsDir, coerce => 1 ); } my $err_re = qr/does not exist/; ok( exception { Foo->new( a_path => {} ) }, "Error on Path for {}" ); like( exception { Foo->new( a_file => "aalkdjalkdfs" ) }, $err_re, "Error on File for nonexistent" ); like( exception { Foo->new( a_dir => "aalkdjalkdfs" ) }, $err_re, "Error on Dir for nonexistent" ); ok( exception { AbsFoo->new( a_path => {} ) }, "Error on Path for {}" ); like( exception { AbsFoo->new( a_file => "aalkdjalkdfs" ) }, $err_re, "Error on File for nonexistent" ); like( exception { AbsFoo->new( a_dir => "aalkdjalkdfs" ) }, $err_re, "Error on Dir for nonexistent" ); done_testing; # COPYRIGHT MooseX-Types-Path-Tiny-0.011/t/zzz-check-breaks.t000644 000767 000024 00000000634 12400241072 021716 0ustar00etherstaff000000 000000 use strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::CheckBreaks 0.011 use Test::More 0.88; SKIP: { eval 'require Moose::Conflicts; Moose::Conflicts->check_conflicts'; skip('no Moose::Conflicts module found', 1) if not $INC{'Moose/Conflicts.pm'}; diag $@ if $@; pass 'conflicts checked via Moose::Conflicts'; } pass 'no x_breaks data to check'; done_testing; MooseX-Types-Path-Tiny-0.011/lib/MooseX/000755 000767 000024 00000000000 12400241072 020066 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/lib/MooseX/Types/000755 000767 000024 00000000000 12400241072 021172 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/lib/MooseX/Types/Path/000755 000767 000024 00000000000 12400241072 022066 5ustar00etherstaff000000 000000 MooseX-Types-Path-Tiny-0.011/lib/MooseX/Types/Path/Tiny.pm000644 000767 000024 00000013145 12400241072 023353 0ustar00etherstaff000000 000000 use strict; use warnings; package MooseX::Types::Path::Tiny; # git description: v0.010-16-gf86e422 $MooseX::Types::Path::Tiny::VERSION = '0.011'; # ABSTRACT: Path::Tiny types and coercions for Moose # KEYWORDS: moose type constraint path filename directory use Moose 2; use MooseX::Types::Stringlike qw/Stringable/; use MooseX::Types::Moose qw/Str ArrayRef/; use MooseX::Types -declare => [qw/ Path AbsPath File AbsFile Dir AbsDir Paths AbsPaths /]; use Path::Tiny (); use if MooseX::Types->VERSION >= 0.42, 'namespace::autoclean'; #<<< subtype Path, as 'Path::Tiny'; subtype AbsPath, as Path, where { $_->is_absolute }; subtype File, as Path, where { $_->is_file }, message { "File '$_' does not exist" }; subtype Dir, as Path, where { $_->is_dir }, message { "Directory '$_' does not exist" }; subtype AbsFile, as AbsPath, where { $_->is_file }, message { "File '$_' does not exist" }; subtype AbsDir, as AbsPath, where { $_->is_dir }, message { "Directory '$_' does not exist" }; subtype Paths, as ArrayRef[Path]; subtype AbsPaths, as ArrayRef[AbsPath]; #>>> for my $type ( 'Path::Tiny', Path, File, Dir ) { coerce( $type, from Str() => via { Path::Tiny::path($_) }, from Stringable() => via { Path::Tiny::path($_) }, from ArrayRef() => via { Path::Tiny::path(@$_) }, ); } for my $type ( AbsPath, AbsFile, AbsDir ) { coerce( $type, from 'Path::Tiny' => via { $_->absolute }, from Str() => via { Path::Tiny::path($_)->absolute }, from Stringable() => via { Path::Tiny::path($_)->absolute }, from ArrayRef() => via { Path::Tiny::path(@$_)->absolute }, ); } coerce( Paths, from Path() => via { [ $_ ] }, from Str() => via { [ Path::Tiny::path($_) ] }, from Stringable() => via { [ Path::Tiny::path($_) ] }, from ArrayRef() => via { [ map { Path::Tiny::path($_) } @$_ ] }, ); coerce( AbsPaths, from AbsPath() => via { [ $_ ] }, from Str() => via { [ Path::Tiny::path($_)->absolute ] }, from Stringable() => via { [ Path::Tiny::path($_)->absolute ] }, from ArrayRef() => via { [ map { Path::Tiny::path($_)->absolute } @$_ ] }, ); ### optionally add Getopt option type (adapted from MooseX::Types:Path::Class ##eval { require MooseX::Getopt; }; ##if ( !$@ ) { ## MooseX::Getopt::OptionTypeMap->add_option_type_to_map( $_, '=s', ) ## for ( 'Path::Tiny', Path ); ##} 1; =pod =encoding UTF-8 =head1 NAME MooseX::Types::Path::Tiny - Path::Tiny types and coercions for Moose =head1 VERSION version 0.011 =head1 SYNOPSIS ### specification of type constraint with coercion package Foo; use Moose; use MooseX::Types::Path::Tiny qw/Path Paths AbsPath/; has filename => ( is => 'ro', isa => Path, coerce => 1, ); has directory => ( is => 'ro', isa => AbsPath, coerce => 1, ); has filenames => ( is => 'ro', isa => Paths, coerce => 1, ); ### usage in code Foo->new( filename => 'foo.txt' ); # coerced to Path::Tiny Foo->new( directory => '.' ); # coerced to path('.')->absolute Foo->new( filenames => [qw/bar.txt baz.txt/] ); # coerced to ArrayRef[Path::Tiny] =head1 DESCRIPTION This module provides L types for L. It handles two important types of coercion: =over 4 =item * coercing objects with overloaded stringification =item * coercing to absolute paths =back It also can check to ensure that files or directories exist. =for stopwords coercions =head1 SUBTYPES =for stopwords SUBTYPES subtype subtypes This module uses L to define the following subtypes. =for stopwords AbsPath AbsFile AbsDir =head2 Path C ensures an attribute is a L object. Strings and objects with overloaded stringification may be coerced. =head2 AbsPath C is a subtype of C (above), but coerces to an absolute path. =head2 File, AbsFile These are just like C and C, except they check C<-f> to ensure the file actually exists on the filesystem. =head2 Dir, AbsDir These are just like C and C, except they check C<-d> to ensure the directory actually exists on the filesystem. =head2 Paths, AbsPaths These are arrayrefs of C and C, and include coercions from arrayrefs of strings. =head1 CAVEATS =head2 Path vs File vs Dir C just ensures you have a L object. C and C check the filesystem. Don't use them unless that's really what you want. =head2 Usage with File::Temp Be careful if you pass in a L object. Because the argument is stringified during coercion into a L object, no reference to the original L argument is held. Be sure to hold an external reference to it to avoid immediate cleanup of the temporary file or directory at the end of the enclosing scope. A better approach is to use L's own C or C constructors, which hold the reference for you. Foo->new( filename => Path::Tiny->tempfile ); =head1 SEE ALSO =over 4 =item * L =item * L =item * L =back =head1 AUTHOR David Golden =head1 COPYRIGHT AND LICENSE This software is Copyright (c) 2013 by David Golden. This is free software, licensed under: The Apache License, Version 2.0, January 2004 =head1 CONTRIBUTORS =for stopwords Karen Etheridge Toby Inkster Demian Riccardi =over 4 =item * Karen Etheridge =item * Toby Inkster =item * Demian Riccardi =back =cut __END__ # vim: ts=4 sts=4 sw=4 et: