|
|
|
@@ -1,11 +1,10 @@ |
|
|
|
json.total_count @result_object[:total_data].to_i |
|
|
|
json.author_count @result_object[:data]["author_count"] |
|
|
|
json.commit_count @result_object[:data]["commit_count"] |
|
|
|
json.change_files @result_object[:data]["change_files"] |
|
|
|
json.additions @result_object[:data]["additions"] |
|
|
|
json.deletions @result_object[:data]["deletions"] |
|
|
|
json.commit_count_in_all_branches @result_object[:data]["commit_count_in_all_branches"] |
|
|
|
json.authors @result_object[:data]["authors"].each do |author| |
|
|
|
json.author_count @result_object["author_count"] |
|
|
|
json.commit_count @result_object["commit_count"] |
|
|
|
json.change_files @result_object["change_files"] |
|
|
|
json.additions @result_object["additions"] |
|
|
|
json.deletions @result_object["deletions"] |
|
|
|
json.commit_count_in_all_branches @result_object["commit_count_in_all_branches"] |
|
|
|
json.authors @result_object["authors"].each do |author| |
|
|
|
json.author do |
|
|
|
json.partial! 'api/v1/users/commit_user_email', locals: { user: render_cache_commit_author(author), name: author['name'], email: author['email'] } |
|
|
|
end |
|
|
|
|