Hello, all:
rubygem-json 2.7.5 is released and I am going to update rawhide (F42) rubygem-json to this version. (because the upcoming ruby 3.4.0 will anyway have this or higher version of rubygem-json.)
Mass rebuild for this version of rubygem-json shows that the following pkg(s) will newly FTBFS:
rubygem-activesupport https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-6/build...
1) Failure: TestJSONEncoding#test_hash_keys_encoding [test/json/encoding_test.rb:59]: --- expected +++ actual @@ -1 +1 @@ -"{"\u003c\u003e":"\u003c\u003e"}" +"{"<>":"\u003c\u003e"}"
git bisect shows that the above failure begins with: https://github.com/ruby/json/commit/e125072130229e54a651f7b11d7d5a782ae7fb65
So git commit message shows:
''' Directly use `generate_json_string` for object keys instead of `generate_json`.
Since the object key is already confirmed to be a string, using a generic dispatch function brings an unnecessary overhead. '''
But as the side effect, now object key value is not going to be escaped. I am not sure if this is desired or not.
Regards, Mamoru