From a78cb959ec92dabb0bb1049649860b4582378866 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 6 Nov 2024 18:32:03 +0100 Subject: [PATCH] [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 --- ext/json/json.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec index c6aa82d363..321a85fcf9 100644 --- a/ext/json/json.gemspec +++ b/ext/json/json.gemspec @@ -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}"]