From 07cf261251feba67cb4bd9e299e9a8909d0d0256 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 6 Nov 2024 18:32:03 +0100 Subject: [PATCH 1/2] 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. --- CHANGES.md | 2 ++ json.gemspec | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 0aee749b..11dc494e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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. diff --git a/json.gemspec b/json.gemspec index c6aa82d3..321a85fc 100644 --- a/json.gemspec +++ b/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}"] From 49650f7312e86e7a108d3238fae412625c6a7cc0 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 6 Nov 2024 18:35:26 +0100 Subject: [PATCH 2/2] Release 2.8.1 --- CHANGES.md | 2 ++ lib/json/version.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 11dc494e..f40572e8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,7 @@ # Changes +### 2024-11-06 (2.8.1) + * Fix the java packages to include the extension. ### 2024-11-06 (2.8.0) diff --git a/lib/json/version.rb b/lib/json/version.rb index 363bdbea..52da68dd 100644 --- a/lib/json/version.rb +++ b/lib/json/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module JSON - VERSION = '2.8.0' + VERSION = '2.8.1' end