[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.
["", #, "foo-bar"]
["", "foo", "-bar"]
RubySpecs has been updated. Without the version guard, it crashes Ruby.