From ce49cf56af53f13483d2017a34e73d04db507aaf Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 21 Jun 2013 01:19:39 -0400 Subject: packaging stuff --- .gitignore | 6 +++++- .travis.yml | 14 ++++++++++++++ dist.ini | 11 ++++++----- lib/Class/Refresh.pm | 16 ++++++++-------- t/lib/Test/Class/Refresh.pm | 2 +- t/moose-metaclasses.t | 3 +-- weaver.ini | 32 -------------------------------- 7 files changed, 35 insertions(+), 49 deletions(-) create mode 100644 .travis.yml delete mode 100644 weaver.ini 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 - -=item * CPAN Ratings - -L +L =item * RT: CPAN's request tracker L -=item * Search CPAN +=item * Github -L +L + +=item * CPAN Ratings + +L =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] -- cgit v1.2.3