[ruby/json] Fix gemspec to include .jar files

Fix: https://github.com/ruby/json/issues/694

This was lost during the .gemspec merge and not noticed
because it was falling back to loading the jars from the
stdlib.

https://github.com/ruby/json/commit/07cf261251
This commit is contained in:
Jean Boussier 2024-11-06 18:32:03 +01:00 committed by Hiroshi SHIBATA
parent a75fabf6a7
commit a78cb959ec

View File

@ -50,6 +50,7 @@ spec = Gem::Specification.new do |s|
if java_ext
s.platform = 'java'
s.files += Dir["lib/json/ext/**/*.jar"]
else
s.extensions = Dir["ext/json/**/extconf.rb"]
s.files += Dir["ext/json/**/*.{c,h,rl}"]