Since the warning I get from a excellent talk of @yhara at @RubyConfAr, ruby 1.9 is the present while ruby 1.8 is the past. The next step regarding my projects is to ensure that all works on ruby 1.9 (but keeping the compatibility with ruby1.8 at the same time)
This is the status of the more important projects.
ImageRuby
All tests on ImageRuby spec works with 1.9,2-p180 thanks to the contribution fix of amadanmath. Of course I will be listen to bug reports regarding ruby1.9 compatibility
Shikashi (and dependencies)
All tests on Shikashi spec works with 1.9,2-p180. Specific ruby 1.9 syntaxis are not convered by the spec. I have created a new issue for this (the issue corresponds to partialruby gem)
To make shikashi fully compatible with ruby1.9, I must find a replacement for RubyParser which is not compatible with some of ruby 1.9 specific syntax, for example, RubyParser is unable to recognize the new syntax for hashes of ruby 1.9
Fastruby
This is the most complex case, these are the remaining issues:
- Main headers of fastruby won't compile since these sources use syntax not supported by ruby1.9
- Use of C-Api specific to ruby1.8
- Remove support for syntax specific to ruby1.8 (only when run under ruby1.8)
- Add support for syntax specific to ruby1.9 (only when run under ruby1.9)
- RubyInline does not work with ruby1.9
- RubyParser does not work with ruby1.9
I will fork or find a fork of rubyinline to fix issues related with ruby1.9 compatibility, for the case of RubyParser (affecting shikashi too) I will replace parsing using Ripper which is the native out-of-the-box implementation of parsing on ruby1.9
No hay comentarios:
Publicar un comentario