提交 5c099a6f 编写于 作者: T Tyler Brock

Add patch level to Ruby version information

Given the recent security related patches to ruby and rails it is more
important than ever to know what patch level you are running.
上级 f34b3189
......@@ -61,8 +61,10 @@ def to_html
end
end
# The Ruby version and platform, e.g. "1.8.2 (powerpc-darwin8.2.0)".
property 'Ruby version', "#{RUBY_VERSION} (#{RUBY_PLATFORM})"
# The Ruby version and platform, e.g. "2.0.0p247 (x86_64-darwin12.4.0)".
property 'Ruby version' do
"#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})"
end
# The RubyGems version, if it's installed.
property 'RubyGems version' do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册