Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Enumerable values on Repository#delete #63

Merged
merged 1 commit into from
Nov 7, 2015

Conversation

no-reply
Copy link
Member

@no-reply no-reply commented Nov 7, 2015

A test for RDF::Enumerable inputs was added by ruby-rdf/rdf-spec#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.

A test for `RDF::Enumerable` inputs was added by
ruby-rdf/rdf-spec#39. This adds conformance, and
allows `SPARQL::Client::Repository` to use the new
`Mutable#delete_insert` interface. It does not yet implement an
effecient 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.
gkellogg added a commit that referenced this pull request Nov 7, 2015
Handle `Enumerable` values on `Repository#delete`
@gkellogg gkellogg merged commit 1b507ff into develop Nov 7, 2015
@gkellogg gkellogg deleted the feature/handle-enums-delete branch November 7, 2015 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants