Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1025d74a36 | ||
|
|
4203effb6b | ||
|
|
c6276a8d78 | ||
|
|
6dfa5560a8 | ||
|
|
bca2f85fb3 | ||
|
|
5b364d31ac | ||
|
|
f9bc6aa56a | ||
|
|
65e4bbf7c8 |
+2
-1
@@ -4,7 +4,8 @@ install:
|
||||
- cpanm -n Template
|
||||
script: HARNESS_IS_VERBOSE=1 prove -v -Ilib t
|
||||
perl:
|
||||
- "5.19"
|
||||
- "5.21"
|
||||
- "5.20"
|
||||
- "5.18"
|
||||
- "5.16"
|
||||
- "5.14"
|
||||
|
||||
@@ -2,6 +2,12 @@ Revision history for Mojolicious::Plugin::TtRenderer
|
||||
|
||||
{{$NEXT}}
|
||||
|
||||
1.54 2014-12-20 10:17:47 -0500
|
||||
- cpantesters: do not report on older perls
|
||||
|
||||
1.53 2014-05-31 06:22:47 -0400
|
||||
- Mojolicious 5.0 support
|
||||
|
||||
1.52 2014-05-08 19:26:47 -0400
|
||||
- updated repository name
|
||||
|
||||
|
||||
@@ -5,30 +5,17 @@ license = Perl_5
|
||||
copyright_holder = Ask Bjørn Hansen
|
||||
# copyright_year = 2009
|
||||
|
||||
version = 1.52
|
||||
version = 1.54
|
||||
|
||||
[@Author::Plicease]
|
||||
release_tests = 1
|
||||
travis_status = 1
|
||||
installer = ModuleBuild
|
||||
|
||||
[Prereqs]
|
||||
Mojolicious = 3.33
|
||||
Template = 2.18
|
||||
|
||||
[Prereqs / TestRequires ]
|
||||
Test::More = 0
|
||||
|
||||
[MetaResources]
|
||||
bugtracker.web = https://github.com/plicease/Mojolicious-Plugin-TtRenderer/issues
|
||||
repository.web = https://github.com/plicease/Mojolicious-Plugin-TtRenderer
|
||||
repository.url = git://github.com/plicease/Mojolicious-Plugin-TtRenderer.git
|
||||
repository.type = git
|
||||
|
||||
[CheckChangeLog]
|
||||
[Test::Compile]
|
||||
[HasVersionTests]
|
||||
[MetaTests]
|
||||
|
||||
[Author::Plicease::Thanks]
|
||||
current = Graham Ollis <plicease@cpan.org>
|
||||
original = Ask Bjørn Hansen
|
||||
@@ -59,13 +46,23 @@ directory = example
|
||||
; comes with Perl
|
||||
remove = warnings
|
||||
remove = strict
|
||||
remove = lib
|
||||
remove = utf8
|
||||
remove = base
|
||||
remove = Carp
|
||||
remove = Cwd
|
||||
remove = File::Spec
|
||||
remove = Scalar::Util
|
||||
remove = File::Temp
|
||||
remove = FindBin
|
||||
remove = IO::Handle
|
||||
|
||||
; comes with Mojolicious
|
||||
remove = Mojo::Base
|
||||
remove = Mojo::ByteStream
|
||||
remove = Mojolicious::Plugin
|
||||
remove = Mojo::IOLoop
|
||||
remove = Mojolicious::Lite
|
||||
remove = Test::Mojo
|
||||
|
||||
[Author::Plicease::InstallerPerlVersion]
|
||||
|
||||
+6
-4
@@ -11,10 +11,12 @@ BEGIN {
|
||||
} || die $@;
|
||||
do {
|
||||
my $fh;
|
||||
open($fh, '<', File::Spec->catfile($FindBin::Bin, '00_diag.pre.txt'));
|
||||
@modules = <$fh>;
|
||||
close $fh;
|
||||
chomp @modules;
|
||||
if(open($fh, '<', File::Spec->catfile($FindBin::Bin, '00_diag.pre.txt')))
|
||||
{
|
||||
@modules = <$fh>;
|
||||
close $fh;
|
||||
chomp @modules;
|
||||
}
|
||||
};
|
||||
eval qq{ require $_ } for @modules;
|
||||
};
|
||||
|
||||
+1
-10
@@ -1,16 +1,7 @@
|
||||
EV
|
||||
ExtUtils::MakeMaker
|
||||
File::Temp
|
||||
FindBin
|
||||
IO::Handle
|
||||
IPC::Open3
|
||||
Mojo::IOLoop
|
||||
Module::Build
|
||||
Mojolicious
|
||||
Mojolicious::Lite
|
||||
POSIX
|
||||
Template
|
||||
Template::Provider
|
||||
Test::Mojo
|
||||
Test::More
|
||||
lib
|
||||
utf8
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#!perl -T
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
# Ensure a recent version of Test::Pod
|
||||
my $min_tp = 1.22;
|
||||
eval "use Test::Pod $min_tp";
|
||||
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
|
||||
|
||||
all_pod_files_ok();
|
||||
@@ -24,7 +24,7 @@ BEGIN { $ENV{MOJO_TMPDIR} ||= tempdir( CLEANUP => 1) }
|
||||
|
||||
# Make sure sockets are working
|
||||
plan skip_all => 'working sockets required for this test!'
|
||||
unless Mojo::IOLoop->new->generate_port;
|
||||
unless Mojo::IOLoop::Server->new->generate_port;
|
||||
plan tests => 6;
|
||||
|
||||
# Leela: OK, this has gotta stop. I'm going to remind Fry of his humanity the way only a woman can.
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ use warnings;
|
||||
use Test::More;
|
||||
BEGIN {
|
||||
plan skip_all => 'test requires Test::Fixme'
|
||||
unless eval q{ use Test::Fixme; 1 };
|
||||
unless eval q{ use Test::Fixme 0.14; 1 };
|
||||
};
|
||||
use Test::Fixme 0.07;
|
||||
use FindBin;
|
||||
@@ -14,5 +14,6 @@ chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
|
||||
run_tests(
|
||||
match => qr/FIXME/,
|
||||
where => [ grep { -e $_ } qw( bin lib t Makefile.PL )],
|
||||
warn => 1,
|
||||
);
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@ chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
|
||||
my @private_classes;
|
||||
my %private_methods;
|
||||
|
||||
push @{ $config->{pod_coverage}->{private} },
|
||||
'Alien::.*::Install::Files#Inline';
|
||||
|
||||
foreach my $private (@{ $config->{pod_coverage}->{private} })
|
||||
{
|
||||
my($class,$method) = split /#/, $private;
|
||||
|
||||
@@ -4,11 +4,23 @@ use Test::More;
|
||||
BEGIN {
|
||||
plan skip_all => 'test requires Test::Pod::Spelling::CommonMistakes'
|
||||
unless eval q{ use Test::Pod::Spelling::CommonMistakes; 1 };
|
||||
plan skip_all => 'test requires YAML'
|
||||
unless eval q{ use YAML qw( LoadFile ); 1 };
|
||||
};
|
||||
use Test::Pod::Spelling::CommonMistakes;
|
||||
use FindBin;
|
||||
use File::Spec;
|
||||
|
||||
my $config_filename = File::Spec->catfile(
|
||||
$FindBin::Bin, 'release.yml'
|
||||
);
|
||||
|
||||
my $config;
|
||||
$config = LoadFile($config_filename)
|
||||
if -r $config_filename;
|
||||
|
||||
plan skip_all => 'disabled' if $config->{pod_spelling_common}->{skip};
|
||||
|
||||
chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
|
||||
|
||||
# FIXME test files in bin too.
|
||||
|
||||
@@ -8,7 +8,7 @@ BEGIN { plan skip_all => 'test requires YAML' unless eval q{ use YAML; 1 } }
|
||||
my $dir = Path::Class::Dir->new(__FILE__)->parent->parent->parent;
|
||||
my $config = YAML::LoadFile($dir->file(qw( xt release release.yml )));
|
||||
|
||||
plan skip_all => 'disabled' if $config->{unused_vars}->{skip};
|
||||
plan skip_all => 'disabled' unless defined $config->{unused_vars}->{skip} && !$config->{unused_vars}->{skip};
|
||||
|
||||
my @modules;
|
||||
recurse($dir->subdir('lib'));
|
||||
|
||||
Reference in New Issue
Block a user