Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial commit

  • Loading branch information...
commit a00461e938ee93c881f71faca69dfb40321d994a 0 parents
@miyagawa authored
5 .gitignore
@@ -0,0 +1,5 @@
+META.yml
+Makefile
+inc/
+pm_to_blib
+*~
2  .shipit
@@ -0,0 +1,2 @@
+steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
+git.push_to = origin
4 Changes
@@ -0,0 +1,4 @@
+Revision history for Perl extension Task::Plack
+
+0.01 Tue Oct 13 02:05:10 2009
+ - original version
25 MANIFEST
@@ -0,0 +1,25 @@
+.gitignore
+Changes
+inc/Module/AutoInstall.pm
+inc/Module/Install.pm
+inc/Module/Install/AutoInstall.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Include.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/ReadmeFromPod.pm
+inc/Module/Install/Repository.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+lib/Task/Plack.pm
+Makefile.PL
+MANIFEST This list of files
+META.yml
+README
+t/00_compile.t
+xt/perlcritic.t
+xt/pod.t
+xt/podspell.t
+xt/synopsis.t
14 MANIFEST.SKIP
@@ -0,0 +1,14 @@
+\bRCS\b
+\bCVS\b
+\.svn/
+\.git/
+^MANIFEST\.
+^Makefile$
+~$
+\.old$
+^blib/
+^pm_to_blib
+^MakeMaker-\d
+\.gz$
+\.cvsignore
+\.shipit
29 Makefile.PL
@@ -0,0 +1,29 @@
+use inc::Module::Install;
+name 'Task-Plack';
+all_from 'lib/Task/Plack.pm';
+readme_from 'lib/Task/Plack.pm';
+
+requires 'PSGI';
+requires 'Plack';
+requires 'Plack::Request';
+requires 'CGI::PSGI';
+
+feature 'Extra Plack servers',
+ 'Plack::Server::ServerSimple',
+ 'Plack::Server::AnyEvent',
+ 'Plack::Server::ReverseHTTP',
+ 'Plack::Server::Coro';
+
+feature 'Catalyst engine for PSGI',
+ -default => has_module('Catalyst'),
+ 'Catalyst::Engine::PSGI';
+
+auto_install;
+auto_set_repository;
+WriteAll;
+
+sub has_module {
+ my $file = shift;
+ $file =~ s!::!/!g;
+ scalar grep -e "$_/$file.pm", @INC;
+}
16 README
@@ -0,0 +1,16 @@
+NAME
+ Task::Plack - Plack bundle
+
+SYNOPSIS
+ cpan> install Task::Plack;
+
+AUTHOR
+ Tatsuhiko Miyagawa <miyagawa@bulknews.net>
+
+LICENSE
+ This library is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
+SEE ALSO
+ <http://plackperl.org/>
+
35 lib/Task/Plack.pm
@@ -0,0 +1,35 @@
+package Task::Plack;
+
+use strict;
+use 5.008_001;
+our $VERSION = '0.01';
+
+1;
+__END__
+
+=encoding utf-8
+
+=for stopwords
+
+=head1 NAME
+
+Task::Plack - Plack bundle
+
+=head1 SYNOPSIS
+
+ cpan> install Task::Plack;
+
+=head1 AUTHOR
+
+Tatsuhiko Miyagawa E<lt>miyagawa@bulknews.netE<gt>
+
+=head1 LICENSE
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=head1 SEE ALSO
+
+L<http://plackperl.org/>
+
+=cut
4 t/00_compile.t
@@ -0,0 +1,4 @@
+use strict;
+use Test::More tests => 1;
+
+BEGIN { use_ok 'Task::Plack' }
5 xt/perlcritic.t
@@ -0,0 +1,5 @@
+use strict;
+use Test::More;
+eval q{ use Test::Perl::Critic };
+plan skip_all => "Test::Perl::Critic is not installed." if $@;
+all_critic_ok("lib");
4 xt/pod.t
@@ -0,0 +1,4 @@
+use Test::More;
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+all_pod_files_ok();
9 xt/podspell.t
@@ -0,0 +1,9 @@
+use Test::More;
+eval q{ use Test::Spelling };
+plan skip_all => "Test::Spelling is not installed." if $@;
+add_stopwords(<DATA>);
+set_spell_cmd("aspell -l en list");
+all_pod_files_spelling_ok('lib');
+__DATA__
+Tatsuhiko
+Miyagawa
4 xt/synopsis.t
@@ -0,0 +1,4 @@
+use Test::More;
+eval "use Test::Synopsis";
+plan skip_all => "Test::Synopsis required" if $@;
+all_synopsis_ok();
Please sign in to comment.
Something went wrong with that request. Please try again.