karmi/retire — pull request #944 by fabn (2014-02-25 19:11:12+00:00)
Title: Edge case for respond_to? when serializing items

I found an issue with class `Tire::Result::Item` when the object is serialized. The current version cannot be deserialized by (for instance) Psych, since it uses [`Class#allocate`](https://github.com/tenderlove/psych/blob/master/lib/psych/visitors/to_ruby.rb#L47) instead of 'Class#new`.

In that case `#initialize` is not called and `@attributes` is nil.

Hope this will get merged.