1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #17024 from buddhamagnet/amend-welcome-page

Amend welcome page
This commit is contained in:
Rafael Mendonça França 2014-09-25 16:07:19 -03:00
commit 89307fe2ce
2 changed files with 11 additions and 14 deletions

View file

@ -61,6 +61,11 @@ module Rails
end
end
# The Rails version.
property 'Rails version' do
Rails.version.to_s
end
# The Ruby version and platform, e.g. "2.0.0-p247 (x86_64-darwin12.4.0)".
property 'Ruby version' do
"#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})"
@ -75,23 +80,10 @@ module Rails
::Rack.release
end
# The Rails version.
property 'Rails version' do
Rails.version.to_s
end
property 'JavaScript Runtime' do
ExecJS.runtime.name
end
# Versions of each Rails framework (Active Record, Action Pack,
# Action Mailer, and Active Support).
frameworks.each do |framework|
property "#{framework.titlecase} version" do
framework_version(framework)
end
end
property 'Middleware' do
Rails.configuration.middleware.map(&:inspect)
end

View file

@ -95,7 +95,12 @@
padding-top: 3px;
padding-bottom: 3px;
}
#about-content td.name {color: #555}
#about-content td.name {
font-weight: bold;
vertical-align: top;
color: #555
}
#about-content td.value {color: #000}
#about-content ul {