Permalink
Browse files

first

  • Loading branch information...
0 parents commit 9341deec7f8decb1869b602235b3ab8289e50cdb @riywo committed Jan 4, 2012
Showing with 465 additions and 0 deletions.
  1. +26 −0 .gitignore
  2. +6 −0 .shipit
  3. +5 −0 Changes
  4. +23 −0 MANIFEST
  5. +67 −0 MANIFEST.SKIP
  6. +47 −0 Makefile.PL
  7. +39 −0 README
  8. +17 −0 author/requires.cpanm
  9. +61 −0 lib/App/llenv.pm
  10. +9 −0 t/000_load.t
  11. +10 −0 t/001_basic.t
  12. +20 −0 xt/perlcritic.t
  13. +8 −0 xt/pod.t
  14. +9 −0 xt/podcoverage.t
  15. +111 −0 xt/podspell.t
  16. +7 −0 xt/podsynopsis.t
@@ -0,0 +1,26 @@
+App-llenv-*
+.*
+!.gitignore
+!.shipit
+inc/
+*.o
+*.obj
+*.bs
+*.def
+Makefile*
+!Makefile.PL
+*blib
+META.*
+MYMETA.*
+*.out
+*.bak
+*.old
+*~
+*.swp
+ppport.h
+nytprof*
+cover_db*
+*.gcda
+*.gcno
+*.gcov
+*.stackdump
@@ -0,0 +1,6 @@
+steps = FindVersion, ChangeAllVersions, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
+
+git.tagpattern = %v
+git.push_to = origin
+
+CheckChangeLog.files = Changes
@@ -0,0 +1,5 @@
+Revision history for Perl extension App::llenv
+
+NEXT <<SET RELEASE DATE HERE>>
+ - original version; created by dim
+ at Thu Jan 5 00:34:39 2012.
@@ -0,0 +1,23 @@
+.dim.pl
+.shipit
+Changes
+inc/Module/Install.pm
+inc/Module/Install/AuthorTests.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/Repository.pm
+inc/Module/Install/WriteAll.pm
+lib/App/llenv.pm
+Makefile.PL
+MANIFEST This list of files
+MANIFEST.SKIP
+META.yml
+README
+t/000_load.t
+t/001_basic.t
+xt/perlcritic.t
+xt/pod.t
+xt/podcoverage.t
+xt/podspell.t
+xt/podsynopsis.t
@@ -0,0 +1,67 @@
+
+#!start included /Users/iwanaga.ryosuke/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/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/iwanaga.ryosuke/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/ExtUtils/MANIFEST.SKIP
+
+
+# skip author's files
+\bauthor\b
+
+\.bs$
+\.o(?:|bj|ld|ut)$
+nytprof
+MYMETA\.yml$
@@ -0,0 +1,47 @@
+#!perl
+use strict;
+use warnings;
+BEGIN {
+ unshift @INC, 'inc';
+
+ # author requires, or bundled modules
+ my @devmods = qw(
+ inc::Module::Install 1.00
+ Module::Install::AuthorTests 0.002
+ Module::Install::Repository 0.06
+ Test::Requires 0.06
+ );
+ my @not_available;
+ while(my($mod, $ver) = splice @devmods, 0, 2) {
+ eval qq{use $mod $ver (); 1} or push @not_available, $mod;
+ }
+ if(@not_available) {
+ print qq{# The following modules are not available.\n};
+ print qq{# `perl $0 | cpanm` will install them:\n};
+ print $_, "\n" for @not_available;
+ exit 1;
+ }
+}
+use inc::Module::Install;
+
+all_from 'lib/App/llenv.pm';
+
+
+test_requires 'Test::More' => '0.88';
+test_requires 'Test::Requires' => '0.06';
+
+auto_set_repository;
+
+tests_recursive;
+author_tests 'xt';
+
+
+clean_files qw(
+ App-llenv-*
+ *.stackdump
+ cover_db *.gcov *.gcda *.gcno
+ nytprof
+ *.out
+);
+
+WriteAll(check_nmake => 0);
39 README
@@ -0,0 +1,39 @@
+This is Perl module App::llenv.
+
+INSTALLATION
+
+Type the following command:
+
+ $ curl -L http://cpanmin.us | perl - App::llenv
+
+Or install cpanm and then run the following command to install
+App::llenv:
+
+ $ cpanm App::llenv
+
+If you get an archive of this distribution, unpack it and build it
+as per the usual:
+
+ $ tar xzf App-llenv-$version.tar.gz
+ $ cd App-llenv-$version
+ $ perl Makefile.PL
+ $ make && make test
+
+Then install it:
+
+ $ make install
+
+DOCUMENTATION
+
+App::llenv documentation is available as in POD. So you can do:
+
+ $ perldoc App::llenv
+
+to read the documentation online with your favorite pager.
+
+LICENSE AND COPYRIGHT
+
+Copyright (c) 2012, riywo. All rights reserved.
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
@@ -0,0 +1,17 @@
+# for App-llenv
+# Makefile.PL
+Module::Install
+Module::Install::AuthorTests
+Module::Install::Repository
+
+# author's tests
+Test::Pod
+Test::Pod::Coverage
+Test::Spelling
+Test::Perl::Critic
+Test::Synopsis
+
+# Release tools
+ShipIt
+ShipIt::Step::ChangeAllVersions
+CPAN::Uploader
@@ -0,0 +1,61 @@
+package App::llenv;
+use 5.008_001;
+use strict;
+use warnings;
+
+our $VERSION = '0.01';
+
+
+1;
+__END__
+
+=head1 NAME
+
+App::llenv - Perl extention to do something
+
+=head1 VERSION
+
+This document describes App::llenv version 0.01.
+
+=head1 SYNOPSIS
+
+ use App::llenv;
+
+=head1 DESCRIPTION
+
+# TODO
+
+=head1 INTERFACE
+
+=head2 Functions
+
+=head3 C<< hello() >>
+
+# TODO
+
+=head1 DEPENDENCIES
+
+Perl 5.8.1 or later.
+
+=head1 BUGS
+
+All complex software has bugs lurking in it, and this module is no
+exception. If you find a bug please either email me, or add the bug
+to cpan-RT.
+
+=head1 SEE ALSO
+
+L<perl>
+
+=head1 AUTHOR
+
+riywo E<lt>riywo.jp@gmail.comE<gt>
+
+=head1 LICENSE AND COPYRIGHT
+
+Copyright (c) 2012, riywo. All rights reserved.
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
@@ -0,0 +1,9 @@
+#!perl -w
+use strict;
+use Test::More tests => 1;
+
+BEGIN {
+ use_ok 'App::llenv';
+}
+
+diag "Testing App::llenv/$App::llenv::VERSION";
@@ -0,0 +1,10 @@
+#!perl -w
+use strict;
+use Test::More;
+
+use App::llenv;
+
+# test App::llenv here
+pass;
+
+done_testing;
@@ -0,0 +1,20 @@
+use strict;
+use Test::More;
+eval q{
+ use Perl::Critic 1.105;
+ use Test::Perl::Critic -profile => \do { local $/; <DATA> };
+};
+plan skip_all => "Test::Perl::Critic is not available." if $@;
+all_critic_ok('lib');
+__DATA__
+
+exclude=ProhibitStringyEval ProhibitExplicitReturnUndef RequireBarewordIncludes
+
+[TestingAndDebugging::ProhibitNoStrict]
+allow=refs
+
+[TestingAndDebugging::RequireUseStrict]
+equivalent_modules = Mouse Mouse::Role Mouse::Exporter Mouse::Util Mouse::Util::TypeConstraints Moose Moose::Role Moose::Exporter Moose::Util::TypeConstraints Any::Moose
+
+[TestingAndDebugging::RequireUseWarnings]
+equivalent_modules = Mouse Mouse::Role Mouse::Exporter Mouse::Util Mouse::Util::TypeConstraints Moose Moose::Role Moose::Exporter Moose::Util::TypeConstraints Any::Moose
@@ -0,0 +1,8 @@
+#!perl -w
+use strict;
+use Test::More;
+eval q{use Test::Pod 1.14};
+plan skip_all => 'Test::Pod 1.14 required for testing POD'
+ if $@;
+
+all_pod_files_ok();
@@ -0,0 +1,9 @@
+#!perl -w
+use Test::More;
+eval q{use Test::Pod::Coverage 1.04};
+plan skip_all => 'Test::Pod::Coverage 1.04 required for testing POD coverage'
+ if $@;
+
+all_pod_coverage_ok({
+ also_private => [qw(unimport BUILD DEMOLISH init_meta)],
+});
Oops, something went wrong.

0 comments on commit 9341dee

Please sign in to comment.