Ruby Facets v2.4.2 Release Notes

Release Date: 2008-08-12 // almost 16 years ago
  • Just some more of those great old work your ass off changes.

    🔄 Changes:

    • Major Enhancements

      • Added Ken Bloom's DictionaryMatcher class from Ruby Quiz #103. (Note this class will probably be renamed in the future.)
      • Changed File#rewrite to not use the inplace change of the string.
      • If you were using the function, change your code to use File#rewrite! instead.
      • Or, modify your code ot use the new behavior.
      • This change can make for a slippery bug, so be sure to check for it!
      • Moved live.rb to facets-live.rb.
      • Added kernel/instance method which provides a fluent interface to private object space.
    • 5 Minor Enhancements

      • Added sow generation forms.
      • Spilt Time#trunc into separate file.
      • Remove old log files --shouldn't version control these.
      • Added note to FileList to add glob options parameter.
      • Added optional argument to Dictionary#first and #last.
    • Other Enhancements

      • Move "lore" tests to test/lore (lore are extensions to Ruby's standard lib).
      • Added test/core, test/lore and test/more.
      • Added time/test_round.rb
      • Added array/recursively.
      • Added time/round.
      • Time#to_date makes the public (it already existed in Ruby!)
      • Fixed Time#hence to flip year correctly when adding months.
      • Work on documentation using new Sow system.
      • Moved meta.rb to more/kernel/meta.rb and merged facets/core.rb into facets.rb.
      • Added more/kernel directory --hey not every extension can be core.
      • Adjusted loadpath and moved lazy.rb to core!
      • Moved remaing files to subdirectory locations.
      • Moved most core libs to core/.
      • Move most more files to the more directory.
      • Added lore and more directories.
      • Added facets/core directory. Yes, I'm spiliting the lib again.
      • Loadpath will be used, so user inteface will stay the same.
      • Setup.rb will be adjusted to recognaize loadpath.
      • Removed Rope class. If anything this will have a separate project.
      • Moved setup.rb to script/setup.
      • This will either be replaced with configure/install scripts.
      • Or, depend on a separate ruby setup.rb project.
      • Added recorder.rb to consider in work directory.
      • Added admin directory.
      • Added "TO BE DEPRECATED" message to ruby.rb.
      • Added all methods from ruby.rb as individual core methods.
      • These are the methods that overlap with 1.9.
      • They are encased in 'unless RUBY_VERSION' caluses.
      • Imporved file/rootname --now much more robust.
      • Added Kernel#to_yamlfrag to yaml.rb as way to output yaml w/o the "---" header.
      • Perhaps not the most robust solution, but okay for now.
      • Maybe a poor name for the method, but you got a better one?
      • Made FileUtils#whereis a module_function again like it used to be. Because: (1) that seems to be the way most other FileUtils methods are (cd, mkdir, cp, ...) and the most obvious way that users would WANT to use FileUtils: FileUtils.whereis("ruby"). (2) I see module_function used in other comparible parts of Facets: UploadUtils, ConsoleUtils, ZipUtils, FileUtils#safe_ln, ... (3) My code that relied on the old module_function behavior was breaking What were you thinking changing it?? ;)