测试版
This commit is contained in:
parent
8d0463169e
commit
4dda355d2e
|
@ -22,10 +22,10 @@ module ProjectScoreHelper
|
|||
|
||||
#代码提交数量
|
||||
def changesets_num project
|
||||
# g = Gitlab.client
|
||||
# project.gpid.nil? ? 0 : g.commits_total_count(project.gpid)
|
||||
g = Gitlab.client
|
||||
project.gpid.nil? ? 0 : g.commits_total_count(project.gpid)
|
||||
# commits_total_count(project.gpid)
|
||||
project.changesets.count
|
||||
# project.changesets.count
|
||||
end
|
||||
|
||||
#讨论区帖子数量
|
||||
|
|
Loading…
Reference in New Issue