From 0f348867e502f1b52b26dd2ccbce76f767aac177 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Fri, 28 Nov 2008 08:48:15 +0100 Subject: create repo skeleton using Module::Setup * module-setup --flavour domm PAUSE::OpenID --- .gitignore | 8 ++++++++ Build.PL | 22 ++++++++++++++++++++++ Changes | 4 ++++ MANIFEST.SKIP | 15 +++++++++++++++ README | 27 +++++++++++++++++++++++++++ lib/PAUSE/OpenID.pm | 34 ++++++++++++++++++++++++++++++++++ t/00-load.t | 4 ++++ xt/01_podspell.t | 10 ++++++++++ xt/02_perlcritic.t | 8 ++++++++ xt/03_pod.t | 4 ++++ xt/04_podcoverage.t | 8 ++++++++ xt/perlcriticrc | 2 ++ 12 files changed, 146 insertions(+) create mode 100644 .gitignore create mode 100644 Build.PL create mode 100644 Changes create mode 100644 MANIFEST.SKIP create mode 100644 README create mode 100644 lib/PAUSE/OpenID.pm create mode 100644 t/00-load.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/04_podcoverage.t create mode 100644 xt/perlcriticrc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfd20cf --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +cover_db +META.yml +Makefile +blib +inc +pm_to_blib +MANIFEST +Makefile.old diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..a7c1ff5 --- /dev/null +++ b/Build.PL @@ -0,0 +1,22 @@ +use strict; +use warnings; +use Module::Build; +use 5.010; + +my $builder = Module::Build->new( + module_name => 'PAUSE-OpenID', + license => 'perl', + dist_author => 'Thomas Klausner', + dist_version_from => 'lib/PAUSE/OpenID.pm', + build_requires => { + 'Test::More' => 0, + }, + requires => { + 'perl' => '5.010', + }, + add_to_cleanup => ['PAUSE-OpenID-*'], + create_makefile_pl => 'passthrough', + recursive_test_files => 1, +); + +$builder->create_build_script(); diff --git a/Changes b/Changes new file mode 100644 index 0000000..ef013e0 --- /dev/null +++ b/Changes @@ -0,0 +1,4 @@ +Revision history for Perl extension PAUSE::OpenID + +0.01 Fri Nov 28 08:46:45 2008 + - original version diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP new file mode 100644 index 0000000..7ace781 --- /dev/null +++ b/MANIFEST.SKIP @@ -0,0 +1,15 @@ +^MANIFEST\. +~$ +^# +\.old$ +^blib/ +^pm_to_blib +\.gz$ +^[^/]+\.yaml$ +^[^/]+\.pl$ +^\.shipit$ +\B.git$ +\bcover_db +\bBuild$ +\bBuild.bat$ +\b_build diff --git a/README b/README new file mode 100644 index 0000000..dbd919a --- /dev/null +++ b/README @@ -0,0 +1,27 @@ +This is Perl module PAUSE::OpenID. + +INSTALLATION + +PAUSE::OpenID installation is straightforward. If your CPAN shell is set up, +you should just be able to do + + % cpan PAUSE::OpenID + +Download it, unpack it, then build it as per the usual: + + % perl Build.PL + % make && make test + +Then install it: + + % sudo ./Build install + +DOCUMENTATION + +PAUSE::OpenID documentation is available as in POD. So you can do: + + % perldoc PAUSE::OpenID + +to read the documentation online with your favorite pager. + +Thomas Klausner diff --git a/lib/PAUSE/OpenID.pm b/lib/PAUSE/OpenID.pm new file mode 100644 index 0000000..59f4525 --- /dev/null +++ b/lib/PAUSE/OpenID.pm @@ -0,0 +1,34 @@ +package PAUSE::OpenID; + +use strict; +use warnings; +use 5.010; +use version; our $VERSION = version->new('0.01'); + +1; +__END__ + +=head1 NAME + +PAUSE::OpenID - + +=head1 SYNOPSIS + + use PAUSE::OpenID; + +=head1 DESCRIPTION + +PAUSE::OpenID is + +=head1 AUTHOR + +Thomas Klausner Edomm {at} cpan.orgE + +=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-load.t b/t/00-load.t new file mode 100644 index 0000000..60d7fca --- /dev/null +++ b/t/00-load.t @@ -0,0 +1,4 @@ +use strict; +use Test::More tests => 1; + +BEGIN { use_ok 'PAUSE::OpenID' } diff --git a/xt/01_podspell.t b/xt/01_podspell.t new file mode 100644 index 0000000..90c65fd --- /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__ +Thomas Klausner +domm {at} cpan.org +PAUSE::OpenID 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/04_podcoverage.t b/xt/04_podcoverage.t new file mode 100644 index 0000000..f8fd37a --- /dev/null +++ b/xt/04_podcoverage.t @@ -0,0 +1,8 @@ +use strict; +use warnings; +use Test::More; + +eval "use Test::Pod::Coverage 1.04"; +plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@; + +all_pod_coverage_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 v1.2.3