From: Dave Rolsky Date: Sun, 5 Jun 2011 15:35:19 +0000 (-0500) Subject: switching over to dzil X-Git-Tag: 0.26~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Types.git;a=commitdiff_plain;h=ef8b7b7a254653b0e77d19b19d7bd870700cf4b2 switching over to dzil --- diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP deleted file mode 100644 index 3d0e937..0000000 --- a/MANIFEST.SKIP +++ /dev/null @@ -1,41 +0,0 @@ -# -# This file is a modified version of the MANIFEST.SKIP file -# from DBIx-Class. -# - -# Avoid version control files. -\bRCS\b -\bCVS\b -,v$ -\B\.svn\b -\B\.git\b - -# Avoid Makemaker generated and utility files. -\bMakefile$ -\bblib -\bMakeMaker-\d -\bpm_to_blib$ -\bblibdirs$ -^MANIFEST\.SKIP$ - -# for developers only :) -^TODO$ - -# Avoid temp and backup files. -~$ -\.tmp$ -\.old$ -\.bak$ -\.swp$ -\.swo$ -\#$ -\b\.# - -# avoid OS X finder files -\.DS_Store$ - -# Don't ship the last dist we built :) -\.tar\.gz$ - -# Skip maint stuff -^maint/ diff --git a/Makefile.PL b/Makefile.PL deleted file mode 100644 index 600ffe8..0000000 --- a/Makefile.PL +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env perl -use warnings; -use strict; - -use inc::Module::Install 0.91; - -name q{MooseX-Types}; -license q{perl}; -author q{Robert "phaylon" Sedlacek }; -all_from q{lib/MooseX/Types.pm}; - -build_requires q{Test::More}, '0.88'; -build_requires q{FindBin}, 0; -build_requires q{Test::Moose}, 0; -build_requires q{Test::Fatal}, 0; -build_requires q{Test::Requires}, 0; - -requires q{Moose}, '1.06'; -requires q{Sub::Install}, '0.924'; -requires q{namespace::clean}, '0.08'; -requires q{Carp}, 0; -requires q{Carp::Clan}, '6.00'; -requires q{Scalar::Util}, '1.19'; -requires q{Sub::Name}, 0; - -add_metadata( x_authority => 'cpan:PHAYLON' ); - -if (can_use('MooseX::Types::IO') && !can_use('MooseX::Types::IO', '0.03')) { - requires q{MooseX::Types::IO}, '0.03'; -} - -system 'pod2text lib/MooseX/Types.pm > README' - if -e 'MANIFEST.SKIP'; - -auto_provides; -tests_recursive; - -WriteAll; - -if ($Module::Install::AUTHOR) { - Meta->{values}{requires} = [ grep { - $_->[0] ne 'MooseX::Types::IO' - } @{ Meta->{values}{requires} } ]; - - Meta->write; -} diff --git a/dist.ini b/dist.ini new file mode 100644 index 0000000..5a458fc --- /dev/null +++ b/dist.ini @@ -0,0 +1,47 @@ +name = MooseX-Types +author = Robert "phaylon" Sedlacek +license = Perl_5 +copyright_holder = Robert "phaylon" Sedlacek + +version = 0.26 + +[NextRelease] +format = %-8v %{yyyy-MM-dd}d + +[@Basic] + +[InstallGuide] +[MetaJSON] + +[MetaResources] +bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=Courriel +bugtracker.mailto = bug-courriel@rt.cpan.org +repository.url = git://git.urth.org/Courriel.git +repository.web = http://git.urth.org/Courriel.git +repository.type = git + +[SurgicalPodWeaver] + +[PkgVersion] + +[PodSyntaxTests] +[NoTabsTests] +[Test::CPAN::Changes] + +[Prereqs / BuildRequires] +FindBin = 0 +Test::Fatal = 0 +Test::Moose = 0 +Test::More = 0.88 +Test::Requires = 0 + +[Prereqs] +Carp = 0 +Carp::Clan = 6.00 +Moose = 1.06 +Scalar::Util = 1.19 +Sub::Install = 0.924 +Sub::Name = 0 +namespace::clean = 0.08 +perl = v5.8.0 + diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index 996b0c0..4f16f9a 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -1,11 +1,7 @@ package MooseX::Types; use Moose; -=head1 NAME - -MooseX::Types - Organise your Moose types in libraries - -=cut +# ABSTRACT: Organise your Moose types in libraries use Moose::Util::TypeConstraints; use MooseX::Types::TypeDecorator; @@ -20,7 +16,6 @@ use Scalar::Util 'reftype'; use namespace::clean -except => [qw( meta )]; use 5.008; -our $VERSION = '0.26'; my $UndefMsg = q{Action for type '%s' not yet defined in library '%s'}; =head1 SYNOPSIS @@ -591,10 +586,6 @@ L Many thanks to the C<#moose> cabal on C. -=head1 AUTHOR - -Robert "phaylon" Sedlacek - =head1 CONTRIBUTORS jnapiorkowski: John Napiorkowski @@ -607,13 +598,6 @@ hdp: Hans Dieter Pearcey autarch: Dave Rolsky -=head1 COPYRIGHT & LICENSE - -Copyright (c) 2007-2009 Robert Sedlacek - -This program is free software; you can redistribute it and/or modify -it under the same terms as perl itself. - =cut 1; diff --git a/lib/MooseX/Types/Base.pm b/lib/MooseX/Types/Base.pm index 398ad9c..e172d19 100644 --- a/lib/MooseX/Types/Base.pm +++ b/lib/MooseX/Types/Base.pm @@ -1,12 +1,7 @@ package MooseX::Types::Base; -our $VERSION = "0.26"; use Moose; -=head1 NAME - -MooseX::Types::Base - Type library base class - -=cut +# ABSTRACT: Type library base class use Carp::Clan qw( ^MooseX::Types ); use MooseX::Types::Util qw( filter_tags ); @@ -277,10 +272,6 @@ sub get_registered_role_type { L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/lib/MooseX/Types/CheckedUtilExports.pm b/lib/MooseX/Types/CheckedUtilExports.pm index 78959d6..0294e64 100644 --- a/lib/MooseX/Types/CheckedUtilExports.pm +++ b/lib/MooseX/Types/CheckedUtilExports.pm @@ -6,7 +6,6 @@ safer for L =cut package MooseX::Types::CheckedUtilExports; -our $VERSION = "0.26"; use strict; use warnings; @@ -88,10 +87,6 @@ sub role_type ($;$) { L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/lib/MooseX/Types/Combine.pm b/lib/MooseX/Types/Combine.pm index 0fdaa69..73e1e20 100644 --- a/lib/MooseX/Types/Combine.pm +++ b/lib/MooseX/Types/Combine.pm @@ -1,11 +1,6 @@ -=head1 NAME - -MooseX::Types::Combine - Combine type libraries for exporting - -=cut - package MooseX::Types::Combine; -our $VERSION = "0.26"; + +# ABSTRACT: Combine type libraries for exporting use strict; use warnings; @@ -109,10 +104,6 @@ sub _provided_types { L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/lib/MooseX/Types/Moose.pm b/lib/MooseX/Types/Moose.pm index c51e0be..f5a732d 100644 --- a/lib/MooseX/Types/Moose.pm +++ b/lib/MooseX/Types/Moose.pm @@ -1,11 +1,6 @@ package MooseX::Types::Moose; -our $VERSION = "0.26"; -=head1 NAME - -MooseX::Types::Moose - Types shipped with L - -=cut +# ABSTRACT: Type exportes that match the types shipped with L use warnings; use strict; @@ -70,10 +65,6 @@ L, L, L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/lib/MooseX/Types/TypeDecorator.pm b/lib/MooseX/Types/TypeDecorator.pm index b95f124..4c2bc8e 100644 --- a/lib/MooseX/Types/TypeDecorator.pm +++ b/lib/MooseX/Types/TypeDecorator.pm @@ -1,10 +1,10 @@ package MooseX::Types::TypeDecorator; -our $VERSION = "0.26"; + +#ABSTRACT: Wraps Moose::Meta::TypeConstraint objects with added features use strict; use warnings; - use Carp::Clan qw( ^MooseX::Types ); use Moose::Util::TypeConstraints (); use Moose::Meta::TypeConstraint::Union; @@ -52,10 +52,6 @@ use overload( ); -=head1 NAME - -MooseX::Types::TypeDecorator - More flexible access to a Type Constraint - =head1 DESCRIPTION This is a decorator object that contains an underlying type constraint. We use @@ -210,10 +206,6 @@ sub AUTOLOAD { } } -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/lib/MooseX/Types/UndefinedType.pm b/lib/MooseX/Types/UndefinedType.pm index 4c4c10d..58f5d3e 100644 --- a/lib/MooseX/Types/UndefinedType.pm +++ b/lib/MooseX/Types/UndefinedType.pm @@ -1,9 +1,4 @@ package MooseX::Types::UndefinedType; -our $VERSION = "0.26"; - -=head1 NAME - -MooseX::Types::UndefinedType - Represents a not yet defined type =cut @@ -110,10 +105,6 @@ L, L, L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/lib/MooseX/Types/Util.pm b/lib/MooseX/Types/Util.pm index bf91020..1b3c979 100644 --- a/lib/MooseX/Types/Util.pm +++ b/lib/MooseX/Types/Util.pm @@ -1,11 +1,6 @@ package MooseX::Types::Util; -our $VERSION = "0.26"; -=head1 NAME - -MooseX::Types::Util - Common utility functions for the module - -=cut +#ABSTRACT: Common utility functions for the distribution use warnings; use strict; @@ -99,10 +94,6 @@ sub has_available_type_export { L, L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/lib/MooseX/Types/Wrapper.pm b/lib/MooseX/Types/Wrapper.pm index 02b196a..388a535 100644 --- a/lib/MooseX/Types/Wrapper.pm +++ b/lib/MooseX/Types/Wrapper.pm @@ -1,11 +1,7 @@ -=head1 NAME - -MooseX::Types::Wrapper - Wrap exports from a library +package MooseX::Types::Wrapper; -=cut +#ABSTRACT: Wrap exports from a library -package MooseX::Types::Wrapper; -our $VERSION = "0.26"; use Moose; use Carp::Clan qw( ^MooseX::Types ); @@ -52,10 +48,6 @@ sub import { L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify