doc/ANNOUNCE in rio-0.3.8 vs doc/ANNOUNCE in rio-0.3.9
- old
+ new
@@ -1,6 +1,6 @@
-Rio 0.3.8
+Rio 0.3.9
== Overview
Rio is a Ruby I/O convenience class wrapping much of the functionality
of IO, File and Dir. Rio also uses FileUtils, Tempfile, StringIO,
@@ -8,41 +8,12 @@
using 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
+= SYNOPSIS
-Enhanced support for FTP file-systems. All of Rio's most powerful
-idioms are now supported seamlessly on FTP servers.
-
- # copy a file from or to an FTP server
- rio('ftp://ahost/adir/afile') > rio('localfile') # server -> local file
- rio('ftp://ahost/adir/afile') < rio('localfile') # local file -> server
-
- # copy an entire directory structure from or to an FTP server
- rio('ftp://ahost/adir') > rio('localdir') # server -> local directory
- rio('ftp://ahost/adir') < rio('localdir') # local directory -> server
-
-All of Rio's grande selection and filtering options are available for
-files and directories on FTP servers.
-
- # create a gzipped copy of a web page on an ftp server
- rio('ftp://ftphost/f.html.gz').gzip < rio('http://httphost/f.html')
-
- # dump the first 10 lines of a gzipped log file on an FTP server to stdout
- rio('ftp://ftphost/logfile.txt').lines(0...10) > ?-
-
- # iterate through the entries of a directory on an FTP server
- rio('ftp://ftphost/adir').entries { |entrio| ... }
-
- # get an array of all .rb files on an ftp server
- rb_files = rio('ftp://ftphost/').all.files['*.rb']
-
-
-== SYNOPSIS
-
For the following assume:
astring = ""
anarray = []
Copy or append a file to a string
@@ -154,10 +125,10 @@
Documentation:: http://rio.rubyforge.org/
Bugs:: http://rubyforge.org/tracker/?group_id=821
Email:: rio4ruby@rubyforge.org
== Copyright
-Copyright (c) 2005, 2006 Christopher Kleckner. All rights reserved
+Copyright (c) 2005,2006,2007 Christopher Kleckner. All rights reserved
== License
Rio is released under the GNU General Public License
(http://www.gnu.org/licenses/gpl.html)