Skip to content

Commit 07cf261

Browse files
committed
Fix gemspec to include .jar files
Fix: #694 This was lost during the .gemspec merge and not noticed because it was falling back to loading the jars from the stdlib.
1 parent b9c8024 commit 07cf261

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changes
22

3+
* Fix the java packages to include the extension.
4+
35
### 2024-11-06 (2.8.0)
46

57
* Emit a deprecation warning when `JSON.load` create custom types without the `create_additions` option being explictly enabled.

json.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ spec = Gem::Specification.new do |s|
5050

5151
if java_ext
5252
s.platform = 'java'
53+
s.files += Dir["lib/json/ext/**/*.jar"]
5354
else
5455
s.extensions = Dir["ext/json/**/extconf.rb"]
5556
s.files += Dir["ext/json/**/*.{c,h,rl}"]

0 commit comments

Comments
 (0)