about summary refs log tree commit diff
path: root/lib/jitterbug.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jitterbug.pm')
-rw-r--r--lib/jitterbug.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/jitterbug.pm b/lib/jitterbug.pm
index 1bf3aab..0febc01 100644
--- a/lib/jitterbug.pm
+++ b/lib/jitterbug.pm
@@ -39,7 +39,9 @@ sub _get_projects {
 
         if ($last_commit) {
             # XXX see what data to store here
-            $proj_desc->{last_build} = from_json($last_commit->content);
+            my $json = from_json($last_commit->content);
+            $proj_desc->{last_build}        = $json;
+            $proj_desc->{last_build_author} = $json->{author}{name};
         }
 
         push @projects, $proj_desc;