summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck.cuny@rtgi.fr>2009-03-11 15:01:31 +0100
committerfranck cuny <franck.cuny@rtgi.fr>2009-03-11 15:01:31 +0100
commite60bdcc0c5d9957ce79afdb0f61d9c9683dde262 (patch)
treed673093a797be08ce527173f8f4028d6d2e3058a
downloadkiokudb-backend-memcachedb-e60bdcc0c5d9957ce79afdb0f61d9c9683dde262.tar.gz
initial commit
-rw-r--r--.gitignore8
-rw-r--r--.shipit2
-rw-r--r--Changes4
-rw-r--r--MANIFEST.SKIP19
-rw-r--r--Makefile.PL13
-rw-r--r--README27
-rw-r--r--lib/KiokuDB/Backend/Memcachedb.pm33
-rw-r--r--t/00_compile.t4
-rw-r--r--xt/01_podspell.t10
-rw-r--r--xt/02_perlcritic.t8
-rw-r--r--xt/03_pod.t4
-rw-r--r--xt/perlcriticrc2
12 files changed, 134 insertions, 0 deletions
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/.shipit b/.shipit
new file mode 100644
index 0000000..5e40a54
--- /dev/null
+++ b/.shipit
@@ -0,0 +1,2 @@
+steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
+svk.tagpattern = release-%v
diff --git a/Changes b/Changes
new file mode 100644
index 0000000..87527be
--- /dev/null
+++ b/Changes
@@ -0,0 +1,4 @@
+Revision history for Perl extension KiokuDB::Backend::Memcachedb
+
+0.01    Wed Mar 11 15:01:23 2009
+        - original version
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
new file mode 100644
index 0000000..27a635e
--- /dev/null
+++ b/MANIFEST.SKIP
@@ -0,0 +1,19 @@
+\bRCS\b
+\bCVS\b
+^MANIFEST\.
+^Makefile$
+~$
+^#
+\.old$
+^blib/
+^pm_to_blib
+^MakeMaker-\d
+\.gz$
+\.cvsignore
+^t/9\d_.*\.t
+^t/perlcritic
+^tools/
+\.svn/
+^[^/]+\.yaml$
+^[^/]+\.pl$
+^\.shipit$
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..30e4ab5
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,13 @@
+use inc::Module::Install;
+name 'KiokuDB-Backend-Memcachedb';
+all_from 'lib/KiokuDB/Backend/Memcachedb.pm';
+
+# requires '';
+
+tests 't/*.t';
+author_tests 'xt';
+
+build_requires 'Test::More';
+use_test_base;
+auto_include;
+WriteAll;
diff --git a/README b/README
new file mode 100644
index 0000000..e943ab0
--- /dev/null
+++ b/README
@@ -0,0 +1,27 @@
+This is Perl module KiokuDB::Backend::Memcachedb.
+
+INSTALLATION
+
+KiokuDB::Backend::Memcachedb installation is straightforward. If your CPAN shell is set up,
+you should just be able to do
+
+    % cpan KiokuDB::Backend::Memcachedb
+
+Download it, unpack it, then build it as per the usual:
+
+    % perl Makefile.PL
+    % make && make test
+
+Then install it:
+
+    % make install
+
+DOCUMENTATION
+
+KiokuDB::Backend::Memcachedb documentation is available as in POD. So you can do:
+
+    % perldoc KiokuDB::Backend::Memcachedb
+
+to read the documentation online with your favorite pager.
+
+franck cuny
diff --git a/lib/KiokuDB/Backend/Memcachedb.pm b/lib/KiokuDB/Backend/Memcachedb.pm
new file mode 100644
index 0000000..d4f4aff
--- /dev/null
+++ b/lib/KiokuDB/Backend/Memcachedb.pm
@@ -0,0 +1,33 @@
+package KiokuDB::Backend::Memcachedb;
+
+use strict;
+use warnings;
+our $VERSION = '0.01';
+
+1;
+__END__
+
+=head1 NAME
+
+KiokuDB::Backend::Memcachedb -
+
+=head1 SYNOPSIS
+
+  use KiokuDB::Backend::Memcachedb;
+
+=head1 DESCRIPTION
+
+KiokuDB::Backend::Memcachedb is
+
+=head1 AUTHOR
+
+franck cuny E<lt>franck.cuny@rtgi.frE<gt>
+
+=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..69ee695
--- /dev/null
+++ b/t/00_compile.t
@@ -0,0 +1,4 @@
+use strict;
+use Test::More tests => 1;
+
+BEGIN { use_ok 'KiokuDB::Backend::Memcachedb' }
diff --git a/xt/01_podspell.t b/xt/01_podspell.t
new file mode 100644
index 0000000..e4f545b
--- /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\:\-]/ } <DATA>);
+$ENV{LANG} = 'C';
+all_pod_files_spelling_ok('lib');
+__DATA__
+franck cuny
+franck.cuny@rtgi.fr
+KiokuDB::Backend::Memcachedb
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