summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-21 01:19:39 -0400
committerJesse Luehrs <doy@tozt.net>2013-06-21 01:19:39 -0400
commitce49cf56af53f13483d2017a34e73d04db507aaf (patch)
treedc295def42ea77d551d29d600620f25837efcc32
parent0b8f07dffcac7063775d31a9fef6424a2141ab39 (diff)
downloadclass-refresh-ce49cf56af53f13483d2017a34e73d04db507aaf.tar.gz
class-refresh-ce49cf56af53f13483d2017a34e73d04db507aaf.zip
packaging stuff
-rw-r--r--.gitignore6
-rw-r--r--.travis.yml14
-rw-r--r--dist.ini11
-rw-r--r--lib/Class/Refresh.pm16
-rw-r--r--t/lib/Test/Class/Refresh.pm2
-rw-r--r--t/moose-metaclasses.t3
-rw-r--r--weaver.ini32
7 files changed, 35 insertions, 49 deletions
diff --git a/.gitignore b/.gitignore
index d7e9259..62d0e4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
cover_db
-META.yml
+META.*
+MYMETA.*
Makefile
blib
inc
@@ -9,5 +10,8 @@ Makefile.old
nytprof.out
MANIFEST.bak
*.sw[po]
+.DS_Store
.build
Class-Refresh-*
+*.bs
+*.o
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e9f133b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,14 @@
+language: perl
+perl:
+ - "5.19"
+ - "5.18"
+ - "5.16"
+ - "5.14"
+ - "5.12"
+ - "5.10"
+install:
+ - cpanm -q --notest Dist::Zilla
+ - dzil authordeps --missing | cpanm -q --notest
+ - dzil listdeps --author --missing | cpanm -q --notest
+script:
+ - dzil test --all
diff --git a/dist.ini b/dist.ini
index 3e46844..ed3abf6 100644
--- a/dist.ini
+++ b/dist.ini
@@ -4,11 +4,12 @@ license = Perl_5
copyright_holder = Jesse Luehrs
[@DOY]
+:version = 0.08
dist = Class-Refresh
+repository = github
-[Prereqs]
-Class::Load = 0
-Class::Unload = 0
+[ContributorsFromGit]
-[Prereqs / TestRequires]
-Test::Requires = 0
+[AutoPrereqs]
+skip = ^(?:Foo|Bar|Baz)(?:$|::)
+skip = Moose(?:$|::Role)
diff --git a/lib/Class/Refresh.pm b/lib/Class/Refresh.pm
index 956b45a..24569ab 100644
--- a/lib/Class/Refresh.pm
+++ b/lib/Class/Refresh.pm
@@ -313,21 +313,21 @@ You can also look for information at:
=over 4
-=item * AnnoCPAN: Annotated CPAN documentation
+=item * MetaCPAN
-L<http://annocpan.org/dist/Class-Refresh>
-
-=item * CPAN Ratings
-
-L<http://cpanratings.perl.org/d/Class-Refresh>
+L<https://metacpan.org/release/Class-Refresh>
=item * RT: CPAN's request tracker
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Class-Refresh>
-=item * Search CPAN
+=item * Github
-L<http://search.cpan.org/dist/Class-Refresh>
+L<https://github.com/doy/class-refresh>
+
+=item * CPAN Ratings
+
+L<http://cpanratings.perl.org/d/Class-Refresh>
=back
diff --git a/t/lib/Test/Class/Refresh.pm b/t/lib/Test/Class/Refresh.pm
index 5e3bf40..04f0353 100644
--- a/t/lib/Test/Class/Refresh.pm
+++ b/t/lib/Test/Class/Refresh.pm
@@ -6,7 +6,7 @@ use File::Copy;
use File::Find;
use File::Temp;
-use base 'Exporter';
+use Exporter 'import';
our @EXPORT = qw(prepare_temp_dir_for update_temp_dir_for);
sub rcopy {
diff --git a/t/moose-metaclasses.t b/t/moose-metaclasses.t
index 28a0777..f8e655e 100644
--- a/t/moose-metaclasses.t
+++ b/t/moose-metaclasses.t
@@ -2,8 +2,7 @@
use strict;
use warnings;
use Test::More;
-use Test::Requires 'Moose';
-use Test::Moose;
+use Test::Requires 'Moose', 'Test::Moose';
use lib 't/lib';
use Test::Class::Refresh;
diff --git a/weaver.ini b/weaver.ini
deleted file mode 100644
index 498b331..0000000
--- a/weaver.ini
+++ /dev/null
@@ -1,32 +0,0 @@
-[@CorePrep]
-
-[Name]
-[Version]
-
-[Region / prelude]
-
-[Generic / SYNOPSIS]
-[Generic / DESCRIPTION]
-[Generic / OVERVIEW]
-
-[Collect / ATTRIBUTES]
-command = attr
-
-[Collect / METHODS]
-command = method
-
-[Collect / FUNCTIONS]
-command = func
-
-[Leftovers]
-
-[Region / postlude]
-
-[Generic / BUGS]
-
-[SeeAlso]
-
-[Generic / SUPPORT]
-
-[Authors]
-[Legal]