[patch] String#partition can return wrong result or crash
The attached patch fixes a problem that occurs when the argument of String#partition needs to be converted using :to_str.
["", #<C:0x2c62a8>, "foo-bar"]
["", "foo", "-bar"]
RubySpecs has been updated. Without the version guard, it crashes Ruby.