From: Dave Rolsky Date: Wed, 14 Jul 2010 20:17:32 +0000 (-0500) Subject: dzilize this distro X-Git-Tag: v0.14~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d0bf8c3010d7195657d3a00559af327afd3d463;p=gitmo%2FMooseX-ClassAttribute.git dzilize this distro --- diff --git a/Build.PL b/Build.PL deleted file mode 100644 index 9c38568..0000000 --- a/Build.PL +++ /dev/null @@ -1,22 +0,0 @@ -use strict; -use warnings; - -use Module::Build; - -my $builder = Module::Build->new( - module_name => 'MooseX::ClassAttribute', - license => 'perl', - requires => { - 'Moose' => '0.98', - 'namespace::autoclean' => '0', - }, - build_requires => { - 'Scalar::Util' => '0', - 'Test::More' => '0.88', - }, - create_makefile_pl => 'traditional', - create_readme => 1, - sign => 1, -); - -$builder->create_build_script(); diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP deleted file mode 100644 index 3de39e9..0000000 --- a/MANIFEST.SKIP +++ /dev/null @@ -1,44 +0,0 @@ -# Avoid version control files. -^RCS -^CVS -,v$ -\.svn.* -^\.hg -^\.git - -# Avoid Makemaker generated and utility files. -^Makefile$ -^blib -^MakeMaker-\d -^pm_to_blib$ -^blibdirs$ -^MANIFEST\.SKIP$ - -# Avoid Module::Build generated and utility files. -^Build$ -^_build -^Build.bat$ - -# Avoid temp and backup files. -~$ -\.old$ -\.bak$ -\#$ -^\.# -\.rej$ -\.orig$ - -# Avoid Devel::Cover generated files -^cover_db - -# kwalitee.t junk -^Debian_CPANTS\.txt - -# Avoid tarballs -\.(?:tar|tgz|tar\.gz)$ - -^MooseX-ClassAttribute- - -# No need to ship this -\.shipit -^MYMETA.yml$ diff --git a/dist.ini b/dist.ini new file mode 100644 index 0000000..fabe495 --- /dev/null +++ b/dist.ini @@ -0,0 +1,39 @@ +name = MooseX-ClassAttribute +author = Dave Rolsky +copyright_year = 2010 + +version = 0.09 + +[@Basic] + +[InstallGuide] +[MetaJSON] + +[MetaResources] +bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist={{MooseX-ClassAttribute}} +bugtracker.mailto = bug-moosex-classattribute@rt.cpan.org +repository.url = git://git.moose.perl.org/MooseX-ClassAttribute.git +repository.web = http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/MooseX-ClassAttribute.git;a=summary +repository.type = hg + +[PodWeaver] + +[PkgVersion] + +[KwaliteeTests] +[PodTests] +[NoTabsTests] +[EOLTests] +[Signature] + +[CheckChangeLog] + +[Prereqs] +Moose = 0.98 +namespace::autoclean = 0 + +[Prereqs / TestRequires] +Test::More = 0.88 +Scalar::Util = 0 + +[@Git] diff --git a/lib/MooseX/ClassAttribute.pm b/lib/MooseX/ClassAttribute.pm index b73e6b7..1fb7065 100644 --- a/lib/MooseX/ClassAttribute.pm +++ b/lib/MooseX/ClassAttribute.pm @@ -39,14 +39,12 @@ sub class_has { 1; +# ABSTRACT: Declare class attributes Moose-style + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute - Declare class attributes Moose-style - =head1 SYNOPSIS package My::Class; @@ -140,10 +138,6 @@ To donate, log into PayPal and send money to autarch@urth.org or use the button on this page: L -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS Please report any bugs or feature requests to @@ -151,11 +145,4 @@ C, or through the web interface at L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm b/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm index ee2d6d0..bd7874f 100644 --- a/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm +++ b/lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Meta::Method::Accessor; use strict; use warnings; -our $VERSION = '0.13'; - use namespace::autoclean; use Moose; @@ -116,32 +114,19 @@ sub _inline_get_old_value_for_trigger { 1; +# ABSTRACT: Accessor method generation for class attributes + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Meta::Method::Accessor - Accessor method generation for class attributes - =head1 DESCRIPTION This class overrides L to do code generation properly for class attributes. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Meta/Role/Attribute.pm b/lib/MooseX/ClassAttribute/Meta/Role/Attribute.pm index eb239a5..4da0dc6 100644 --- a/lib/MooseX/ClassAttribute/Meta/Role/Attribute.pm +++ b/lib/MooseX/ClassAttribute/Meta/Role/Attribute.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Meta::Role::Attribute; use strict; use warnings; -our $VERSION = '0.13'; - use List::MoreUtils qw( uniq ); use namespace::autoclean; @@ -25,32 +23,19 @@ sub new { 1; +# ABSTRACT: An attribute metaclass for class attributes in roles + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Meta::Role::Attribute - An attribute metaclass for class attributes in roles - =head1 DESCRIPTION This class overrides L to support class attribute declaration in roles. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Trait/Application.pm b/lib/MooseX/ClassAttribute/Trait/Application.pm index 9ac9526..5578520 100644 --- a/lib/MooseX/ClassAttribute/Trait/Application.pm +++ b/lib/MooseX/ClassAttribute/Trait/Application.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Trait::Application; use strict; use warnings; -our $VERSION = '0.13'; - use namespace::autoclean; use Moose::Role; @@ -14,32 +12,19 @@ after apply_attributes => sub { 1; +# ABSTRACT: A trait that supports role application for roles with class attributes + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Trait::Application - A trait that supports role application for roles with class attributes - =head1 DESCRIPTION This trait is used to allow the application of roles containing class attributes. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Trait/Application/ToClass.pm b/lib/MooseX/ClassAttribute/Trait/Application/ToClass.pm index 2f659fc..9026aed 100644 --- a/lib/MooseX/ClassAttribute/Trait/Application/ToClass.pm +++ b/lib/MooseX/ClassAttribute/Trait/Application/ToClass.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Trait::Application::ToClass; use strict; use warnings; -our $VERSION = '0.13'; - use namespace::autoclean; use Moose::Role; @@ -40,32 +38,19 @@ sub _apply_class_attributes { 1; +# ABSTRACT: A trait that supports applying class attributes to classes + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Trait::Application::ToClass - A trait that supports applying class attributes to classes - =head1 DESCRIPTION This trait is used to allow the application of roles containing class attributes to classes. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Trait/Application/ToRole.pm b/lib/MooseX/ClassAttribute/Trait/Application/ToRole.pm index aea2dab..e20dcdf 100644 --- a/lib/MooseX/ClassAttribute/Trait/Application/ToRole.pm +++ b/lib/MooseX/ClassAttribute/Trait/Application/ToRole.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Trait::Application::ToRole; use strict; use warnings; -our $VERSION = '0.13'; - use Moose::Util::MetaRole; use MooseX::ClassAttribute::Trait::Application::ToClass; @@ -50,32 +48,19 @@ sub _apply_class_attributes { 1; +# ABSTRACT: A trait that supports applying class attributes to roles + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Trait::Application::ToRole - A trait that supports applying class attributes to roles - =head1 DESCRIPTION This trait is used to allow the application of roles containing class attributes to roles. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Trait/Attribute.pm b/lib/MooseX/ClassAttribute/Trait/Attribute.pm index e0086a3..7fe6a89 100644 --- a/lib/MooseX/ClassAttribute/Trait/Attribute.pm +++ b/lib/MooseX/ClassAttribute/Trait/Attribute.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Trait::Attribute; use strict; use warnings; -our $VERSION = '0.13'; - use MooseX::ClassAttribute::Meta::Method::Accessor; use namespace::autoclean; @@ -129,14 +127,12 @@ around 'clear_value' => sub { 1; +# ABSTRACT: A trait for class attributes + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Trait::Attribute - A trait for class attributes - =head1 DESCRIPTION This role modifies the behavior of class attributes in various @@ -147,19 +143,8 @@ metaclasses, like C. There are no new public methods implemented by this role. All it does is change the behavior of a number of existing methods. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Trait/Class.pm b/lib/MooseX/ClassAttribute/Trait/Class.pm index c86e0fc..18b403f 100644 --- a/lib/MooseX/ClassAttribute/Trait/Class.pm +++ b/lib/MooseX/ClassAttribute/Trait/Class.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Trait::Class; use strict; use warnings; -our $VERSION = '0.13'; - use MooseX::ClassAttribute::Trait::Attribute; use Scalar::Util qw( blessed ); @@ -227,14 +225,12 @@ sub inline_weaken_class_slot_value { 1; +# ABSTRACT: A trait for classes with class attributes + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Trait::Class - A trait for classes with class attributes - =head1 SYNOPSIS for my $attr ( HasClassAttributes->meta()->get_all_class_attributes() ) @@ -317,19 +313,8 @@ you're doing some deep hacking. They are named as public methods solely because they are used by other meta roles and classes in this distribution. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Trait/Mixin/HasClassAttributes.pm b/lib/MooseX/ClassAttribute/Trait/Mixin/HasClassAttributes.pm index a47b93d..3ba4852 100644 --- a/lib/MooseX/ClassAttribute/Trait/Mixin/HasClassAttributes.pm +++ b/lib/MooseX/ClassAttribute/Trait/Mixin/HasClassAttributes.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Trait::Mixin::HasClassAttributes; use strict; use warnings; -our $VERSION = '0.13'; - use namespace::autoclean; use Moose::Role; @@ -76,14 +74,12 @@ sub remove_class_attribute { 1; +# ABSTRACT: A mixin trait for things which have class attributes + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Trait::Mixin::HasClassAttributes - A mixin trait for things which have class attributes - =head1 DESCRIPTION This trait is like L, except that it works @@ -92,19 +88,8 @@ with class attributes instead of object attributes. See L and L for API details. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut diff --git a/lib/MooseX/ClassAttribute/Trait/Role.pm b/lib/MooseX/ClassAttribute/Trait/Role.pm index 7db8e8b..c7b639d 100644 --- a/lib/MooseX/ClassAttribute/Trait/Role.pm +++ b/lib/MooseX/ClassAttribute/Trait/Role.pm @@ -3,8 +3,6 @@ package MooseX::ClassAttribute::Trait::Role; use strict; use warnings; -our $VERSION = '0.13'; - use MooseX::ClassAttribute::Meta::Role::Attribute; use Scalar::Util qw( blessed ); @@ -35,14 +33,12 @@ sub _attach_class_attribute { 1; +# ABSTRACT: A trait for roles with class attributes + __END__ =pod -=head1 NAME - -MooseX::ClassAttribute::Trait::Role - A trait for roles with class attributes - =head1 SYNOPSIS for my $attr ( HasClassAttributes->meta()->get_all_class_attributes() ) @@ -80,19 +76,8 @@ C method. However, if an attribute is specified as If the named class attribute exists, it is removed from the role. -=head1 AUTHOR - -Dave Rolsky, C<< >> - =head1 BUGS See L for details. -=head1 COPYRIGHT & LICENSE - -Copyright 2007-2010 Dave Rolsky, All Rights Reserved. - -This program is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut