replace grit lib to rugged lib at commit/diff action

I try on the gitlab version 7.1
rugged v 0.19.0
gitlab_git v6.0.0

*need change gitlab view
app/views/projects/commit/_commit_box.html.haml
L:38
    = link_to parent.id[0...10], project_commit_path(@project, parent)
to
    = link_to parent[0...10], project_commit_path(@project, parent)