From 6c4c80f08532fc4a7b897b62f7035d35788f3985 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 17 Apr 2010 12:38:20 +0200 Subject: initial commit --- .gitignore | 11 +++++++++++ .shipit | 6 ++++++ Changes | 4 ++++ Makefile.PL | 16 ++++++++++++++++ README | 17 +++++++++++++++++ lib/Dancer/Logger/PSGI.pm | 33 +++++++++++++++++++++++++++++++++ t/00_compile.t | 4 ++++ xt/01_podspell.t | 10 ++++++++++ xt/02_perlcritic.t | 8 ++++++++ xt/03_pod.t | 4 ++++ xt/perlcriticrc | 2 ++ 11 files changed, 115 insertions(+) create mode 100644 .gitignore create mode 100644 .shipit create mode 100644 Changes create mode 100644 Makefile.PL create mode 100644 README create mode 100644 lib/Dancer/Logger/PSGI.pm create mode 100644 t/00_compile.t create mode 100644 xt/01_podspell.t create mode 100644 xt/02_perlcritic.t create mode 100644 xt/03_pod.t create mode 100644 xt/perlcriticrc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c38068c --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +cover_db +META.yml +Makefile +blib +inc +pm_to_blib +MANIFEST +Makefile.old +nytprof.out +MANIFEST.bak +*.sw[po] diff --git a/.shipit b/.shipit new file mode 100644 index 0000000..e28b215 --- /dev/null +++ b/.shipit @@ -0,0 +1,6 @@ +steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist +git.tagpattern = release-%v +git.push_to = release + +CheckChangeLog.files = Changes +MakeDist.destination = ~/code/distribs/ diff --git a/Changes b/Changes new file mode 100644 index 0000000..bab3457 --- /dev/null +++ b/Changes @@ -0,0 +1,4 @@ +Revision history for Perl extension Dancer::Logger::PSGI + +0.01 Sat Apr 17 12:38:16 2010 + - original version diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..57f0134 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,16 @@ +use inc::Module::Install; +name 'Dancer-Logger-PSGI'; +all_from 'lib/Dancer/Logger/PSGI.pm'; +readme_from 'lib/Dancer/Logger/PSGI.pm'; + +# requires ''; + +tests 't/*.t'; + +build_requires 'Test::More'; +use_test_base; +auto_include; +#auto_include_deps; +author_tests 'xt'; +auto_set_repository; +WriteAll; diff --git a/README b/README new file mode 100644 index 0000000..04e3ba5 --- /dev/null +++ b/README @@ -0,0 +1,17 @@ +NAME + Dancer::Logger::PSGI - + +SYNOPSIS + use Dancer::Logger::PSGI; + +DESCRIPTION + Dancer::Logger::PSGI is + +AUTHOR + franck cuny + +SEE ALSO +LICENSE + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + diff --git a/lib/Dancer/Logger/PSGI.pm b/lib/Dancer/Logger/PSGI.pm new file mode 100644 index 0000000..f6e6dd4 --- /dev/null +++ b/lib/Dancer/Logger/PSGI.pm @@ -0,0 +1,33 @@ +package Dancer::Logger::PSGI; + +use strict; +use warnings; +our $VERSION = '0.01'; + +1; +__END__ + +=head1 NAME + +Dancer::Logger::PSGI - + +=head1 SYNOPSIS + + use Dancer::Logger::PSGI; + +=head1 DESCRIPTION + +Dancer::Logger::PSGI is + +=head1 AUTHOR + +franck cuny Efranck@lumberjaph.netE + +=head1 SEE ALSO + +=head1 LICENSE + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut diff --git a/t/00_compile.t b/t/00_compile.t new file mode 100644 index 0000000..0ef3ef3 --- /dev/null +++ b/t/00_compile.t @@ -0,0 +1,4 @@ +use strict; +use Test::More tests => 1; + +BEGIN { use_ok 'Dancer::Logger::PSGI' } diff --git a/xt/01_podspell.t b/xt/01_podspell.t new file mode 100644 index 0000000..6643c80 --- /dev/null +++ b/xt/01_podspell.t @@ -0,0 +1,10 @@ +use Test::More; +eval q{ use Test::Spelling }; +plan skip_all => "Test::Spelling is not installed." if $@; +add_stopwords(map { split /[\s\:\-]/ } ); +$ENV{LANG} = 'C'; +all_pod_files_spelling_ok('lib'); +__DATA__ +franck cuny +franck@lumberjaph.net +Dancer::Logger::PSGI diff --git a/xt/02_perlcritic.t b/xt/02_perlcritic.t new file mode 100644 index 0000000..b977df8 --- /dev/null +++ b/xt/02_perlcritic.t @@ -0,0 +1,8 @@ +use strict; +use Test::More; +eval { + require Test::Perl::Critic; + Test::Perl::Critic->import( -profile => 'xt/perlcriticrc'); +}; +plan skip_all => "Test::Perl::Critic is not installed." if $@; +all_critic_ok('lib'); diff --git a/xt/03_pod.t b/xt/03_pod.t new file mode 100644 index 0000000..437887a --- /dev/null +++ b/xt/03_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(); diff --git a/xt/perlcriticrc b/xt/perlcriticrc new file mode 100644 index 0000000..fa96144 --- /dev/null +++ b/xt/perlcriticrc @@ -0,0 +1,2 @@ +[TestingAndDebugging::ProhibitNoStrict] +allow=refs -- cgit 1.4.1