ruby-rdf / sparql-client

SPARQL client for Ruby.
http://rubygems.org/gems/sparql-client
The Unlicense
112 stars 58 forks source link

Handle `Enumerable` values on `Repository#delete` #63

Closed no-reply closed 8 years ago

no-reply commented 8 years ago

A test for RDF::Enumerable inputs was added by https://github.com/ruby-rdf/rdf-spec/pull/39. This adds conformance, and allows SPARQL::Client::Repository to use the new Mutable#delete_insert interface. It does not yet implement an efficient SPARQL #delete_insert.

It may be possible to refactor #delete_statements in response to these changes, to remove the code smells called out in the comment in that method.