debian-mirror-gitlab/config/initializers/2_app.rb

9 lines
194 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
module Gitlab
VERSION = File.read(Rails.root.join("VERSION")).strip
REVISION = Gitlab::Popen.popen(%W(git log --pretty=format:%h -n 1)).first.chomp
def self.config
Settings
end
end