Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial commit

  • Loading branch information...
commit ec1e256bf94d16108f673c17e5e28c24fe225dc4 0 parents
@franckcuny franckcuny authored
9 .gitignore
@@ -0,0 +1,9 @@
+cover_db
+META.yml
+Makefile
+blib
+inc
+pm_to_blib
+MANIFEST
+Makefile.old
+MANIFEST.SKIP
6 .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/
4 Changes
@@ -0,0 +1,4 @@
+Revision history for Perl extension AnyEvent::Riak
+
+0.01 Thu Dec 10 14:22:38 2009
+ - original version
16 Makefile.PL
@@ -0,0 +1,16 @@
+use inc::Module::Install;
+name 'AnyEvent-Riak';
+all_from 'lib/AnyEvent/Riak.pm';
+
+# requires '';
+requires 'Moose';
+requires 'Test::Class';
+requires 'Test::Exception';
+
+tests 't/*.t';
+author_tests 'xt';
+
+build_requires 'Test::More';
+use_test_base;
+auto_include;
+WriteAll;
27 README
@@ -0,0 +1,27 @@
+This is Perl module AnyEvent::Riak.
+
+INSTALLATION
+
+AnyEvent::Riak installation is straightforward. If your CPAN shell is set up,
+you should just be able to do
+
+ % cpan AnyEvent::Riak
+
+Download it, unpack it, then build it as per the usual:
+
+ % perl Makefile.PL
+ % make && make test
+
+Then install it:
+
+ % make install
+
+DOCUMENTATION
+
+AnyEvent::Riak documentation is available as in POD. So you can do:
+
+ % perldoc AnyEvent::Riak
+
+to read the documentation online with your favorite pager.
+
+franck cuny
32 lib/AnyEvent/Riak.pm
@@ -0,0 +1,32 @@
+package AnyEvent::Riak;
+
+use Moose;
+our $VERSION = '0.01';
+
+1;
+__END__
+
+=head1 NAME
+
+AnyEvent::Riak -
+
+=head1 SYNOPSIS
+
+ use AnyEvent::Riak;
+
+=head1 DESCRIPTION
+
+AnyEvent::Riak is
+
+=head1 AUTHOR
+
+franck cuny E<lt>franck.cuny {at} 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
4 t/00_compile.t
@@ -0,0 +1,4 @@
+use strict;
+use Test::More tests => 1;
+
+BEGIN { use_ok 'AnyEvent::Riak' }
8 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');
4 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();
2  xt/perlcriticrc
@@ -0,0 +1,2 @@
+[TestingAndDebugging::ProhibitNoStrict]
+allow=refs
4 xt/run.t
@@ -0,0 +1,4 @@
+use lib 'xt/tests';
+use Test::AnyEvent::Riak;
+
+Test::Class->runtests;
25 xt/tests/Test/AnyEvent/Riak.pm
@@ -0,0 +1,25 @@
+package Test::AnyEvent::Riak;
+
+use strict;
+use warnings;
+use base 'Test::Class';
+use Test::Exception;
+use Test::More;
+
+sub class { 'AnyEvent::Riak' }
+
+sub startup : Tests(startup => 1) {
+ my $test = shift;
+ use_ok $test->class, "use ok";
+}
+
+sub shutdown : Tests(shutdown) {
+ my $test = shift;
+}
+
+sub constructor : Tests(1) {
+ my $test = shift;
+ can_ok $test->class, 'new';
+}
+
+1;
Please sign in to comment.
Something went wrong with that request. Please try again.