public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/cucumber-messages] rawhide: Support ruby-json 3 change
Date: Mon, 21 Sep 2026 07:22:12 GMT	[thread overview]
Message-ID: <178997533201.1.17493087992234685356.rpms-cucumber-messages-64c631876585@fedoraproject.org> (raw)

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}

                 reply	other threads:[~2026-09-21  7:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178997533201.1.17493087992234685356.rpms-cucumber-messages-64c631876585@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox