Permalink
Browse files

pod, dist.ini, README.md

  • Loading branch information...
1 parent 3d33948 commit de05bcdf8514308faefe686dd7d702131582c571 @berekuk committed Feb 28, 2012
Showing with 71 additions and 0 deletions.
  1. +6 −0 Changes
  2. +14 −0 README.md
  3. +31 −0 dist.ini
  4. +20 −0 lib/Class/DOES/Moose.pm
View
@@ -0,0 +1,6 @@
+Revision history for Class-DOES-Moose
+
+{{$NEXT}}
+
+1.00 Tue Feb 28, 2012
+ Initial release.
View
@@ -0,0 +1,14 @@
+# Class-DOES-Moose
+
+Class::DOES::Moose provides a syntax sugar for adding extra non-Moose roles to your classes DOES() calls.
+
+## Synopsis
+
+ use Moose;
+ use Class::DOES::Moose;
+
+ extra_does qw/ My::Foo My::Bar /;
+
+ __PACKAGE__->new->DOES('My::Foo'); # 1
+ __PACKAGE__->new->does('My::Foo'); # 0
+
View
@@ -0,0 +1,31 @@
+name = Class-DOES-Moose
+version = 1.00
+author = Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
+author = Andrei Mishchenko <druxa@yandex-team.ru>
+license = Perl_5
+copyright_holder = Yandex LLC
+
+[PodWeaver]
+
+[@Filter]
+bundle = @Classic
+remove = PodVersion
+
+[PruneFiles]
+filenames = debuild
+filenames = debian
+
+[AutoPrereqs]
+
+[NextRelease]
+format = %-7v %{yyyy-MM-dd}d
+
+[MetaResources]
+homepage = http://github.com/berekuk/Class-DOES-Moose/wiki
+bugtracker.web = http://github.com/berekuk/Class-DOES-Moose/issues
+bugtracker.mailto = bug-class-does-moose@rt.cpan.org
+repository.url = git://github.com/berekuk/Class-DOES-Moose.git
+repository.web = http://github.com/berekuk/Class-DOES-Moose
+repository.type = git
+
+[@Git]
View
@@ -1,5 +1,19 @@
package Class::DOES::Moose;
+# ABSTRACT: syntax sugar for adding extra non-Moose roles to Moose classes
+
+=head1 SYNOPSIS
+
+ use Moose;
+ use Class::DOES::Moose;
+
+ extra_does qw/ My::Foo My::Bar /;
+
+ __PACKAGE__->new->DOES('My::Foo'); # 1
+ __PACKAGE__->new->does('My::Foo'); # 0
+
+=cut
+
use namespace::autoclean;
use Moose ();
@@ -25,4 +39,10 @@ sub extra_does {
Moose::Util::apply_all_roles($meta, 'Class::DOES::Moose::Role');
}
+=head1 SEE ALSO
+
+L<Class::DOES>
+
+=cut
+
1;

0 comments on commit de05bcd

Please sign in to comment.