[MacRuby-devel] RubySpec updated

2009-08-02 Thread Eloy Duran
Hi, I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples. @Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail: $ mspec -B ruby.1.8.mspec library/stringscanner StringScanner

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Matt Aimonetti
Hi Eloy, Welcome back. Unfortunatelly, due to API changes, the specs can't all pass on 1.8 and 1.9 unless we use a version check mechanism. My understanding was that we should focus on 1.9.2 preview 1. What do you want me to do? - Matt Sent from my iPhone On Aug 2, 2009, at 6:42, Eloy Du

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Eloy Duran
Thanks Matt :) Indeed, in order to specify the API changes between 1.8 and 1.9 you should use version guards: ruby_version_is "" ... "1.9" do it "works as such on all versions prior to 1.9" do end end ruby_version_is "1.9" do it "works as such on 1.9" do end end To g

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Matt Aimonetti
Thanks for the tip, I'll go back and fix strscan and will make the modifications before pushing stringio. - Matt On Sun, Aug 2, 2009 at 11:22 AM, Eloy Duran wrote: > Thanks Matt :) > > Indeed, in order to specify the API changes between 1.8 and 1.9 you should > use version guards: > > ruby_ver

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Matt Aimonetti
Done, would you mind checking that I did it according to the rubyspec standards? Thanks, - Matt On Sun, Aug 2, 2009 at 11:30 AM, Matt Aimonetti wrote: > Thanks for the tip, I'll go back and fix strscan and will make the > modifications before pushing stringio. > > - Matt > > > On Sun, Aug 2, 20

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Laurent Sansonetti
Welcome back \o/ $ sw_vers ProductName:Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a $ rake spec:ci (in /Users/lrz/src/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] ...

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Conrad Taylor
Hi, I'm getting the following after pulling the latest sources: BEGIN Transcript: darnoc-laptop:macruby-experimental conradwt$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a darnoc-laptop:macruby-experimental conradwt$ rake spec:ci (in /Users/conradwt/macruby.dir/project

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Laurent Sansonetti
That's weird, did you do rake and rake install before starting the specs? I think it must be done otherwise the C extension bundles won't be properly loaded. (We should pass the appropriate flags to mspec so that it loads C extension bundles from the local build directory.) If it's still cr

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Vincent Isambart
The other day I also had the specs crashing. To fix it I had to remove the installed MacRuby (/Library/Frameworks/MacRuby.framework/Versions/ 0.5), followed by a rake clean/rake/rake install. That's weird, did you do rake and rake install before starting the specs? I think it must be done ot

[MacRuby-devel] LLVM Build Convenience

2009-08-02 Thread Josh Ballanco
Hey all, I got tired of constantly having to rebuild/reinstall LLVM, so I added a facility to scrape the commands from the README and offer to run them if llvm-config isn't found. I've attached the diff if anyone else is interested (don't know that I'd recommend this for general use, thou

Re: [MacRuby-devel] RubySpec updated

2009-08-02 Thread Conrad Taylor
On Sun, Aug 2, 2009 at 2:13 PM, Laurent Sansonetti wrote: > That's weird, did you do rake and rake install before starting the specs? I > think it must be done otherwise the C extension bundles won't be properly > loaded. (We should pass the appropriate flags to mspec so that it loads C > extensio

Re: [MacRuby-devel] LLVM Build Convenience

2009-08-02 Thread Josh Ballanco
Whoops! Small mistake in that last patch. Use this one: llvm_build.diff Description: Binary data - Josh On Aug 2, 2009, at 4:36 PM, Josh Ballanco wrote: Hey all, I got tired of constantly having to rebuild/reinstall LLVM, so I added a facility to scrape the commands from the README an

Re: [MacRuby-devel] LLVM Build Convenience

2009-08-02 Thread Laurent Sansonetti
Hi Josh, I'm not super confortable with this patch, because it relies too much on README.rdoc, if we change it later it might break your change. Also, I don't like automatic scripts because the user doesn't really have the opportunity to customize what's happening. I think the best soluti

Re: [MacRuby-devel] LLVM Build Convenience

2009-08-02 Thread Joshua Ballanco
Hey Laurent, I'm not super confortable with this patch, because it relies too much on README.rdoc, if we change it later it might break your change. Also, I don't like automatic scripts because the user doesn't really have the opportunity to customize what's happening. Right. I didn't mea