Welcome to mirror list, hosted at ThFree Co, Russian Federation.

2_app.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2f98002347b03246473322d827398b659b06b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Gitlab
  VERSION = File.read(Rails.root.join("VERSION")).strip
  REVISION = `git log --pretty=format:'%h' -n 1`

  def self.config
    Settings
  end
end

#
# Load all libs for threadsafety
#
Dir["#{Rails.root}/lib/**/*.rb"].each { |file| require file }