Skip to content

Commit

Permalink
Fix gemspec to include .jar files
Browse files Browse the repository at this point in the history
Fix: #694

This was lost during the .gemspec merge and not noticed
because it was falling back to loading the jars from the
stdlib.
  • Loading branch information
byroot committed Nov 6, 2024
1 parent b9c8024 commit 07cf261
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changes

* Fix the java packages to include the extension.

### 2024-11-06 (2.8.0)

* Emit a deprecation warning when `JSON.load` create custom types without the `create_additions` option being explictly enabled.
Expand Down
1 change: 1 addition & 0 deletions json.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
Expand Down

0 comments on commit 07cf261

Please sign in to comment.