Project

General

Profile

Backport #2531 » 0004-Remove-RUBY_DESCRIPTION-from-fake.rb.in-is-not-expos.patch

luislavena (Luis Lavena), 09/13/2010 06:58 AM

View differences:

template/fake.rb.in
CROSS_COMPILING = RUBY_PLATFORM
remove_const :RUBY_PLATFORM
remove_const :RUBY_VERSION
remove_const :RUBY_DESCRIPTION if defined?(RUBY_DESCRIPTION)
RUBY_PLATFORM = "@arch@"
RUBY_VERSION = "@RUBY_PROGRAM_VERSION@"
RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (@RUBY_RELEASE_DATE@) [#{RUBY_PLATFORM}]"
RUBY_VERSION = "@MAJOR@.@MINOR@.@TEENY@"
end
if RUBY_PLATFORM =~ /mswin|bccwin|mingw/
class File
(7-7/7)