[MacRuby-devel] NSNumber boolean spec

2009-08-03 Thread dan sinclair
The attached patch gets the NSNumber boolean conversion spec working. I'm not sure if the change is correct but I changed the spec from should != to should_not == and it appears to be working correctly now. dan numeric_spec.diff Description: Binary data _

Re: [MacRuby-devel] Add Integer#ord

2009-08-03 Thread Laurent Sansonetti
Committed in r2203, thanks! Laurent On Aug 3, 2009, at 6:54 PM, dan sinclair wrote: Attached patch ports Integer#ord from Ruby 1.9. dan ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.

[MacRuby-devel] Add Integer#ord

2009-08-03 Thread dan sinclair
Attached patch ports Integer#ord from Ruby 1.9. dan integer_ord.diff Description: Binary data ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Miniruby Causing Trouble with SVN Edge

2009-08-03 Thread Maxwell Hawkins
I'm on a MacBook Pro with a 2.16GHz Core Duo running 10.5.7. Core Duo is 32 bit. If I had to guess, that would be the source of the issue. Indeed, the 0.5 branch currently does not work in 32 bits. Well, I fixed the BitCast error in 32 bits yesterday, but there are other big problems le

Re: [MacRuby-devel] Miniruby Causing Trouble with SVN Edge

2009-08-03 Thread Vincent Isambart
I'm on a MacBook Pro with a 2.16GHz Core Duo running 10.5.7. Core Duo is 32 bit. If I had to guess, that would be the source of the issue. Indeed, the 0.5 branch currently does not work in 32 bits. Well, I fixed the BitCast error in 32 bits yesterday, but there are other big problems le

Re: [MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Josh Ballanco
Hey Matt, Just to add another data point, I've been using git-svn to interface with a svn repo where some of my git branches are matched to svn branches and others are not. In general, my workflow is: # Make a branch in svn: $ svn cp svn+ssh://path/to/trunk svn+ssh://path/to/branch/yaml_bra

Re: [MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Eloy Duran
Nice! :) On 3 aug 2009, at 22:23, Brian Mitchell wrote: You could also use: $ git merge --squash yaml_branch A little easier than piping a diff. Brian. On Mon, Aug 3, 2009 at 16:01, Eloy Duran wrote: Btw: About git-svn creating many commits, I wouldn't worry about it :) But if you'd li

Re: [MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Eloy Duran
Oh… Why did it annoy you? My normal workflow is: $ git svn rebase $ git checkout -b topic # work $ git checkout master $ git svn rebase $ git checkout topic $ git rebase master $ git checkout master # And since 10 seconds ago: $ git merge --squash topic # sanity check: $ git svn rebase # pus

Re: [MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Brian Mitchell
You could also use: $ git merge --squash yaml_branch A little easier than piping a diff. Brian. On Mon, Aug 3, 2009 at 16:01, Eloy Duran wrote: > Btw: About git-svn creating many commits, I wouldn't worry about it :) But > if you'd like to normalize, I'd do something like: > $ git checkout -b y

Re: [MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Matt Aimonetti
hmm maybe I should give git-svn another chance. (it annoyed me so much I went back to svn) Eloy, would you mind giving a quick rundown of your setup and workflow? Thanks, - Matt On Mon, Aug 3, 2009 at 1:01 PM, Eloy Duran wrote: > Btw: About git-svn creating many commits, I wouldn't worry abou

Re: [MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Eloy Duran
Btw: About git-svn creating many commits, I wouldn't worry about it :) But if you'd like to normalize, I'd do something like: $ git checkout -b yaml_branch # work on it $ git checkout master $ git diff yaml_branch | patch -p1 $ git add . $ git commit -v Eloy On 3 aug 2009, at 19:51, Patric

Re: [MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Eloy Duran
Awesome work Patrick! Thanks a lot for your work on this. Eloy On 3 aug 2009, at 19:51, Patrick Thomson wrote: Hi everyone, I've just pushed my work on a new YAML module to the experimental branch (revision 2184). Rather than being backed by the old syck code that 1.8/1.9 use, this is bac

Re: [MacRuby-devel] Miniruby Causing Trouble with SVN Edge

2009-08-03 Thread M. Scott Ford
> I'm on a MacBook Pro with a 2.16GHz Core Duo running 10.5.7. Core Duo is 32 bit. If I had to guess, that would be the source of the issue. ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.

[MacRuby-devel] Miniruby Causing Trouble with SVN Edge

2009-08-03 Thread Maxwell Hawkins
I've been trying to compile 0.5 from SVN with no luck. I installed LLVM revision 72741 as outlined in the readme but when I ran MacRuby's rake file I got the following error: ../../miniruby -I../.. -I../../lib -r rbconfig -e "RbConfig::CONFIG['libdir'] = '../..'; require './extconf.rb'" Ass

[MacRuby-devel] Information about the new YAML module

2009-08-03 Thread Patrick Thomson
Hi everyone, I've just pushed my work on a new YAML module to the experimental branch (revision 2184). Rather than being backed by the old syck code that 1.8/1.9 use, this is backed by the libYAML library (BSD licensed). As of right now it appears to be about 4x slower than 1.9's YAML module,

Re: [MacRuby-devel] RubySpec updated

2009-08-03 Thread Eloy Duran
Looks great, only a few notes: * Ruby version guards inlince in the example are not allowed. You should always use the version guard and in its block define the example outlining the specific behaviour on that version. This means some examples will have to broken up into smaller ones. * To c