lib/rdf/ldp/container.rb in rdf-ldp-0.9.0 vs lib/rdf/ldp/container.rb in rdf-ldp-0.9.1

- old
+ new

@@ -155,10 +155,11 @@ check_precondition!(env) method = patch_types[env['CONTENT_TYPE']] raise UnsupportedMediaType unless method - temp_graph = RDF::Graph.new << graph.statements + temp_data = RDF::Repository.new << graph.statements + temp_graph = RDF::Graph.new(graph_name: graph.name, data: temp_data) send(method, env['rack.input'], temp_graph) validate_statements!(temp_graph) graph.clear! graph << temp_graph.statements