[macruby-changes] [2858] MacRuby/trunk

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 19 16:38:41 PDT 2009


Revision: 2858
          http://trac.macosforge.org/projects/ruby/changeset/2858
Author:   lsansonetti at 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091019/1d87068f/attachment.html>


More information about the macruby-changes mailing list