uppercase Gitlab version and revision constants. check api return gitlab version now

This commit is contained in:
Dmitriy Zaporozhets 2013-02-16 14:42:22 +02:00
parent e65cc4f849
commit b729728536
5 changed files with 10 additions and 7 deletions

View file

@ -1,6 +1,6 @@
module Gitlab
Version = File.read(Rails.root.join("VERSION"))
Revision = `git log --pretty=format:'%h' -n 1`
VERSION = File.read(Rails.root.join("VERSION")).strip
REVISION = `git log --pretty=format:'%h' -n 1`
def self.config
Settings