Dist-Zilla-App-Command-distversion

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

   "prereqs" : {
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Capture::Tiny" : "0",
            "Dist::Zilla" : "0",
            "Sort::Naturally" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "ExtUtils::MakeMaker" : "0",
            "File::Spec" : "0",
            "Test::More" : "0"

META.yml  view on Meta::CPAN

    - share
    - t
    - xt
provides:
  Dist::Zilla::App::Command::distversion:
    file: lib/Dist/Zilla/App/Command/distversion.pm
    version: '0.03'
requires:
  Capture::Tiny: '0'
  Dist::Zilla: '0'
  Sort::Naturally: '0'
resources:
  bugtracker: https://github.com/Altreus/Dist-Zilla-App-Command-distversion/issues
  homepage: https://github.com/Altreus/Dist-Zilla-App-Command-distversion
  repository: https://github.com/Altreus/Dist-Zilla-App-Command-distversion.git
version: '0.03'
x_Dist_Zilla:
  perl:
    version: '5.026000'
  plugins:
    -

Makefile.PL  view on Meta::CPAN

  "AUTHOR" => "Alastair McGowan-Douglas <altreus\@altre.us>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Dist-Zilla-App-Command-distversion",
  "LICENSE" => "bsd",
  "NAME" => "Dist::Zilla::App::Command::distversion",
  "PREREQ_PM" => {
    "Capture::Tiny" => 0,
    "Dist::Zilla" => 0,
    "Sort::Naturally" => 0
  },
  "TEST_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "Test::More" => 0
  },
  "VERSION" => "0.03",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "Capture::Tiny" => 0,
  "Dist::Zilla" => 0,
  "ExtUtils::MakeMaker" => 0,
  "File::Spec" => 0,
  "Sort::Naturally" => 0,
  "Test::More" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

cpanfile  view on Meta::CPAN

requires 'Dist::Zilla';
requires 'Capture::Tiny';
requires 'Sort::Naturally';

lib/Dist/Zilla/App/Command/distversion.pm  view on Meta::CPAN

package Dist::Zilla::App::Command::distversion;
use Capture::Tiny qw/capture capture_stdout/;
use Sort::Naturally qw/nsort/;

use strict;
use warnings;

our $VERSION = '0.03';

use Dist::Zilla::App -command;

sub abstract    { "Prints your dist version on the command line" }
sub description { "Asks dzil what version the dist is on, then prints that" }

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

do { my $x = {
       'configure' => {
                        'requires' => {
                                        'ExtUtils::MakeMaker' => '0'
                                      }
                      },
       'runtime' => {
                      'requires' => {
                                      'Capture::Tiny' => '0',
                                      'Dist::Zilla' => '0',
                                      'Sort::Naturally' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'ExtUtils::MakeMaker' => '0',
                                   'File::Spec' => '0',
                                   'Test::More' => '0'



( run in 4.852 seconds using v1.01-cache-2.11-cpan-e93a5daba3e )