App-Midgen

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  Module::CoreList: '3.1'
  Moo: '1.004005'
  PPI: '1.215'
  PPI::XS: '0.902'
  Perl::MinimumVersion: '1.37'
  Perl::PrereqScanner: '1.019'
  Pod::Usage: '1.63'
  Term::ANSIColor: '4.03'
  Tie::Static: '0.04'
  Time::Stamp: '1.3'
  Try::Tiny: '0.22'
  Type::Tiny: '0.042'
  constant: '1.27'
  perl: 5.8.1
  version: '0.9908'
resources:
  bugtracker: https://github.com/kevindawson/App-Midgen/issues
  homepage: https://github.com/kevindawson/App-Midgen
  license: http://dev.perl.org/licenses/
  repository: git://github.com/kevindawson/App-Midgen.git
version: '0.34'

Makefile.PL  view on Meta::CPAN

requires Module::CoreList     3.1
requires Moo                  1.004005
requires PPI                  1.215
requires PPI::XS              0.902 if can_xs
requires Perl::MinimumVersion 1.37
requires Perl::PrereqScanner  1.019
requires Pod::Usage           1.63
requires Term::ANSIColor      4.03
requires Tie::Static          0.04
requires Time::Stamp          1.3
requires Try::Tiny            0.22
requires Type::Tiny           0.042
requires constant             1.27
# requires lib                  0.63
requires version              0.9908

test_requires Test::CheckDeps 0.01
test_requires Test::More      1.001003
test_requires Test::Requires  0.07

recommends ExtUtils::MakeMaker   6.68

lib/App/Midgen.pm  view on Meta::CPAN

use English qw( -no_match_vars );    # Avoids reg-ex performance penalty
local $OUTPUT_AUTOFLUSH = 1;

use Cwd qw(getcwd);
use Data::Printer {caller_info => 1,};
use File::Find qw(find);
use File::Spec;
use Module::CoreList;
use PPI;
use Term::ANSIColor qw( :constants colored colorstrip );
use Try::Tiny;
use Tie::Static qw(static);
use version;

# stop rlib from Fing all over cwd
our $Working_Dir = getcwd();
our $Min_Version = 0;


#######
# run

lib/App/Midgen/Role/Eval.pm  view on Meta::CPAN

package App::Midgen::Role::Eval;

use constant {NONE => q{}, TWO => 2,};
use Moo::Role;
requires
	qw( ppi_document debug verbose format xtest _process_found_modules develop meta2 );

use Try::Tiny;
use Data::Printer {caller_info => 1,};
use List::MoreUtils qw(any firstidx);

# Load time and dependencies negate execution time
# use namespace::clean -except => 'meta';

our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

#######

lib/App/Midgen/Role/Experimental.pm  view on Meta::CPAN


our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

use constant {THREE => 3,};

use Types::Standard qw( Bool );
use Moo::Role;
#requires qw( debug );

use Try::Tiny;
use Data::Printer {caller_info => 1,};
use Term::ANSIColor qw( :constants colored colorstrip );
use List::MoreUtils qw(firstidx);


#######
# composed method degree of separation
# parent A::B - child A::B::C
#######
sub degree_separation {

lib/App/Midgen/Role/FindMinVersion.pm  view on Meta::CPAN

use constant { ONE => 1, TWO => 2, TRUE => 1, FALSE => 0,};

use Types::Standard qw( Bool );
use Moo::Role;
requires qw( ppi_document debug experimental verbose );

our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

use Perl::MinimumVersion;
use Try::Tiny;
use Term::ANSIColor qw( :constants colored colorstrip );
use version;
use Data::Printer {caller_info => 1,};

has 'mro_skip' => (
	is => 'rwp',
	isa => Bool,
	lazy => 1,
	default => sub { 0; },
);

lib/App/Midgen/Role/Heuristics.pm  view on Meta::CPAN


our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

use constant {TRUE => 1, FALSE => 0, ONE => 1, TWO => 2};

use Types::Standard qw( Bool );
use Moo::Role;
requires qw( debug meta2 format );

use Try::Tiny;
use Data::Printer {caller_info => 1,};
use Term::ANSIColor qw( :constants colored colorstrip );


#######
# correct incorrectly cast modules as RuntimeRecommends and re-cast as RuntimeRequires
# recast_to_runtimerequires
#######
sub recast_to_runtimerequires {
	my $self           = shift;

lib/App/Midgen/Role/Output.pm  view on Meta::CPAN


# Load time and dependencies negate execution time
# use namespace::clean -except => 'meta';

our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

use English qw( -no_match_vars );    # Avoids reg-ex performance penalty
local $OUTPUT_AUTOFLUSH = 1;

use Try::Tiny;


#######
# output_header
#######
sub output_header {
	my $self = shift;

	if ($self->format eq 'dsl') {
		$self->header_dsl($self->distribution_name,

lib/App/Midgen/Role/Output/Infile.pm  view on Meta::CPAN

	BLANK => q{ },
	NONE => q{},
	THREE => 3,
	EIGHT => 8,
	NINE => 9,
	TEN => 10
};

use Moo::Role;
requires qw( core dual_life debug );
use Try::Tiny;

# Load time and dependencies negate execution time
# use namespace::clean -except => 'meta';

our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

use English qw( -no_match_vars );
local $OUTPUT_AUTOFLUSH = 1;

lib/App/Midgen/Role/TestRequires.pm  view on Meta::CPAN

package App::Midgen::Role::TestRequires;

use constant {BLANK => q{ }, NONE => q{}, TWO => 2, THREE => 3,};

use Moo::Role;
requires
	qw( ppi_document develop debug verbose format xtest _process_found_modules meta2 );

use PPI;
use Try::Tiny;
use Data::Printer {caller_info => 1,};

# Load time and dependencies negate execution time
# use namespace::clean -except => 'meta';

our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic


#######

lib/App/Midgen/Role/UseModule.pm  view on Meta::CPAN


use Moo::Role;
requires
	qw( ppi_document debug verbose format xtest _process_found_modules develop meta2 );

our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

use PPI;
use Data::Printer {caller_info => 1,};
use Try::Tiny;
use Tie::Static qw(static);


#######
# composed method - _xtests_in_single_quote
#######
sub xtests_use_module {
	my $self = shift;
	my $phase_relationship = shift || NONE;

lib/App/Midgen/Role/UseOk.pm  view on Meta::CPAN

requires
	qw( ppi_document debug verbose format xtest _process_found_modules develop meta2 );

# Load time and dependencies negate execution time
# use namespace::clean -except => 'meta';

our $VERSION = '0.34';
$VERSION = eval $VERSION;    ## no critic

use PPI;
use Try::Tiny;
use Data::Printer {caller_info => 1,};
use Tie::Static qw(static);

#use List::MoreUtils qw( lastidx );

#######
# composed method - _xtests_in_single_quote
#######
sub xtests_use_ok {
	my $self = shift;

t/01-compile.t  view on Meta::CPAN

	use_ok('MetaCPAN::Client',     '1.003000');
	use_ok('Module::CoreList',     '3.1');
	use_ok('Moo',                  '1.004005');
	use_ok('PPI',                  '1.215');
	use_ok('Perl::MinimumVersion', '1.37');
	use_ok('Perl::PrereqScanner',  '1.019');
	use_ok('Pod::Usage',           '1.63');
	use_ok('Term::ANSIColor',      '4.03');
	use_ok('Tie::Static',          '0.04');
	use_ok('Time::Stamp',          '1.3');
	use_ok('Try::Tiny',            '0.22');
	use_ok('Type::Tiny',           '0.042');
	use_ok('constant',             '1.27');

#  use_ok('lib',                  '0.63');
	use_ok('version', '0.9908');

	use_ok('Test::CheckDeps', '0.01');
	use_ok('Test::More',      '1.001003');
	use_ok('Test::Requires',  '0.07');
}

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

	MetaCPAN::API
	Module::CoreList
	Moo
	PPI
	Perl::MinimumVersion
	Perl::PrereqScanner
	Pod::Usage
	Scalar::Util
	Term::ANSIColor
	Time::Stamp
	Try::Tiny
	constant
	version
	ExtUtils::MakeMaker
	List::Util
	Test::More
	Test::Requires
	CPAN::Changes
	CPAN::Meta
	Perl::Critic
	Test::CPAN::Changes



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