Add Rack version to Rails info
This commit is contained in:
parent
07710fd3e0
commit
112056333f
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue