Add Rack version to Rails info

This commit is contained in:
Joshua Peek 2009-03-14 10:37:20 -05:00
parent 07710fd3e0
commit 112056333f
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# Rack is freely distributable under the terms of an MIT-style license.
# See COPYING or http://www.opensource.org/licenses/mit-license.php.
$:.unshift(File.expand_path(File.dirname(__FILE__)))
$: << File.expand_path(File.dirname(__FILE__))
# The Rack main module, serving as a namespace for all core Rack
@ -23,7 +23,7 @@ module Rack
# Return the Rack release as a dotted string.
def self.release
"0.4"
"1.0 bundled"
end
autoload :Builder, "rack/builder"

View File

@ -85,6 +85,10 @@ module Rails
Gem::RubyGemsVersion
end
property 'Rack version' do
::Rack.release
end
# The Rails version.
property 'Rails version' do
Rails::VERSION::STRING