Any-Template-ProcessDir

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Pod" : "1.41"
         }
      },
      "runtime" : {
         "requires" : {
            "File::Find::Wanted" : "0",
            "File::Path" : "2.07",
            "File::Slurp" : "0",
            "File::Spec" : "3.0",
            "Moose" : "0.66",
            "Try::Tiny" : "0",
            "perl" : "5.006"
         }
      },
      "test" : {
         "requires" : {
            "File::Copy::Recursive" : "0",
            "Test::More" : "0",
            "perl" : "5.006"
         }
      }

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Any-Template-ProcessDir
requires:
  File::Find::Wanted: '0'
  File::Path: '2.07'
  File::Slurp: '0'
  File::Spec: '3.0'
  Moose: '0.66'
  Try::Tiny: '0'
  perl: '5.006'
resources:
  bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Any-Template-ProcessDir
  repository: git://github.com/jonswar/perl-any-template-processdir.git
version: '0.08'

Makefile.PL  view on Meta::CPAN

  "DISTNAME" => "Any-Template-ProcessDir",
  "EXE_FILES" => [],
  "LICENSE" => "perl",
  "NAME" => "Any::Template::ProcessDir",
  "PREREQ_PM" => {
    "File::Find::Wanted" => 0,
    "File::Path" => "2.07",
    "File::Slurp" => 0,
    "File::Spec" => "3.0",
    "Moose" => "0.66",
    "Try::Tiny" => 0
  },
  "TEST_REQUIRES" => {
    "File::Copy::Recursive" => 0,
    "Test::More" => 0
  },
  "VERSION" => "0.08",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "File::Copy::Recursive" => 0,
  "File::Find::Wanted" => 0,
  "File::Path" => "2.07",
  "File::Slurp" => 0,
  "File::Spec" => "3.0",
  "Moose" => "0.66",
  "Test::More" => 0,
  "Try::Tiny" => 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}

dist.ini  view on Meta::CPAN

[PodWeaverIfPod]
[PruneCruft]
[MinimumPerl]

[Prereqs / RuntimeRequires]
File::Find::Wanted = 0
File::Path = 2.07
File::Slurp = 0
File::Spec = 3.0
Moose = 0.66
Try::Tiny = 0

[Prereqs / TestRequires]
Test::More = 0
File::Copy::Recursive = 0

; These need to be at the bottom
[InstallGuide]

lib/Any/Template/ProcessDir.pm  view on Meta::CPAN

package Any::Template::ProcessDir;
use 5.006;
use File::Basename;
use File::Find::Wanted;
use File::Path qw(make_path remove_tree);
use File::Slurp qw(read_file write_file);
use File::Spec::Functions qw(catfile catdir);
use Moose;
use Moose::Util::TypeConstraints;
use Try::Tiny;
use strict;
use warnings;
our $VERSION = '0.08'; #VERSION

has 'dest_dir'             => ( is => 'ro' );
has 'dir'                  => ( is => 'ro' );
has 'dir_create_mode'      => ( is => 'ro', isa => 'Int', default => oct(775) );
has 'file_create_mode'     => ( is => 'ro', isa => 'Int', default => oct(444) );
has 'ignore_files'         => ( is => 'ro', isa => 'CodeRef', default => sub { sub { 0 } } );
has 'process_file'         => ( is => 'ro', isa => 'CodeRef', lazy_build => 1 );



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