Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial commit

  • Loading branch information...
commit c532999d0ab543ceec1e77f867acd0feb94bea1f 0 parents
Dann authored
13 .gitignore
@@ -0,0 +1,13 @@
+cover_db
+META.yml
+Makefile
+blib
+inc
+pm_to_blib
+MANIFEST
+MANIFEST.bak
+Makefile.old
+tmon.out
+cover_db_view
+nytprof
+.DS_Store
3  .shipit
@@ -0,0 +1,3 @@
+steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
+git.tagpattern = release-%v
+git.push_to = origin
4 Changes
@@ -0,0 +1,4 @@
+Revision history for Perl extension Test::Perl::Metrics::Lite
+
+0.01 Fri Dec 23 23:38:58 2011
+ * original version
21 MANIFEST.SKIP
@@ -0,0 +1,21 @@
+\bRCS\b
+\bCVS\b
+^MANIFEST\.
+^Makefile$
+~$
+^#
+\.old$
+^blib/
+^pm_to_blib
+^MakeMaker-\d
+\.gz$
+\.cvsignore
+^t/9\d_.*\.t
+^t/perlcritic
+^xt/
+^tools/
+\.svn/
+\.git/
+^[^/]+\.yaml$
+^[^/]+\.pl$
+^\.shipit$
39 Makefile.PL
@@ -0,0 +1,39 @@
+sub readme_from {
+ warn
+ "You need to install Module::Install::ReadmeFromPod to generate README";
+}
+
+sub use_test_base {
+ warn "You need to install Test::Base to run make test from git clone";
+}
+
+sub author_requires {
+ warn
+ "You need to install Module::Install::AuthorRequires to install modules author requires";
+}
+sub author_tests { }
+sub auto_set_repository { }
+
+use inc::Module::Install;
+
+{
+ no warnings 'redefine';
+ *recommends_hack
+ = $Module::Install::VERSION > 0.70
+ ? sub { recommends(@_); $_[0] }
+ : \&recommends;
+}
+
+name 'Test-Perl-Metrics-Lite';
+all_from 'lib/Test/Perl/Metrics/Lite.pm';
+
+requires(
+
+);
+test_requires(
+ 'Test::More' => 0.88,
+ 'Test::LoadAllModules' => 0.02,
+);
+use_test_base;
+auto_include;
+WriteAll;
27 README
@@ -0,0 +1,27 @@
+This is Perl module Test::Perl::Metrics::Lite.
+
+INSTALLATION
+
+Test::Perl::Metrics::Lite installation is straightforward. If your CPAN shell is set up,
+you should just be able to do
+
+ % cpan Test::Perl::Metrics::Lite
+
+Download it, unpack it, then build it as per the usual:
+
+ % perl Makefile.PL
+ % make && make test
+
+Then install it:
+
+ % make install
+
+DOCUMENTATION
+
+Test::Perl::Metrics::Lite documentation is available as in POD. So you can do:
+
+ % perldoc Test::Perl::Metrics::Lite
+
+to read the documentation online with your favorite pager.
+
+Dann
47 lib/Test/Perl/Metrics/Lite.pm
@@ -0,0 +1,47 @@
+package Test::Perl::Metrics::Lite;
+
+use strict;
+use warnings;
+our $VERSION = '0.01';
+
+1;
+__END__
+
+=encoding utf-8
+
+=head1 NAME
+
+Test::Perl::Metrics::Lite -
+
+=head1 SYNOPSIS
+
+ use Test::Perl::Metrics::Lite;
+
+=head1 DESCRIPTION
+
+Test::Perl::Metrics::Lite is
+
+
+=head1 SOURCE AVAILABILITY
+
+This source is in Github:
+
+ http://github.com/dann/
+
+=head1 CONTRIBUTORS
+
+Many thanks to:
+
+
+=head1 AUTHOR
+
+Dann E<lt>techmemo@gmail.comE<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
7 t/00_load_all.t
@@ -0,0 +1,7 @@
+use strict;
+use warnings;
+use Test::LoadAllModules;
+
+BEGIN {
+ all_uses_ok(search_path => 'Test::Perl::Metrics::Lite');
+}
4 xt/extra/dependency.t
@@ -0,0 +1,4 @@
+use Test::Dependencies
+ exclude => [qw/Test::Dependencies Test::Base Test::Perl::Critic Test::Perl::Metrics::Lite/],
+ style => 'light';
+ok_dependencies();
10 xt/extra/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';
+set_spell_cmd("aspell list");
+all_pod_files_spelling_ok('lib');
+__DATA__
+Dann
+Test::Perl::Metrics::Lite
4 xt/notab.t
@@ -0,0 +1,4 @@
+use Test::More;
+eval "use Test::NoTabs";
+plan skip_all => "Test::NoTabs required for testing POD" if $@;
+all_perl_files_ok();
5 xt/perlcritic.t
@@ -0,0 +1,5 @@
+use strict;
+use Test::More;
+eval { use Test::Perl::Critic -profile => 'xt/perlcriticrc' };
+plan skip_all => "Test::Perl::Critic is not installed." if $@;
+all_critic_ok('lib');
4 xt/perlcriticrc
@@ -0,0 +1,4 @@
+[TestingAndDebugging::ProhibitNoStrict]
+allow=refs
+[TestingAndDebugging::RequireUseStrict]
+equivalent_modules = Mouse Mouse::Role
4 xt/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();
Please sign in to comment.
Something went wrong with that request. Please try again.