Ruby Facets v2.8.2 Release Notes

Release Date: 2010-02-22 // over 12 years ago
  • ๐Ÿš€ This release fixes a bug by removing Numeric#size. Turns out that was a core method already. It includes an "auditing" of the core enumerable method which has led to a few modifications most noteable amoung them renaming #map_detect to #find_yield and #compact_map to #purge.

    ๐Ÿ”„ Changes:

    • 7 New Core Extensions

      • Add Enumerable#each_with_object.
      • Add #collapse which is a shortcut for flatten.compact.
      • Add Numeric#spacing (Mr. Groff)
      • Add Array#uniq_by! to complement Enumerable#uniq_by.
      • Add String#exclude? as opposite of #include?
      • Add Enumerable#exclude? as opposite of #include?
      • Add Proc#bind_to
    • 2 Extensions Renamed

      • Rename Enumerable#compact_map to #purge.
      • Rename Enumerable#map_detect to #find_yield.
    • ๐Ÿ—„ 4 Deprecations

      • Deprecate #inject!/#injecting in favor of #filter.
      • Deprecate Array#** as alias of #product.
      • Remove Numeric#size, as it was already used by core.
      • Spun tracepoint.rb off as a seprate library.
    • 3 Other Changes

      • Integer#multiple? handles zero as an argument.
      • facets.rb is now dynamically loaded instead of code generated.
      • General imporvements to date.rb.