+++ /dev/null
-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();
+++ /dev/null
-# 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$
--- /dev/null
+name = MooseX-ClassAttribute
+author = Dave Rolsky <autarch@urth.org>
+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]
1;
+# ABSTRACT: Declare class attributes Moose-style
+
__END__
=pod
-=head1 NAME
-
-MooseX::ClassAttribute - Declare class attributes Moose-style
-
=head1 SYNOPSIS
package My::Class;
the button on this page:
L<http://www.urth.org/~autarch/fs-donation.html>
-=head1 AUTHOR
-
-Dave Rolsky, C<< <autarch@urth.org> >>
-
=head1 BUGS
Please report any bugs or feature requests to
at L<http://rt.cpan.org>. 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use namespace::autoclean;
use Moose;
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<Moose::Meta::Method::Accessor> to do code
generation properly for class attributes.
-=head1 AUTHOR
-
-Dave Rolsky, C<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use List::MoreUtils qw( uniq );
use namespace::autoclean;
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<Moose::Meta::Role::Attribute> to support class
attribute declaration in roles.
-=head1 AUTHOR
-
-Dave Rolsky, C<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use namespace::autoclean;
use Moose::Role;
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<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use namespace::autoclean;
use Moose::Role;
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<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use Moose::Util::MetaRole;
use MooseX::ClassAttribute::Trait::Application::ToClass;
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<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use MooseX::ClassAttribute::Meta::Method::Accessor;
use namespace::autoclean;
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
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<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use MooseX::ClassAttribute::Trait::Attribute;
use Scalar::Util qw( blessed );
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() )
solely because they are used by other meta roles and classes in this
distribution.
-=head1 AUTHOR
-
-Dave Rolsky, C<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use namespace::autoclean;
use Moose::Role;
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<Class::MOP::Mixin::HasAttributes>, except that it works
See L<MooseX::ClassAttribute::Trait::Class> and
L<MooseX::ClassAttribute::Trait::Role> for API details.
-=head1 AUTHOR
-
-Dave Rolsky, C<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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
use strict;
use warnings;
-our $VERSION = '0.13';
-
use MooseX::ClassAttribute::Meta::Role::Attribute;
use Scalar::Util qw( blessed );
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() )
If the named class attribute exists, it is removed from the role.
-=head1 AUTHOR
-
-Dave Rolsky, C<< <autarch@urth.org> >>
-
=head1 BUGS
See L<MooseX::ClassAttribute> 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