From: TRANS Date: 2005-03-22T05:37:20+09:00 Subject: [ANN] Ruby Facets 0.6.2 A N N O U N C I N G Ruby Facets, v0.6.2 Fantastic Atomic Core Extensions ABSTRACT: Ruby Facets is a cornicopia of core extensions for the Ruby programming language. It is unique by virtue of the atomicity of its design. Methods are stored in their own files, allowing for extremely granular control of requirements. Ruby Facets is a subproject of Ruby Calibre. For More Information http://calibre.rubyforge.org ALL YOUR BASE ARE BELONG TO RUBY! ------------------------------------------------------------------------ (from ANN) A new version of Ruby Facets is out: 0.6.2. This version adds some new methods including the Kilmer inspired time and byte methods found in Rails. Here's a brief list of additions/changes: * Added kernel/resc as a shortcut for Regexp.escape. * Renamed hash/keys_to_string to hash/key_to_s and hash/keys_to_symbol to hash/keys_to_sym to be more consistant with other methods and what these methods specifically do. The old names have been deprecated. * Added hash/has_keys?, which allows for checking mutliple keys at once. Also includes #has_only_keys? * Added Rail's Time and Byte modules for Numeric with numeric/times.rb and numeric/bytes.rb (I've been informed that thanks go to Rich Kilmer for this. Thanks!) * Added numeric/octet_unit which utilizes numeric/bytes. (The name of this method may change in the future though.) * Added enumerable/uniq_by. * Added module/abstract. * Added module/redirect which is similar to alias, but does not copy the method, but rather wraps it. It also takes a hash so multiple methods can be redirected all at once. * Added string/shatter which is similar to split but includes the matched portions of text. If you are interested in contributing to a project but have little time to spare, helping with Facets may be a perfect project. There are still plenty of light-weight tasks to do: improve documentation, improve the tests and write a few yet missing, improve the rohbustness of methods themselves, including exceptional error catching, and of course there's plenty of room for adding new goodies, too. If you have any extension methods that you use and think may be of benefit to others, please let me know. And, of course, please let me know if you come across any bugs. You can contact me either privately or via ruby-talk, or through the new calibre-cuts mailing-list: http://rubyforge.org/mailman/listinfo/calibre-cuts Thanks, T. ------------------------------------------------------------------------ Generated by PackMule, a dedicated Ruby Packaging Assistant. Do you Ruby? (http://www.ruby-lang.org)