diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-28 14:19:00 -0700 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-04-28 14:19:00 -0700 |
commit | de44fb9427035c2684d5b0882ae9caa4c621d86f (patch) | |
tree | 3cfb4b5a1c7b8f3f77baf4867c58561bb11ef4db /lib | |
parent | Add a link from the project page back to the dashboard, fixes #39 (diff) | |
download | jitterbug-de44fb9427035c2684d5b0882ae9caa4c621d86f.tar.gz |
Show the author of the latest commit on the dashboard, fixes #40
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jitterbug.pm | 4 |
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; |