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

console_message.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2c46a25f365feff31680d5b87d342e0705651f1c (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable Rails/Output
if defined?(Rails::Console)
  # note that this will not print out when using `spring`
  justify = 15
  puts "-------------------------------------------------------------------------------------"
  puts " Gitlab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision})"
  puts " Gitlab Shell:".ljust(justify) + Gitlab::Shell.new.version
  puts " #{Gitlab::Database.adapter_name}:".ljust(justify) + Gitlab::Database.version
  puts "-------------------------------------------------------------------------------------"
end