From 8e426a3aee9a847ea7903f10399d62c3f15618d6 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Mon, 28 Jul 2025 09:02:29 +0200 Subject: [PATCH 1/3] [ruby/json] Release 2.13.2 https://github.com/ruby/json/commit/9e3efbfa22 --- ext/json/lib/json/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/json/lib/json/version.rb b/ext/json/lib/json/version.rb index 2aef3d7f613888..f9ac3e17a947a5 100644 --- a/ext/json/lib/json/version.rb +++ b/ext/json/lib/json/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module JSON - VERSION = '2.13.1' + VERSION = '2.13.2' end From 2a6b469f0387ddbd5437c8a7728c721fcc87dc27 Mon Sep 17 00:00:00 2001 From: git Date: Tue, 29 Jul 2025 01:42:18 +0000 Subject: [PATCH 2/3] Update default gems list at 8e426a3aee9a847ea7903f10399d62 [ci skip] --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index bc026cdce8c5f1..288f7d97dedf93 100644 --- a/NEWS.md +++ b/NEWS.md @@ -160,7 +160,7 @@ The following default gems are updated. * io-console 0.8.1 * io-nonblock 0.3.2 * io-wait 0.3.2 -* json 2.13.1 +* json 2.13.2 * optparse 0.7.0.dev.2 * prism 1.4.0 * psych 5.2.6 From d9a14c299f884ceba2b06ea1f722cdc494c05d42 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 29 Jul 2025 13:25:09 +0900 Subject: [PATCH 3/3] Fix ext/-test-/namespace/yay{1,2} for mswin Visual C: ``` compiling ../../../../../src/ext/-test-/namespace/yay1/yay1.c yay1.c ../../../../../src/ext/-test-/namespace/yay1/yay1.c(4): warning C4273: 'yay_value': inconsistent dll linkage C:\a\ruby\ruby\src\ext\-test-\namespace\yay1\yay1.h(4): note: see previous definition of 'yay_value' linking shared-object -test-/namespace/yay1.so Creating library yay1-arm64-mswin64_140.lib and object yay1-arm64-mswin64_140.exp yay1-arm64-mswin64_140.exp : warning LNK4070: /OUT:yay1.dll directive in .EXP differs from output filename '..\..\..\..\.ext\arm64-mswin64_140\-test-\namespace\yay1.so'; ignoring directive compiling ../../../../../src/ext/-test-/namespace/yay2/yay2.c yay2.c ../../../../../src/ext/-test-/namespace/yay2/yay2.c(4): warning C4273: 'yay_value': inconsistent dll linkage C:\a\ruby\ruby\src\ext\-test-\namespace\yay2\yay2.h(4): note: see previous definition of 'yay_value' linking shared-object -test-/namespace/yay2.so Creating library yay2-arm64-mswin64_140.lib and object yay2-arm64-mswin64_140.exp yay2-arm64-mswin64_140.exp : warning LNK4070: /OUT:yay2.dll directive in .EXP differs from output filename '..\..\..\..\.ext\arm64-mswin64_140\-test-\namespace\yay2.so'; ignoring directive ``` From MinGW gcc: ``` ../../../../../src/ext/-test-/namespace/yay1/yay1.c:4:1: warning: 'yay_value' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 4 | yay_value(void) | ^~~~~~~~~ ../../../../../src/ext/-test-/namespace/yay2/yay2.c:4:1: warning: 'yay_value' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 4 | yay_value(void) | ^~~~~~~~~ ``` --- ext/-test-/namespace/yay1/yay1.def | 1 - ext/-test-/namespace/yay1/yay1.h | 2 +- ext/-test-/namespace/yay2/yay2.def | 1 - ext/-test-/namespace/yay2/yay2.h | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ext/-test-/namespace/yay1/yay1.def b/ext/-test-/namespace/yay1/yay1.def index edbae873126604..510fbe7017bd9f 100644 --- a/ext/-test-/namespace/yay1/yay1.def +++ b/ext/-test-/namespace/yay1/yay1.def @@ -1,4 +1,3 @@ -LIBRARY yay1 EXPORTS Init_yay1 yay_value diff --git a/ext/-test-/namespace/yay1/yay1.h b/ext/-test-/namespace/yay1/yay1.h index d68f8b552324b9..c4dade928ad34b 100644 --- a/ext/-test-/namespace/yay1/yay1.h +++ b/ext/-test-/namespace/yay1/yay1.h @@ -1,4 +1,4 @@ #include #include "ruby/internal/dllexport.h" -RUBY_EXTERN VALUE yay_value(void); +RUBY_FUNC_EXPORTED VALUE yay_value(void); diff --git a/ext/-test-/namespace/yay2/yay2.def b/ext/-test-/namespace/yay2/yay2.def index 6bb6011f4b841d..163fc44c04649c 100644 --- a/ext/-test-/namespace/yay2/yay2.def +++ b/ext/-test-/namespace/yay2/yay2.def @@ -1,4 +1,3 @@ -LIBRARY yay2 EXPORTS Init_yay2 yay_value diff --git a/ext/-test-/namespace/yay2/yay2.h b/ext/-test-/namespace/yay2/yay2.h index d68f8b552324b9..c4dade928ad34b 100644 --- a/ext/-test-/namespace/yay2/yay2.h +++ b/ext/-test-/namespace/yay2/yay2.h @@ -1,4 +1,4 @@ #include #include "ruby/internal/dllexport.h" -RUBY_EXTERN VALUE yay_value(void); +RUBY_FUNC_EXPORTED VALUE yay_value(void);