Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Redmine
|
||||
module Info
|
||||
class << self
|
||||
|
@ -7,13 +9,15 @@ module Redmine
|
|||
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
|
||||
|
||||
def environment
|
||||
s = "Environment:\n"
|
||||
s = +"Environment:\n"
|
||||
s << [
|
||||
["Redmine version", Redmine::VERSION],
|
||||
["Ruby version", "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"],
|
||||
["Rails version", Rails::VERSION::STRING],
|
||||
["Environment", Rails.env],
|
||||
["Database adapter", ActiveRecord::Base.connection.adapter_name]
|
||||
["Database adapter", ActiveRecord::Base.connection.adapter_name],
|
||||
["Mailer queue", ActionMailer::DeliveryJob.queue_adapter.class.name],
|
||||
["Mailer delivery", ActionMailer::Base.delivery_method]
|
||||
].map {|info| " %-30s %s" % info}.join("\n") + "\n"
|
||||
|
||||
s << "SCM:\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue