C
Caleb Clausen
Sequence version 0.2.3 has been released!
* http://github.com/coatl/sequence
Sequence provides a unified api for access to sequential data types, like
Strings, Arrays, Files, IOs, and Enumerations. Each sequence encapsulates
some data and a current position within it. Some operations apply to data
at (or relative to) the position, others are independant of position. The
api contains operations for moving the position, reading and writing data
(with or without moving the position) forward or backward from the current
position or anywhere, scanning for patterns (like StringScanner, but it
works in Files too, among others), and saving a position that will remain
valid even after data is deleted or inserted elsewhere within the
sequence.
There are also some utility classes for making sequences reversed or
circular, turning one-way sequences into two-way, buffering, and making
sequences that are subsets or aggregations of existing sequences.
== Installation:
Type this command to install the gem:
gem install sequence
Or, download the tarball from rubyforge:
http://rubyforge.org/frs/download.php/68393/sequence-0.2.3.tar.gz
== Changes:
### 0.2.3 / 21dec2009
* 3 Minor Bugfixes:
* use Array#join instead of Array#to_s for 1.9 compatibility
* set thread's last_match in #index and #rindex
* set last_match to nil on #match or #matchback failure
* 1 Minor Enhancements:
* reworked build scripts slightly
* http://github.com/coatl/sequence
Sequence provides a unified api for access to sequential data types, like
Strings, Arrays, Files, IOs, and Enumerations. Each sequence encapsulates
some data and a current position within it. Some operations apply to data
at (or relative to) the position, others are independant of position. The
api contains operations for moving the position, reading and writing data
(with or without moving the position) forward or backward from the current
position or anywhere, scanning for patterns (like StringScanner, but it
works in Files too, among others), and saving a position that will remain
valid even after data is deleted or inserted elsewhere within the
sequence.
There are also some utility classes for making sequences reversed or
circular, turning one-way sequences into two-way, buffering, and making
sequences that are subsets or aggregations of existing sequences.
== Installation:
Type this command to install the gem:
gem install sequence
Or, download the tarball from rubyforge:
http://rubyforge.org/frs/download.php/68393/sequence-0.2.3.tar.gz
== Changes:
### 0.2.3 / 21dec2009
* 3 Minor Bugfixes:
* use Array#join instead of Array#to_s for 1.9 compatibility
* set thread's last_match in #index and #rindex
* set last_match to nil on #match or #matchback failure
* 1 Minor Enhancements:
* reworked build scripts slightly