[Bps-public-commit] r19661 - in Net-Google-Code/trunk/lib/Net/Google: . Code/Issue Code/Role

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu May 14 03:57:45 EDT 2009


Author: sunnavy
Date: Thu May 14 03:57:44 2009
New Revision: 19661

Removed:
   Net-Google-Code/trunk/lib/Net/Google/Code/Role.pm
Modified:
   Net-Google-Code/trunk/lib/Net/Google/Code.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Attachment.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Comment.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Issue/PropChange.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Role/URL.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm

Log:
remove Role.pm

Modified: Net-Google-Code/trunk/lib/Net/Google/Code.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code.pm	Thu May 14 03:57:44 2009
@@ -1,10 +1,16 @@
 package Net::Google::Code;
 
 use Moose;
-with 'Net::Google::Code::Role', 'Net::Google::Code::Role::Pageable';
+with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL',
+  'Net::Google::Code::Role::Pageable';
 
 our $VERSION = '0.04';
 
+has 'project' => (
+    isa      => 'Str',
+    is       => 'rw',
+);
+
 has 'labels' => (
     isa => 'ArrayRef',
     is  => 'rw',

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Download.pm	Thu May 14 03:57:44 2009
@@ -3,7 +3,12 @@
 use Moose;
 use Params::Validate qw(:all);
 
-with 'Net::Google::Code::Role';
+with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL';
+
+has 'project' => (
+    isa      => 'Str',
+    is       => 'rw',
+);
 
 has 'name' => (
     isa => 'Str',
@@ -146,6 +151,8 @@
 
 =item parse
 
+=item project
+
 =item name
 
 =item size

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm	Thu May 14 03:57:44 2009
@@ -1,10 +1,15 @@
 package Net::Google::Code::Issue;
 use Moose;
 use Params::Validate qw(:all);
-with 'Net::Google::Code::Role';
+with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL';
 use Net::Google::Code::Issue::Comment;
 use Net::Google::Code::Issue::Attachment;
 
+has 'project' => (
+    isa      => 'Str',
+    is       => 'rw',
+);
+
 has 'state' => (
     isa     => 'HashRef',
     is      => 'rw',
@@ -151,6 +156,8 @@
 
 =item parse
 
+=item project
+
 =item id
 
 =item status

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Attachment.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Attachment.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Attachment.pm	Thu May 14 03:57:44 2009
@@ -90,7 +90,7 @@
 
 =head1 NAME
 
-Net::Google::Code::Issue::Attachment
+Net::Google::Code::Issue::Attachment - Issue's Attachment
 
 =head1 DESCRIPTION
 

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Comment.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Comment.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Comment.pm	Thu May 14 03:57:44 2009
@@ -84,7 +84,7 @@
 
 =head1 NAME
 
-Net::Google::Code::Issue::Comment - 
+Net::Google::Code::Issue::Comment - Issue's Comment
 
 =head1 DESCRIPTION
 

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue/PropChange.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue/PropChange.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue/PropChange.pm	Thu May 14 03:57:44 2009
@@ -13,7 +13,7 @@
 
 =head1 NAME
 
-Net::Google::Code::Issue::PropChange - 
+Net::Google::Code::Issue::PropChange - Issue's PropChange
 
 =head1 DESCRIPTION
 

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm	Thu May 14 03:57:44 2009
@@ -2,7 +2,13 @@
 use Moose;
 use Params::Validate qw(:all);
 use Moose::Util::TypeConstraints;
-with 'Net::Google::Code::Role', 'Net::Google::Code::Role::Pageable';
+with 'Net::Google::Code::Role::URL',
+  'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::Pageable';
+
+has 'project' => (
+    isa      => 'Str',
+    is       => 'rw',
+);
 
 our %CAN = (
     'all'    => 1,
@@ -82,7 +88,7 @@
 
 =head1 NAME
 
-Net::Google::Code::Issue::Search - 
+Net::Google::Code::Issue::Search - Issues Search API 
 
 
 =head1 DESCRIPTION

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Role/URL.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Role/URL.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Role/URL.pm	Thu May 14 03:57:44 2009
@@ -1,7 +1,8 @@
 package Net::Google::Code::Role::URL;
 use Moose::Role;
 
-requires 'project'; 
+# requires don't support attribute yet :/
+# requires 'project'; 
 
 has 'base_url' => (
     isa     => 'Str',

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Wiki.pm	Thu May 14 03:57:44 2009
@@ -2,7 +2,12 @@
 
 use Moose;
 use Params::Validate qw(:all);
-with 'Net::Google::Code::Role';
+with 'Net::Google::Code::Role::Fetchable', 'Net::Google::Code::Role::URL';
+
+has 'project' => (
+    isa      => 'Str',
+    is       => 'rw',
+);
 
 has 'name' => (
     isa => 'Str',
@@ -144,6 +149,8 @@
 
 =item parse_source
 
+=item project
+
 =item name
 
 =item source



More information about the Bps-public-commit mailing list