Enhanced RDF::Reader to automatically rewind the input stream once all input has been consumed.
Enhanced RDF::Reader to automatically rewind the input stream once all input has been consumed.

This helps make RDF::Reader more compatible with RDF::Enumerable, allowing subsequent operations on readers to work much as if readers were file-backed repositories.

However, since not all input streams are rewindable, this is currently defined as optional behavior; RDF.rb 0.3.0-compatible reader implementations SHOULD implement automatic rewinding where possible, but are not required to.

ninjapanzer/rdf,ruby-rdf/rdf,PerfectMemory/rdf,jcoyne/rdf