Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Version 1.000000

  • Loading branch information...
commit a1eea51cc957c120ba8ee9c63061063d506b9034 1 parent 6ef89e7
@ashb ashb authored
View
4 Changes
@@ -0,0 +1,4 @@
+Version history for Class::Discover
+
+1.000000 - 18 Jul 2009
+ - Initial version of code split out from Module::Install::ProvidesClass
View
2  MANIFEST.SKIP
@@ -1 +1 @@
-^(?!script/|lib/|inc/|t/|example/|Makefile.PL$|README$|MANIFEST$|Changes$|META.yml|.*?.xs$|stolen_chunk_of_toke.c$)
+^(?!script/|lib/|inc/|t/|example/|Makefile.PL$|README$|MANIFEST$|Changes$|META.json|.*?\.xs$)
View
8 Makefile.PL
@@ -1,10 +1,10 @@
use warnings;
-use inc::Module::Install 0.89;
+use inc::Module::Install 0.91;
all_from 'lib/Class/Discover.pm';
requires 'File::Find::Rule';
-requires 'File::Find::Rule::Perl';
+requires 'File::Find::Rule::Perl' => '1.07';
requires 'PPI';
requires 'File::Temp';
requires 'ExtUtils::MM_Unix';
@@ -14,7 +14,9 @@ test_requires 'Test::More';
test_requires 'Test::Differences';
jsonmeta();
-write_all;
+write_all();
+
+auto_install();
WriteMakefile(
dist => {
View
4 lib/Class/Discover.pm
@@ -3,6 +3,8 @@ package Class::Discover;
use strict;
use warnings;
+our $VERSION = "1.000000";
+
use File::Find::Rule;
use File::Find::Rule::Perl;
use PPI;
@@ -41,7 +43,7 @@ sub discover_classes {
directory => [ map { "$dir/$_" } @{$no_index->{directory} || []} ],
file => [ map { "$dir/$_" } @{$no_index->{file} || []} ],
} )->perl_module
- ->in($dir);
+ ->in($dir)
}
croak "Found no files!" unless @files;
View
2  t/simple.t
@@ -2,7 +2,7 @@ use strict;
use warnings;
use FindBin qw/$Bin/;
-use Test::More tests => 2;
+use Test::More tests => 5;
use Test::Differences;
use_ok('Class::Discover');
Please sign in to comment.
Something went wrong with that request. Please try again.