Skip to content

Commit

Permalink
module skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitum committed Sep 24, 2016
0 parents commit cfd60e6
Show file tree
Hide file tree
Showing 11 changed files with 185 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
blib*
Makefile
Makefile.old
Build
Build.bat
_build*
pm_to_blib*
*.tar.gz
.lwpcookies
cover_db
pod2htm*.tmp
*.swp
*.bak
MYMETA.*
nytprof*
Kafka-Librd-*
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0.01 Fri Sep 23 2016 Pavel Shaydo <zwon@cpan.org>
- First version, released on an unsuspecting world.

10 changes: 10 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Changes
lib/Kafka/Librd.pm
Makefile.PL
MANIFEST This list of files
README
t/00-load.t
xt/manifest.t
xt/pod-coverage.t
xt/pod-spell.t
xt/pod.t
34 changes: 34 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
use 5.008;
use strict;
use warnings;
use ExtUtils::MakeMaker 6.64;

WriteMakefile(
NAME => 'Kafka::Librd',
AUTHOR => q{Pavel Shaydo <zwon@cpan.org>},
LICENSE => 'perl',
VERSION_FROM => 'lib/Kafka/Librd.pm',
ABSTRACT_FROM => 'lib/Kafka/Librd.pm',
PL_FILES => {},
PREREQ_PM => {
},
TEST_REQUIRES => {
'Test::More' => 0.94,
},
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 6.64,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Kafka-Librd-*' },
META_MERGE => {
resources => {
homepage => 'https://github.com/trinitum/perl-Kafka-Librd',
bugtracker => 'https://github.com/trinitum/perl-Kafka-Librd/issues',
repository => 'git://github.com/trinitum/perl-Kafka-Librd',
license => 'http://dev.perl.org/licenses/',
},
x_contributors => [
'Pavel Shaydo <zwon@cpan.org>',
],
},
);
22 changes: 22 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
NAME

Kafka::Librd

INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make test
make install

LICENSE AND COPYRIGHT

Copyright (C) 2016 Pavel Shaydo

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.
48 changes: 48 additions & 0 deletions lib/Kafka/Librd.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
package Kafka::Librd;
use strict;
use warnings;
our $VERSION = "0.01";
$VERSION = eval $VERSION;

=head1 NAME
Kafka::Librd - Perl extension ...
=head1 VERSION
This document describes Kafka::Librd version 0.01
=head1 SYNOPSIS
use Kafka::Librd;
=head1 DESCRIPTION
=head1 METHODS
=cut

1;

__END__
=head1 BUGS
Please report any bugs or feature requests via GitHub bug tracker at
L<http://github.com/trinitum/perl-Kafka-Librd/issues>.
=head1 AUTHOR
Pavel Shaydo C<< <zwon at cpan.org> >>
=head1 LICENSE AND COPYRIGHT
Copyright (C) 2016 Pavel Shaydo
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
=cut
9 changes: 9 additions & 0 deletions t/00-load.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!perl -T

use Test::More tests => 1;

BEGIN {
use_ok( 'Kafka::Librd' ) || print "Bail out!\n";
}

diag( "Testing Kafka::Librd $Kafka::Librd::VERSION, Perl $], $^X" );
10 changes: 10 additions & 0 deletions xt/manifest.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!perl -T

use strict;
use warnings;
use Test::More;

eval "use Test::CheckManifest 0.9";
plan skip_all => "Test::CheckManifest 0.9 required" if $@;
ok_manifest({exclude => ['/.git']});

7 changes: 7 additions & 0 deletions xt/pod-coverage.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use strict;
use warnings;
use Test::More;
use Test::Pod::Coverage 1.08;
use Pod::Coverage 0.18;

all_pod_coverage_ok({ also_private => [ qr/^[A-Z0-9_]+$/ ], });
18 changes: 18 additions & 0 deletions xt/pod-spell.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
use strict;
use warnings;
use Test::More;
use Test::Spelling 0.15;

chomp(my @stopwords = <DATA>);
add_stopwords(@stopwords);
all_pod_files_spelling_ok();

__DATA__
Pavel
Shaydo
zwon
cpan
org
http
trinitum
perl
8 changes: 8 additions & 0 deletions xt/pod.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!perl -T

use strict;
use warnings;
use Test::More;
use Test::Pod 1.22;

all_pod_files_ok();

0 comments on commit cfd60e6

Please sign in to comment.