New in 0.5_p2, 2007-08-15:
* Update to core_ex 0.6_p3.
* Sendmail:
Add two options: `charset' and `encoding' (the default is still
plain 7-bit ASCII).
New in 0.5_p1, 2007-02-03:
* Fix a bug in core_ex initialization.
New in 0.5, 2007-01-14:
* Hooker, Hookable, Commands:
Moved to objective_command.
* URI extensions and FileType:
Commands are handled with objective_command.
* Symtbl:
Use JSON to stringify complex objects during substitutions.
* Some additions:
exp_mod, probability_distributions.
* Fix some bugs:
Sendmail and multiple receivers, YAML.load_form_io, TempPath...
New in 0.4_p2, 2006-03-11:
Fix a bug in the pathname substitution inside symbol tables.
New in 0.4_p1, 2006-03-10:
Fix a bug in sendmail.rb with recents ruby versions.
New in 0.4, 2006-02-26:
This release makes RubyEx compatible with ruby 1.8.4!
Backward compatibility with older version of Ruby is no longer maintained.
* RPath:
Introduced in the previous release. Now supports negative regular
expression.
* Command:
- The pipe support is reloaded.
- Introduction of the NoRun and the Popen runners.
* Uri extension:
Add support for the "rsync" uri.
New in 0.3, 2005-10-03:
This release make RubyEx compatible with ruby 1.8.3!
* DiffTool:
Add DiffTool a module for the Diff manipulation.
* RegexList:
Add RegexList a class to handle sorting with regular expressions.
* Sendmail:
Add an header option to specify header fields on the fly.
New in 0.2, 2005-09-16:
* Remove many requires which are now useless; many are not yet
suppressed.
* Rename classes and modules to follow the camelize/underscore convention.
* Commands:
Provides an object oriented way to manage, combine and run your commands.
Example:
require 'rubygems' ; 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 simple 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 which
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 which provide a global substitution sheme over any
objects.
New in 0.1, 2005-05-31:
Initial Release.