joshfrench/rakismet — pull request #17 by leonid-shevtsov (2012-04-22 11:22:28+00:00)
Title: Fix deprecated usage of HTTPResponse for 1.9.3

Hey,

I figured out that the way you're using response (by implicitly converting it into an array) does not work in 1.9.3. It's a freaking subtle bug, because [the syntax](https://github.com/joshfrench/rakismet/blob/022608584b453d30415d446619cb9017b35fd468/lib/rakismet.rb#L42) still works without any warnings, but the second variable does not get assigned.

Your specs didn't catch it, because you're using the wrong (deprecated) mocks.

The code didn't break, it just never detected any spam response.

And it's a trivial fix *if* you know about the deprecation.

Whew. Spent a couple of hours tracking this down.