Proposed F19 Feature: Ruby 2.0.0 - the latest stable version of Ruby, with major increases in speed and reliability
Jaroslav Reznik
jreznik at redhat.com
Wed Jan 16 12:56:26 UTC 2013
As decided by FESCo on 2012-12-05 meeting, all proposed Features are required
to pass through the community review by announcing them on devel-announce list.
FESCo votes on new features no sooner than a week from the announcement.
= Features/Ruby 2.0.0 =
https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Detailed description:
Ruby 2.0.0 is upstream's new major release of Ruby. It caries new features
such as:
- Refinements
- Keyword arguments
- Enumerable#lazy
- Module#prepend
- #to_h: Convention for conversion to Hash
- %i: a literal for symbol array
- regexp engine was changed to Onigmo
- DTrace support
- TracePoint
Yet, it is source level backward compatible with Ruby 1.9.3, so your software
will continue to work.
The updated Ruby also provides better integration with Fedora, especially JRuby.
But not only JRuby, it is also one step closer to be prepared for other
interpreters, such as Rubinius. Provided custom Ruby loader with working name
"rubypick" [1] will allow to easily switch interpreters executing your script,
provides fallback to whatever Ruby interpreter is available on you system, yet
still keeps backward compatibility with all your Ruby scripts.
[1] https://github.com/bkabrda/rubypick
_______________________________________________
devel-announce mailing list
devel-announce at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel-announce
More information about the devel
mailing list