ruby-rdf / rdf-ldp

A suite of LDP software and middleware for RDF.rb & Rack
The Unlicense
13 stars 2 forks source link

Fix for PATCH requests. #57

Closed muratseyhan closed 8 years ago

muratseyhan commented 8 years ago

Resolves #56.

no-reply commented 8 years ago

It seems like this is breaking a bunch of other specs, mostly undefined method #read on String objects originating in the test suite. This seems like a test problem (see: http://www.rubydoc.info/github/rack/rack/master/file/SPEC#The_Input_Stream).

The Rack::Lint stuff mentioned in #56 should only be coming up in test environments; I've added a ticket to add lints to the test suite #58.

If you want to take a hack at updating the test suite for PATCH to use StringIO objects (or some other valid Rack input stream), I can merge this. Else, I'll be able to push the update sometime this weekend and cut a 0.7 release.

no-reply commented 8 years ago

Closing as resolved by #59. Thanks again for the report and patch!