doc/ANNOUNCE in rio-0.3.2 vs doc/ANNOUNCE in rio-0.3.3

- old
+ new

@@ -8,11 +8,28 @@ a simple consistent interface. In addition to forwarding the interfaces provided by IO, File, and Dir to an appropriate object, Rio provides a "grande" interface that allows many common application-level I/O and file-system tasks to be expressed succinctly. +== New for version 0.3.3 +* Expanded support and documentation for CSV files + Examples: + * Copy, changing the separator to a semicolon + rio('comma.csv').csv > rio('semicolon.csv').csv(';') + * Iterate through a file with each line parsed into an array + rio('afile.csv').csv { |array_of_fields| ...} + * Create an array of arrays of selected fields + array_of_arrays = rio('afile.csv').csv.columns(1..3,7).to_a + * Create a tab separated file of accounts in a UNIX passwd file, + listing only the username, uid, and realname fields + rio('/etc/passwd').csv(':').columns(0,2,4) > rio('report).csv("\t") +Project:: http://rubyforge.org/projects/rio/ +Documentation:: http://rio.rubyforge.org/ +Bugs:: http://rubyforge.org/tracker/?group_id=821 + + == New for version 0.3.2 * Based on a suggestion by Wybo Decker and code attributed to Nobu Nokada, Rio now supports temporary directories in addition to temporary files. * Bug fixes @@ -80,8 +97,8 @@ == Copyright Copyright (c) 2005, Christopher Kleckner. All rights reserved == License Rio is released under the GNU General Public License -(http://www.gnu.org/licenses/gp l.html) +(http://www.gnu.org/licenses/gpl.html) -Christopher Kleckner \ No newline at end of file