mezis / blurrily

Millisecond fuzzy string matching for Ruby
MIT License
90 stars 14 forks source link

Bugfix: Remove reference in search tree when deleted in storage. #33

Closed thorvaldurhelga closed 9 years ago

thorvaldurhelga commented 9 years ago

Reference was never removed in search tree on deletion, so the put method returns 0 (line 408 in storage.c) when attempting to put the same reference back into the dictionary.

mezis commented 9 years ago

:dizzy_face: of course. How did I miss that?

Thanks, I'll merge as soon as the build passes and release an update.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling 333d765e46a658b49cd634da44145932f09a81c7 on thorvaldurhelga:reference_delete_fix into e9a14e17edb1a70da2e39e686dc39326867a90d5 on mezis:master.