Re: [Ironruby-core] What are the options to write tests, currently ?

2008-12-05 Thread Jeff Dik
On Mon, Dec 1, 2008 at 4:14 AM, Thibaut Barrère [EMAIL PROTECTED] wrote: Hello, I'm documenting myself to see what are the various options currently available to write IronRuby code to unit-tests C# assemblies. I gave MSpec a try and it's already fine (http://gist.github.com/30685).

Re: [Ironruby-core] Silverlight (sdlsdk) on mac

2008-12-05 Thread Seo Sanghyeon
2008/12/6 Ivan Porto Carrero [EMAIL PROTECTED]: Hi When I want to look at some samples on the mac side of my laptop from the sdlsdk I get an error from mono 17:10:27 200 2,527 /samples/ruby/clock/index.html 17:10:27 200 2,397 /samples/ruby/clock/assets/stylesheets/error.css

Re: [Ironruby-core] Silverlight (sdlsdk) on mac

2008-12-05 Thread Jimmy Schementi
Seo Sanghyeon wrote: 2008/12/6 Ivan Porto Carrero [EMAIL PROTECTED]: Hi When I want to look at some samples on the mac side of my laptop from the sdlsdk I get an error from mono [snip] 17:10:27 500 673 /samples/ruby/clock/app.xap [error generating XAP: libMonoPosixHelper.dylib]

Re: [Ironruby-core] Silverlight (sdlsdk) on mac

2008-12-05 Thread Ivan Porto Carrero
I have both .. the one i installed from the installer exactly the link you gave me Jimmy :) But I also built it from svn in an attempt to make it work. AFAICT zlib is properly linked, it is advertised somewhere during the build process. Ok I will submit a bug report to mono.. Thanks Ivan On

Re: [Ironruby-core] Silverlight (sdlsdk) on mac

2008-12-05 Thread Ivan Porto Carrero
I had a mono installed with ports too that was the culprit. On Fri, Dec 5, 2008 at 7:26 PM, Ivan Porto Carrero [EMAIL PROTECTED]wrote: I have both .. the one i installed from the installer exactly the link you gave me Jimmy :) But I also built it from svn in an attempt to make it work.

[Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Aaron Feng
It seems like the current version does not handle lower case namespaces when referencing a .NET DLL. It thinks it is a method call whenever a constant starts with lower case. It also doesn't handle non-alphabet characters such as _ (underscore). I'm trying to call WCF service from IronRuby via

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Tomas Matousek
Well, that's very unfortunate. They seems to break .NET guidelines for namespace naming. It's not compatible with Ruby language to have lowercased namespaces since they behave like modules. Module names must start with an upper case. We can add some API to overcome this, but it won't be pretty.

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Michael Letterle
Just monkey-patch it: class System::Int64 def inspect self.to_string.to_s end end ;) On Fri, Dec 5, 2008 at 4:50 PM, Tomas Matousek [EMAIL PROTECTED] wrote: Well, that's very unfortunate. They seems to break .NET guidelines for namespace naming. It's not compatible

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Aaron Feng
Tomas, System::Type.get_type(foo.bar.baz).to_class Are you sure that works with lower case namespaces? I tried it real quick, and didn't seem to work for me. But I'll try it again later. Aaron ___ Ironruby-core mailing list

Re: [Ironruby-core] Handling C# lower case namespaces

2008-12-05 Thread Tomas Matousek
Thumbs up :) You might however expect this to work for all CLR types. In which case you can indeed monkey patch it as well (kind of): class Object ... def to_s ... self.class.name[0,8] == System:: ? to_string.to_s : super ... end ... end = nil = nil require 'mscorlib' = true = nil

Re: [Ironruby-core] Code Review: gitintegration

2008-12-05 Thread Jimmy Schementi
Looks good. To give everyone else context, this automates pushing source code from IronRuby's TFS repository to git://github.com/ironruby/ironruby.git. It's only meant to be run by Jim, which is why there's hard-coded paths and such. Soon Jim will send out a review for automation to pull

[Ironruby-core] Code Review: rakefix

2008-12-05 Thread Jim Deville
tfpt review /shelveset:rakefix;REDMOND\jdeville Comment : Fixes rake to work with the new COM assembly rakefix.diff Description: rakefix.diff ___ Ironruby-core mailing list Ironruby-core@rubyforge.org