2012-06-30 17:35:24 -04:00
|
|
|
module Gitlab
|
2013-02-16 07:42:22 -05:00
|
|
|
VERSION = File.read(Rails.root.join("VERSION")).strip
|
2014-02-25 06:12:09 -05:00
|
|
|
REVISION = Gitlab::Popen.popen(%W(git log --pretty=format:%h -n 1)).first.chomp
|
2012-07-02 14:51:48 -04:00
|
|
|
|
|
|
|
def self.config
|
2013-01-18 19:47:57 -05:00
|
|
|
Settings
|
2012-07-02 14:51:48 -04:00
|
|
|
end
|
2012-06-30 17:35:24 -04:00
|
|
|
end
|
2013-06-11 11:03:13 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Load all libs for threadsafety
|
|
|
|
#
|
|
|
|
Dir["#{Rails.root}/lib/**/*.rb"].each { |file| require file }
|