Dist-Zilla-Plugin-TrialVersionComment

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

        "Moose" => 0,
        "PPI::Document" => 0,
        "namespace::autoclean" => 0,
        "perl" => "5.009005",
        "strict" => 0,
        "warnings" => 0
      },
      "test_requires" => {
        "File::Spec" => 0,
        "Module::Metadata" => 0,
        "PadWalker" => 0,
        "Path::Tiny" => 0,
        "Test::DZil" => 0,
        "Test::Deep" => 0,
        "Test::Fatal" => 0,
        "Test::More" => "0.88",
        "Test::Needs" => 0,
        "if" => 0,
        "perl" => "5.009005"
      }
    );


    my %fallback_build_requires = (
      "File::Spec" => 0,
      "Module::Metadata" => 0,
      "PadWalker" => 0,
      "Path::Tiny" => 0,
      "Test::DZil" => 0,
      "Test::Deep" => 0,
      "Test::Fatal" => 0,
      "Test::More" => "0.88",
      "Test::Needs" => 0,
      "if" => 0,
      "perl" => "5.009005"
    );

META.json  view on Meta::CPAN

            "warnings" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "File::Spec" : "0",
            "Module::Metadata" : "0",
            "PadWalker" : "0",
            "Path::Tiny" : "0",
            "Test::DZil" : "0",
            "Test::Deep" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0.88",
            "Test::Needs" : "0",
            "if" : "0",
            "perl" : "5.009005"
         }
      }

META.yml  view on Meta::CPAN

---
abstract: 'Add a "# TRIAL" comment after your version declaration in trial releases'
author:
  - 'Karen Etheridge <ether@cpan.org>'
build_requires:
  File::Spec: '0'
  Module::Metadata: '0'
  PadWalker: '0'
  Path::Tiny: '0'
  Test::DZil: '0'
  Test::Deep: '0'
  Test::Fatal: '0'
  Test::More: '0.88'
  Test::Needs: '0'
  if: '0'
  perl: '5.009005'
configure_requires:
  Module::Build::Tiny: '0.034'

Makefile.PL  view on Meta::CPAN

    "Module::Runtime" => 0,
    "Moose" => 0,
    "PPI::Document" => 0,
    "namespace::autoclean" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "Module::Metadata" => 0,
    "PadWalker" => 0,
    "Path::Tiny" => 0,
    "Test::DZil" => 0,
    "Test::Deep" => 0,
    "Test::Fatal" => 0,
    "Test::More" => "0.88",
    "Test::Needs" => 0,
    "if" => 0
  },
  "VERSION" => "0.007",
  "test" => {

Makefile.PL  view on Meta::CPAN

my %FallbackPrereqs = (
  "Dist::Zilla" => "4.300039",
  "Dist::Zilla::Role::FileFinderUser" => 0,
  "Dist::Zilla::Role::FileMunger" => 0,
  "Dist::Zilla::Role::PPI" => 0,
  "File::Spec" => 0,
  "Module::Metadata" => 0,
  "Module::Runtime" => 0,
  "Moose" => 0,
  "PPI::Document" => 0,
  "PadWalker" => 0,
  "Path::Tiny" => 0,
  "Test::DZil" => 0,
  "Test::Deep" => 0,
  "Test::Fatal" => 0,
  "Test::More" => "0.88",
  "Test::Needs" => 0,
  "if" => 0,
  "namespace::autoclean" => 0,
  "strict" => 0,
  "warnings" => 0

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

                                      'warnings' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'File::Spec' => '0',
                                   'Module::Metadata' => '0',
                                   'PadWalker' => '0',
                                   'Path::Tiny' => '0',
                                   'Test::DZil' => '0',
                                   'Test::Deep' => '0',
                                   'Test::Fatal' => '0',
                                   'Test::More' => '0.88',
                                   'Test::Needs' => '0',
                                   'if' => '0',
                                   'perl' => '5.009005'
                                 }
                 }

t/12-rewriteversion.t  view on Meta::CPAN

            ),
            path(qw(source lib Foo.pm)) => $original_content,
        },
    },
);

my $assign_re =
    eval { Dist::Zilla::Plugin::BumpVersionAfterRelease::_Util->assign_re }
        ||
    do {
        require PadWalker;
        my ($bumpversion_closures) = PadWalker::closed_over(\&Dist::Zilla::Plugin::BumpVersionAfterRelease::rewrite_version);
        ${$bumpversion_closures->{'$assign_regex'}};
    };

like(
    $original_content,
    $assign_re,
    '$VERSION declaration is something that [BumpVersionAfterRelease] will recognize',
);

$tzil->chrome->logger->set_debug(1);



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