Skip to content

Commit

Permalink
Build results of f418182 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
xenoterracide committed May 26, 2011
2 parents 6508d44 + f418182 commit a34aed5
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
2 changes: 1 addition & 1 deletion META.json
@@ -1,5 +1,5 @@
{
"abstract" : "Check to see that a valid version exists in modules",
"abstract" : "Check to see that version's in modules are sane",
"author" : [
"Caleb Cushing <xenoterracide@gmail.com>",
"Mike Doherty <doherty@cs.dal.ca>"
Expand Down
2 changes: 1 addition & 1 deletion META.yml
@@ -1,5 +1,5 @@
---
abstract: 'Check to see that a valid version exists in modules'
abstract: "Check to see that version's in modules are sane"
author:
- 'Caleb Cushing <xenoterracide@gmail.com>'
- 'Mike Doherty <doherty@cs.dal.ca>'
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Expand Up @@ -9,7 +9,7 @@ use ExtUtils::MakeMaker 6.30;


my %WriteMakefileArgs = (
'ABSTRACT' => 'Check to see that a valid version exists in modules',
'ABSTRACT' => 'Check to see that version\'s in modules are sane',
'AUTHOR' => 'Caleb Cushing <xenoterracide@gmail.com>, Mike Doherty <doherty@cs.dal.ca>',
'BUILD_REQUIRES' => {
'Carp' => '0',
Expand Down
16 changes: 13 additions & 3 deletions README
@@ -1,5 +1,5 @@
NAME
Test::Version - Check to see that a valid version exists in modules
Test::Version - Check to see that version's in modules are sane

VERSION
version 0.04
Expand All @@ -14,9 +14,19 @@ SYNOPSIS
done_testing;

DESCRIPTION
This module's goal is to be a one stop shop for checking to see that
your versions across your dist are sane. It currently checks to see that
all pm's have a VERSION defined, and that it is a valid VERSION by the
rules of the "is_lax" function in version.

METHODS
version_ok
version_all_ok
"version_ok( $filename, [ $name ] );"
Test a single ".pm" file by passing a path to the function. Checks
if the module has a version, and that it is valid with "is_lax".

"version_all_ok( [ $directory, [ $name ]] );"
Test all modules in a directory with "version_ok". By default it
will check "blib" or "lib" if you haven't passed it a directory.

AUTHORS
* Caleb Cushing <xenoterracide@gmail.com>
Expand Down
19 changes: 15 additions & 4 deletions lib/Test/Version.pm
Expand Up @@ -75,15 +75,15 @@ sub version_all_ok {
}
1;

# ABSTRACT: Check to see that a valid version exists in modules
# ABSTRACT: Check to see that version's in modules are sane


__END__
=pod
=head1 NAME
Test::Version - Check to see that a valid version exists in modules
Test::Version - Check to see that version's in modules are sane
=head1 VERSION
Expand All @@ -101,13 +101,24 @@ version 0.04
=head1 DESCRIPTION
This module's goal is to be a one stop shop for checking to see that your
versions across your dist are sane. It currently checks to see that all pm's
have a VERSION defined, and that it is a valid VERSION by the rules of the
C<is_lax> function in L<version>.
=head1 METHODS
=over
=item version_ok
=item C<version_ok( $filename, [ $name ] );>
Test a single C<.pm> file by passing a path to the function. Checks if the
module has a version, and that it is valid with C<is_lax>.
=item C<version_all_ok( [ $directory, [ $name ]] );>
=item version_all_ok
Test all modules in a directory with C<version_ok>. By default it will check
C<blib> or C<lib> if you haven't passed it a directory.
=back
Expand Down

0 comments on commit a34aed5

Please sign in to comment.