[Bps-public-commit] net-lighthouse branch, master, updated. 06074867b9840e7a624dc6615a1ca1d5017203eb

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Sep 2 01:07:26 EDT 2009


The branch, master has been updated
       via  06074867b9840e7a624dc6615a1ca1d5017203eb (commit)
      from  9145125842d9bd1b07b2581e02c272a787abf723 (commit)

Summary of changes:
 lib/Net/Lighthouse/Project/Ticket.pm         |    2 +-
 lib/Net/Lighthouse/Project/Ticket/Version.pm |    2 +-
 t/03-ticket.t                                |    3 ++-
 t/04-ticket-version.t                        |    4 ++--
 4 files changed, 6 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 06074867b9840e7a624dc6615a1ca1d5017203eb
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Sep 2 13:07:14 2009 +0800

    add milestone_title attr for ticket

diff --git a/lib/Net/Lighthouse/Project/Ticket.pm b/lib/Net/Lighthouse/Project/Ticket.pm
index 6944862..1d9b50e 100644
--- a/lib/Net/Lighthouse/Project/Ticket.pm
+++ b/lib/Net/Lighthouse/Project/Ticket.pm
@@ -25,7 +25,7 @@ has [
     'state',       'permalink',
     'versions',    'url',
     'latest_body', 'creator_name',
-    'assigned_user_name',
+    'assigned_user_name', 'milestone_title',
   ] => (
     isa => 'Maybe[Str]',
     is  => 'ro',
diff --git a/lib/Net/Lighthouse/Project/Ticket/Version.pm b/lib/Net/Lighthouse/Project/Ticket/Version.pm
index d2554fe..84d3a4a 100644
--- a/lib/Net/Lighthouse/Project/Ticket/Version.pm
+++ b/lib/Net/Lighthouse/Project/Ticket/Version.pm
@@ -34,7 +34,7 @@ has [
     'state',              'tag',
     'title',              'user_id',
     'user_name',          'creator_name',
-    'url',
+    'url', 'milestone_title',
   ] => (
     isa => 'Maybe[Str]',
     is  => 'ro',
diff --git a/t/03-ticket.t b/t/03-ticket.t
index 1841feb..a0b9602 100644
--- a/t/03-ticket.t
+++ b/t/03-ticket.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 70;
+use Test::More tests => 71;
 use Test::Mock::LWP;
 use DateTime;
 use_ok('Net::Lighthouse::Project');
@@ -25,6 +25,7 @@ my @attrs = (
     'attachments_count',  'assigned_user_id',
     'assigned_user_name', 'creator_id',
     'title',              'creator_name',
+    'milestone_title',
 );
 
 for my $attr (@attrs) {
diff --git a/t/04-ticket-version.t b/t/04-ticket-version.t
index 7f59a6b..7765d54 100644
--- a/t/04-ticket-version.t
+++ b/t/04-ticket-version.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 47;
+use Test::More tests => 48;
 use DateTime;
 use_ok('Net::Lighthouse::Project::Ticket::Version');
 can_ok( 'Net::Lighthouse::Project::Ticket::Version', 'new' );
@@ -20,7 +20,7 @@ my @attrs = (
     'title',              'updated_at',
     'user_id',            'user_name',
     'creator_name',       'url',
-    'diffable_attributes',
+    'diffable_attributes', 'milestone_title',
 );
 
 for my $attr (@attrs) {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list