[ruby-core:94062] [Ruby master Bug#16023] json/add/core isn't complete
From:
viko@...
Date:
2019-07-30 21:47:51 UTC
List:
ruby-core #94062
Issue #16023 has been updated by viko (Viko Viko). I'm not sure why it's in the standard library if it isn't the standard library, but sure. ---------------------------------------- Bug #16023: json/add/core isn't complete https://bugs.ruby-lang.org/issues/16023#change-80291 * Author: viko (Viko Viko) * Status: Third Party's Issue * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Several `json/add/*.rb` are not required by `json/add/core`. It should probably check its directory and require the contents automatically, to ensure this doesn't end up happening again if more are added. Actually, why is it a separate module at all? Shouldn't it be implied by `require 'json'`? -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>