Specio-Library-Path-Tiny-0.05/0000775000175000017500000000000014254176157015753 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/MANIFEST0000644000175000017500000000125714254176157017107 0ustar autarchautarch# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.025. CODE_OF_CONDUCT.md CONTRIBUTING.md Changes INSTALL LICENSE MANIFEST META.json META.yml Makefile.PL README.md azure-pipelines.yml cpanfile dev-bin/install-xt-tools.sh dist.ini git/hooks/pre-commit.sh git/setup.pl lib/Specio/Library/Path/Tiny.pm perlcriticrc perltidyrc precious.toml t/00-report-prereqs.dd t/00-report-prereqs.t t/basic.t xt/author/00-compile.t xt/author/eol.t xt/author/mojibake.t xt/author/no-tabs.t xt/author/pod-coverage.t xt/author/pod-spell.t xt/author/pod-syntax.t xt/author/portability.t xt/author/precious.t xt/author/test-version.t xt/release/cpan-changes.t xt/release/meta-json.t Specio-Library-Path-Tiny-0.05/perltidyrc0000644000175000017500000000045514254176157020061 0ustar autarchautarch-l=78 -i=4 -ci=4 -se -b -bar -boc -vt=0 -vtc=0 -cti=0 -pt=1 -bt=1 -sbt=1 -bbt=1 -nolq -npro -nsfs --blank-lines-before-packages=0 --opening-hash-brace-right --no-outdent-long-comments --iterations=2 -wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=" Specio-Library-Path-Tiny-0.05/xt/0000775000175000017500000000000014254176157016406 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/xt/release/0000775000175000017500000000000014254176157020026 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/xt/release/cpan-changes.t0000644000175000017500000000034414254176157022541 0ustar autarchautarchuse strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::CPAN::Changes 0.012 use Test::More 0.96 tests => 1; use Test::CPAN::Changes; subtest 'changes_ok' => sub { changes_file_ok('Changes'); }; Specio-Library-Path-Tiny-0.05/xt/release/meta-json.t0000644000175000017500000000006414254176157022106 0ustar autarchautarch#!perl use Test::CPAN::Meta::JSON; meta_json_ok(); Specio-Library-Path-Tiny-0.05/xt/author/0000775000175000017500000000000014254176157017710 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/xt/author/precious.t0000644000175000017500000000105714254176157021727 0ustar autarchautarchuse strict; use warnings; use Test::More; use Capture::Tiny qw( capture ); use Encode qw( decode ); use FindBin qw( $Bin ); binmode $_, ':encoding(utf-8)' for map { Test::More->builder->$_ } qw( output failure_output todo_output ); chdir "$Bin/../.." or die "Cannot chdir to $Bin/../..: $!"; my ( $out, $err ) = capture { system(qw( precious lint -a )) }; $_ = decode( 'UTF-8', $_ ) for grep {defined} $out, $err; is( $? >> 8, 0, 'precious lint -a exited with 0' ) or diag($out); is( $err, q{}, 'no output to stderr' ); done_testing(); Specio-Library-Path-Tiny-0.05/xt/author/pod-spell.t0000644000175000017500000000061614254176157021775 0ustar autarchautarchuse strict; use warnings; use Test::More; # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(); all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ AbsDir AbsFile AbsPath Custodio DROLSKY DROLSKY's Dave Library Path Paulo PayPal RealDir RealFile RealPath Rolsky Rolsky's Specio Tiny autarch drolsky lib pauloscustodio Specio-Library-Path-Tiny-0.05/xt/author/pod-coverage.t0000644000175000017500000000172014254176157022446 0ustar autarchautarch#!perl # This file was automatically generated by Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable 0.07. use Test::Pod::Coverage 1.08; use Test::More 0.88; BEGIN { if ( $] <= 5.008008 ) { plan skip_all => 'These tests require Pod::Coverage::TrustPod, which only works with Perl 5.8.9+'; } } use Pod::Coverage::TrustPod; my %skip = map { $_ => 1 } qw( ); my @modules; for my $module ( all_modules() ) { next if $skip{$module}; push @modules, $module; } plan skip_all => 'All the modules we found were excluded from POD coverage test.' unless @modules; plan tests => scalar @modules; my %trustme = (); my @also_private; for my $module ( sort @modules ) { pod_coverage_ok( $module, { coverage_class => 'Pod::Coverage::TrustPod', also_private => \@also_private, trustme => $trustme{$module} || [], }, "pod coverage for $module" ); } done_testing(); Specio-Library-Path-Tiny-0.05/xt/author/eol.t0000644000175000017500000000052414254176157020653 0ustar autarchautarchuse strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19 use Test::More 0.88; use Test::EOL; my @files = ( 'lib/Specio/Library/Path/Tiny.pm', 't/00-report-prereqs.dd', 't/00-report-prereqs.t', 't/basic.t' ); eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; done_testing; Specio-Library-Path-Tiny-0.05/xt/author/no-tabs.t0000644000175000017500000000047214254176157021441 0ustar autarchautarchuse strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.15 use Test::More 0.88; use Test::NoTabs; my @files = ( 'lib/Specio/Library/Path/Tiny.pm', 't/00-report-prereqs.dd', 't/00-report-prereqs.t', 't/basic.t' ); notabs_ok($_) foreach @files; done_testing; Specio-Library-Path-Tiny-0.05/xt/author/00-compile.t0000644000175000017500000000256014254176157021743 0ustar autarchautarchuse 5.006; use strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058 use Test::More; plan tests => 2; my @module_files = ( 'Specio/Library/Path/Tiny.pm' ); # no fake home requested my @switches = ( -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; diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} } $^X, @switches, '-e', "require q[$lib]")) if $ENV{PERL_COMPILE_TEST_DEBUG}; my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { warn @_warnings; push @warnings, @_warnings; } } is(scalar(@warnings), 0, 'no warnings found') or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ); Specio-Library-Path-Tiny-0.05/xt/author/portability.t0000644000175000017500000000026714254176157022442 0ustar autarchautarchuse strict; use warnings; use Test::More; eval 'use Test::Portability::Files'; plan skip_all => 'Test::Portability::Files required for testing portability' if $@; run_tests(); Specio-Library-Path-Tiny-0.05/xt/author/mojibake.t0000644000175000017500000000015114254176157021651 0ustar autarchautarch#!perl use strict; use warnings qw(all); use Test::More; use Test::Mojibake; all_files_encoding_ok(); Specio-Library-Path-Tiny-0.05/xt/author/test-version.t0000644000175000017500000000063714254176157022543 0ustar autarchautarchuse strict; use warnings; use Test::More; # generated by Dist::Zilla::Plugin::Test::Version 1.09 use Test::Version; my @imports = qw( version_all_ok ); my $params = { is_strict => 1, has_version => 1, multiple => 0, }; push @imports, $params if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); Test::Version->import(@imports); version_all_ok; done_testing; Specio-Library-Path-Tiny-0.05/xt/author/pod-syntax.t0000644000175000017500000000025214254176157022200 0ustar autarchautarch#!perl # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. use strict; use warnings; use Test::More; use Test::Pod 1.41; all_pod_files_ok(); Specio-Library-Path-Tiny-0.05/META.yml0000644000175000017500000005641014254176157017230 0ustar autarchautarch--- abstract: 'Path::Tiny types and coercions for Specio' author: - 'Dave Rolsky ' build_requires: ExtUtils::MakeMaker: '0' File::Spec: '0' File::Temp: '0.18' File::pushd: '0' Test::Fatal: '0' Test::More: '0.96' Test::Specio: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010' license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: Specio-Library-Path-Tiny provides: Specio::Library::Path::Tiny: file: lib/Specio/Library/Path/Tiny.pm version: '0.05' requires: Path::Tiny: '0.087' Scalar::Util: '0' Specio: '0.29' Specio::Declare: '0' Specio::Exporter: '0' Specio::Library::Builtins: '0' Specio::PartialDump: '0' overload: '0' parent: '0' strict: '0' warnings: '0' resources: bugtracker: https://github.com/houseabsolute/Specio-Library-Path-Tiny/issues homepage: https://metacpan.org/release/Specio-Library-Path-Tiny repository: git://github.com/houseabsolute/Specio-Library-Path-Tiny.git version: '0.05' x_Dist_Zilla: perl: version: '5.032001' plugins: - class: Dist::Zilla::Plugin::DROLSKY::BundleAuthordep name: '@DROLSKY/DROLSKY::BundleAuthordep' version: '1.20' - class: Dist::Zilla::Plugin::Git::GatherDir config: Dist::Zilla::Plugin::GatherDir: exclude_filename: - CODE_OF_CONDUCT.md - CONTRIBUTING.md - LICENSE - Makefile.PL - README.md - cpanfile exclude_match: [] follow_symlinks: 0 include_dotfiles: 0 prefix: '' prune_directory: [] root: . Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: '@DROLSKY/Git::GatherDir' version: '2.048' - class: Dist::Zilla::Plugin::ManifestSkip name: '@DROLSKY/ManifestSkip' version: '6.025' - class: Dist::Zilla::Plugin::License name: '@DROLSKY/License' version: '6.025' - class: Dist::Zilla::Plugin::ExecDir name: '@DROLSKY/ExecDir' version: '6.025' - class: Dist::Zilla::Plugin::ShareDir name: '@DROLSKY/ShareDir' version: '6.025' - class: Dist::Zilla::Plugin::Manifest name: '@DROLSKY/Manifest' version: '6.025' - class: Dist::Zilla::Plugin::CheckVersionIncrement name: '@DROLSKY/CheckVersionIncrement' version: '0.121750' - class: Dist::Zilla::Plugin::TestRelease name: '@DROLSKY/TestRelease' version: '6.025' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@DROLSKY/ConfirmRelease' version: '6.025' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@DROLSKY/UploadToCPAN' version: '6.025' - class: Dist::Zilla::Plugin::VersionFromMainModule config: Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' version: '0.006' name: '@DROLSKY/VersionFromMainModule' version: '0.04' - class: Dist::Zilla::Plugin::Authority name: '@DROLSKY/Authority' version: '1.009' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@DROLSKY/AutoPrereqs' version: '6.025' - class: Dist::Zilla::Plugin::CopyFilesFromBuild name: '@DROLSKY/CopyFilesFromBuild' version: '0.170880' - class: Dist::Zilla::Plugin::GitHub::Meta name: '@DROLSKY/GitHub::Meta' version: '0.48' - class: Dist::Zilla::Plugin::GitHub::Update config: Dist::Zilla::Plugin::GitHub::Update: metacpan: 1 name: '@DROLSKY/GitHub::Update' version: '0.48' - class: Dist::Zilla::Plugin::MetaResources name: '@DROLSKY/MetaResources' version: '6.025' - class: Dist::Zilla::Plugin::MetaProvides::Package config: Dist::Zilla::Plugin::MetaProvides::Package: finder_objects: - class: Dist::Zilla::Plugin::FinderCode name: '@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM' version: '6.025' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' inherit_missing: '1' inherit_version: '1' meta_noindex: '1' Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' version: '0.006' name: '@DROLSKY/MetaProvides::Package' version: '2.004003' - class: Dist::Zilla::Plugin::Meta::Contributors name: '@DROLSKY/Meta::Contributors' version: '0.003' - class: Dist::Zilla::Plugin::MetaConfig name: '@DROLSKY/MetaConfig' version: '6.025' - class: Dist::Zilla::Plugin::MetaJSON name: '@DROLSKY/MetaJSON' version: '6.025' - class: Dist::Zilla::Plugin::MetaYAML name: '@DROLSKY/MetaYAML' version: '6.025' - class: Dist::Zilla::Plugin::NextRelease name: '@DROLSKY/NextRelease' version: '6.025' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: test type: requires name: '@DROLSKY/Test::More with subtest' version: '6.025' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop type: requires name: '@DROLSKY/Tools for use with precious' version: '6.025' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop type: requires name: '@DROLSKY/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7' version: '6.025' - class: Dist::Zilla::Plugin::PromptIfStale config: Dist::Zilla::Plugin::PromptIfStale: check_all_plugins: 0 check_all_prereqs: 0 modules: - Dist::Zilla::PluginBundle::DROLSKY phase: build run_under_travis: 0 skip: [] name: '@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY' version: '0.057' - class: Dist::Zilla::Plugin::PromptIfStale config: Dist::Zilla::Plugin::PromptIfStale: check_all_plugins: 1 check_all_prereqs: 1 modules: [] phase: release run_under_travis: 0 skip: - Dist::Zilla::Plugin::DROLSKY::BundleAuthordep - Dist::Zilla::Plugin::DROLSKY::Contributors - Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch - Dist::Zilla::Plugin::DROLSKY::License - Dist::Zilla::Plugin::DROLSKY::MakeMaker - Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles - Dist::Zilla::Plugin::DROLSKY::Precious - Dist::Zilla::Plugin::DROLSKY::Test::Precious - Dist::Zilla::Plugin::DROLSKY::WeaverConfig - Pod::Weaver::PluginBundle::DROLSKY name: '@DROLSKY/PromptIfStale' version: '0.057' - class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable name: '@DROLSKY/Test::Pod::Coverage::Configurable' version: '0.07' - class: Dist::Zilla::Plugin::Test::PodSpelling config: Dist::Zilla::Plugin::Test::PodSpelling: directories: - bin - lib spell_cmd: '' stopwords: - AbsDir - AbsFile - AbsPath - DROLSKY - "DROLSKY's" - PayPal - RealDir - RealFile - RealPath - Rolsky - "Rolsky's" - drolsky wordlist: Pod::Wordlist name: '@DROLSKY/Test::PodSpelling' version: '2.007005' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@DROLSKY/PodSyntaxTests' version: '6.025' - class: Dist::Zilla::Plugin::MojibakeTests name: '@DROLSKY/MojibakeTests' version: '0.8' - class: Dist::Zilla::Plugin::RunExtraTests config: Dist::Zilla::Role::TestRunner: default_jobs: '8' name: '@DROLSKY/RunExtraTests' version: '0.029' - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: Dist::Zilla::Plugin::Test::CPAN::Changes: changelog: Changes name: '@DROLSKY/Test::CPAN::Changes' version: '0.012' - class: Dist::Zilla::Plugin::Test::CPAN::Meta::JSON name: '@DROLSKY/Test::CPAN::Meta::JSON' version: '0.004' - class: Dist::Zilla::Plugin::Test::EOL config: Dist::Zilla::Plugin::Test::EOL: filename: xt/author/eol.t finder: - ':ExecFiles' - ':InstallModules' - ':TestFiles' trailing_whitespace: 1 name: '@DROLSKY/Test::EOL' version: '0.19' - class: Dist::Zilla::Plugin::Test::NoTabs config: Dist::Zilla::Plugin::Test::NoTabs: filename: xt/author/no-tabs.t finder: - ':InstallModules' - ':ExecFiles' - ':TestFiles' name: '@DROLSKY/Test::NoTabs' version: '0.15' - class: Dist::Zilla::Plugin::Test::Portability config: Dist::Zilla::Plugin::Test::Portability: options: '' name: '@DROLSKY/Test::Portability' version: '2.001000' - class: Dist::Zilla::Plugin::Test::Compile config: Dist::Zilla::Plugin::Test::Compile: bail_out_on_fail: '0' fail_on_warning: author fake_home: 0 filename: xt/author/00-compile.t module_finder: - ':InstallModules' needs_display: 0 phase: develop script_finder: - ':PerlExecFiles' skips: [] switch: [] name: '@DROLSKY/Test::Compile' version: '2.058' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@DROLSKY/Test::ReportPrereqs' version: '0.028' - class: Dist::Zilla::Plugin::Test::Version name: '@DROLSKY/Test::Version' version: '1.09' - class: Dist::Zilla::Plugin::DROLSKY::Test::Precious name: '@DROLSKY/DROLSKY::Test::Precious' version: '1.20' - class: Dist::Zilla::Plugin::DROLSKY::Contributors name: '@DROLSKY/DROLSKY::Contributors' version: '1.20' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: git_version: 2.36.1 include_authors: 0 include_releaser: 1 order_by: name paths: [] name: '@DROLSKY/Git::Contributors' version: '0.036' - class: Dist::Zilla::Plugin::SurgicalPodWeaver config: Dist::Zilla::Plugin::PodWeaver: config_plugins: - '@DROLSKY' finder: - ':InstallModules' - ':ExecFiles' plugins: - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' version: '4.018' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' version: '4.018' - class: Pod::Weaver::Plugin::SingleEncoding name: '@DROLSKY/SingleEncoding' version: '4.018' - class: Pod::Weaver::Plugin::Transformer name: '@DROLSKY/List' version: '4.018' - class: Pod::Weaver::Plugin::Transformer name: '@DROLSKY/Verbatim' version: '4.018' - class: Pod::Weaver::Section::Region name: '@DROLSKY/header' version: '4.018' - class: Pod::Weaver::Section::Name name: '@DROLSKY/Name' version: '4.018' - class: Pod::Weaver::Section::Version name: '@DROLSKY/Version' version: '4.018' - class: Pod::Weaver::Section::Region name: '@DROLSKY/prelude' version: '4.018' - class: Pod::Weaver::Section::Generic name: SYNOPSIS version: '4.018' - class: Pod::Weaver::Section::Generic name: DESCRIPTION version: '4.018' - class: Pod::Weaver::Section::Generic name: OVERVIEW version: '4.018' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES version: '4.018' - class: Pod::Weaver::Section::Collect name: METHODS version: '4.018' - class: Pod::Weaver::Section::Collect name: FUNCTIONS version: '4.018' - class: Pod::Weaver::Section::Collect name: TYPES version: '4.018' - class: Pod::Weaver::Section::Leftovers name: '@DROLSKY/Leftovers' version: '4.018' - class: Pod::Weaver::Section::Region name: '@DROLSKY/postlude' version: '4.018' - class: Pod::Weaver::Section::GenerateSection name: '@DROLSKY/generate SUPPORT' version: '4.018' - class: Pod::Weaver::Section::AllowOverride name: '@DROLSKY/allow override SUPPORT' version: '0.05' - class: Pod::Weaver::Section::GenerateSection name: '@DROLSKY/generate SOURCE' version: '4.018' - class: Pod::Weaver::Section::GenerateSection name: '@DROLSKY/generate DONATIONS' version: '4.018' - class: Pod::Weaver::Section::Authors name: '@DROLSKY/Authors' version: '4.018' - class: Pod::Weaver::Section::Contributors name: '@DROLSKY/Contributors' version: '0.009' - class: Pod::Weaver::Section::Legal name: '@DROLSKY/Legal' version: '4.018' - class: Pod::Weaver::Section::AllowOverride name: '@DROLSKY/allow override Legal' version: '0.05' - class: Pod::Weaver::Section::Region name: '@DROLSKY/footer' version: '4.018' name: '@DROLSKY/SurgicalPodWeaver' version: '0.0023' - class: Dist::Zilla::Plugin::DROLSKY::WeaverConfig name: '@DROLSKY/DROLSKY::WeaverConfig' version: '1.20' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: Dist::Zilla::Role::FileWatcher: version: '0.006' name: '@DROLSKY/README.md in build' version: '0.163250' - class: Dist::Zilla::Plugin::GenerateFile::FromShareDir config: Dist::Zilla::Plugin::GenerateFile::FromShareDir: destination_filename: CONTRIBUTING.md dist: Dist-Zilla-PluginBundle-DROLSKY encoding: UTF-8 has_xs: '0' location: build source_filename: CONTRIBUTING.md Dist::Zilla::Role::RepoFileInjector: allow_overwrite: 1 repo_root: . version: '0.009' name: '@DROLSKY/Generate CONTRIBUTING.md' version: '0.015' - class: Dist::Zilla::Plugin::GenerateFile::FromShareDir config: Dist::Zilla::Plugin::GenerateFile::FromShareDir: destination_filename: CODE_OF_CONDUCT.md dist: Dist-Zilla-PluginBundle-DROLSKY encoding: UTF-8 has_xs: '0' location: build source_filename: CODE_OF_CONDUCT.md Dist::Zilla::Role::RepoFileInjector: allow_overwrite: 1 repo_root: . version: '0.009' name: '@DROLSKY/Generate CODE_OF_CONDUCT.md' version: '0.015' - class: Dist::Zilla::Plugin::InstallGuide config: Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' version: '0.006' name: '@DROLSKY/InstallGuide' version: '1.200014' - class: Dist::Zilla::Plugin::CPANFile name: '@DROLSKY/CPANFile' version: '6.025' - class: Dist::Zilla::Plugin::DROLSKY::License name: '@DROLSKY/DROLSKY::License' version: '1.20' - class: Dist::Zilla::Plugin::CheckStrictVersion name: '@DROLSKY/CheckStrictVersion' version: '0.001' - class: Dist::Zilla::Plugin::CheckSelfDependency config: Dist::Zilla::Plugin::CheckSelfDependency: finder: - ':InstallModules' Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' version: '0.006' name: '@DROLSKY/CheckSelfDependency' version: '0.011' - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@DROLSKY/CheckPrereqsIndexed' version: '0.021' - class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch config: Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch' version: '1.20' - class: Dist::Zilla::Plugin::EnsureChangesHasContent name: '@DROLSKY/EnsureChangesHasContent' version: '0.02' - class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts config: Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . name: '@DROLSKY/Git::CheckFor::MergeConflicts' version: '0.014' - class: Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles name: '@DROLSKY/DROLSKY::PerlLinterConfigFiles' version: '1.20' - class: Dist::Zilla::Plugin::DROLSKY::DevTools name: '@DROLSKY/DROLSKY::DevTools' version: '1.20' - class: Dist::Zilla::Plugin::DROLSKY::Precious name: '@DROLSKY/DROLSKY::Precious' version: '1.20' - class: Dist::Zilla::Plugin::Git::Check config: Dist::Zilla::Plugin::Git::Check: untracked_files: die Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - CODE_OF_CONDUCT.md - CONTRIBUTING.md - Changes - LICENSE - Makefile.PL - README.md - cpanfile - precious.toml allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . name: '@DROLSKY/Git::Check' version: '2.048' - class: Dist::Zilla::Plugin::Git::Commit config: Dist::Zilla::Plugin::Git::Commit: add_files_in: [] commit_msg: v%V%n%n%c signoff: 0 Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - CODE_OF_CONDUCT.md - CONTRIBUTING.md - Changes - LICENSE - Makefile.PL - README.md - cpanfile - precious.toml allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@DROLSKY/Commit generated files' version: '2.048' - class: Dist::Zilla::Plugin::Git::Tag config: Dist::Zilla::Plugin::Git::Tag: branch: ~ changelog: Changes signed: 0 tag: v0.05 tag_format: v%V tag_message: v%V Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@DROLSKY/Git::Tag' version: '2.048' - class: Dist::Zilla::Plugin::Git::Push config: Dist::Zilla::Plugin::Git::Push: push_to: - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . name: '@DROLSKY/Git::Push' version: '2.048' - class: Dist::Zilla::Plugin::BumpVersionAfterRelease config: Dist::Zilla::Plugin::BumpVersionAfterRelease: finders: - ':ExecFiles' - ':InstallModules' global: 0 munge_makefile_pl: 1 name: '@DROLSKY/BumpVersionAfterRelease' version: '0.018' - class: Dist::Zilla::Plugin::Git::Commit config: Dist::Zilla::Plugin::Git::Commit: add_files_in: [] commit_msg: 'Bump version after release' signoff: 0 Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - Changes - dist.ini allow_dirty_match: - (?^:.+) changelog: Changes Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@DROLSKY/Commit version bump' version: '2.048' - class: Dist::Zilla::Plugin::Git::Push config: Dist::Zilla::Plugin::Git::Push: push_to: - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: git_version: 2.36.1 repo_root: . name: '@DROLSKY/Push version bump' version: '2.048' - class: Dist::Zilla::Plugin::DROLSKY::MakeMaker config: Dist::Zilla::Plugin::MakeMaker: make_path: make version: '6.025' Dist::Zilla::Plugin::MakeMaker::Awesome: version: '0.49' Dist::Zilla::Role::TestRunner: default_jobs: '8' version: '6.025' name: '@DROLSKY/DROLSKY::MakeMaker' version: '1.20' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' version: '6.025' - class: Dist::Zilla::Plugin::FinderCode name: '@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM' version: '6.025' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' version: '6.025' x_authority: cpan:DROLSKY x_contributors: - 'Paulo Custodio ' x_generated_by_perl: v5.32.1 x_serialization_backend: 'YAML::Tiny version 1.73' x_spdx_expression: Apache-2.0 Specio-Library-Path-Tiny-0.05/LICENSE0000644000175000017500000002635114254176157016765 0ustar autarchautarchThis software is Copyright (c) 2016 - 2022 by Dave Rolsky. 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 2016 - 2022 Dave Rolsky 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. Specio-Library-Path-Tiny-0.05/git/0000775000175000017500000000000014254176157016536 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/git/hooks/0000775000175000017500000000000014254176157017661 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/git/hooks/pre-commit.sh0000755000175000017500000000027014254176157022271 0ustar autarchautarch#!/bin/bash status=0 PRECIOUS=$(which precious) if [[ -z $PRECIOUS ]]; then PRECIOUS=./bin/precious fi "$PRECIOUS" lint -s if (( $? != 0 )); then status+=1 fi exit $status Specio-Library-Path-Tiny-0.05/git/setup.pl0000755000175000017500000000076414254176157020243 0ustar autarchautarch#!/usr/bin/env perl use strict; use warnings; use Cwd qw( abs_path ); symlink_hook('pre-commit'); sub symlink_hook { my $hook = shift; my $dot = ".git/hooks/$hook"; my $file = "git/hooks/$hook.sh"; my $link = "../../$file"; if ( -e $dot ) { if ( -l $dot ) { return if readlink $dot eq $link; } warn "You already have a hook at $dot!\n"; return; } symlink $link, $dot or die "Could not link $dot => $link: $!"; } Specio-Library-Path-Tiny-0.05/Makefile.PL0000644000175000017500000000370314254176157017726 0ustar autarchautarch# This Makefile.PL for Specio-Library-Path-Tiny was generated by # Dist::Zilla::Plugin::DROLSKY::MakeMaker 1.20 # and Dist::Zilla::Plugin::MakeMaker::Awesome 0.49. # Don't edit it but the dist.ini and plugins used to construct it. use strict; use warnings; use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Path::Tiny types and coercions for Specio", "AUTHOR" => "Dave Rolsky ", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Specio-Library-Path-Tiny", "LICENSE" => "apache", "NAME" => "Specio::Library::Path::Tiny", "PREREQ_PM" => { "Path::Tiny" => "0.087", "Scalar::Util" => 0, "Specio" => "0.29", "Specio::Declare" => 0, "Specio::Exporter" => 0, "Specio::Library::Builtins" => 0, "Specio::PartialDump" => 0, "overload" => 0, "parent" => 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", "Test::Specio" => 0 }, "VERSION" => "0.05", "test" => { "TESTS" => "t/*.t" } ); my %FallbackPrereqs = ( "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "File::Temp" => "0.18", "File::pushd" => 0, "Path::Tiny" => "0.087", "Scalar::Util" => 0, "Specio" => "0.29", "Specio::Declare" => 0, "Specio::Exporter" => 0, "Specio::Library::Builtins" => 0, "Specio::PartialDump" => 0, "Test::Fatal" => 0, "Test::More" => "0.96", "Test::Specio" => 0, "overload" => 0, "parent" => 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); Specio-Library-Path-Tiny-0.05/INSTALL0000644000175000017500000000470714254176157017012 0ustar autarchautarchThis is the Perl distribution Specio-Library-Path-Tiny. Installing Specio-Library-Path-Tiny is straightforward. ## Installation with cpanm If you have cpanm, you only need one line: % cpanm Specio::Library::Path::Tiny If it does not have permission to install modules to the current perl, cpanm will automatically set up and install to a local::lib in your home directory. See the local::lib documentation (https://metacpan.org/pod/local::lib) for details on enabling it in your environment. ## Installing with the CPAN shell Alternatively, if your CPAN shell is set up, you should just be able to do: % cpan Specio::Library::Path::Tiny ## Manual installation As a last resort, you can manually install it. If you have not already downloaded the release tarball, you can find the download link on the module's MetaCPAN page: https://metacpan.org/pod/Specio::Library::Path::Tiny Untar the tarball, install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test Then install it: % make install On Windows platforms, you should use `dmake` or `nmake`, instead of `make`. If your perl is system-managed, you can create a local::lib in your home directory to install modules to. For details, see the local::lib documentation: https://metacpan.org/pod/local::lib The prerequisites of this distribution will also have to be installed manually. The prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated by running the manual build process described above. ## Configure Prerequisites This distribution requires other modules to be installed before this distribution's installer can be run. They can be found under the "configure_requires" key of META.yml or the "{prereqs}{configure}{requires}" key of META.json. ## Other Prerequisites This distribution may require additional modules to be installed after running Makefile.PL. Look for prerequisites in the following phases: * to run make, PHASE = build * to use the module code itself, PHASE = runtime * to run tests, PHASE = test They can all be found in the "PHASE_requires" key of MYMETA.yml or the "{prereqs}{PHASE}{requires}" key of MYMETA.json. ## Documentation Specio-Library-Path-Tiny documentation is available as POD. You can run `perldoc` from a shell to read the documentation: % perldoc Specio::Library::Path::Tiny For more information on installing Perl modules via CPAN, please see: https://www.cpan.org/modules/INSTALL.html Specio-Library-Path-Tiny-0.05/CODE_OF_CONDUCT.md0000644000175000017500000000625314254176157020556 0ustar autarchautarch# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at autarch@urth.org. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html [homepage]: https://www.contributor-covenant.org Specio-Library-Path-Tiny-0.05/cpanfile0000644000175000017500000000346614254176157017466 0ustar autarchautarch# This file is generated by Dist::Zilla::Plugin::CPANFile v6.025 # Do not edit this file directly. To change prereqs, edit the `dist.ini` file. requires "Path::Tiny" => "0.087"; requires "Scalar::Util" => "0"; requires "Specio" => "0.29"; requires "Specio::Declare" => "0"; requires "Specio::Exporter" => "0"; requires "Specio::Library::Builtins" => "0"; requires "Specio::PartialDump" => "0"; requires "overload" => "0"; requires "parent" => "0"; requires "strict" => "0"; requires "warnings" => "0"; on 'test' => sub { requires "ExtUtils::MakeMaker" => "0"; requires "File::Spec" => "0"; requires "File::Temp" => "0.18"; requires "File::pushd" => "0"; requires "Test::Fatal" => "0"; requires "Test::More" => "0.96"; requires "Test::Specio" => "0"; }; on 'test' => sub { recommends "CPAN::Meta" => "2.120900"; }; on 'configure' => sub { requires "ExtUtils::MakeMaker" => "0"; }; on 'develop' => sub { requires "Capture::Tiny" => "0"; requires "Encode" => "0"; requires "File::Spec" => "0"; requires "FindBin" => "0"; requires "IO::Handle" => "0"; requires "IPC::Open3" => "0"; requires "Perl::Critic" => "1.138"; requires "Perl::Critic::Moose" => "1.05"; requires "Perl::Tidy" => "20210111"; requires "Pod::Checker" => "1.74"; requires "Pod::Coverage::TrustPod" => "0"; requires "Pod::Tidy" => "0.10"; requires "Pod::Wordlist" => "0"; requires "Test::CPAN::Changes" => "0.19"; requires "Test::CPAN::Meta::JSON" => "0.16"; requires "Test::EOL" => "0"; requires "Test::Mojibake" => "0"; requires "Test::More" => "0.96"; requires "Test::NoTabs" => "0"; requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; requires "Test::Portability::Files" => "0"; requires "Test::Spelling" => "0.12"; requires "Test::Version" => "2.05"; requires "perl" => "5.006"; }; Specio-Library-Path-Tiny-0.05/lib/0000775000175000017500000000000014254176157016521 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/lib/Specio/0000775000175000017500000000000014254176157017743 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/lib/Specio/Library/0000775000175000017500000000000014254176157021347 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/lib/Specio/Library/Path/0000775000175000017500000000000014254176157022243 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/lib/Specio/Library/Path/Tiny.pm0000644000175000017500000002440214254176157023524 0ustar autarchautarch## no critic (Modules::ProhibitExcessMainComplexity) package Specio::Library::Path::Tiny; use strict; use warnings; our $VERSION = '0.05'; use overload (); use Path::Tiny 0.087; use Scalar::Util qw( blessed ); use Specio 0.29 (); use Specio::Declare; use Specio::Library::Builtins; use Specio::PartialDump qw( partial_dump ); use parent 'Specio::Exporter'; my $not_blessed = sub { return blessed $_[0] ? q{} : "$_[1] is not an object"; }; my $not_path_tiny = sub { return $_[0]->isa('Path::Tiny') ? q{} : "$_[1] is not a Path::Tiny object"; }; my $not_absolute = sub { return $_[0]->is_absolute ? q{} : "$_[0] is not an absolute path"; }; my $not_real = sub { return $_[0]->realpath eq $_[0] ? q{} : "$_[0] is not a real path"; }; my $not_file = sub { return $_[0]->is_file ? q{} : "$_[0] is not a file on disk"; }; my $not_dir = sub { return $_[0]->is_dir ? q{} : "$_[0] is not a directory on disk"; }; declare( 'Path', parent => object_isa_type('Path::Tiny'), message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ); }, ); declare( 'AbsPath', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->is_absolute )', $_[0]->parent->inline_check( $_[1] ), $_[1] ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_absolute->( $_[1], $dump ); }, ); declare( 'RealPath', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->realpath eq %s )', $_[0]->parent->inline_check( $_[1] ), $_[1], $_[1] ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_real->( $_[1], $dump ); }, ); declare( 'File', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->is_file )', $_[0]->parent->inline_check( $_[1] ), $_[1] ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_file->( $_[1], $dump ); }, ); declare( 'AbsFile', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->is_file && %s->is_absolute )', $_[0]->parent->inline_check( $_[1] ), $_[1], $_[1] ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_file->( $_[1], $dump ) || $not_absolute->( $_[1], $dump ); }, ); declare( 'RealFile', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->is_file && %s->realpath eq %s )', $_[0]->parent->inline_check( $_[1] ), $_[1], $_[1], $_[1] ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_file->( $_[1], $dump ) || $not_real->( $_[1], $dump ); }, ); declare( 'Dir', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->is_dir )', $_[0]->parent->inline_check( $_[1] ), $_[1] ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_dir->( $_[1], $dump ); }, ); declare( 'AbsDir', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->is_dir && %s->is_absolute )', $_[0]->parent->inline_check( $_[1] ), $_[1], $_[1], ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_dir->( $_[1], $dump ) || $not_absolute->( $_[1], $dump ); }, ); declare( 'RealDir', parent => t('Path'), inline => sub { return sprintf( '( %s && %s->is_dir && %s->realpath eq %s )', $_[0]->parent->inline_check( $_[1] ), $_[1], $_[1], $_[1] ); }, message_generator => sub { my $dump = partial_dump( $_[1] ); return $not_blessed->( $_[1], $dump ) || $not_path_tiny->( $_[1], $dump ) || $not_dir->( $_[1], $dump ) || $not_real->( $_[1], $dump ); }, ); for my $type ( map { t($_) } qw( Path File Dir ) ) { coerce( $type, from => t('Str'), inline => sub {"Path::Tiny::path( $_[1] )"}, ); coerce( $type, from => t('ArrayRef'), inline => sub {"Path::Tiny::path( \@{ $_[1] } )"}, ); } for my $type ( map { t($_) } qw( AbsPath AbsFile AbsDir ) ) { coerce( $type, from => t('Path'), inline => sub { sprintf( '%s->absolute', $_[1] ) }, ); coerce( $type, from => t('Str'), inline => sub { sprintf( 'Path::Tiny::path( %s )->absolute', $_[1] ) }, ); coerce( $type, from => t('ArrayRef'), inline => sub { sprintf( 'Path::Tiny::path( @{ %s } )->absolute', $_[1] ) }, ); } for my $type ( map { t($_) } qw( RealPath RealFile RealDir ) ) { coerce( $type, from => t('Path'), inline => sub { sprintf( '%s->realpath', $_[1] ) }, ); coerce( $type, from => t('Str'), inline => sub { sprintf( 'Path::Tiny::path( %s )->realpath', $_[1] ) }, ); coerce( $type, from => t('ArrayRef'), inline => sub { sprintf( 'Path::Tiny::path( @{ %s } )->realpath', $_[1] ) }, ); } 1; # ABSTRACT: Path::Tiny types and coercions for Specio __END__ =pod =encoding UTF-8 =head1 NAME Specio::Library::Path::Tiny - Path::Tiny types and coercions for Specio =head1 VERSION version 0.05 =head1 SYNOPSIS use Specio::Library::Path::Tiny; has path => ( isa => t('Path') ); =head1 DESCRIPTION This library provides a set of L types and coercions for L. These types can be used with L, L, L, and other modules. =head1 TYPES This library provides the following types: =head2 Path A L object. Will be coerced from a string or arrayref via C. =head2 AbsPath A L object where C<< $path->is_absolute >> returns true. Will be coerced from a string or arrayref via C followed by call to C<< $path->absolute >>. =head2 RealPath A L object where C<< $path->realpath eq $path >>. Will be coerced from a string or arrayref via C followed by call to C<< $path->realpath >>. =head2 File A L object which is a file on disk according to C<< $path->is_file >>. Will be coerced from a string or arrayref via C. =head2 AbsFile A L object which is a file on disk according to C<< $path->is_file >> where C<< $path->is_absolute >> returns true. Will be coerced from a string or arrayref via C followed by call to C<< $path->absolute >>. =head2 RealFile A L object which is a file on disk according to C<< $path->is_file >> where C<< $path->realpath eq $path >>. Will be coerced from a string or arrayref via C followed by call to C<< $path->realpath >>. =head2 Dir A L object which is a directory on disk according to C<< $path->is_dir >>. Will be coerced from a string or arrayref via C. =head2 AbsDir A L object which is a directory on disk according to C<< $path->is_dir >> where C<< $path->is_absolute >> returns true. Will be coerced from a string or arrayref via C followed by call to C<< $path->absolute >>. =head2 RealDir A L object which is a directory on disk according to C<< $path->is_dir >> where C<< $path->realpath eq $path >>. Will be coerced from a string or arrayref via C followed by call to C<< $path->realpath >>. =head1 CREDITS The vast majority of the code in this distribution comes from David Golden's L distribution. =head1 SUPPORT Bugs may be submitted at L. =head1 SOURCE The source code repository for Specio-Library-Path-Tiny can be found at L. =head1 DONATIONS If you'd like to thank me for the work I've done on this module, please consider making a "donation" to me via PayPal. I spend a lot of free time creating free software, and would appreciate any support you'd care to offer. Please note that B in order for me to continue working on this particular software. I will continue to do so, inasmuch as I have in the past, for as long as it interests me. Similarly, a donation made in this way will probably not make me work on this software much more, unless I get so many donations that I can consider working on free software full time (let's all have a chuckle at that together). To donate, log into PayPal and send money to autarch@urth.org, or use the button at L. =head1 AUTHOR Dave Rolsky =head1 CONTRIBUTOR =for stopwords Paulo Custodio Paulo Custodio =head1 COPYRIGHT AND LICENSE This software is Copyright (c) 2016 - 2022 by Dave Rolsky. This is free software, licensed under: The Apache License, Version 2.0, January 2004 The full text of the license can be found in the F file included with this distribution. =cut Specio-Library-Path-Tiny-0.05/dist.ini0000644000175000017500000000065414254176157017422 0ustar autarchautarchname = Specio-Library-Path-Tiny author = Dave Rolsky license = Apache_2_0 copyright_holder = Dave Rolsky copyright_year = 2016 ; authordep Dist::Zilla::PluginBundle::DROLSKY = 1.20 [@DROLSKY] dist = Specio-Library-Path-Tiny -remove = Test::CleanNamespaces -remove = Test::Synopsis stopwords = AbsDir stopwords = AbsFile stopwords = AbsPath stopwords = RealDir stopwords = RealFile stopwords = RealPath Specio-Library-Path-Tiny-0.05/CONTRIBUTING.md0000644000175000017500000001045314254176157020205 0ustar autarchautarch# 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 the maintainer(s) through the bug queue described later in this document (preferred), or by emailing the releaser directly. You are not required to follow any of the steps in this document to submit a patch or bug report; these are just recommendations, intended to help you (and help us help you faster). The distribution is managed with [Dist::Zilla](https://metacpan.org/release/Dist-Zilla). However, you can still compile and test the code with the `Makefile.PL` in the repository: perl Makefile.PL make make test 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/Specio-Library-Path-Tiny You can use [`cpanminus`](https://metacpan.org/pod/App::cpanminus) to do this without downloading the tarball first: $> cpanm --reinstall --installdeps --with-recommends Specio::Library::Path::Tiny [`Dist::Zilla`](https://metacpan.org/pod/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 the following command to install the needed distros: $> dzil authordeps --missing | cpanm There may also be additional requirements not needed by the dzil build which are needed for tests or other development: $> dzil listdeps --author --missing | cpanm Or, you can use the 'dzil stale' command to install all requirements at once: $> 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 Specio::Library::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 on GitHub](https://github.com/houseabsolute/Specio-Library-Path-Tiny). You can submit code changes by forking the repository, pushing your code changes to your clone, and then submitting a pull request. Please update the Changes file with a user-facing description of your changes as part of your work. See the GitHub documentation for [detailed instructions on pull requests](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 [via the web](https://github.com/houseabsolute/Specio-Library-Path-Tiny/issues). ## Continuous Integration All pull requests for this distribution will be automatically tested using [Azure Pipelines](https://dev.azure.com/houseabsolute/houseabsolute/_build). All CI results will be visible in the pull request on GitHub. Follow the appropriate links for details when tests fail. PRs cannot be merged until tests pass. ## Precious This distribution uses [precious](https://github.com/houseabsolute/precious) to enforce a uniform coding style. This is tested as part of the author testing suite. You can install this and any other necessary non-Perl tools by running `./dev-bin/install-xt-tools.sh`. Then you can use `precious` to tidy and lint your code: $> precious tidy -a $> precious lint -a Please run `precious tidy -a` and `precious lint -a` before committing your changes and address any issues that it reports. You can also set up a git pre-commit hook that checks all changed files for linting issues by running `./git/setup.pl`. ## Contributor Names If you send a patch or pull request, your name and email address will be included in the documentation as a contributor (using the attribution on the commit or patch), unless you specifically request for it not to be. If you wish to be listed under a different name or address, you should submit a pull request to the `.mailmap` file to contain the correct mapping. ## Generated By This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.015 from a template file originating in Dist-Zilla-PluginBundle-DROLSKY-1.20. Specio-Library-Path-Tiny-0.05/precious.toml0000644000175000017500000000243214254176157020500 0ustar autarchautarchexclude = [ ".build/**/*", "Specio-Library-Path-Tiny*/**/*", "blib/**/*", "t/00-*", "t/author-*", "t/release-*", "t/zzz-*", "xt/**/*", ] [commands.omegasort-gitignore] type = "both" include = "**/.gitignore" cmd = [ "omegasort", "--sort=path" ] lint_flags = "--check" tidy_flags = "--in-place" ok_exit_codes = 0 lint_failure_exit_codes = 1 expect_stderr = true [commands.perlcritic] type = "lint" include = [ "**/*.{pl,pm,t,psgi}" ] cmd = [ "perlcritic", "--profile=$PRECIOUS_ROOT/perlcriticrc" ] ok_exit_codes = 0 lint_failure_exit_codes = 2 [commands.perltidy] type = "both" include = [ "**/*.{pl,pm,t,psgi}" ] cmd = [ "perltidy", "--profile=$PRECIOUS_ROOT/perltidyrc" ] lint_flags = [ "--assert-tidy", "--no-standard-output", "--outfile=/dev/null" ] tidy_flags = [ "--backup-and-modify-in-place", "--backup-file-extension=/" ] ok_exit_codes = 0 lint_failure_exit_codes = 2 expect_stderr = true [commands.podchecker] type = "lint" include = [ "**/*.{pl,pm,pod}" ] cmd = [ "podchecker", "--warnings", "--warnings" ] ok_exit_codes = [ 0, 2 ] lint_failure_exit_codes = 1 expect_stderr = true [commands.podtidy] type = "tidy" include = [ "**/*.{pl,pm,pod}" ] cmd = [ "podtidy", "--columns", "80", "--inplace", "--nobackup" ] ok_exit_codes = 0 lint_failure_exit_codes = 1 Specio-Library-Path-Tiny-0.05/azure-pipelines.yml0000644000175000017500000000132514254176157021611 0ustar autarchautarchresources: repositories: - repository: ci-perl-helpers type: github name: houseabsolute/ci-perl-helpers endpoint: houseabsolute stages: - template: templates/helpers/build.yml@ci-perl-helpers parameters: debug: true - template: templates/helpers/linux.yml@ci-perl-helpers parameters: coverage: codecov debug: true include_threads: true test_xt: true use_default_perls: true - template: templates/helpers/macos.yml@ci-perl-helpers parameters: debug: true include_threads: true use_default_perls: true - template: templates/helpers/windows.yml@ci-perl-helpers parameters: debug: true use_default_perls: true Specio-Library-Path-Tiny-0.05/Changes0000644000175000017500000000110014254176157017234 0ustar autarchautarch0.05 2022-06-20 - Fixed failing tests on msys. Fixed by Paulo Custodio. PR #1. 0.04 2016-10-15 - More path tweaks for tests to try to make Windows and OSX happy. Tests pass on Windows according to AppVeyor. - Added message generators for all types to produce better error messages when validation fails. 0.03 2016-10-04 - Updated paths used in tests to try to make Windows happy. 0.02 2016-10-02 - Fix code for Perl 5.8.8 - Require Path::Tiny 0.087+ to ensure that tests pass. 0.01 2016-10-02 - First release upon an unsuspecting world. Specio-Library-Path-Tiny-0.05/dev-bin/0000775000175000017500000000000014254176157017277 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/dev-bin/install-xt-tools.sh0000755000175000017500000000075614254176157023101 0ustar autarchautarch#!/bin/sh set -e TARGET="$HOME/bin" if [ $(id -u) -eq 0 ]; then TARGET="/usr/local/bin" fi echo "Installing dev tools to $TARGET" mkdir -p $TARGET curl --silent --location \ https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh | sh "$TARGET/ubi" --project houseabsolute/precious --in "$TARGET" "$TARGET/ubi" --project houseabsolute/omegasort --in "$TARGET" echo "Add $TARGET to your PATH in order to use precious for linting and tidying" Specio-Library-Path-Tiny-0.05/t/0000775000175000017500000000000014254176157016216 5ustar autarchautarchSpecio-Library-Path-Tiny-0.05/t/basic.t0000644000175000017500000003174314254176157017472 0ustar autarchautarchuse strict; use warnings; use Test::More 0.96; use Test::Fatal; use Test::Specio qw( test_constraint describe :vars ); use File::pushd qw( tempd ); use File::Temp 0.18; use Path::Tiny qw( path rootdir ); use Scalar::Util qw( blessed ); use Specio::Library::Path::Tiny; my $can_symlink = do { local $@ = undef; ## no critic (ErrorHandling::RequireCheckingReturnValueOfEval, InputOutput::RequireCheckedSyscalls) # symlink support in msys is broken $^O eq 'msys' ? 0 : eval { symlink( q{}, q{} ); 1 }; }; # The glob vars only work when they're use in the same package as where # they're declared. Globs are weird. my $GLOB = do { ## no critic (TestingAndDebugging::ProhibitNoWarnings) no warnings 'once'; *SOME_GLOB; }; ## no critic (Variables::RequireInitializationForLocalVars) local *FOO; my $GLOB_OVERLOAD = _T::GlobOverload->new( \*FOO ); local *BAR; { ## no critic (InputOutput::ProhibitBarewordFileHandles, InputOutput::RequireBriefOpen) open BAR, '<', $0 or die "Could not open $0 for the test"; } my $GLOB_OVERLOAD_FH = _T::GlobOverload->new( \*BAR ); my @all_values = ( $ZERO, $ONE, $BOOL_OVERLOAD_TRUE, $BOOL_OVERLOAD_FALSE, $INT, $NEG_INT, $NUM, $NEG_NUM, $NUM_OVERLOAD_ZERO, $NUM_OVERLOAD_ONE, $NUM_OVERLOAD_NEG, $NUM_OVERLOAD_NEG_DECIMAL, $NUM_OVERLOAD_DECIMAL, $EMPTY_STRING, $STRING, $NUM_IN_STRING, $STR_OVERLOAD_EMPTY, $STR_OVERLOAD_FULL, $INT_WITH_NL1, $INT_WITH_NL2, $SCALAR_REF, $SCALAR_REF_REF, $SCALAR_OVERLOAD, $ARRAY_REF, $ARRAY_OVERLOAD, $HASH_REF, $HASH_OVERLOAD, $CODE_REF, $CODE_OVERLOAD, $GLOB, $GLOB_REF, $GLOB_OVERLOAD, $GLOB_OVERLOAD_FH, $FH, $FH_OBJECT, $REGEX, $REGEX_OBJ, $REGEX_OVERLOAD, $FAKE_REGEX, $OBJECT, $UNDEF, ); my $tempfile = File::Temp->new; my $tempdir = File::Temp->newdir; my $rel_path = path('foo'); my $abs_path = rootdir->realpath->child('foo'); my $rel_dir = path( path($0)->parent->basename ); my @abs_but_not_real_file; my @abs_but_not_real_dir; if ($can_symlink) { my $realfile = path( $tempdir, 'realfile' ); $realfile->touch; my $symlinkfile = path( $tempdir, 'symlinkfile' ); symlink $realfile => $symlinkfile or die $!; push @abs_but_not_real_file, $symlinkfile; my $realdir = path( $tempdir, 'realdir' ); $realdir->mkpath; my $symlinkdir = path( $tempdir, 'symlinkdir' ); symlink $realdir => $symlinkdir or die $!; push @abs_but_not_real_dir, $symlinkdir; } my $actual_file = path($tempfile)->realpath; my $actual_dir = path($tempdir)->realpath; test_constraint( t('Path'), { accept => [ $rel_path, $abs_path, @abs_but_not_real_file, @abs_but_not_real_dir, $rel_dir, $actual_file, $actual_dir, ], reject => \@all_values, }, \&_describe, ); test_constraint( t('AbsPath'), { accept => [ $abs_path, @abs_but_not_real_file, @abs_but_not_real_dir, $actual_file, $actual_dir, ], reject => [ $rel_path, $rel_dir, @all_values, ], }, \&_describe, ); test_constraint( t('RealPath'), { accept => [ $abs_path, $actual_file, $actual_dir, ], reject => [ $rel_path, $rel_dir, @abs_but_not_real_file, @abs_but_not_real_dir, @all_values, ], }, \&_describe, ); test_constraint( t('File'), { accept => [ @abs_but_not_real_file, $actual_file, ], reject => [ $rel_path, $rel_dir, $abs_path, $actual_dir, @abs_but_not_real_dir, @all_values, ], }, \&_describe, ); test_constraint( t('AbsFile'), { accept => [ @abs_but_not_real_file, $actual_file, ], reject => [ $rel_path, $rel_dir, $abs_path, $actual_dir, @abs_but_not_real_dir, @all_values, ], }, \&_describe, ); test_constraint( t('RealFile'), { accept => [ $actual_file, ], reject => [ $rel_path, $rel_dir, $abs_path, @abs_but_not_real_file, @abs_but_not_real_dir, $actual_dir, @all_values, ], }, \&_describe, ); test_constraint( t('Dir'), { accept => [ $rel_dir, $actual_dir, @abs_but_not_real_dir, ], reject => [ @abs_but_not_real_file, $actual_file, $rel_path, $abs_path, @all_values, ], }, \&_describe, ); test_constraint( t('AbsDir'), { accept => [ $actual_dir, @abs_but_not_real_dir, ], reject => [ @abs_but_not_real_file, $rel_path, $rel_dir, $abs_path, $actual_file, @all_values, ], }, \&_describe, ); test_constraint( t('RealDir'), { accept => [ $actual_dir, ], reject => [ @abs_but_not_real_file, $rel_path, $rel_dir, $abs_path, @abs_but_not_real_file, $actual_file, @all_values, ], }, \&_describe, ); my @coercion_tests = ( # Path { label => 'coerce string to Path', type => t('Path'), input => 'foo', }, { label => 'coerce object to Path', type => t('Path'), input => $tempfile, }, { label => 'coerce array ref to Path', type => t('Path'), input => [qw/foo bar/], }, # AbsPath { label => 'coerce string to AbsPath', type => t('AbsPath'), input => 'foo', }, { label => 'coerce Path to AbsPath', type => t('AbsPath'), input => path($tempfile), }, { label => 'coerce object to AbsPath', type => t('AbsPath'), input => $tempfile, }, { label => 'coerce array ref to AbsPath', type => t('AbsPath'), input => [qw/foo bar/], }, # RealPath { label => 'coerce string to RealPath', type => t('RealPath'), input => 'foo', }, { label => 'coerce Path to RealPath', type => t('RealPath'), input => path($tempfile), }, { label => 'coerce object to RealPath', type => t('RealPath'), input => $tempfile, }, { label => 'coerce array ref to RealPath', type => t('RealPath'), input => [qw/. foo/], }, # File { label => 'coerce string to File', type => t('File'), input => "$tempfile", }, { label => 'coerce object to File', type => t('File'), input => $tempfile, }, { label => 'coerce array ref to File', type => t('File'), input => [$tempfile], }, # AbsFile { label => 'coerce string to AbsFile', type => t('AbsFile'), input => "$tempfile", }, { label => 'coerce object to AbsFile', type => t('AbsFile'), input => $tempfile, }, { label => 'coerce array ref to AbsFile', type => t('AbsFile'), input => [$tempfile], }, # RealFile { label => 'coerce string to RealFile', type => t('RealFile'), input => "$tempfile", }, { label => 'coerce object to RealFile', type => t('RealFile'), input => $tempfile, }, { label => 'coerce array ref to RealFile', type => t('RealFile'), input => [$tempfile], }, # Dir { label => 'coerce string to Dir', type => t('Dir'), input => "$tempdir", }, { label => 'coerce object to Dir', type => t('Dir'), input => $tempdir, }, { label => 'coerce array ref to Dir', type => t('Dir'), input => [$tempdir], }, # AbsDir { label => 'coerce string to AbsDir', type => t('AbsDir'), input => "$tempdir", }, { label => 'coerce object to AbsDir', type => t('AbsDir'), input => $tempdir, }, { label => 'coerce array ref to AbsDir', type => t('AbsDir'), input => [$tempdir], }, # RealDir { label => 'coerce string to RealDir', type => t('RealDir'), input => "$tempdir", }, { label => 'coerce object to RealDir', type => t('RealDir'), input => $tempdir, }, { label => 'coerce array ref to RealDir', type => t('RealDir'), input => [$tempdir], }, ); for my $c (@coercion_tests) { subtest( $c->{label}, sub { my $wd = tempd(); my $type = $c->{type}; my $input = $c->{input}; my $expected = path( ref $input eq 'ARRAY' ? @{$input} : $input ); $expected = $expected->absolute if $type->name =~ /^Abs/; $expected = $expected->realpath if $type->name =~ /^Real/; my $output; is( exception { $output = $type->coerce_value($input) }, undef, 'coerced value without dying' ) or return; isa_ok( $output, 'Path::Tiny', '$output' ); is( $output, $expected, 'coercion returned expected value' ); } ); } my @messages_tests = ( [ t('Path'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, ], [ t('AbsPath'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $rel_path => qr/is not an absolute path/, ], [ t('RealPath'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $rel_path => qr/is not a real path/, ( @abs_but_not_real_file ? ( $abs_but_not_real_file[0] => qr/is not a real path/ ) : () ), ], [ t('File'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $actual_dir => qr/is not a file on disk/, ], [ t('AbsFile'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $actual_dir => qr/is not a file on disk/, ], [ t('RealFile'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $actual_dir => qr/is not a file on disk/, ( @abs_but_not_real_file ? ( $abs_but_not_real_file[0] => qr/is not a real path/ ) : () ), ], [ t('Dir'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $actual_file => qr/is not a directory on disk/, ], [ t('AbsDir'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $actual_file => qr/is not a directory on disk/, ], [ t('RealDir'), 42 => qr/42 is not an object/, $OBJECT => qr/is not a Path::Tiny object/, $actual_file => qr/is not a directory on disk/, ( @abs_but_not_real_dir ? ( $abs_but_not_real_dir[0] => qr/is not a real path/ ) : () ), ], ); for my $m (@messages_tests) { my $type = shift @{$m}; subtest( 'message for ' . $type->name . ' check failure', sub { while ( my ( $val, $expect ) = splice @{$m}, 0, 2 ) { like( exception { $type->validate_or_die($val) }, $expect, 'value = ' . describe($val), ); } } ); } done_testing; sub _describe { my $value = shift; if ( blessed $value && $value->isa('Path::Tiny') ) { my $d = "Path::Tiny object for [$value]"; my @attr; if ( $value->is_absolute ) { push @attr, 'absolute'; } if ( $value->realpath eq $value ) { push @attr, 'realpath'; } if ( $value->is_file ) { push @attr, 'file'; } elsif ( $value->is_dir ) { push @attr, 'dir'; } push @attr, 'symlink' if -l $value; if (@attr) { $d .= ' (' . ( join ', ', @attr ) . ')'; } return $d; } return describe($value); } Specio-Library-Path-Tiny-0.05/t/00-report-prereqs.dd0000644000175000017500000000650414254176157021741 0ustar autarchautarchdo { my $x = { 'configure' => { 'requires' => { 'ExtUtils::MakeMaker' => '0' } }, 'develop' => { 'requires' => { 'Capture::Tiny' => '0', 'Encode' => '0', 'File::Spec' => '0', 'FindBin' => '0', 'IO::Handle' => '0', 'IPC::Open3' => '0', 'Perl::Critic' => '1.138', 'Perl::Critic::Moose' => '1.05', 'Perl::Tidy' => '20210111', 'Pod::Checker' => '1.74', 'Pod::Coverage::TrustPod' => '0', 'Pod::Tidy' => '0.10', 'Pod::Wordlist' => '0', 'Test::CPAN::Changes' => '0.19', 'Test::CPAN::Meta::JSON' => '0.16', 'Test::EOL' => '0', 'Test::Mojibake' => '0', 'Test::More' => '0.96', 'Test::NoTabs' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', 'Test::Portability::Files' => '0', 'Test::Spelling' => '0.12', 'Test::Version' => '2.05', 'perl' => '5.006' } }, 'runtime' => { 'requires' => { 'Path::Tiny' => '0.087', 'Scalar::Util' => '0', 'Specio' => '0.29', 'Specio::Declare' => '0', 'Specio::Exporter' => '0', 'Specio::Library::Builtins' => '0', 'Specio::PartialDump' => '0', 'overload' => '0', 'parent' => '0', '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', 'Test::Specio' => '0' } } }; $x; }Specio-Library-Path-Tiny-0.05/t/00-report-prereqs.t0000644000175000017500000001345214254176157021615 0ustar autarchautarch#!perl use strict; use warnings; # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028 use Test::More tests => 1; use ExtUtils::MakeMaker; use File::Spec; # from $version::LAX my $lax_version_re = qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )? | (?:\.[0-9]+) (?:_[0-9]+)? ) | (?: v (?:[0-9]+) (?: (?:\.[0-9]+)+ (?:_[0-9]+)? )? | (?:[0-9]+)? (?:\.[0-9]+){2,} (?:_[0-9]+)? ) )/x; # hide optional CPAN::Meta modules from prereq scanner # and check if they are available my $cpan_meta = "CPAN::Meta"; my $cpan_meta_pre = "CPAN::Meta::Prereqs"; my $HAS_CPAN_META = eval "require $cpan_meta; $cpan_meta->VERSION('2.120900')" && eval "require $cpan_meta_pre"; ## no critic # Verify requirements? my $DO_VERIFY_PREREQS = 1; sub _max { my $max = shift; $max = ( $_ > $max ) ? $_ : $max for @_; return $max; } sub _merge_prereqs { my ($collector, $prereqs) = @_; # CPAN::Meta::Prereqs object if (ref $collector eq $cpan_meta_pre) { return $collector->with_merged_prereqs( CPAN::Meta::Prereqs->new( $prereqs ) ); } # Raw hashrefs for my $phase ( keys %$prereqs ) { for my $type ( keys %{ $prereqs->{$phase} } ) { for my $module ( keys %{ $prereqs->{$phase}{$type} } ) { $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module}; } } } return $collector; } my @include = qw( ); my @exclude = qw( ); # Add static prereqs to the included modules list my $static_prereqs = do './t/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ), $static_prereqs ); # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; my $cpan_meta_error; if ( $source && $HAS_CPAN_META && (my $meta = eval { CPAN::Meta->load_file($source) } ) ) { $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source) $source = 'static metadata'; } my @full_reports; my @dep_errors; my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs; # Add static includes into a fake section for my $mod (@include) { $req_hash->{other}{modules}{$mod} = 0; } for my $phase ( qw(configure build test runtime develop other) ) { next unless $req_hash->{$phase}; next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING}); for my $type ( qw(requires recommends suggests conflicts modules) ) { next unless $req_hash->{$phase}{$type}; my $title = ucfirst($phase).' '.ucfirst($type); my @reports = [qw/Module Want Have/]; for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) { next if $mod eq 'perl'; next if grep { $_ eq $mod } @exclude; my $file = $mod; $file =~ s{::}{/}g; $file .= ".pm"; my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; my $want = $req_hash->{$phase}{$type}{$mod}; $want = "undef" unless defined $want; $want = "any" if !$want && $want == 0; my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; if ($prefix) { my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); $have = "undef" unless defined $have; push @reports, [$mod, $want, $have]; if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META && $type eq 'requires' ) { if ( $have !~ /\A$lax_version_re\z/ ) { push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)"; } elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) { push @dep_errors, "$mod version '$have' is not in required range '$want'"; } } } else { push @reports, [$mod, $want, "missing"]; if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) { push @dep_errors, "$mod is not installed ($req_string)"; } } } if ( @reports ) { push @full_reports, "=== $title ===\n\n"; my $ml = _max( map { length $_->[0] } @reports ); my $wl = _max( map { length $_->[1] } @reports ); my $hl = _max( map { length $_->[2] } @reports ); if ($type eq 'modules') { splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl]; push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports; } else { splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; } push @full_reports, "\n"; } } } if ( @full_reports ) { diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } if ( $cpan_meta_error || @dep_errors ) { diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n"; } if ( $cpan_meta_error ) { my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n"; } if ( @dep_errors ) { diag join("\n", "\nThe following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); } pass('Reported prereqs'); # vim: ts=4 sts=4 sw=4 et: Specio-Library-Path-Tiny-0.05/perlcriticrc0000644000175000017500000000367114254176157020370 0ustar autarchautarchseverity = 3 verbose = 11 theme = core + pbp + bugs + maintenance + cosmetic + complexity + security + tests + moose program-extensions = pl psgi t exclude = Subroutines::ProhibitCallsToUndeclaredSubs [BuiltinFunctions::ProhibitStringySplit] severity = 3 [CodeLayout::RequireTrailingCommas] severity = 3 [ControlStructures::ProhibitCStyleForLoops] severity = 3 [InputOutput::RequireCheckedSyscalls] functions = :builtins exclude_functions = sleep severity = 3 [RegularExpressions::ProhibitComplexRegexes] max_characters = 200 [RegularExpressions::ProhibitUnusualDelimiters] severity = 3 [Subroutines::ProhibitUnusedPrivateSubroutines] private_name_regex = _(?!build)\w+ [TestingAndDebugging::ProhibitNoWarnings] allow = redefine [ValuesAndExpressions::ProhibitEmptyQuotes] severity = 3 [ValuesAndExpressions::ProhibitInterpolationOfLiterals] severity = 3 [ValuesAndExpressions::RequireUpperCaseHeredocTerminator] severity = 3 [Variables::ProhibitPackageVars] add_packages = Carp Test::Builder [-Subroutines::RequireFinalReturn] # This incorrectly thinks signatures are prototypes. [-Subroutines::ProhibitSubroutinePrototypes] [-ErrorHandling::RequireCarping] # No need for /xsm everywhere [-RegularExpressions::RequireDotMatchAnything] [-RegularExpressions::RequireExtendedFormatting] [-RegularExpressions::RequireLineBoundaryMatching] # http://stackoverflow.com/questions/2275317/why-does-perlcritic-dislike-using-shift-to-populate-subroutine-variables [-Subroutines::RequireArgUnpacking] # "use v5.14" is more readable than "use 5.014" [-ValuesAndExpressions::ProhibitVersionStrings] # Explicitly returning undef is a _good_ thing in many cases, since it # prevents very common errors when using a sub in list context to construct a # hash and ending up with a missing value or key. [-Subroutines::ProhibitExplicitReturnUndef] # Sometimes I want to write "return unless $x > 4" [-ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions] Specio-Library-Path-Tiny-0.05/README.md0000644000175000017500000001057114254176157017234 0ustar autarchautarch# NAME Specio::Library::Path::Tiny - Path::Tiny types and coercions for Specio # VERSION version 0.05 # SYNOPSIS use Specio::Library::Path::Tiny; has path => ( isa => t('Path') ); # DESCRIPTION This library provides a set of [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) types and coercions for [Specio](https://metacpan.org/pod/Specio). These types can be used with [Moose](https://metacpan.org/pod/Moose), [Moo](https://metacpan.org/pod/Moo), [Params::ValidationCompiler](https://metacpan.org/pod/Params%3A%3AValidationCompiler), and other modules. # TYPES This library provides the following types: ## Path A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object. Will be coerced from a string or arrayref via `Path::Tiny::path`. ## AbsPath A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object where `$path->is_absolute` returns true. Will be coerced from a string or arrayref via `Path::Tiny::path` followed by call to `$path->absolute`. ## RealPath A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object where `$path->realpath eq $path`. Will be coerced from a string or arrayref via `Path::Tiny::path` followed by call to `$path->realpath`. ## File A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object which is a file on disk according to `$path->is_file`. Will be coerced from a string or arrayref via `Path::Tiny::path`. ## AbsFile A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object which is a file on disk according to `$path->is_file` where `$path->is_absolute` returns true. Will be coerced from a string or arrayref via `Path::Tiny::path` followed by call to `$path->absolute`. ## RealFile A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object which is a file on disk according to `$path->is_file` where `$path->realpath eq $path`. Will be coerced from a string or arrayref via `Path::Tiny::path` followed by call to `$path->realpath`. ## Dir A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object which is a directory on disk according to `$path->is_dir`. Will be coerced from a string or arrayref via `Path::Tiny::path`. ## AbsDir A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object which is a directory on disk according to `$path->is_dir` where `$path->is_absolute` returns true. Will be coerced from a string or arrayref via `Path::Tiny::path` followed by call to `$path->absolute`. ## RealDir A [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) object which is a directory on disk according to `$path->is_dir` where `$path->realpath eq $path`. Will be coerced from a string or arrayref via `Path::Tiny::path` followed by call to `$path->realpath`. # CREDITS The vast majority of the code in this distribution comes from David Golden's [Types::Path::Tiny](https://metacpan.org/pod/Types%3A%3APath%3A%3ATiny) distribution. # SUPPORT Bugs may be submitted at [https://github.com/houseabsolute/Specio-Library-Path-Tiny/issues](https://github.com/houseabsolute/Specio-Library-Path-Tiny/issues). # SOURCE The source code repository for Specio-Library-Path-Tiny can be found at [https://github.com/houseabsolute/Specio-Library-Path-Tiny](https://github.com/houseabsolute/Specio-Library-Path-Tiny). # DONATIONS If you'd like to thank me for the work I've done on this module, please consider making a "donation" to me via PayPal. I spend a lot of free time creating free software, and would appreciate any support you'd care to offer. Please note that **I am not suggesting that you must do this** in order for me to continue working on this particular software. I will continue to do so, inasmuch as I have in the past, for as long as it interests me. Similarly, a donation made in this way will probably not make me work on this software much more, unless I get so many donations that I can consider working on free software full time (let's all have a chuckle at that together). To donate, log into PayPal and send money to autarch@urth.org, or use the button at [https://www.urth.org/fs-donation.html](https://www.urth.org/fs-donation.html). # AUTHOR Dave Rolsky # CONTRIBUTOR Paulo Custodio # COPYRIGHT AND LICENSE This software is Copyright (c) 2016 - 2022 by Dave Rolsky. This is free software, licensed under: The Apache License, Version 2.0, January 2004 The full text of the license can be found in the `LICENSE` file included with this distribution. Specio-Library-Path-Tiny-0.05/META.json0000644000175000017500000011044714254176157017401 0ustar autarchautarch{ "abstract" : "Path::Tiny types and coercions for Specio", "author" : [ "Dave Rolsky " ], "dynamic_config" : 0, "generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010", "license" : [ "apache_2_0" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : 2 }, "name" : "Specio-Library-Path-Tiny", "prereqs" : { "configure" : { "requires" : { "ExtUtils::MakeMaker" : "0" } }, "develop" : { "requires" : { "Capture::Tiny" : "0", "Encode" : "0", "File::Spec" : "0", "FindBin" : "0", "IO::Handle" : "0", "IPC::Open3" : "0", "Perl::Critic" : "1.138", "Perl::Critic::Moose" : "1.05", "Perl::Tidy" : "20210111", "Pod::Checker" : "1.74", "Pod::Coverage::TrustPod" : "0", "Pod::Tidy" : "0.10", "Pod::Wordlist" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta::JSON" : "0.16", "Test::EOL" : "0", "Test::Mojibake" : "0", "Test::More" : "0.96", "Test::NoTabs" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", "Test::Portability::Files" : "0", "Test::Spelling" : "0.12", "Test::Version" : "2.05", "perl" : "5.006" } }, "runtime" : { "requires" : { "Path::Tiny" : "0.087", "Scalar::Util" : "0", "Specio" : "0.29", "Specio::Declare" : "0", "Specio::Exporter" : "0", "Specio::Library::Builtins" : "0", "Specio::PartialDump" : "0", "overload" : "0", "parent" : "0", "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", "Test::Specio" : "0" } } }, "provides" : { "Specio::Library::Path::Tiny" : { "file" : "lib/Specio/Library/Path/Tiny.pm", "version" : "0.05" } }, "release_status" : "stable", "resources" : { "bugtracker" : { "web" : "https://github.com/houseabsolute/Specio-Library-Path-Tiny/issues" }, "homepage" : "https://metacpan.org/release/Specio-Library-Path-Tiny", "repository" : { "type" : "git", "url" : "git://github.com/houseabsolute/Specio-Library-Path-Tiny.git", "web" : "https://github.com/houseabsolute/Specio-Library-Path-Tiny" } }, "version" : "0.05", "x_Dist_Zilla" : { "perl" : { "version" : "5.032001" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::DROLSKY::BundleAuthordep", "name" : "@DROLSKY/DROLSKY::BundleAuthordep", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "config" : { "Dist::Zilla::Plugin::GatherDir" : { "exclude_filename" : [ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "LICENSE", "Makefile.PL", "README.md", "cpanfile" ], "exclude_match" : [], "follow_symlinks" : 0, "include_dotfiles" : 0, "prefix" : "", "prune_directory" : [], "root" : "." }, "Dist::Zilla::Plugin::Git::GatherDir" : { "include_untracked" : 0 } }, "name" : "@DROLSKY/Git::GatherDir", "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@DROLSKY/ManifestSkip", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@DROLSKY/License", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@DROLSKY/ExecDir", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@DROLSKY/ShareDir", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@DROLSKY/Manifest", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::CheckVersionIncrement", "name" : "@DROLSKY/CheckVersionIncrement", "version" : "0.121750" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@DROLSKY/TestRelease", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@DROLSKY/ConfirmRelease", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@DROLSKY/UploadToCPAN", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::VersionFromMainModule", "config" : { "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000037", "version" : "0.006" } }, "name" : "@DROLSKY/VersionFromMainModule", "version" : "0.04" }, { "class" : "Dist::Zilla::Plugin::Authority", "name" : "@DROLSKY/Authority", "version" : "1.009" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@DROLSKY/AutoPrereqs", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", "name" : "@DROLSKY/CopyFilesFromBuild", "version" : "0.170880" }, { "class" : "Dist::Zilla::Plugin::GitHub::Meta", "name" : "@DROLSKY/GitHub::Meta", "version" : "0.48" }, { "class" : "Dist::Zilla::Plugin::GitHub::Update", "config" : { "Dist::Zilla::Plugin::GitHub::Update" : { "metacpan" : 1 } }, "name" : "@DROLSKY/GitHub::Update", "version" : "0.48" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@DROLSKY/MetaResources", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", "config" : { "Dist::Zilla::Plugin::MetaProvides::Package" : { "finder_objects" : [ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM", "version" : "6.025" } ], "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", "inherit_missing" : 1, "inherit_version" : 1, "meta_noindex" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000037", "version" : "0.006" } }, "name" : "@DROLSKY/MetaProvides::Package", "version" : "2.004003" }, { "class" : "Dist::Zilla::Plugin::Meta::Contributors", "name" : "@DROLSKY/Meta::Contributors", "version" : "0.003" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@DROLSKY/MetaConfig", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@DROLSKY/MetaJSON", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@DROLSKY/MetaYAML", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@DROLSKY/NextRelease", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "test", "type" : "requires" } }, "name" : "@DROLSKY/Test::More with subtest", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", "type" : "requires" } }, "name" : "@DROLSKY/Tools for use with precious", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", "type" : "requires" } }, "name" : "@DROLSKY/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", "config" : { "Dist::Zilla::Plugin::PromptIfStale" : { "check_all_plugins" : 0, "check_all_prereqs" : 0, "modules" : [ "Dist::Zilla::PluginBundle::DROLSKY" ], "phase" : "build", "run_under_travis" : 0, "skip" : [] } }, "name" : "@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY", "version" : "0.057" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", "config" : { "Dist::Zilla::Plugin::PromptIfStale" : { "check_all_plugins" : 1, "check_all_prereqs" : 1, "modules" : [], "phase" : "release", "run_under_travis" : 0, "skip" : [ "Dist::Zilla::Plugin::DROLSKY::BundleAuthordep", "Dist::Zilla::Plugin::DROLSKY::Contributors", "Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch", "Dist::Zilla::Plugin::DROLSKY::License", "Dist::Zilla::Plugin::DROLSKY::MakeMaker", "Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles", "Dist::Zilla::Plugin::DROLSKY::Precious", "Dist::Zilla::Plugin::DROLSKY::Test::Precious", "Dist::Zilla::Plugin::DROLSKY::WeaverConfig", "Pod::Weaver::PluginBundle::DROLSKY" ] } }, "name" : "@DROLSKY/PromptIfStale", "version" : "0.057" }, { "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable", "name" : "@DROLSKY/Test::Pod::Coverage::Configurable", "version" : "0.07" }, { "class" : "Dist::Zilla::Plugin::Test::PodSpelling", "config" : { "Dist::Zilla::Plugin::Test::PodSpelling" : { "directories" : [ "bin", "lib" ], "spell_cmd" : "", "stopwords" : [ "AbsDir", "AbsFile", "AbsPath", "DROLSKY", "DROLSKY's", "PayPal", "RealDir", "RealFile", "RealPath", "Rolsky", "Rolsky's", "drolsky" ], "wordlist" : "Pod::Wordlist" } }, "name" : "@DROLSKY/Test::PodSpelling", "version" : "2.007005" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@DROLSKY/PodSyntaxTests", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::MojibakeTests", "name" : "@DROLSKY/MojibakeTests", "version" : "0.8" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", "config" : { "Dist::Zilla::Role::TestRunner" : { "default_jobs" : "8" } }, "name" : "@DROLSKY/RunExtraTests", "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", "config" : { "Dist::Zilla::Plugin::Test::CPAN::Changes" : { "changelog" : "Changes" } }, "name" : "@DROLSKY/Test::CPAN::Changes", "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON", "name" : "@DROLSKY/Test::CPAN::Meta::JSON", "version" : "0.004" }, { "class" : "Dist::Zilla::Plugin::Test::EOL", "config" : { "Dist::Zilla::Plugin::Test::EOL" : { "filename" : "xt/author/eol.t", "finder" : [ ":ExecFiles", ":InstallModules", ":TestFiles" ], "trailing_whitespace" : 1 } }, "name" : "@DROLSKY/Test::EOL", "version" : "0.19" }, { "class" : "Dist::Zilla::Plugin::Test::NoTabs", "config" : { "Dist::Zilla::Plugin::Test::NoTabs" : { "filename" : "xt/author/no-tabs.t", "finder" : [ ":InstallModules", ":ExecFiles", ":TestFiles" ] } }, "name" : "@DROLSKY/Test::NoTabs", "version" : "0.15" }, { "class" : "Dist::Zilla::Plugin::Test::Portability", "config" : { "Dist::Zilla::Plugin::Test::Portability" : { "options" : "" } }, "name" : "@DROLSKY/Test::Portability", "version" : "2.001000" }, { "class" : "Dist::Zilla::Plugin::Test::Compile", "config" : { "Dist::Zilla::Plugin::Test::Compile" : { "bail_out_on_fail" : 0, "fail_on_warning" : "author", "fake_home" : 0, "filename" : "xt/author/00-compile.t", "module_finder" : [ ":InstallModules" ], "needs_display" : 0, "phase" : "develop", "script_finder" : [ ":PerlExecFiles" ], "skips" : [], "switch" : [] } }, "name" : "@DROLSKY/Test::Compile", "version" : "2.058" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@DROLSKY/Test::ReportPrereqs", "version" : "0.028" }, { "class" : "Dist::Zilla::Plugin::Test::Version", "name" : "@DROLSKY/Test::Version", "version" : "1.09" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::Test::Precious", "name" : "@DROLSKY/DROLSKY::Test::Precious", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::Contributors", "name" : "@DROLSKY/DROLSKY::Contributors", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { "git_version" : "2.36.1", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", "paths" : [] } }, "name" : "@DROLSKY/Git::Contributors", "version" : "0.036" }, { "class" : "Dist::Zilla::Plugin::SurgicalPodWeaver", "config" : { "Dist::Zilla::Plugin::PodWeaver" : { "config_plugins" : [ "@DROLSKY" ], "finder" : [ ":InstallModules", ":ExecFiles" ], "plugins" : [ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@DROLSKY/SingleEncoding", "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@DROLSKY/List", "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@DROLSKY/Verbatim", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/header", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Name", "name" : "@DROLSKY/Name", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@DROLSKY/Version", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/prelude", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "FUNCTIONS", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "TYPES", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@DROLSKY/Leftovers", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/postlude", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::GenerateSection", "name" : "@DROLSKY/generate SUPPORT", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::AllowOverride", "name" : "@DROLSKY/allow override SUPPORT", "version" : "0.05" }, { "class" : "Pod::Weaver::Section::GenerateSection", "name" : "@DROLSKY/generate SOURCE", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::GenerateSection", "name" : "@DROLSKY/generate DONATIONS", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "@DROLSKY/Authors", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Contributors", "name" : "@DROLSKY/Contributors", "version" : "0.009" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "@DROLSKY/Legal", "version" : "4.018" }, { "class" : "Pod::Weaver::Section::AllowOverride", "name" : "@DROLSKY/allow override Legal", "version" : "0.05" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/footer", "version" : "4.018" } ] } }, "name" : "@DROLSKY/SurgicalPodWeaver", "version" : "0.0023" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::WeaverConfig", "name" : "@DROLSKY/DROLSKY::WeaverConfig", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", "config" : { "Dist::Zilla::Role::FileWatcher" : { "version" : "0.006" } }, "name" : "@DROLSKY/README.md in build", "version" : "0.163250" }, { "class" : "Dist::Zilla::Plugin::GenerateFile::FromShareDir", "config" : { "Dist::Zilla::Plugin::GenerateFile::FromShareDir" : { "destination_filename" : "CONTRIBUTING.md", "dist" : "Dist-Zilla-PluginBundle-DROLSKY", "encoding" : "UTF-8", "has_xs" : 0, "location" : "build", "source_filename" : "CONTRIBUTING.md" }, "Dist::Zilla::Role::RepoFileInjector" : { "allow_overwrite" : 1, "repo_root" : ".", "version" : "0.009" } }, "name" : "@DROLSKY/Generate CONTRIBUTING.md", "version" : "0.015" }, { "class" : "Dist::Zilla::Plugin::GenerateFile::FromShareDir", "config" : { "Dist::Zilla::Plugin::GenerateFile::FromShareDir" : { "destination_filename" : "CODE_OF_CONDUCT.md", "dist" : "Dist-Zilla-PluginBundle-DROLSKY", "encoding" : "UTF-8", "has_xs" : 0, "location" : "build", "source_filename" : "CODE_OF_CONDUCT.md" }, "Dist::Zilla::Role::RepoFileInjector" : { "allow_overwrite" : 1, "repo_root" : ".", "version" : "0.009" } }, "name" : "@DROLSKY/Generate CODE_OF_CONDUCT.md", "version" : "0.015" }, { "class" : "Dist::Zilla::Plugin::InstallGuide", "config" : { "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000037", "version" : "0.006" } }, "name" : "@DROLSKY/InstallGuide", "version" : "1.200014" }, { "class" : "Dist::Zilla::Plugin::CPANFile", "name" : "@DROLSKY/CPANFile", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::License", "name" : "@DROLSKY/DROLSKY::License", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::CheckStrictVersion", "name" : "@DROLSKY/CheckStrictVersion", "version" : "0.001" }, { "class" : "Dist::Zilla::Plugin::CheckSelfDependency", "config" : { "Dist::Zilla::Plugin::CheckSelfDependency" : { "finder" : [ ":InstallModules" ] }, "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000037", "version" : "0.006" } }, "name" : "@DROLSKY/CheckSelfDependency", "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@DROLSKY/CheckPrereqsIndexed", "version" : "0.021" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch", "config" : { "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." } }, "name" : "@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::EnsureChangesHasContent", "name" : "@DROLSKY/EnsureChangesHasContent", "version" : "0.02" }, { "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", "config" : { "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." } }, "name" : "@DROLSKY/Git::CheckFor::MergeConflicts", "version" : "0.014" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles", "name" : "@DROLSKY/DROLSKY::PerlLinterConfigFiles", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::DevTools", "name" : "@DROLSKY/DROLSKY::DevTools", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::Precious", "name" : "@DROLSKY/DROLSKY::Precious", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "config" : { "Dist::Zilla::Plugin::Git::Check" : { "untracked_files" : "die" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "Changes", "LICENSE", "Makefile.PL", "README.md", "cpanfile", "precious.toml" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." } }, "name" : "@DROLSKY/Git::Check", "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], "commit_msg" : "v%V%n%n%c", "signoff" : 0 }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "Changes", "LICENSE", "Makefile.PL", "README.md", "cpanfile", "precious.toml" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { "time_zone" : "local" } }, "name" : "@DROLSKY/Commit generated files", "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, "changelog" : "Changes", "signed" : 0, "tag" : "v0.05", "tag_format" : "v%V", "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { "time_zone" : "local" } }, "name" : "@DROLSKY/Git::Tag", "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "config" : { "Dist::Zilla::Plugin::Git::Push" : { "push_to" : [ "origin" ], "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." } }, "name" : "@DROLSKY/Git::Push", "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease", "config" : { "Dist::Zilla::Plugin::BumpVersionAfterRelease" : { "finders" : [ ":ExecFiles", ":InstallModules" ], "global" : 0, "munge_makefile_pl" : 1 } }, "name" : "@DROLSKY/BumpVersionAfterRelease", "version" : "0.018" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], "commit_msg" : "Bump version after release", "signoff" : 0 }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ "Changes", "dist.ini" ], "allow_dirty_match" : [ "(?^:.+)" ], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { "time_zone" : "local" } }, "name" : "@DROLSKY/Commit version bump", "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "config" : { "Dist::Zilla::Plugin::Git::Push" : { "push_to" : [ "origin" ], "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { "git_version" : "2.36.1", "repo_root" : "." } }, "name" : "@DROLSKY/Push version bump", "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::MakeMaker", "config" : { "Dist::Zilla::Plugin::MakeMaker" : { "make_path" : "make", "version" : "6.025" }, "Dist::Zilla::Plugin::MakeMaker::Awesome" : { "version" : "0.49" }, "Dist::Zilla::Role::TestRunner" : { "default_jobs" : "8", "version" : "6.025" } }, "name" : "@DROLSKY/DROLSKY::MakeMaker", "version" : "1.20" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", "version" : "6.025" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM", "version" : "6.025" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { "is_trial" : 0 }, "version" : "6.025" } }, "x_authority" : "cpan:DROLSKY", "x_contributors" : [ "Paulo Custodio " ], "x_generated_by_perl" : "v5.32.1", "x_serialization_backend" : "Cpanel::JSON::XS version 4.26", "x_spdx_expression" : "Apache-2.0" }