Patches: Browse | Submit New | Admin
This patch adds support for IronRuby-specific gems (gems that have C# extensions, or that otherwise make use of .Net libraries), so that IronRuby can install them from remote sources. For 1.0, IronRuby will support 3 targets: * universal-.net = The version of the CLR does not matter * universal-.net-2.0 = Version 2.0 of the CLR is required * universal-.net-4.0 = The forthcoming Version 4.0 of the CLR is required The platform tests have been updated to reflect these 3 cases, but the regex implemented for version detection is flexible enough to allow for arbitrary major.minor versions.
Add A Comment:
Date: 2010-04-21 03:44 Sender: Eric Hodel Applied.
Date: 2010-03-18 22:43 Sender: Eric Hodel It'll be easier for people who do simple string parsing of platforms if there's not a dot in the OS name. While I'd prefer that people use the proper tools to do this kind of thing, I know they won't always.
Date: 2010-03-12 18:03 Sender: Will Green After some discussion on the IronRuby mailing list, the team has decided to identify itself as "universal-dotnetX.X", where X.X is the version number. I have updated the patch to reflect this.
Date: 2010-03-11 01:50 Sender: Will Green For now, that it what the implementors have chosen to identify the underlying platform as. I am told that internally they discussed "clr" (for common language runtime), but for now have decided on ".net". I will hapilly take this feedback to the IronRuby mailing list for discussion, but IronRuby is nearing a 1.0 release, (I think 1.0 RC3 is coming out next week). That said, the team has expressed their willingness to discuss further on the list. May I ask why you don't like the "." in ".net"? The platform is commonly referred to a "the .Net platform"
Date: 2010-03-11 01:07 Sender: Eric Hodel I don't like the '.' in the platform name, how about "dotNet" or "dotnet" or "Net"?
Date: 2010-03-10 12:23 Sender: Will Green Corrected the patch. platform strings should be: * universal-.net * universal-.net2.0 * universal-.net4.0 These reflect what is reported by RbConfig::CONFIG["arch"] in IronRuby. See http://github.com/ironruby/ironruby/blob/master/Merlin/Main/ Languages/Ruby/Libs/rbconfig.rb