Dist-Zilla-Plugin-DynamicPrereqs

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.014     2015-07-22 02:41:49Z
          - new '-condition' option, as sugar to provide expressions to be
            inserted into Makefile.PL (definitions of referenced subroutines
            are automatically included)

0.013     2015-05-30 19:16:03Z
          - require a new enough Module::CoreList in tests to ensure is_core()
            is available

0.012     2015-05-25 00:47:09Z
          - fix test failure with PadWalker on older perls

0.011     2015-05-23 18:27:08Z
          - warn whenever can_xs, can_cc, or can_run is used, until
            implementation concerns are resolved
          - add new sub has_module, as an alternative to can_use that does
            not load the module

0.010     2015-02-15 01:12:41Z (TRIAL RELEASE)
          - new -raw_from_file option, when content is too long to inline into
            dist.ini

META.json  view on Meta::CPAN

         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "Capture::Tiny" : "0",
            "Dist::Zilla::Plugin::MakeMaker" : "5.022",
            "ExtUtils::MakeMaker" : "6.64",
            "File::Spec" : "0",
            "File::pushd" : "0",
            "Module::CoreList" : "3.06",
            "PadWalker" : "0",
            "Test::DZil" : "0",
            "Test::Deep" : "0",
            "Test::Deep::JSON" : "0",
            "Test::Fatal" : "0",
            "Test::File::ShareDir" : "0",
            "Test::More" : "0.88",
            "Test::Needs" : "0",
            "if" : "0",
            "lib" : "0",
            "perl" : "5.010"

META.yml  view on Meta::CPAN

abstract: 'Specify dynamic (user-side) prerequisites for your distribution'
author:
  - 'Karen Etheridge <ether@cpan.org>'
build_requires:
  Capture::Tiny: '0'
  Dist::Zilla::Plugin::MakeMaker: '5.022'
  ExtUtils::MakeMaker: '6.64'
  File::Spec: '0'
  File::pushd: '0'
  Module::CoreList: '3.06'
  PadWalker: '0'
  Test::DZil: '0'
  Test::Deep: '0'
  Test::Deep::JSON: '0'
  Test::Fatal: '0'
  Test::File::ShareDir: '0'
  Test::More: '0.88'
  Test::Needs: '0'
  if: '0'
  lib: '0'
  perl: '5.010'

Makefile.PL  view on Meta::CPAN

    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Capture::Tiny" => 0,
    "Dist::Zilla::Plugin::MakeMaker" => "5.022",
    "ExtUtils::MakeMaker" => "6.64",
    "File::Spec" => 0,
    "File::pushd" => 0,
    "Module::CoreList" => "3.06",
    "PadWalker" => 0,
    "Test::DZil" => 0,
    "Test::Deep" => 0,
    "Test::Deep::JSON" => 0,
    "Test::Fatal" => 0,
    "Test::File::ShareDir" => 0,
    "Test::More" => "0.88",
    "Test::Needs" => 0,
    "if" => 0,
    "lib" => 0
  },

Makefile.PL  view on Meta::CPAN

  "Dist::Zilla::Role::PrereqSource" => 0,
  "Dist::Zilla::Role::TextTemplate" => 0,
  "ExtUtils::MakeMaker" => "6.64",
  "File::ShareDir" => 0,
  "File::Spec" => 0,
  "File::pushd" => 0,
  "List::Util" => "1.45",
  "Module::CoreList" => "3.06",
  "Module::Runtime" => 0,
  "Moose" => 0,
  "PadWalker" => 0,
  "Path::Tiny" => 0,
  "Term::ANSIColor" => "3.00",
  "Test::DZil" => 0,
  "Test::Deep" => 0,
  "Test::Deep::JSON" => 0,
  "Test::Fatal" => 0,
  "Test::File::ShareDir" => 0,
  "Test::More" => "0.88",
  "Test::Needs" => 0,
  "Try::Tiny" => 0,

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

                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'Capture::Tiny' => '0',
                                   'Dist::Zilla::Plugin::MakeMaker' => '5.022',
                                   'ExtUtils::MakeMaker' => '6.64',
                                   'File::Spec' => '0',
                                   'File::pushd' => '0',
                                   'Module::CoreList' => '3.06',
                                   'PadWalker' => '0',
                                   'Test::DZil' => '0',
                                   'Test::Deep' => '0',
                                   'Test::Deep::JSON' => '0',
                                   'Test::Fatal' => '0',
                                   'Test::File::ShareDir' => '0',
                                   'Test::More' => '0.88',
                                   'Test::Needs' => '0',
                                   'if' => '0',
                                   'lib' => '0',
                                   'perl' => '5.010'

t/11-include-sub.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
use Test::DZil;
use Test::Fatal;
use Path::Tiny;
use PadWalker 'closed_over';
use Test::Deep;
use Test::File::ShareDir ();

my $tzil = Builder->from_config(
    { dist_root => 'does-not-exist' },
    {
        add_files => {
            path(qw(source dist.ini)) => simple_ini(
                [ GatherDir => ],
                [ MakeMaker => ],

t/17-sub-prereqs-core.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
use PadWalker 'closed_over';
use Module::CoreList 3.06;  # for is_core
use Dist::Zilla::Plugin::DynamicPrereqs;

# test that all prereqs are dual-life - that is, we do not ever add a
# configure_requires on unreasonable things

my $latest_release = (reverse sort keys %Module::CoreList::released)[0];

my $sub_prereqs = closed_over(\&Dist::Zilla::Plugin::DynamicPrereqs::register_prereqs)->{'%sub_prereqs'};
foreach my $sub (keys %$sub_prereqs)

t/18-subs.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
use Path::Tiny;
use PadWalker 'closed_over';
use Module::Runtime qw(use_module module_notional_filename);
use ExtUtils::MakeMaker;
use Test::Deep;
use Dist::Zilla::Plugin::DynamicPrereqs;

use Test::File::ShareDir
    -share => { -module => { 'Dist::Zilla::Plugin::DynamicPrereqs' => 'share/DynamicPrereqs' } };

# since we change directories during the build process, this must be absolute
use lib path('t/lib')->absolute->stringify;

t/19-include-subs-requires.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
use Test::DZil;
use Test::Fatal;
use Path::Tiny;
use Test::Deep;
use PadWalker 'closed_over';
use Dist::Zilla::Plugin::DynamicPrereqs;

use Test::File::ShareDir
    -share => { -module => { 'Dist::Zilla::Plugin::DynamicPrereqs' => 'share/DynamicPrereqs' } };

use lib 't/lib';
use Helper;

my $included_subs = closed_over(\&Dist::Zilla::Plugin::DynamicPrereqs::_build__sub_definitions)->{'%included_subs'};

t/23-inlined-module.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
use Test::DZil;
use Test::Fatal;
use Path::Tiny;
use PadWalker 'closed_over';
use Test::Deep;
use Test::File::ShareDir ();

# since we change directories during the build process, this must be absolute
use lib path('t/lib')->absolute->stringify;

sub tzil {
    my $tzil = Builder->from_config(
        { dist_root => 'does-not-exist' },
        {



( run in 0.958 second using v1.01-cache-2.11-cpan-05444aca049 )