Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial import

  • Loading branch information...
commit cdf8daaed4f5d309b4c66b91b01c04adccde488a 0 parents
@kentaro authored
18 .gitignore
@@ -0,0 +1,18 @@
+Makefile
+inc/
+.c
+ppport.h
+*.sw[po]
+*.bak
+*.old
+Build
+_build/
+xshelper.h
+tags
+pm_to_blib
+blib/
+META.yml
+MYMETA.*
+META.json
+META.yml
+README
32 Build.PL
@@ -0,0 +1,32 @@
+use strict;
+use warnings;
+use Module::Build;
+
+my $build = Module::Build->new(
+ license => 'perl',
+ dynamic_config => 0,
+
+ build_requires => {
+ 'Test::More' => '0.98',
+ 'Test::Requires' => 0,
+ },
+ configure_requires => { 'Module::Build' => '0.38' },
+ requires => {
+ # 'Exporter' => '0',
+ 'parent' => '0',
+ # 'Plack' => '0.9949',
+ },
+
+ no_index => { 'directory' => [ 'inc' ] },
+ name => 'Module-Install-PrePAN',
+ module_name => 'Module::Install::PrePAN',
+
+ # script_files => [''],
+
+ test_files => (-d '.git' || $ENV{RELEASE_TESTING}) ? 't/ xt/' : 't/',
+ recursive_test_files => 1,
+
+ create_readme => 1,
+ create_license => 1,
+);
+$build->create_build_script();
4 Changes
@@ -0,0 +1,4 @@
+Revision history for Perl extension Module::Install::PrePAN
+
+0.01 Wed Nov 9 17:50:43 2011
+ - original version
11 MANIFEST
@@ -0,0 +1,11 @@
+Build.PL
+Changes
+lib/Module/Install/PrePAN.pm
+MANIFEST This list of files
+t/00_compile.t
+xt/01_podspell.t
+xt/02_perlcritic.t
+xt/03_pod.t
+xt/04_minimum_version.t
+xt/05_cpan_meta.t
+xt/06_meta_author.t
93 MANIFEST.SKIP
@@ -0,0 +1,93 @@
+
+#!start included /Users/antipop/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/ExtUtils/MANIFEST.SKIP
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+\bSCCS\b
+,v$
+\B\.svn\b
+\B\.git\b
+\B\.gitignore\b
+\b_darcs\b
+\B\.cvsignore$
+
+# Avoid VMS specific MakeMaker generated files
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Avoid Makemaker generated and utility files.
+\bMANIFEST\.bak
+\bMakefile$
+\bblib/
+\bMakeMaker-\d
+\bpm_to_blib\.ts$
+\bpm_to_blib$
+\bblibdirs\.ts$ # 6.18 through 6.25 generated this
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build/
+\bBuild.bat$
+\bBuild.COM$
+\bBUILD.COM$
+\bbuild.com$
+
+# Avoid temp and backup files.
+~$
+\.old$
+\#$
+\b\.#
+\.bak$
+\.tmp$
+\.#
+\.rej$
+
+# Avoid OS-specific files/dirs
+# Mac OSX metadata
+\B\.DS_Store
+# Mac OSX SMB mount metadata files
+\B\._
+
+# Avoid Devel::Cover and Devel::CoverX::Covered files.
+\bcover_db\b
+\bcovered\b
+
+# Avoid MYMETA files
+^MYMETA\.
+#!end included /Users/antipop/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/ExtUtils/MANIFEST.SKIP
+
+^\.git/
+\bRCS\b
+\bCVS\b
+^MANIFEST\.
+^Makefile$
+~$
+^#
+\.old$
+^blib/
+^pm_to_blib
+^MakeMaker-\d
+^[^/]+\.gz$
+\.cvsignore
+^t/perlcritic
+^tools/
+\.svn/
+^[^/]+\.yaml$
+^\.shipit$
+\.sw[po]$
+^Build$
+^ppport.h$
+^xshelper.h$
+cover_db
+nytprof
+perltidy.ERR$
+^README.pod$
+^README.mkdn$
+^tags$
+^Module-Install-PrePAN-
+^MYMETA\.
+\b_build
+^MANIFEST\.SKIP
+\b\.gitignore
+\.bak$
1  README.pod
39 lib/Module/Install/PrePAN.pm
@@ -0,0 +1,39 @@
+package Module::Install::PrePAN;
+use strict;
+use warnings;
+use 5.008008;
+our $VERSION = '0.01';
+
+
+
+1;
+__END__
+
+=encoding utf8
+
+=head1 NAME
+
+Module::Install::PrePAN -
+
+=head1 SYNOPSIS
+
+ use Module::Install::PrePAN;
+
+=head1 DESCRIPTION
+
+Module::Install::PrePAN is
+
+=head1 AUTHOR
+
+Kentaro Kuribayashi E<lt>kentarok@gmail.comE<gt>
+
+=head1 SEE ALSO
+
+=head1 LICENSE
+
+Copyright (C) Kentaro Kuribayashi
+
+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 'Module::Install::PrePAN' }
60 xt/01_podspell.t
@@ -0,0 +1,60 @@
+use strict;
+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';
+my $spell_cmd;
+foreach my $path (split(/:/, $ENV{PATH})) {
+ -x "$path/spell" and $spell_cmd="spell", last;
+ -x "$path/ispell" and $spell_cmd="ispell -l", last;
+ -x "$path/aspell" and $spell_cmd="aspell list", last;
+}
+plan skip_all => "no spell/ispell/aspell" unless $spell_cmd;
+
+set_spell_cmd($spell_cmd);
+all_pod_files_spelling_ok('lib');
+__DATA__
+Kentaro Kuribayashi
+Module::Install::PrePAN
+tokuhirom
+AAJKLFJEF
+GMAIL
+COM
+Tatsuhiko
+Miyagawa
+Kazuhiro
+Osawa
+lestrrat
+typester
+cho45
+charsbar
+coji
+clouder
+gunyarakun
+hio_d
+hirose31
+ikebe
+kan
+kazeburo
+daisuke
+maki
+TODO
+API
+URL
+URI
+db
+TTerse
+irc
+org
+CSS
+Amon
+Tokuhiro
+Matsuno
+Svn
+svn
+diff
+Gosuke
+Miyashita
+mysqldiff
+mmm
12 xt/02_perlcritic.t
@@ -0,0 +1,12 @@
+use strict;
+use Test::More;
+eval q{
+ use Test::Perl::Critic 1.02 -exclude => [
+ 'Subroutines::ProhibitSubroutinePrototypes',
+ 'Subroutines::ProhibitExplicitReturnUndef',
+ 'TestingAndDebugging::ProhibitNoStrict',
+ 'ControlStructures::ProhibitMutatingListFunctions',
+ ]
+};
+plan skip_all => "Test::Perl::Critic 1.02+ 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();
4 xt/04_minimum_version.t
@@ -0,0 +1,4 @@
+use Test::More;
+eval "use Test::MinimumVersion 0.101080";
+plan skip_all => "Test::Minimumversion required for testing perl minimum version" if $@;
+all_minimum_version_from_metayml_ok();
5 xt/05_cpan_meta.t
@@ -0,0 +1,5 @@
+use Test::More;
+eval "use Test::CPAN::Meta";
+plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
+plan skip_all => "There is no META.yml" unless -f "META.yml";
+meta_yaml_ok();
11 xt/06_meta_author.t
@@ -0,0 +1,11 @@
+use strict;
+use Test::More;
+eval "use Parse::CPAN::Meta";
+plan skip_all => "Parse::CPAN::Meta required for testing META.yml" unless eval "use Parse::CPAN::Meta; 1;";
+plan skip_all => "There is no META.yml" unless -f "META.yml";
+
+my $meta = Parse::CPAN::Meta->load_file('META.yml');
+isnt($meta->{author}->[0], 'unknown', 'author info');
+cmp_ok($meta->{'build_requires'}->{'Test::More'}, '>=', '0.98');
+ok($meta->{'requires'}->{'perl'}, 'metayml_declares_perl_version');
+done_testing;
Please sign in to comment.
Something went wrong with that request. Please try again.