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

@ -40,7 +40,9 @@ module Gitlab
get "/check" do
{
api_version: '3'
api_version: Gitlab::API.version,
gitlab_version: Gitlab::VERSION,
gitlab_rev: Gitlab::REVISION,
}
end
end