Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kazeburo committed Mar 9, 2011
0 parents commit 83f66b4
Show file tree
Hide file tree
Showing 13 changed files with 148 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
@@ -0,0 +1,11 @@
cover_db
META.yml
Makefile
blib
inc
pm_to_blib
MANIFEST
Makefile.old
nytprof.out
MANIFEST.bak
*.sw[po]
1 change: 1 addition & 0 deletions .shipit
@@ -0,0 +1 @@
steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
4 changes: 4 additions & 0 deletions Changes
@@ -0,0 +1,4 @@
Revision history for Perl extension Scope::Container::DBI

0.01 Thu Mar 10 00:00:20 2011
- original version
21 changes: 21 additions & 0 deletions 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
^tools/
\.svn/
^[^/]+\.yaml$
^[^/]+\.pl$
^\.shipit$
^\.git/
\.sw[po]$
13 changes: 13 additions & 0 deletions Makefile.PL
@@ -0,0 +1,13 @@
use inc::Module::Install;
name 'Scope-Container-DBI';
all_from 'lib/Scope/Container/DBI.pm';

# requires '';

tests 't/*.t';
author_tests 'xt';

test_requires 'Test::More';
auto_set_repository;
auto_include;
WriteAll;
27 changes: 27 additions & 0 deletions README
@@ -0,0 +1,27 @@
This is Perl module Scope::Container::DBI.

INSTALLATION

Scope::Container::DBI installation is straightforward. If your CPAN shell is set up,
you should just be able to do

% cpan Scope::Container::DBI

Download it, unpack it, then build it as per the usual:

% perl Makefile.PL
% make && make test

Then install it:

% make install

DOCUMENTATION

Scope::Container::DBI documentation is available as in POD. So you can do:

% perldoc Scope::Container::DBI

to read the documentation online with your favorite pager.

Masahiro Nagano
32 changes: 32 additions & 0 deletions lib/Scope/Container/DBI.pm
@@ -0,0 +1,32 @@
package Scope::Container::DBI;
use strict;
use warnings;
our $VERSION = '0.01';

1;
__END__
=head1 NAME
Scope::Container::DBI -
=head1 SYNOPSIS
use Scope::Container::DBI;
=head1 DESCRIPTION
Scope::Container::DBI is
=head1 AUTHOR
Masahiro Nagano E<lt>kazeburo {at} 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
4 changes: 4 additions & 0 deletions t/00_compile.t
@@ -0,0 +1,4 @@
use strict;
use Test::More tests => 1;

BEGIN { use_ok 'Scope::Container::DBI' }
11 changes: 11 additions & 0 deletions xt/01_podspell.t
@@ -0,0 +1,11 @@
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 -l en list") if `which aspell`;
all_pod_files_spelling_ok('lib');
__DATA__
Masahiro Nagano
kazeburo {at} gmail.com
Scope::Container::DBI
10 changes: 10 additions & 0 deletions xt/01_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';
all_pod_files_spelling_ok('lib');
__DATA__
Masahiro Nagano
kazeburo {at} gmail.com
Scope::Container::DBI
8 changes: 8 additions & 0 deletions xt/02_perlcritic.t
@@ -0,0 +1,8 @@
use strict;
use Test::More;
eval {
require Test::Perl::Critic;
Test::Perl::Critic->import( -profile => 'xt/perlcriticrc');
};
plan skip_all => "Test::Perl::Critic is not installed." if $@;
all_critic_ok('lib');
4 changes: 4 additions & 0 deletions 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();
2 changes: 2 additions & 0 deletions xt/perlcriticrc
@@ -0,0 +1,2 @@
[TestingAndDebugging::ProhibitNoStrict]
allow=refs

0 comments on commit 83f66b4

Please sign in to comment.