Ruby Facets v2.2.0 Release Notes

Release Date: 2007-12-13 // over 16 years ago
  • ๐Ÿš€ This release provides improved rdocs and prepares facets for use with Ruby 1.9. It also adds Matthew Harris' duration.rb library. Bug thanks to Matthew!

    ๐Ÿ”„ Changes:

    • โž• Additions

      • Added Matthew Harris' Duration class.
      • Added Hash#slice and Hash#except (didn't we have this before?)
      • Added registerable.rb, updated history.
      • Added #include_as to facets/namespace.rb.
      • Added op.rb to string.rb.
      • Added String/op.rb with String#- method.
    • Method Renames and Reorganizations

      • The name Array#unzip didn't makes sense, it was renamed to #modulate (though #collate seems better?)
      • Renamed Enumerable#collate to #mash (Map hASH); #collate and #graph remain aliases for the time being.
      • Renamed accessor #attributes to #instance_attributes.
      • Renamed Enumerable #collate to #mash. (old name, along with graph, will be an alias for time being)
      • Divided enumerable/collect into split.rb and each.rb as well.
      • Moved mapsend.rb to thread.rb.
      • Updated mapsend.rb to focus on threads.
      • Moved continuation extensions to more lib.
    • ๐Ÿ—„ Deprecations

      • Deprecated Module#include_and_extend. Just use both silly.
      • More lib pp_s.rb has been removed. Use #pretty_inspect instead.
      • Removed continuation from core.
      • Removed pp_s.rb (use pretty_inspect) add continuation.rb.
      • Remove kernel/require_esc.rb.
    • Other Enhancements

      • integer/bitmask.rb has changed a bit --pun intended ;) Deprecated some methods and now use "~" instead of "-" to clear bits.
      • Split binding extensions up a bit more finely --eval.rb sprouted here.rb, self.rb and defined.rb.
      • Move Time#stamp out of conversion.rb and into time/ dir, and remove to_s alias.
      • Preliminary addition of Matthew Harris' excellent duration.rb lib (will integrate with times.rb better in future).
      • Minor edit to basicobject.rb in light of 1.9.
      • Minor adjustments to lazy.rb to fix warnings by Ruby 1.9.
      • Added if clauses to handle upcoming Ruby 1.9 gracefully. Facets should now be just about ready for use with 1.9.
    • ๐Ÿ“š Documentation Enhancements

      • A lot of rdoc updates to core extensions --as promised ;)
      • Just about every method now has at least a brief explinaiton and an example.
    • Administrative Adjustments

      • Moved task/config.yaml to meta/ per new Ratch.
      • Moved task/special to task/doc.
      • Updated todo list (in dev/).
      • Copied log/history.rd to CHANGES.
      • Removed log/history.rd and log/todo.rd
      • Fixed stylize.rb for use with 1.9 (fixed case statement).
      • Separated kernel/returning, now that #tap will be in 1.9.
      • Updated facets.rb for use with 1.9.
      • Separated time/stamp.rb.
      • Divided binding up into a few more pieces.
      • Fixed kernel/instance to play nice with 1.9.
      • Added test for string/op.rb.
      • Added test_collect.rb split-offs and test_mash inplace of test_collate.
      • Cleanup test headers.
      • Added 1.9 check in continuation/create.rb.
      • Add a couple new task for rdoc gen.
      • Added nbsp to quickopts task.
      • Work on website using siteparts.