[Bps-public-commit] SD branch, master, updated. 95eb5eb6b4d2e0a1afb11d0e9c009ef47cb85e0a

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jun 3 07:40:11 EDT 2009


The branch, master has been updated
       via  95eb5eb6b4d2e0a1afb11d0e9c009ef47cb85e0a (commit)
       via  c4c51c48d97ae029048ae7ea48c5e2099c5cfcb5 (commit)
      from  b73e9d019515a7dc3c10b63a28e5d1fa898ebbae (commit)

Summary of changes:
 lib/App/SD/Replica/gcode.pm             |    1 +
 lib/App/SD/Replica/gcode/PullEncoder.pm |   10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit c4c51c48d97ae029048ae7ea48c5e2099c5cfcb5
Author: sunnavy <sunnavy at gmail.com>
Date:   Wed Jun 3 19:33:58 2009 +0800

    added blockedon prop for gcode

diff --git a/lib/App/SD/Replica/gcode.pm b/lib/App/SD/Replica/gcode.pm
index 9a81d96..748d658 100644
--- a/lib/App/SD/Replica/gcode.pm
+++ b/lib/App/SD/Replica/gcode.pm
@@ -23,6 +23,7 @@ our %PROP_MAP = (
     labels     => 'tags',
     priority   => 'priority',
     mergedinto => 'merged_into',
+    blockedon  => 'blocked_on',
 );
 
 

commit 95eb5eb6b4d2e0a1afb11d0e9c009ef47cb85e0a
Author: sunnavy <sunnavy at gmail.com>
Date:   Wed Jun 3 19:34:44 2009 +0800

    use the new api of search for gcode

diff --git a/lib/App/SD/Replica/gcode/PullEncoder.pm b/lib/App/SD/Replica/gcode/PullEncoder.pm
index f96fa26..41c11f5 100644
--- a/lib/App/SD/Replica/gcode/PullEncoder.pm
+++ b/lib/App/SD/Replica/gcode/PullEncoder.pm
@@ -74,10 +74,14 @@ sub find_matching_tickets {
     require Net::Google::Code::Issue::Search;
     my $search = Net::Google::Code::Issue::Search->new(
         project => $self->sync_source->project,
-        limit   => '99999',
-        _can    => 'all',
     );
-    $search->search( _q => $query{query} );
+
+    $search->search(
+        can            => 'all',
+        q              => $query{query},
+        limit          => '99999',
+    );
+        
     my @base_results = @{ $search->results };
     my @results;
 

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



More information about the Bps-public-commit mailing list