Acme-CPANAuthors-Nonhuman

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

# This Build.PL for Acme-CPANAuthors-Nonhuman was generated by
# Dist::Zilla::Plugin::ModuleBuildTiny::Fallback 0.025
use strict;
use warnings;

my %configure_requires = (
    'Module::Build::Tiny' => '0.034',
);

my %errors = map {
    eval "require $_; $_->VERSION($configure_requires{$_}); 1";
    $_ => $@,
} keys %configure_requires;

if (!grep { $_ } values %errors)
{
    # This section for Acme-CPANAuthors-Nonhuman was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.015.
    use strict;
    use warnings;

    use 5.008;

Build.PL  view on Meta::CPAN

      "Module::Metadata" => 0,
      "Module::Pluggable" => 0,
      "Module::Runtime" => 0,
      "Test::Deep" => 0,
      "Test::More" => "0.88",
      "if" => 0,
      "perl" => "5.008"
    );


    unless ( eval { Module::Build->VERSION(0.4004) } ) {
      delete $module_build_args{test_requires};
      $module_build_args{build_requires} = \%fallback_build_requires;
    }

    my $build = Module::Build->new(%module_build_args);


    $build->create_build_script;
}

META.json  view on Meta::CPAN

                  "version" : "0.046"
               }
            },
            "name" : "@Author::ETHER/.ackrc",
            "version" : "0.046"
         },
         {
            "class" : "Dist::Zilla::Plugin::Run::AfterBuild",
            "config" : {
               "Dist::Zilla::Plugin::Run::Role::Runner" : {
                  "eval" : [
                     "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
                  ],
                  "fatal_errors" : 0,
                  "quiet" : 1,
                  "version" : "0.046"
               }
            },
            "name" : "@Author::ETHER/.latest",
            "version" : "0.046"
         },

META.json  view on Meta::CPAN

                  "version" : "0.046"
               }
            },
            "name" : "@Author::ETHER/install release",
            "version" : "0.046"
         },
         {
            "class" : "Dist::Zilla::Plugin::Run::AfterRelease",
            "config" : {
               "Dist::Zilla::Plugin::Run::Role::Runner" : {
                  "eval" : [
                     "print \"release complete!\\xa\""
                  ],
                  "fatal_errors" : 1,
                  "quiet" : 1,
                  "version" : "0.046"
               }
            },
            "name" : "@Author::ETHER/release complete",
            "version" : "0.046"
         },

META.yml  view on Meta::CPAN

          quiet: 1
          run:
            - "bash -c \"test -e .ackrc && grep -q -- '--ignore-dir=.latest' .ackrc || echo '--ignore-dir=.latest' >> .ackrc; if [[ `dirname '%d'` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> ....
          version: '0.046'
      name: '@Author::ETHER/.ackrc'
      version: '0.046'
    -
      class: Dist::Zilla::Plugin::Run::AfterBuild
      config:
        Dist::Zilla::Plugin::Run::Role::Runner:
          eval:
            - "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
          fatal_errors: 0
          quiet: 1
          version: '0.046'
      name: '@Author::ETHER/.latest'
      version: '0.046'
    -
      class: Dist::Zilla::Plugin::CheckStrictVersion
      name: '@Author::ETHER/CheckStrictVersion'
      version: '0.001'

META.yml  view on Meta::CPAN

          quiet: 0
          run:
            - REDACTED
          version: '0.046'
      name: '@Author::ETHER/install release'
      version: '0.046'
    -
      class: Dist::Zilla::Plugin::Run::AfterRelease
      config:
        Dist::Zilla::Plugin::Run::Role::Runner:
          eval:
            - 'print "release complete!\xa"'
          fatal_errors: 1
          quiet: 1
          version: '0.046'
      name: '@Author::ETHER/release complete'
      version: '0.046'
    -
      class: Dist::Zilla::Plugin::ConfirmRelease
      name: '@Author::ETHER/ConfirmRelease'
      version: '6.010'

Makefile.PL  view on Meta::CPAN


use 5.008;
use ExtUtils::MakeMaker;

BEGIN {
my %configure_requires = (
    'Module::Build::Tiny' => '0.034',
);

my @missing = grep {
    ! eval "require $_; $_->VERSION($configure_requires{$_}); 1"
} keys %configure_requires;

if (@missing)
{
    if (not $ENV{PERL_MM_FALLBACK_SILENCE_WARNING})
    {
        warn <<'EOW';
*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***

If you're seeing this warning, your toolchain is really, really old* and you'll

Makefile.PL  view on Meta::CPAN

  "Module::Runtime" => 0,
  "Test::Deep" => 0,
  "Test::More" => "0.88",
  "base" => "2.18",
  "if" => 0,
  "strict" => 0,
  "utf8" => 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);

t/00-report-prereqs.t  view on Meta::CPAN

            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;
}

t/00-report-prereqs.t  view on Meta::CPAN

# 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;

t/02-siblings.t  view on Meta::CPAN


    ::diag 'all installed modules in the Acme::CPANAuthors namespace:'
        . "\n"
        . join("\n", map {
            $_ . ' '
            . do {
                # this is intentionally set up as a failable test, so I see
                # reports that indicate what the bad module(s) are -- e.g.
                # http://www.cpantesters.org/cpan/report/e7d622fc-2527-11e3-b8b2-96b61dda783b
                my $version;
                if (not eval { $version = use_module($_)->VERSION; 1 })
                {
                    my $error = "Could not load $_: $@";
                    $version = eval { $_->VERSION };
                    if ($_ eq 'Acme::CPANAuthors::You::re_using' and (not $version or $version < '0.08')) {
                        ::diag($error);
                    }
                    else {
                        ::fail($_);
                    }
                    $version = 'unknown' if not defined $version;
                }
                defined $version ? $version : 'undef';
            }

xt/author/00-compile.t  view on Meta::CPAN

            $^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;
    }
}



xt/author/portability.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More;

eval 'use Test::Portability::Files';
plan skip_all => 'Test::Portability::Files required for testing portability'
    if $@;

run_tests();

xt/release/minimum-version.t  view on Meta::CPAN

#!perl

use Test::More;

eval "use Test::MinimumVersion";
plan skip_all => "Test::MinimumVersion required for testing minimum versions"
  if $@;
all_minimum_version_ok( qq{5.008} );



( run in 0.718 second using v1.01-cache-2.11-cpan-ceb78f64989 )