diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..04b49d6 --- /dev/null +++ b/.gitignore @@ -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-* diff --git a/Changes b/Changes new file mode 100644 index 0000000..1ae8166 --- /dev/null +++ b/Changes @@ -0,0 +1,3 @@ +0.01 Fri Sep 23 2016 Pavel Shaydo + - First version, released on an unsuspecting world. + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..120c20d --- /dev/null +++ b/MANIFEST @@ -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 diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..0e44cff --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,34 @@ +use 5.008; +use strict; +use warnings; +use ExtUtils::MakeMaker 6.64; + +WriteMakefile( + NAME => 'Kafka::Librd', + AUTHOR => q{Pavel Shaydo }, + 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 ', + ], + }, +); diff --git a/README b/README new file mode 100644 index 0000000..b53dbdc --- /dev/null +++ b/README @@ -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. diff --git a/lib/Kafka/Librd.pm b/lib/Kafka/Librd.pm new file mode 100644 index 0000000..fa0096f --- /dev/null +++ b/lib/Kafka/Librd.pm @@ -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. + +=head1 AUTHOR + +Pavel Shaydo C<< >> + +=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 diff --git a/t/00-load.t b/t/00-load.t new file mode 100644 index 0000000..19f957a --- /dev/null +++ b/t/00-load.t @@ -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" ); diff --git a/xt/manifest.t b/xt/manifest.t new file mode 100644 index 0000000..3f3ed50 --- /dev/null +++ b/xt/manifest.t @@ -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']}); + diff --git a/xt/pod-coverage.t b/xt/pod-coverage.t new file mode 100644 index 0000000..7d2696f --- /dev/null +++ b/xt/pod-coverage.t @@ -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_]+$/ ], }); diff --git a/xt/pod-spell.t b/xt/pod-spell.t new file mode 100644 index 0000000..805a5a9 --- /dev/null +++ b/xt/pod-spell.t @@ -0,0 +1,18 @@ +use strict; +use warnings; +use Test::More; +use Test::Spelling 0.15; + +chomp(my @stopwords = ); +add_stopwords(@stopwords); +all_pod_files_spelling_ok(); + +__DATA__ +Pavel +Shaydo +zwon +cpan +org +http +trinitum +perl diff --git a/xt/pod.t b/xt/pod.t new file mode 100644 index 0000000..e65e422 --- /dev/null +++ b/xt/pod.t @@ -0,0 +1,8 @@ +#!perl -T + +use strict; +use warnings; +use Test::More; +use Test::Pod 1.22; + +all_pod_files_ok();