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