summaryrefslogtreecommitdiff
path: root/ext/json/json.gemspec
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-11-06 18:32:03 +0100
committerHiroshi SHIBATA <[email protected]>2024-11-11 09:40:08 +0900
commita78cb959ec92dabb0bb1049649860b4582378866 (patch)
tree5ad6bcf72a4b9839a30371e78df06ee6e43f8e83 /ext/json/json.gemspec
parenta75fabf6a7974cff17f4db683da2e314ee1872f6 (diff)
[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
Diffstat (limited to 'ext/json/json.gemspec')
-rw-r--r--ext/json/json.gemspec1
1 files changed, 1 insertions, 0 deletions
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}"]