统计结果改为数组返回
This commit is contained in:
parent
71970e1942
commit
0a300724d3
|
@ -39,7 +39,9 @@ class Repository::Git < Repository
|
|||
end
|
||||
|
||||
def commits(authors, start_date, end_date)
|
||||
scm.commits(authors, start_date, end_date)
|
||||
scm.commits(authors, start_date, end_date).map {|commit|
|
||||
[commit[:author], commit[:num]]
|
||||
}
|
||||
end
|
||||
|
||||
def report_last_commit
|
||||
|
|
Loading…
Reference in New Issue