public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rubygem-cucumber-wire] rawhide: Upgrade to cucumber-wire 8.0.0.
Date: Fri, 14 Aug 2026 08:35:34 GMT	[thread overview]
Message-ID: <178669653409.1.17812177530321667105.rpms-rubygem-cucumber-wire-65dc4ea13ee2@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rubygem-cucumber-wire
            Branch : rawhide
            Commit : 65dc4ea13ee275abf55339ebe1b58b47614bf32b
            Author : Vít Ondruch <vondruch@redhat.com>
            Date   : 2026-08-13T13:18:13+02:00
            Stats  : +27/-51 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/rubygem-cucumber-wire/c/65dc4ea13ee275abf55339ebe1b58b47614bf32b?branch=rawhide

            Log:
            Upgrade to cucumber-wire 8.0.0.

Resolves: rhbz#1867935

---
diff --git a/.gitignore b/.gitignore
index 5808f6c..a306dd8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
 /cucumber-wire-*.gem
-/rubygem-cucumber-wire-*-features.txz
+/rubygem-cucumber-wire-*-features.tar.gz

diff --git a/rubygem-cucumber-wire-7.0.0-Support-quote-in-backtrace-for-Ruby-3-4.patch b/rubygem-cucumber-wire-7.0.0-Support-quote-in-backtrace-for-Ruby-3-4.patch
deleted file mode 100644
index 8a6c827..0000000
--- a/rubygem-cucumber-wire-7.0.0-Support-quote-in-backtrace-for-Ruby-3-4.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 5296f2af2e971ceb01494f020cdfec61c4392bcb Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
-Date: Fri, 3 Jan 2025 13:11:04 +0100
-Subject: [PATCH] Support quote in backtrace for Ruby 3.4
-
-https://bugs.ruby-lang.org/issues/16495
----
- features/handle_unexpected_response.feature | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/features/handle_unexpected_response.feature b/features/handle_unexpected_response.feature
-index 2d7747e..d2ac6fc 100644
---- a/features/handle_unexpected_response.feature
-+++ b/features/handle_unexpected_response.feature
-@@ -27,7 +27,7 @@ Feature: Handle unexpected response
-       | ["begin_scenario"]                                   | ["yikes"]                           |
-       | ["step_matches",{"name_to_match":"we're all wired"}] | ["success",[{"id":"1", "args":[]}]] |
-     When I run `cucumber -f pretty`
--    Then the output should contain:
-+    Then the output should match:
-       """
--      undefined method `handle_yikes'
-+      undefined method [`']handle_yikes'
-       """

diff --git a/rubygem-cucumber-wire.spec b/rubygem-cucumber-wire.spec
index 98556ed..892a2d1 100644
--- a/rubygem-cucumber-wire.spec
+++ b/rubygem-cucumber-wire.spec
@@ -4,18 +4,15 @@
 %bcond_with bootstrap
 
 Name: rubygem-%{gem_name}
-Version: 6.2.1
-Release: 7%{?dist}
+Version: 8.0.0
+Release: 1%{?dist}
 Summary: Wire protocol for Cucumber
 License: MIT
 URL: http://cucumber.io
 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
-# git clone --no-checkout https://github.com/cucumber/cucumber-ruby-wire.git
-# git -C cucumber-ruby-wire archive -v -o rubygem-cucumber-wire-6.2.1-features.txz v6.2.1 features/
-Source1: %{name}-%{version}-features.txz
-# Support quote in backtrace for Ruby 3.4
-# https://github.com/cucumber/cucumber-ruby-wire/pull/72
-Patch0: rubygem-cucumber-wire-7.0.0-Support-quote-in-backtrace-for-Ruby-3-4.patch
+# git clone https://github.com/cucumber/cucumber-ruby-wire.git && cd cucumber-ruby-wire
+# git archive -v -o rubygem-cucumber-wire-8.0.0-features.tar.gz v8.0.0 features/ spec/
+Source1: %{name}-%{version}-features.tar.gz
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
@@ -42,14 +39,9 @@ Documentation for %{name}.
 %prep
 %setup -q -n %{gem_name}-%{version} -b1
 
-(
-cd %{builddir}
-%patch 0 -p1
-)
-
 # Relax the dependency.
-%gemspec_remove_dep -g cucumber-cucumber-expressions "~> 14.0", ">= 14.0.0"
-%gemspec_add_dep -g cucumber-cucumber-expressions ">= 14.0"
+%gemspec_remove_dep -g cucumber-core "> 11", "< 16"
+%gemspec_add_dep -g cucumber-core
 
 %build
 gem build ../%{gem_name}-%{version}.gemspec
@@ -63,35 +55,43 @@ cp -a .%{gem_dir}/* \
 
 %if %{without bootstrap}
 %check
-pushd .%{gem_instdir}
+( cd .%{gem_instdir}
+
+ln -s %{builddir}/spec spec
+rspec spec
 
-rspec -Ilib spec
+ln -s %{builddir}/features features
 
-ln -s %{_builddir}/features features
+# This test was written against buggy behavior of `cucumber` <= 7.1.0, where
+# the `success` was not properly returned:
+# https://github.com/cucumber/cucumber-ruby/pull/1606/changes/84562b58fb8b6c915b8a3952656a1db4c0ae7299
+# This can be dropped when newer `cucumber` is available in Fedora.
+sed -i '/testRunFinished/ s/true//' features/step_matches_message.feature
 
 # Ensure the current version of cucumber-wire is used in place of system one,
 # pulled in as a Cucumber dependency.
 RUBYOPT="-I$(pwd)/lib" cucumber --format progress --publish-quiet
 
-popd
+)
 %endif
 
 %files
 %dir %{gem_instdir}
-%exclude %{gem_instdir}/.*
+%license %{gem_instdir}/LICENSE
 %{gem_libdir}
 %exclude %{gem_cache}
 %{gem_spec}
-%license %{gem_instdir}/LICENSE
 
 %files doc
 %doc %{gem_docdir}
-%doc %{gem_instdir}/README.md
 %doc %{gem_instdir}/CHANGELOG.md
-%doc %{gem_instdir}/CONTRIBUTING.md
-%{gem_instdir}/spec
+%doc %{gem_instdir}/README.md
 
 %changelog
+* Thu Aug 06 2026 Vít Ondruch <vondruch@redhat.com> - 8.0.0-1
+- Upgrade to cucumber-wire 8.0.0.
+  Resolves: rhbz#1867935
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 1c91ed8..b792d81 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (cucumber-wire-6.2.1.gem) = b32d0f72a31b400ca1596b126d8566aae2ea49514ecd292c621d0d1624f66465dfcac1a6d80293dd15829a00f4080d54190680ede60d7c1c23d2cfec450d1cf3
-SHA512 (rubygem-cucumber-wire-6.2.1-features.txz) = 3b9bcf9952881805d98e3f18470c966093fe101ccd5f7edd48d6d527ae2b491b71a838979acad3648e3781e625335ec3302a305c78038507a67bba6aebe61fcf
+SHA512 (cucumber-wire-8.0.0.gem) = 8589f3d2da487d02a512de87e57b2e8a85c8b78e35af91f88bba0bf176c6dbc1bef43368d9cb1e958c4dcb8959850ad0fcfea0f1bca5f4de46ce922865c70eb7
+SHA512 (rubygem-cucumber-wire-8.0.0-features.tar.gz) = 06ffe4905d1e74412b382f0fc58c0e725d8d5835994fffb567ed1a28dc413a3f657a6d71a6cafac96e8183b305a1996e3c0d69ababbf8a584ee2a7bcd8d9f0cc

                 reply	other threads:[~2026-08-14  8:35 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=178669653409.1.17812177530321667105.rpms-rubygem-cucumber-wire-65dc4ea13ee2@fedoraproject.org \
    --to=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