Revision: 2858 http://trac.macosforge.org/projects/ruby/changeset/2858 Author: lsansonetti@apple.com Date: 2009-10-19 16:38:40 -0700 (Mon, 19 Oct 2009) Log Message: ----------- MACRUBY_VERSION is now a string Modified Paths: -------------- MacRuby/trunk/version.c MacRuby/trunk/version.h Modified: MacRuby/trunk/version.c =================================================================== --- MacRuby/trunk/version.c 2009-10-19 23:37:04 UTC (rev 2857) +++ MacRuby/trunk/version.c 2009-10-19 23:38:40 UTC (rev 2858) @@ -39,7 +39,7 @@ rb_define_global_const("RUBY_ENGINE", MKSTR(engine)); #if WITH_OBJC rb_define_global_const("RUBY_ARCH", rb_str_new2(RUBY_ARCH)); - rb_define_global_const("MACRUBY_VERSION", rb_float_new(MACRUBY_VERSION)); + rb_define_global_const("MACRUBY_VERSION", rb_str_new2(MACRUBY_VERSION)); rb_define_global_const("MACRUBY_REVISION", rb_str_new2(MACRUBY_REVISION)); #endif } Modified: MacRuby/trunk/version.h =================================================================== --- MacRuby/trunk/version.h 2009-10-19 23:37:04 UTC (rev 2857) +++ MacRuby/trunk/version.h 2009-10-19 23:38:40 UTC (rev 2858) @@ -1,5 +1,5 @@ #define RUBY_ENGINE "macruby" -#define MACRUBY_VERSION 0.5 +#define MACRUBY_VERSION "0.5" #define RUBY_VERSION "1.9.0" #define RUBY_RELEASE_DATE "2008-06-03"