diff options
| author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-10 17:44:06 +0100 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-11 18:02:09 +0100 |
| commit | 64bfd9d71a4017e0b5336a2c1565926f4b8beedd (patch) | |
| tree | 8b7770af4cf0e54db3ada26550af9cbda4eabbb0 /lib/ci/charts.rb | |
| parent | 8cdd54cc0696b76daa2baf463d02d944b50bac6a (diff) | |
| download | gitlab-ce-64bfd9d71a4017e0b5336a2c1565926f4b8beedd.tar.gz | |
Remove ci_ prefix from all ci related things
Diffstat (limited to 'lib/ci/charts.rb')
| -rw-r--r-- | lib/ci/charts.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ci/charts.rb b/lib/ci/charts.rb index 912ccff5f98..d53bdcbd0f2 100644 --- a/lib/ci/charts.rb +++ b/lib/ci/charts.rb @@ -16,10 +16,10 @@ module Ci def push(from, to, format) @labels << from.strftime(format) - @total << project.ci_builds. + @total << project.builds. where("? > #{Ci::Build.table_name}.created_at AND #{Ci::Build.table_name}.created_at > ?", to, from). count(:all) - @success << project.ci_builds. + @success << project.builds. where("? > #{Ci::Build.table_name}.created_at AND #{Ci::Build.table_name}.created_at > ?", to, from). success.count(:all) end |
