There is a gem called icu4r that is built for Ruby 1.8.
I’ve taken that (some years ago) and ported it to Ruby 1.9 and I have it
on github for others to use.
I was going to create a gem for it and put it on RubyGems but I have
some questions as to how I should do it.
Should I continue to call it icu4r? (Am I allowed to even call it
icu4r?) Or should I call it perhaps icu4r_19? What is the common and
accepted practice in this situation?
I’d offer your 1.9 code up for integration. Ask if he’s interested in
working together, or if he’s not working on it anymore if he’d be
willing to pass the baton.
I’d offer your 1.9 code up for integration. Ask if he’s interested in
working together, or if he’s not working on it anymore if he’d be
willing to pass the baton.
Ok. I sent him an email.
The hard thing is that it has a lot of C code that changed between Ruby
1.8 and Ruby 1.9. It was mostly superficial changes because the macros
changed. I’m wondering if it might be best to keep two versions: a 1.8
version and a 1.9 version. That is where my questions start. How often
is that done? I know the ruby debugger is split into a 1.8 version and
a 1.9 version for example.
I’d offer your 1.9 code up for integration. Ask if he’s interested in
working together, or if he’s not working on it anymore if he’d be
willing to pass the baton.
Ok. I sent him an email.
Update: the email to the address I have failed. I’ve used this email
back in 2008 so I guess he has moved on.
The hard thing is that it has a lot of C code that changed between Ruby
1.8 and Ruby 1.9. It was mostly superficial changes because the macros
changed. I’m wondering if it might be best to keep two versions: a 1.8
version and a 1.9 version. That is where my questions start. How often
is that done? I know the ruby debugger is split into a 1.8 version and
a 1.9 version for example.
IMHO the best thing is to try keep it as one gem without splitting it.
You can use C macros (ifdef, ifndef, define itp) to do that. Also
think about FFI, maybe you can rewrite it from scratch? (I don’t know
how big is that gem)
If you can’t contact with original author I think you can use the same
name and push it to ruby rubygems (you can write about it in README
etc).
IMHO the best thing is to try keep it as one gem without splitting it.
You can use C macros (ifdef, ifndef, define itp) to do that. Also
think about FFI, maybe you can rewrite it from scratch? (I don’t know
how big is that gem)