from Sven: At the moment classes are checked by comparing the classnames. So for example a HashWithIndifferentAccess is not treated as Hash but as Object. The attached patch will fix this.
avoid using String#bytes in ruby <= 1.8.6.
avoid using String#bytes in ruby <= 1.8.6. (improving on 61a79f7)
…h symbol and string keys for the construction of the instance. (improving on eaab7ea) ruby 1.8 uses strings, r1.9 uses symbols. There's an incompatibility in how ruby handles struct dumps between versions that's beyond our scope. This just enables tests to pass.
…alid UTF-8 sequence to BINARY. (improving on eaab7ea)
…ing to fix it for real. This reverts commit eaab7ea.
…tf8 strings, removing need for force_encoding them. (undoes/improves 44c12fa)
….8 and 1.9.
…scue next' after #pack.
… rubygems files don't get pulled in instead.
…f reading it as 'rb'.
…y're symbols now.
…ented out puts.
…p_string. makes tests much faster.