public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cucumber-messages] rawhide: Support ruby-json 3 change
@ 2026-09-21 7:22 Mamoru TASAKA
0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-09-21 7:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cucumber-messages
Branch : rawhide
Commit : 64c63187658542ef9c44beeb596bceb7dd4f5887
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date : 2026-09-21T16:22:01+09:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/cucumber-messages/c/64c63187658542ef9c44beeb596bceb7dd4f5887?branch=rawhide
Log:
Support ruby-json 3 change
---
diff --git a/cucumber-messages-34.2.1-ruby-support-json3.patch b/cucumber-messages-34.2.1-ruby-support-json3.patch
new file mode 100644
index 0000000..ed9553a
--- /dev/null
+++ b/cucumber-messages-34.2.1-ruby-support-json3.patch
@@ -0,0 +1,12 @@
+diff -urp '--exclude=*~' messages-34.2.1.orig/ruby/lib/cucumber/messages/message.rb messages-34.2.1/ruby/lib/cucumber/messages/message.rb
+--- messages-34.2.1.orig/ruby/lib/cucumber/messages/message.rb 2026-08-06 05:00:14.000000000 +0900
++++ messages-34.2.1/ruby/lib/cucumber/messages/message.rb 2026-09-20 16:53:26.342050861 +0900
+@@ -30,7 +30,7 @@ module Cucumber
+ # # => #<Cucumber::Messages::GherkinDocument:0x00007efda11e6a90 ... @comments=[#<Cucumber::Messages::Comment:0x00007efda11e6e50 ...]>
+ ##
+ def self.from_json(json_string)
+- from_h(JSON.parse(json_string, { symbolize_names: true }))
++ from_h(JSON.parse(json_string, symbolize_names: true))
+ end
+
+ ##
diff --git a/cucumber-messages.spec b/cucumber-messages.spec
index 4bb1904..7db3489 100644
--- a/cucumber-messages.spec
+++ b/cucumber-messages.spec
@@ -19,6 +19,9 @@ Summary: A message protocol for representing results and other informatio
License: MIT
URL: https://github.com/cucumber/messages
Source: %{url}/archive/v%{version}/messages-%{version}.tar.gz
+# Reported: https://github.com/cucumber/messages/issues/528
+# Support ruby-json 3 change
+Patch0: cucumber-messages-34.2.1-ruby-support-json3.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-21 7:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 7:22 [rpms/cucumber-messages] rawhide: Support ruby-json 3 change Mamoru TASAKA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox