Ruby Facets v2.4.4 Release Notes

Release Date: 2008-09-01 // over 15 years ago
  • Facets 2.4.4 includes a major bug fix that caused Facets not to load properly, ๐Ÿ›  having to do with a Time extension. The problem has been fixed. In addition, ๐Ÿš€ this release put Facets only a few pending adjustments away from full ๐Ÿš… Rails/ActiveSupport compatibility.

    ๐Ÿ”„ Changes:

    • 10 Major Enhancements

      • Added string/mask providing powerful string manipulation. (#997)
      • BasicObject is now just a synonm for BlankSlate unless Ruby 1.9. (#1000)
      • Added Symbol#plain?, Symbol#query? and Symbol#setter? (#1011)
      • Removed Time#to_date.
      • Due to clobberd RI Docs (!) this should have been in Lore lib date.rb
      • Moved to Lore date.rb. (#1012)
      • Re-added date.rb to lore library, and removed from core. (#1014)
      • Much improved date.rb extension now in Lore library. (#1027)
      • Deprecated kernel/suppress. Use Exception.suppress from now on. (#1040)
      • Improved date.rb and moved to LORE library, and removed from CORE. [major]
      • Deprecated kernel/suppress. Use Exception.suppress from now on. [major]
      • Deprecated String#to_time.
      • This method reqiures the loading of a number of other standard libs.
      • We can reconsider adding it again if we decide these other libs should be core.
      • Or if we find a more suitable way to define the method.
    • 17 Minor Enhancements

      • Moved style.rb to string/stylize.rb (#998)
      • Renamed string/subtract to string/op_sub. Old name will remain for time being for compatability. (#1002)
      • Module#instance_method_define? now only applies to public methods. (#1003)
      • Array#index accepts a block (one of the few core overrides). (#1004)
      • Moved Hash#<< from hash/update.rb to hash/op_push.rb (#1005)
      • Add facets class files (eg. facets/string) have been made dynamic. (#1013)
      • Moved variablize methods out of metaid.rb and into separate files (string/ and symbol/). (#1042)
      • Added Time#advance. (#1046)
      • Added qua_class.rb. Yea. It really is my favorite.
      • Added simple functional test that loads all of Facets.
      • Added a benchmark for measuring how fast Facets loads. (Core < 1sec!)
      • Made Module#alias_method_chain a public method (for better Rails support).
      • Wrapped Nilclass#to_f in 1.9 condition.
      • float/round.rb redirects to numeric/round.rb.
      • numeric/float.rb holds rounding methods for all classed Numeric, Integer and Float.
      • Replaced Kernel#instance_exec with Mauricio's version.
      • Improved String#each_char to work like Ruby 1.9.
      • This loads strscan.rb.
      • It is wrapped in a 1.9 condition.
    • ๐Ÿ›  8 Bug Fixes

      • Hash#<< now returns self (#1001)
      • OpenStruct#to_h dups internal table. (#1015)
      • Fixed require of string/xor in bicrypt.rb. (#1039)
      • Fixed facets.rb to use relative paths.
      • Fixed cgi.rb (CGI is a class not a module).
      • OpenStruct#to_h dups internal table. [bug]
      • Fixed require of string/xor in bicrypt.rb. [bug]
      • date.rb (stamp) fixed ref to constant FORMAT.