Files | Admin

Notes:

Release Name: ruby_ex-0.2.0

Notes:



Changes: New in 0.2, 2005-09-16: * Many many changes and new things for RubyEx. * Remove many requires which are now useless, many are not yet suppressed. * Renaming to follow the camelize/underscore convention. * Commands: Provides a object oriented way to manage, combine and run your commands. Example: require 'rubygems' ; require_gem 'ruby_ex' ; require 'ruby_ex' Commands.import! ls, wc, out = 'ls'.to_cmd, 'wc'.to_cmd, 'out'.to_path data = ls.system # other runners exist (exec, fork, sh...) p data.status puts data.output.read (ls > STDOUT).system cmd = ls['*.rb'] | wc['-l'] > out cmd.system puts out.read * RPath: Add RPath, a basic (but powerful) way to search your ruby data. * BlankSlate, Mocks, VerboseObject, and AutoObject: - BlankSlate: For method_missing based classes. - Mocks::Mock: Abstract mock. - Mocks::Object: Save all method calls. - Mocks::Observer: Respond to update. - Mocks::Assertions: Helpers for unit tests which use these classes. - Mocks::MethodLogger: Respond to log and treat arguments as a method call. - VerboseObject: Proxies that display received method calls and verbosify objects recursivly. - AutoObject: It's like a verbose object without a real object inside. * Text: A little text manipulation class. Transformation available are: - justifying - spliting - croping - clipping * FileType: - Use the Commands module. - Add extractable? and installable? methods. - Add priorities for extensions. - Clean the declaration syntax for extensions. - Add many unit tests. - Add gem filetype support (with the install method). * MetaFactory: A class that help to produce objects that share the same initializion step. * Html encode: Support accent encoding for the iso latin1 charset. * URI: Support for Mysql and Pgsql. * HashEval: Provides a block in which methods name are keys and arguments/blocks are values. * SymTbl (Symbol Table): Add symtbl_gsub methods to provide a global substitution sheme over any objects.