From 3c6c5e9be5e14ccade215fa8e2afce8dbbfaabd1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 04:43:24 +0000 Subject: [PATCH 01/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 70f0732..412a984 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 Group: Development/Languages License: MIT @@ -89,6 +89,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 3.7.0-3.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 14 2018 Mamoru TASAKA - 3.7.0-3 - Backport upstream patch to fix test failure on ruby 25 From 076053b6d614c64bf2af85a7d870f1402ccf126d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 22:40:33 +0100 Subject: [PATCH 02/58] Use C.UTF-8 locale --- rubygem-rspec-expectations.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 412a984..f98a9b9 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,13 +14,13 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.2 Group: Development/Languages License: MIT URL: http://github.com/rspec/rspec-expectations Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem -# %%{SOURCE2} %%{name} %%{version} +# %%{SOURCE2} %%{name} %%{version} Source1: rubygem-%{gem_name}-%{version}-full.tar.gz Source2: rspec-related-create-full-tarball.sh # https://github.com/rspec/rspec-expectations/pull/1037 @@ -69,7 +69,7 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts} %if 0%{?need_bootstrap_set} < 1 %check -LANG=en_US.UTF-8 +LANG=C.UTF-8 ruby -rrubygems -Ilib/ -S rspec spec/ %endif @@ -89,6 +89,10 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 3.7.0-3.2 +- Use C.UTF-8 locale + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + * Sat Jul 14 2018 Fedora Release Engineering - 3.7.0-3.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild @@ -197,7 +201,7 @@ ruby -rrubygems -Ilib/ -S rspec spec/ - 2.14.4 * Fri Sep 27 2013 Mamoru TASAKA - 2.14.3-1 -- 2.14.3 +- 2.14.3 * Fri Aug 16 2013 Mamoru TASAKA - 2.14.2-2 - Enable test suite again From 297dc8ef28221a90a479b54423a97f37ce345fd3 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 13 Dec 2018 14:07:13 +0900 Subject: [PATCH 03/58] 3.8.2 Once disable test for bootstrap --- ...expectations-3.7.0-aggregator-ruby25.patch | 33 ------------------- rubygem-rspec-expectations.spec | 14 ++++---- 2 files changed, 7 insertions(+), 40 deletions(-) delete mode 100644 rspec-expectations-3.7.0-aggregator-ruby25.patch diff --git a/rspec-expectations-3.7.0-aggregator-ruby25.patch b/rspec-expectations-3.7.0-aggregator-ruby25.patch deleted file mode 100644 index feeddb0..0000000 --- a/rspec-expectations-3.7.0-aggregator-ruby25.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 5999ad46df4782a3136c4bad0c2353daede2cbbd Mon Sep 17 00:00:00 2001 -From: Myron Marston -Date: Sat, 30 Dec 2017 17:36:55 -0800 -Subject: [PATCH] Disable Ruby 2.5 feature to avoid test failures on 2.5. - ---- - spec/rspec/expectations/failure_aggregator_spec.rb | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/spec/rspec/expectations/failure_aggregator_spec.rb b/spec/rspec/expectations/failure_aggregator_spec.rb -index 6628aa75..40a1ae35 100644 ---- a/spec/rspec/expectations/failure_aggregator_spec.rb -+++ b/spec/rspec/expectations/failure_aggregator_spec.rb -@@ -216,6 +216,19 @@ def expect_error_included_in_aggregated_failure(error) - end - - context "when an expectation failure happens in another thread" do -+ # On Ruby 2.5+, the new `report_on_exception` causes the errors in the threads -+ # to print warnings, which our rspec-support test harness converts into a test -+ # failure since we want to enforce warnings-free code. To prevent the warning, -+ # we need to disable the setting here. -+ if Thread.respond_to?(:report_on_exception) -+ around do |example| -+ orig = Thread.report_on_exception -+ Thread.report_on_exception = false -+ example.run -+ Thread.report_on_exception = orig -+ end -+ end -+ - it "includes the failure in the failures array if there are other failures" do - expect { - aggregate_failures do diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index f98a9b9..6c71300 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,9 +1,9 @@ -%global majorver 3.7.0 +%global majorver 3.8.2 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 3 +%global fedorarel 0.1 %global gem_name rspec-expectations @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.2 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} Group: Development/Languages License: MIT @@ -23,9 +23,6 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem # %%{SOURCE2} %%{name} %%{version} Source1: rubygem-%{gem_name}-%{version}-full.tar.gz Source2: rspec-related-create-full-tarball.sh -# https://github.com/rspec/rspec-expectations/pull/1037 -# https://github.com/rspec/rspec-expectations/commit/5999ad46df4782a3136c4bad0c2353daede2cbbd.patch -Patch1: rspec-expectations-3.7.0-aggregator-ruby25.patch #BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -51,7 +48,6 @@ This package contains documentation for %{name}. %prep %setup -q -T -n %{gem_name}-%{version} -b 1 -%patch1 -p1 gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec @@ -89,6 +85,10 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Wed Dec 12 2018 Mamoru TASAKA - 3.8.2-0.1 +- 3.8.2 +- Once disable test for bootstrap + * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 3.7.0-3.2 - Use C.UTF-8 locale See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot From e534319bd751090744966fc737d1f2123f7edd25 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 13 Dec 2018 14:21:30 +0900 Subject: [PATCH 04/58] oops.. --- rubygem-rspec-expectations.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 6c71300..2818d7f 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -7,7 +7,7 @@ %global gem_name rspec-expectations -%global need_bootstrap_set 0 +%global need_bootstrap_set 1 %undefine __brp_mangle_shebangs From 37ec2fdccfe12c027f346662d160901a54a9025b Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 13 Dec 2018 14:23:40 +0900 Subject: [PATCH 05/58] 3.8.2 Once disable test for bootstrap --- .gitignore | 2 ++ sources | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 38ff25e..4741d9a 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,5 @@ /rubygem-rspec-expectations-3.6.0-full.tar.gz /rspec-expectations-3.7.0.gem /rubygem-rspec-expectations-3.7.0-full.tar.gz +/rspec-expectations-3.8.2.gem +/rubygem-rspec-expectations-3.8.2-full.tar.gz diff --git a/sources b/sources index ef688bc..5b2577a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.7.0.gem) = 011575f87fb26ea3dd04ebff30f94c6686f07508c3adfd5b1fe6cde12758bd05773b685e45d4596ccccf860b85de74da14ea80072ac09932aa0ab30e06304a24 -SHA512 (rubygem-rspec-expectations-3.7.0-full.tar.gz) = 8c316c899a5f6f165874ba7affc039ef7061a4e002c39757db40b223474ee085403b1e9cc63e26b8b5a3caaf9dd26055a66d7c2263a4f637bf4814c6c9ff593a +SHA512 (rspec-expectations-3.8.2.gem) = 74c6b9398f49004fa2c5a78855c43151097c0790983b2596ef23ed932ab8249235ed3fcade07aea69198c0c24d75121059173cb074b07e976b0725f87dd19921 +SHA512 (rubygem-rspec-expectations-3.8.2-full.tar.gz) = 7e3d7444fd8ebaca42b68a7d996e6fea10634d4123f200884e0497fbde48af1b4901446f357168e67cd4e521335f9eeabf30f07e8174e0e7e197665e6b475fc8 From 2ab50fd1cb20d78674607b84027abe6cd614bdb7 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 13 Dec 2018 14:47:27 +0900 Subject: [PATCH 06/58] Enable tests again --- rubygem-rspec-expectations.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 2818d7f..e348b82 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,11 +3,11 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 0.1 +%global fedorarel 1 %global gem_name rspec-expectations -%global need_bootstrap_set 1 +%global need_bootstrap_set 0 %undefine __brp_mangle_shebangs @@ -85,6 +85,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Thu Dec 13 2018 Mamoru TASAKA - 3.8.2-1 +- Enable tests again + * Wed Dec 12 2018 Mamoru TASAKA - 3.8.2-0.1 - 3.8.2 - Once disable test for bootstrap From 30d7fa043f7890246756d369ba9047b991f7c6c9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:23 +0100 Subject: [PATCH 07/58] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- rubygem-rspec-expectations.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index e348b82..f4e9467 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -16,7 +16,6 @@ Name: rubygem-%{gem_name} Version: %{majorver} Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} -Group: Development/Languages License: MIT URL: http://github.com/rspec/rspec-expectations Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem @@ -39,7 +38,6 @@ RSpec::Matchers, a library of standard matchers. %package doc Summary: Documentation for %{name} -Group: Documentation Requires: %{name} = %{version}-%{release} %description doc From 0d44d5454cfc6fc6b7cc2194105ae67b52458c3e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 12:56:57 +0000 Subject: [PATCH 08/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index f4e9467..bbdd288 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -83,6 +83,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 3.8.2-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Dec 13 2018 Mamoru TASAKA - 3.8.2-1 - Enable tests again From 51a685c73f941351fc1825e6a8a50c8fef11a140 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Wed, 24 Apr 2019 15:19:56 +0900 Subject: [PATCH 09/58] 3.8.3 --- .gitignore | 2 ++ rubygem-rspec-expectations.spec | 7 +++++-- sources | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4741d9a..0b7e8cf 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ /rubygem-rspec-expectations-3.7.0-full.tar.gz /rspec-expectations-3.8.2.gem /rubygem-rspec-expectations-3.8.2-full.tar.gz +/rubygem-rspec-expectations-3.8.3-full.tar.gz +/rspec-expectations-3.8.3.gem diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index bbdd288..d18ef56 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.8.2 +%global majorver 3.8.3 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations @@ -83,6 +83,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Wed Apr 24 2019 Mamoru TASAKA - 3.8.3-1 +- 3.8.3 + * Sat Feb 02 2019 Fedora Release Engineering - 3.8.2-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 5b2577a..de01464 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.8.2.gem) = 74c6b9398f49004fa2c5a78855c43151097c0790983b2596ef23ed932ab8249235ed3fcade07aea69198c0c24d75121059173cb074b07e976b0725f87dd19921 -SHA512 (rubygem-rspec-expectations-3.8.2-full.tar.gz) = 7e3d7444fd8ebaca42b68a7d996e6fea10634d4123f200884e0497fbde48af1b4901446f357168e67cd4e521335f9eeabf30f07e8174e0e7e197665e6b475fc8 +SHA512 (rubygem-rspec-expectations-3.8.3-full.tar.gz) = 1ebbbd6e8f81ec826c0ae466c78cf8d2331d12e4ce78e9358e8dffa0fd7168fa5c21798f23ea73a001eafdc2e9b228020084d79169f45dd77fc7cb20e9267701 +SHA512 (rspec-expectations-3.8.3.gem) = 6d8b3c9a2a965fc3e5e1750af043e939c6ee28a84c77e1b8f1c83c344fabaf256274c4aa79aa1a789f09311c828089df60b727262489623172c1c141c65f8755 From a186b721969559a2ab26160862c76fb1d8ecfe04 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 21 Jun 2019 16:08:46 +0900 Subject: [PATCH 10/58] 3.8.4 --- .gitignore | 2 ++ rubygem-rspec-expectations.spec | 5 ++++- sources | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0b7e8cf..5647cce 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,5 @@ /rubygem-rspec-expectations-3.8.2-full.tar.gz /rubygem-rspec-expectations-3.8.3-full.tar.gz /rspec-expectations-3.8.3.gem +/rspec-expectations-3.8.4.gem +/rubygem-rspec-expectations-3.8.4-full.tar.gz diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index d18ef56..76229b2 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.8.3 +%global majorver 3.8.4 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -83,6 +83,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Fri Jun 21 2019 Mamoru TASAKA - 3.8.4-1 +- 3.8.4 + * Wed Apr 24 2019 Mamoru TASAKA - 3.8.3-1 - 3.8.3 diff --git a/sources b/sources index de01464..42d7169 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rubygem-rspec-expectations-3.8.3-full.tar.gz) = 1ebbbd6e8f81ec826c0ae466c78cf8d2331d12e4ce78e9358e8dffa0fd7168fa5c21798f23ea73a001eafdc2e9b228020084d79169f45dd77fc7cb20e9267701 -SHA512 (rspec-expectations-3.8.3.gem) = 6d8b3c9a2a965fc3e5e1750af043e939c6ee28a84c77e1b8f1c83c344fabaf256274c4aa79aa1a789f09311c828089df60b727262489623172c1c141c65f8755 +SHA512 (rspec-expectations-3.8.4.gem) = c2a2fc98e2bd9798329892401dd8f9c3f28453f8b01804038bf58ddec6afd27f7d13d20cab8e064ef8d8a2709dc23d42e3e075662ba307e041481a6e4091e35b +SHA512 (rubygem-rspec-expectations-3.8.4-full.tar.gz) = 437c9ebc4c80ee4a35f6bcf365141970b4f2346817f8f1361491ec9673dfa2d89df68e780cbe2c73bba5ef644f250348ecdf628b39b3f80f3bb1f7f899b7cba4 From 30c5f095c2f98b779bd32ec65a4ac8c41104ed3e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 20:02:59 +0000 Subject: [PATCH 11/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 76229b2..bbb0569 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -83,6 +83,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 3.8.4-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Jun 21 2019 Mamoru TASAKA - 3.8.4-1 - 3.8.4 From 94919d35dc3b7198137368a10aa868e337916cab Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 10 Dec 2019 14:59:08 +0900 Subject: [PATCH 12/58] 3.9.0 Once disable test for bootstrap --- .gitignore | 2 ++ rubygem-rspec-expectations.spec | 12 ++++++++---- sources | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 5647cce..f8c61db 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,5 @@ /rspec-expectations-3.8.3.gem /rspec-expectations-3.8.4.gem /rubygem-rspec-expectations-3.8.4-full.tar.gz +/rspec-expectations-3.9.0.gem +/rubygem-rspec-expectations-3.9.0-full.tar.gz diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index bbb0569..bb74d7c 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,20 +1,20 @@ -%global majorver 3.8.4 +%global majorver 3.9.0 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 1 +%global fedorarel 0.1 %global gem_name rspec-expectations -%global need_bootstrap_set 0 +%global need_bootstrap_set 1 %undefine __brp_mangle_shebangs Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations @@ -83,6 +83,10 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Tue Dec 10 2019 amoru TASAKA - 3.9.0-0.1 +- 3.9.0 +- Once disable test for bootstrap + * Fri Jul 26 2019 Fedora Release Engineering - 3.8.4-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 42d7169..d756dc5 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.8.4.gem) = c2a2fc98e2bd9798329892401dd8f9c3f28453f8b01804038bf58ddec6afd27f7d13d20cab8e064ef8d8a2709dc23d42e3e075662ba307e041481a6e4091e35b -SHA512 (rubygem-rspec-expectations-3.8.4-full.tar.gz) = 437c9ebc4c80ee4a35f6bcf365141970b4f2346817f8f1361491ec9673dfa2d89df68e780cbe2c73bba5ef644f250348ecdf628b39b3f80f3bb1f7f899b7cba4 +SHA512 (rspec-expectations-3.9.0.gem) = 52ff79ddfbbfa3690b7d7fabd3d4b21d76d67bffe2109be33646b0a468c9a201eddc2d6d73506894f3817f3798b545baead1d38cb2cc6aca28155d97ab211fd6 +SHA512 (rubygem-rspec-expectations-3.9.0-full.tar.gz) = 953aa8b9bd068254fd6b4ce77f55a02072decfd464a0fa7abc266c17af036062c6cf808a6605cf41345592e0712326c8e5db9a3055644b244addff7bdd5a42fa From 078403643a11e86a8d1f2dbd58f688eaa28b47d9 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 10 Dec 2019 15:52:56 +0900 Subject: [PATCH 13/58] Enable tests again --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index bb74d7c..fba123c 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 0.1 +%global fedorarel 1 %global gem_name rspec-expectations @@ -83,6 +83,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Tue Dec 10 2019 amoru TASAKA - 3.9.0-1 +- Enable tests again + * Tue Dec 10 2019 amoru TASAKA - 3.9.0-0.1 - 3.9.0 - Once disable test for bootstrap From 2a524bdd3e752fb78b43d56a6a0e75a1f2404258 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 10 Dec 2019 16:15:41 +0900 Subject: [PATCH 14/58] enable tests again, really --- rubygem-rspec-expectations.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index fba123c..1cd05fa 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,11 +3,11 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 1 +%global fedorarel 2 %global gem_name rspec-expectations -%global need_bootstrap_set 1 +%global need_bootstrap_set 0 %undefine __brp_mangle_shebangs @@ -83,7 +83,7 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog -* Tue Dec 10 2019 amoru TASAKA - 3.9.0-1 +* Tue Dec 10 2019 amoru TASAKA - 3.9.0-2 - Enable tests again * Tue Dec 10 2019 amoru TASAKA - 3.9.0-0.1 From 7052f2022b09d552795563f58d2edc70fe16e25d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 19:17:42 +0000 Subject: [PATCH 15/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 1cd05fa..fbdd3d3 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -83,6 +83,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 3.9.0-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Dec 10 2019 amoru TASAKA - 3.9.0-2 - Enable tests again From 17c692a72870d292f6765e642d50b3c55a89a487 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 19 Apr 2020 23:14:31 +0900 Subject: [PATCH 16/58] 3.9.1 --- .gitignore | 2 ++ rubygem-rspec-expectations.spec | 11 +++++++---- sources | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f8c61db..a01d9fa 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,5 @@ /rubygem-rspec-expectations-3.8.4-full.tar.gz /rspec-expectations-3.9.0.gem /rubygem-rspec-expectations-3.9.0-full.tar.gz +/rspec-expectations-3.9.1.gem +/rubygem-rspec-expectations-3.9.1-full.tar.gz diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index fbdd3d3..7fd3114 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,9 +1,9 @@ -%global majorver 3.9.0 +%global majorver 3.9.1 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 2 +%global fedorarel 1 %global gem_name rspec-expectations @@ -83,13 +83,16 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Sun Apr 19 2020 Mamoru TASAKA - 3.9.1-1 +- 3.9.1 + * Thu Jan 30 2020 Fedora Release Engineering - 3.9.0-2.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -* Tue Dec 10 2019 amoru TASAKA - 3.9.0-2 +* Tue Dec 10 2019 Mamoru TASAKA - 3.9.0-2 - Enable tests again -* Tue Dec 10 2019 amoru TASAKA - 3.9.0-0.1 +* Tue Dec 10 2019 Mamoru TASAKA - 3.9.0-0.1 - 3.9.0 - Once disable test for bootstrap diff --git a/sources b/sources index d756dc5..f55718a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.9.0.gem) = 52ff79ddfbbfa3690b7d7fabd3d4b21d76d67bffe2109be33646b0a468c9a201eddc2d6d73506894f3817f3798b545baead1d38cb2cc6aca28155d97ab211fd6 -SHA512 (rubygem-rspec-expectations-3.9.0-full.tar.gz) = 953aa8b9bd068254fd6b4ce77f55a02072decfd464a0fa7abc266c17af036062c6cf808a6605cf41345592e0712326c8e5db9a3055644b244addff7bdd5a42fa +SHA512 (rspec-expectations-3.9.1.gem) = e4ed95b52cbdfca374b324897dcf4fe1852d59c081042f3f80753d46fc978756230254e89fa9e54c27975f9279c6f2c21cd1588504e5641a119f8a9869478232 +SHA512 (rubygem-rspec-expectations-3.9.1-full.tar.gz) = 992d92bf560978e7eeceda5e113e24dd9415d4914ed2480bd8062d29c5b794ba4bcccf278116a0bad6d9bca628d44b8011c4cf413601dc100cd70dd8e8e517f0 From 1720e516634953a31387635e822362e81e6c7c63 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 19 Apr 2020 23:17:04 +0900 Subject: [PATCH 17/58] fix release --- rubygem-rspec-expectations.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 7fd3114..d72cb64 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations From 68492ca4cb158eb7f2ca296223baabdd9b8f426b Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 18 May 2020 14:42:47 +0900 Subject: [PATCH 18/58] 3.9.2 --- .gitignore | 2 ++ rubygem-rspec-expectations.spec | 7 ++++++- sources | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a01d9fa..d624b90 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ /rubygem-rspec-expectations-3.9.0-full.tar.gz /rspec-expectations-3.9.1.gem /rubygem-rspec-expectations-3.9.1-full.tar.gz +/rspec-expectations-3.9.2.gem +/rubygem-rspec-expectations-3.9.2-full.tar.gz diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index d72cb64..883bb30 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.9.1 +%global majorver 3.9.2 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -27,6 +27,8 @@ Source2: rspec-related-create-full-tarball.sh BuildRequires: rubygems-devel %if 0%{?need_bootstrap_set} < 1 BuildRequires: rubygem(rspec) +# Some features in expectations needs this +BuildRequires: rubygem(rspec-support) >= 3.9.3 BuildRequires: rubygem(minitest) >= 5 BuildRequires: git %endif @@ -83,6 +85,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Sat May 9 2020 Mamoru TASAKA - 3.9.2-1 +- 3.9.2 + * Sun Apr 19 2020 Mamoru TASAKA - 3.9.1-1 - 3.9.1 diff --git a/sources b/sources index f55718a..f38589e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.9.1.gem) = e4ed95b52cbdfca374b324897dcf4fe1852d59c081042f3f80753d46fc978756230254e89fa9e54c27975f9279c6f2c21cd1588504e5641a119f8a9869478232 -SHA512 (rubygem-rspec-expectations-3.9.1-full.tar.gz) = 992d92bf560978e7eeceda5e113e24dd9415d4914ed2480bd8062d29c5b794ba4bcccf278116a0bad6d9bca628d44b8011c4cf413601dc100cd70dd8e8e517f0 +SHA512 (rspec-expectations-3.9.2.gem) = 09ce2e3a008b04ec3bb4ceb42f885baa6509630e1b5a1bc18af39d49d69c46a8a0f04f28afa7488235d6f7b751b85e481e33904866e2b795489358e8d2f554e3 +SHA512 (rubygem-rspec-expectations-3.9.2-full.tar.gz) = 887df0f078cb58bc78b59b3103b4edd728bfb10a1b44a73c4ea9f54bca6394b5b91c2f3f668a986ee46dea18e7188742c1051f94e37f6c1dc1cc550f4f2e92b6 From e141fc8026ad0b53d522acbf927740380ad6293a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 07:00:18 +0000 Subject: [PATCH 19/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 883bb30..7817686 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -85,6 +85,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 3.9.2-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sat May 9 2020 Mamoru TASAKA - 3.9.2-1 - 3.9.2 From ebdc0ec96ca47f98cc95ff3079979ba370830397 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 11 Dec 2020 14:44:10 +0900 Subject: [PATCH 20/58] 3.10.0 Once disable test for bootstrap --- .gitignore | 2 ++ rubygem-rspec-expectations.spec | 17 +++++++++++++---- sources | 4 ++-- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d624b90..8068de8 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,5 @@ /rubygem-rspec-expectations-3.9.1-full.tar.gz /rspec-expectations-3.9.2.gem /rubygem-rspec-expectations-3.9.2-full.tar.gz +/rspec-expectations-3.10.0.gem +/rubygem-rspec-expectations-3.10.0-full.tar.gz diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 7817686..7a20c8b 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,20 +1,20 @@ -%global majorver 3.9.2 +%global majorver 3.10.0 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 1 +%global fedorarel 0.1 %global gem_name rspec-expectations -%global need_bootstrap_set 0 +%global need_bootstrap_set 1 %undefine __brp_mangle_shebangs Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations @@ -84,7 +84,16 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %files doc %{gem_docdir} +%if 0 +* Fri Dec 11 2020 Mamoru TASAKA - 3.10.0-1 +- Enable tests again +%endif + %changelog +* Fri Dec 11 2020 Mamoru TASAKA - 3.10.0-0.1 +- 3.10.0 +- Once disable test for bootstrap + * Wed Jul 29 2020 Fedora Release Engineering - 3.9.2-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index f38589e..8e6923e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.9.2.gem) = 09ce2e3a008b04ec3bb4ceb42f885baa6509630e1b5a1bc18af39d49d69c46a8a0f04f28afa7488235d6f7b751b85e481e33904866e2b795489358e8d2f554e3 -SHA512 (rubygem-rspec-expectations-3.9.2-full.tar.gz) = 887df0f078cb58bc78b59b3103b4edd728bfb10a1b44a73c4ea9f54bca6394b5b91c2f3f668a986ee46dea18e7188742c1051f94e37f6c1dc1cc550f4f2e92b6 +SHA512 (rspec-expectations-3.10.0.gem) = d5ca72b65446229f8468f89ae7cef541599229ba8d556172086b81de1a0e56f5802128b2b12bc784d485041e73d57792bc55caa848f15c7fbbebf68fe1b585ad +SHA512 (rubygem-rspec-expectations-3.10.0-full.tar.gz) = d01cbb7368f8870c1cadd9f8bea634e9140a57f7c993a67c3d9da4ee37741e04f4450ce1a0285a60ce2a1e86a27660755f3cb28a2ad0e699010ee6ec844e0df6 From 49c1a399ba851ed8eab2a60d44d639cebcebee88 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 11 Dec 2020 15:24:50 +0900 Subject: [PATCH 21/58] Enable tests again --- rubygem-rspec-expectations.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 7a20c8b..9eb8147 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,11 +3,11 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 0.1 +%global fedorarel 1 %global gem_name rspec-expectations -%global need_bootstrap_set 1 +%global need_bootstrap_set 0 %undefine __brp_mangle_shebangs @@ -84,12 +84,10 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %files doc %{gem_docdir} -%if 0 +%changelog * Fri Dec 11 2020 Mamoru TASAKA - 3.10.0-1 - Enable tests again -%endif -%changelog * Fri Dec 11 2020 Mamoru TASAKA - 3.10.0-0.1 - 3.10.0 - Once disable test for bootstrap From 5c755d48b0193fa48596576ecbeb1f6770ce8317 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 29 Dec 2020 15:03:35 +0900 Subject: [PATCH 22/58] 3.10.1 --- .gitignore | 2 ++ rubygem-rspec-expectations.spec | 5 ++++- sources | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8068de8..004387a 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ /rubygem-rspec-expectations-3.9.2-full.tar.gz /rspec-expectations-3.10.0.gem /rubygem-rspec-expectations-3.10.0-full.tar.gz +/rspec-expectations-3.10.1.gem +/rubygem-rspec-expectations-3.10.1-full.tar.gz diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 9eb8147..c381f0f 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.10.0 +%global majorver 3.10.1 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -85,6 +85,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Tue Dec 29 2020 Mamoru TASAKA - 3.10.1-1 +- 3.10.1 + * Fri Dec 11 2020 Mamoru TASAKA - 3.10.0-1 - Enable tests again diff --git a/sources b/sources index 8e6923e..3790fce 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.10.0.gem) = d5ca72b65446229f8468f89ae7cef541599229ba8d556172086b81de1a0e56f5802128b2b12bc784d485041e73d57792bc55caa848f15c7fbbebf68fe1b585ad -SHA512 (rubygem-rspec-expectations-3.10.0-full.tar.gz) = d01cbb7368f8870c1cadd9f8bea634e9140a57f7c993a67c3d9da4ee37741e04f4450ce1a0285a60ce2a1e86a27660755f3cb28a2ad0e699010ee6ec844e0df6 +SHA512 (rspec-expectations-3.10.1.gem) = c2e6fa12f5531ba91f03e22de3af4eed5cea74434634503302e38732b042423c669d2ddae3750d94f5f36c85433ae5743fcc0d0c4a0c50326050efde087b8a0a +SHA512 (rubygem-rspec-expectations-3.10.1-full.tar.gz) = 5e247e19fbf1666e6eede0176e23854765a5b41d901750be8bfa274e1c01138d304def64c76a2443a273b26af2eb505f4e600bb93de264c9a843780bb658a3d3 From 8ec7a32b85d1789e791cde8ef12f42135470b205 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 16:26:05 +0000 Subject: [PATCH 23/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index c381f0f..dd6fec0 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -85,6 +85,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 3.10.1-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Dec 29 2020 Mamoru TASAKA - 3.10.1-1 - 3.10.1 From bd9d16b635e2009f02c6842ae1bf0c7cc6400d21 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 12:37:36 +0000 Subject: [PATCH 24/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index dd6fec0..93531a9 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.2 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -85,6 +85,9 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 3.10.1-1.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 3.10.1-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 3cd143df66812b488b1ad1593c7450b97ee004ab Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 18 Jan 2022 23:43:27 +0900 Subject: [PATCH 25/58] 3.10.2 Execute cucumber test --- .gitignore | 46 ++------------------------------- rubygem-rspec-expectations.spec | 19 ++++++++++++-- sources | 4 +-- 3 files changed, 21 insertions(+), 48 deletions(-) diff --git a/.gitignore b/.gitignore index 004387a..bb8aaaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,44 +1,2 @@ -/rspec-expectations-2.5.0.gem -/rspec-expectations-2.6.0.rc4.gem -/rspec-expectations-2.6.0.rc6.gem -/rspec-expectations-2.6.0.gem -/rspec-expectations-2.8.0.gem -/rspec-expectations-2.11.3.gem -/rspec-expectations-2.12.1.gem -/rspec-expectations-2.13.0.gem -/rspec-expectations-2.14.2.gem -/rspec-expectations-2.14.3.gem -/rspec-expectations-2.14.4.gem -/rspec-expectations-2.14.5.gem -/rspec-expectations-3.1.2.gem -/rubygem-rspec-expectations-3.1.2-full.tar.gz -/rspec-expectations-3.2.0.gem -/rubygem-rspec-expectations-3.2.0-full.tar.gz -/rspec-expectations-3.2.1.gem -/rubygem-rspec-expectations-3.2.1-full.tar.gz -/rspec-expectations-3.3.1.gem -/rubygem-rspec-expectations-3.3.1-full.tar.gz -/rspec-expectations-3.4.0.gem -/rubygem-rspec-expectations-3.4.0-full.tar.gz -/rspec-expectations-3.5.0.gem -/rubygem-rspec-expectations-3.5.0-full.tar.gz -/rspec-expectations-3.6.0.gem -/rubygem-rspec-expectations-3.6.0-full.tar.gz -/rspec-expectations-3.7.0.gem -/rubygem-rspec-expectations-3.7.0-full.tar.gz -/rspec-expectations-3.8.2.gem -/rubygem-rspec-expectations-3.8.2-full.tar.gz -/rubygem-rspec-expectations-3.8.3-full.tar.gz -/rspec-expectations-3.8.3.gem -/rspec-expectations-3.8.4.gem -/rubygem-rspec-expectations-3.8.4-full.tar.gz -/rspec-expectations-3.9.0.gem -/rubygem-rspec-expectations-3.9.0-full.tar.gz -/rspec-expectations-3.9.1.gem -/rubygem-rspec-expectations-3.9.1-full.tar.gz -/rspec-expectations-3.9.2.gem -/rubygem-rspec-expectations-3.9.2-full.tar.gz -/rspec-expectations-3.10.0.gem -/rubygem-rspec-expectations-3.10.0-full.tar.gz -/rspec-expectations-3.10.1.gem -/rubygem-rspec-expectations-3.10.1-full.tar.gz +/rspec-expectations-*.gem +/rubygem-rspec-expectations-*-full.tar.gz diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 93531a9..fd8c9f0 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.10.1 +%global majorver 3.10.2 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.2 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations @@ -30,6 +30,8 @@ BuildRequires: rubygem(rspec) # Some features in expectations needs this BuildRequires: rubygem(rspec-support) >= 3.9.3 BuildRequires: rubygem(minitest) >= 5 +BuildRequires: rubygem(aruba) +BuildRequires: rubygem(cucumber) BuildRequires: git %endif BuildArch: noarch @@ -67,6 +69,15 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts} %check LANG=C.UTF-8 ruby -rrubygems -Ilib/ -S rspec spec/ + +# Skip one failing scenario, needs investigating... +sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d' +sed -i features/built_in_matchers/include.feature -e 's|^\([ \t]*\)\(Scenario: counts usage.*\)|\1@skip-on-fedora\n\1\2|' +export CUCUMBER_PUBLISH_QUIET=true +cucumber \ + --tag "not @skip-when-diff-lcs-1.3" \ + --tag "not @skip-on-fedora" \ + %{nil} %endif %files @@ -85,6 +96,10 @@ ruby -rrubygems -Ilib/ -S rspec spec/ %{gem_docdir} %changelog +* Tue Jan 18 2022 Mamoru TASAKA - 3.10.2-1 +- 3.10.2 +- Execute cucumber test + * Fri Jul 23 2021 Fedora Release Engineering - 3.10.1-1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 3790fce..4a2a507 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.10.1.gem) = c2e6fa12f5531ba91f03e22de3af4eed5cea74434634503302e38732b042423c669d2ddae3750d94f5f36c85433ae5743fcc0d0c4a0c50326050efde087b8a0a -SHA512 (rubygem-rspec-expectations-3.10.1-full.tar.gz) = 5e247e19fbf1666e6eede0176e23854765a5b41d901750be8bfa274e1c01138d304def64c76a2443a273b26af2eb505f4e600bb93de264c9a843780bb658a3d3 +SHA512 (rspec-expectations-3.10.2.gem) = b01a2fbee344c4094de6e23e78a5533920c05ad60a9a990237d77c4b3376f14e7b3adbc2dea013c539f9ee627ae887e40678a15dee89b4c64c5c8c1c40f826ca +SHA512 (rubygem-rspec-expectations-3.10.2-full.tar.gz) = 06e123bd691fb4627f4ed2c7f1342101a780aefbadc23565a2a62473acf2ad5d79cf4515dd32f20d7a255e37b6c992c30005228eb80605cfc84918e6d6390552 From e627fe67621511eaa2463165e4743f96877dc599 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 19:11:06 +0000 Subject: [PATCH 26/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index fd8c9f0..1b2a75d 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -96,6 +96,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 3.10.2-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Jan 18 2022 Mamoru TASAKA - 3.10.2-1 - 3.10.2 - Execute cucumber test From 62f2d363e75244fb92da813c8822ae956ccd19f8 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 30 Jan 2022 12:05:11 +0900 Subject: [PATCH 27/58] BR: rubygem(rake) for check --- rubygem-rspec-expectations.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 1b2a75d..1ec4cb9 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 1 +%global fedorarel 2 %global gem_name rspec-expectations @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations @@ -27,6 +27,7 @@ Source2: rspec-related-create-full-tarball.sh BuildRequires: rubygems-devel %if 0%{?need_bootstrap_set} < 1 BuildRequires: rubygem(rspec) +BuildRequires: rubygem(rake) # Some features in expectations needs this BuildRequires: rubygem(rspec-support) >= 3.9.3 BuildRequires: rubygem(minitest) >= 5 @@ -96,6 +97,9 @@ cucumber \ %{gem_docdir} %changelog +* Sun Jan 30 2022 Mamoru TASAKA - 3.10.2-2 +- BR: rubygem(rake) for check + * Fri Jan 21 2022 Fedora Release Engineering - 3.10.2-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From c0deabd44b4d027f4f27e8f6579bf565b14a3dea Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 10 Feb 2022 12:32:36 +0900 Subject: [PATCH 28/58] 3.11.0 --- rubygem-rspec-expectations.spec | 16 ++++++++++------ sources | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 1ec4cb9..5d09b04 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,13 +1,13 @@ -%global majorver 3.10.2 +%global majorver 3.11.0 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 2 +%global fedorarel 1 %global gem_name rspec-expectations -%global need_bootstrap_set 0 +%bcond_without bootstrap %undefine __brp_mangle_shebangs @@ -25,7 +25,7 @@ Source2: rspec-related-create-full-tarball.sh #BuildRequires: ruby(release) BuildRequires: rubygems-devel -%if 0%{?need_bootstrap_set} < 1 +%if %{without bootstrap} BuildRequires: rubygem(rspec) BuildRequires: rubygem(rake) # Some features in expectations needs this @@ -66,10 +66,11 @@ cp -a .%{gem_dir}/* \ # cleanups rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts} -%if 0%{?need_bootstrap_set} < 1 %check +%if %{without bootstrap} LANG=C.UTF-8 -ruby -rrubygems -Ilib/ -S rspec spec/ +export RUBYLIB=$(pwd)/lib +rspec spec/ # Skip one failing scenario, needs investigating... sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d' @@ -97,6 +98,9 @@ cucumber \ %{gem_docdir} %changelog +* Thu Feb 10 2022 Mamoru TASAKA - 3.11.0-1 +- 3.11.0 + * Sun Jan 30 2022 Mamoru TASAKA - 3.10.2-2 - BR: rubygem(rake) for check diff --git a/sources b/sources index 4a2a507..436da65 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.10.2.gem) = b01a2fbee344c4094de6e23e78a5533920c05ad60a9a990237d77c4b3376f14e7b3adbc2dea013c539f9ee627ae887e40678a15dee89b4c64c5c8c1c40f826ca -SHA512 (rubygem-rspec-expectations-3.10.2-full.tar.gz) = 06e123bd691fb4627f4ed2c7f1342101a780aefbadc23565a2a62473acf2ad5d79cf4515dd32f20d7a255e37b6c992c30005228eb80605cfc84918e6d6390552 +SHA512 (rspec-expectations-3.11.0.gem) = b3797f6b7b591dc78704051749bebbaf34827b72d5f09139bb413bdfb6f96dc0d5ade9111f4cdb7ee07a22affcc057214d8baa7c48ba93c1950a85561a1dbd5e +SHA512 (rubygem-rspec-expectations-3.11.0-full.tar.gz) = 72f34fe54a66cb096ed82c485ef75373e17b9f90a717c5b35c0f0b628898f00c187df27e4f4216fa1a3f9a35628b713de7f3768fe349b2afaaa8491ec4cb4977 From 50c2a449d506c298ec12f90cd46f1d6fc355cdb0 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 10 Feb 2022 13:24:05 +0900 Subject: [PATCH 29/58] kill bootstrap --- rubygem-rspec-expectations.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 5d09b04..77362b1 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -7,7 +7,7 @@ %global gem_name rspec-expectations -%bcond_without bootstrap +%bcond_with bootstrap %undefine __brp_mangle_shebangs From d04982d2be5f1dcc7b372e36e5cc138ccac6f1e6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 02:13:08 +0000 Subject: [PATCH 30/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 77362b1..f07f1c1 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -98,6 +98,9 @@ cucumber \ %{gem_docdir} %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 3.11.0-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Feb 10 2022 Mamoru TASAKA - 3.11.0-1 - 3.11.0 From 2c0b83964ce51881054c6a5a9560c8481698cf58 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 15 Sep 2022 15:39:11 +0900 Subject: [PATCH 31/58] 3.11.1 --- rubygem-rspec-expectations.spec | 7 +++++-- sources | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index f07f1c1..0c75cf9 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.11.0 +%global majorver 3.11.1 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations @@ -98,6 +98,9 @@ cucumber \ %{gem_docdir} %changelog +* Thu Sep 15 2022 Mamoru TASAKA - 3.11.1-1 +- 3.11.1 + * Sat Jul 23 2022 Fedora Release Engineering - 3.11.0-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 436da65..421dd22 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.11.0.gem) = b3797f6b7b591dc78704051749bebbaf34827b72d5f09139bb413bdfb6f96dc0d5ade9111f4cdb7ee07a22affcc057214d8baa7c48ba93c1950a85561a1dbd5e -SHA512 (rubygem-rspec-expectations-3.11.0-full.tar.gz) = 72f34fe54a66cb096ed82c485ef75373e17b9f90a717c5b35c0f0b628898f00c187df27e4f4216fa1a3f9a35628b713de7f3768fe349b2afaaa8491ec4cb4977 +SHA512 (rspec-expectations-3.11.1.gem) = ed29a70183124dcb6f0ed1c322187f920fcb7995bf8fbbb2069d6329cea117fd526d1601f0287f078e47ab6e0c65af3ef56cbc8be7f75e84550b74f9aa3b3ef0 +SHA512 (rubygem-rspec-expectations-3.11.1-full.tar.gz) = 8114906f7517fc45ada62d3ff55f460f2ec93fd2f8370fdcfeb266d41c65d24c78363007ccd401814b6c54636a1c81dd1297a1556bc8f3a66a93ff36ae3d2267 From bb877891e1a6d84b3f19ed73e321059f9d49024a Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 27 Oct 2022 15:39:20 +0900 Subject: [PATCH 32/58] 3.12.0 --- rubygem-rspec-expectations.spec | 7 +++++-- sources | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 0c75cf9..8877dd8 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.11.1 +%global majorver 3.12.0 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -7,7 +7,7 @@ %global gem_name rspec-expectations -%bcond_with bootstrap +%bcond_without bootstrap %undefine __brp_mangle_shebangs @@ -98,6 +98,9 @@ cucumber \ %{gem_docdir} %changelog +* Thu Oct 27 2022 Mamoru TASAKA - 3.12.0-1 +- 3.12.0 + * Thu Sep 15 2022 Mamoru TASAKA - 3.11.1-1 - 3.11.1 diff --git a/sources b/sources index 421dd22..263c170 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.11.1.gem) = ed29a70183124dcb6f0ed1c322187f920fcb7995bf8fbbb2069d6329cea117fd526d1601f0287f078e47ab6e0c65af3ef56cbc8be7f75e84550b74f9aa3b3ef0 -SHA512 (rubygem-rspec-expectations-3.11.1-full.tar.gz) = 8114906f7517fc45ada62d3ff55f460f2ec93fd2f8370fdcfeb266d41c65d24c78363007ccd401814b6c54636a1c81dd1297a1556bc8f3a66a93ff36ae3d2267 +SHA512 (rspec-expectations-3.12.0.gem) = 2372692c23c9b15a9073d1ae6d2fe0008de71609f447137c30c19c5a7c775ca11c071af7ba41905a0b70a2236e93ad07752d4884424be6c6a3172a02964aefa3 +SHA512 (rubygem-rspec-expectations-3.12.0-full.tar.gz) = 3cdddb893ac5dc8649c82a16fe529f599bb6e1a2e39bdfc38786bebc7171193b1ec1381c63f95281d40fe43ac09744e1a3f2e89f0813e51b798edc17e2526955 From 0f7918b28c7739113f5964bf595ac312daeb8314 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 27 Oct 2022 16:03:07 +0900 Subject: [PATCH 33/58] enable test again --- rubygem-rspec-expectations.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 8877dd8..3cc0306 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -7,7 +7,7 @@ %global gem_name rspec-expectations -%bcond_without bootstrap +%bcond_with bootstrap %undefine __brp_mangle_shebangs From 6e084a2f349e132b356ece3a01187eb7c1fdc6b1 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Wed, 21 Dec 2022 16:59:38 +0900 Subject: [PATCH 34/58] 3.12.1 --- rubygem-rspec-expectations.spec | 5 ++++- sources | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 3cc0306..324b46e 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.12.0 +%global majorver 3.12.1 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -98,6 +98,9 @@ cucumber \ %{gem_docdir} %changelog +* Wed Dec 21 2022 Mamoru TASAKA - 3.12.1-1 +- 3.12.1 + * Thu Oct 27 2022 Mamoru TASAKA - 3.12.0-1 - 3.12.0 diff --git a/sources b/sources index 263c170..937a852 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.12.0.gem) = 2372692c23c9b15a9073d1ae6d2fe0008de71609f447137c30c19c5a7c775ca11c071af7ba41905a0b70a2236e93ad07752d4884424be6c6a3172a02964aefa3 -SHA512 (rubygem-rspec-expectations-3.12.0-full.tar.gz) = 3cdddb893ac5dc8649c82a16fe529f599bb6e1a2e39bdfc38786bebc7171193b1ec1381c63f95281d40fe43ac09744e1a3f2e89f0813e51b798edc17e2526955 +SHA512 (rspec-expectations-3.12.1.gem) = e0417d7ef10c4ede71510f8e06bd2efb24e233d501cc699a0dfb0e2cf23a70617e9bf12c55ca112947512eca36ceb390c7ed38ce1f64366b8395499ed8467e10 +SHA512 (rubygem-rspec-expectations-3.12.1-full.tar.gz) = 221d3554c44eff2eacadbba99d3f812275d2ecbe059e039d955a740ebb0a8beadb33b43fab14b94552052aae7313cdea44ae1f5a209c403db6957905d83cd9f6 From d548dc81709062613c956004c48a249eaebc74ca Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 17 Jan 2023 14:27:32 +0900 Subject: [PATCH 35/58] 3.12.2 --- rubygem-rspec-expectations.spec | 5 ++++- sources | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 324b46e..147ff78 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.12.1 +%global majorver 3.12.2 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -98,6 +98,9 @@ cucumber \ %{gem_docdir} %changelog +* Tue Jan 17 2023 Mamoru TASAKA - 3.12.2-1 +- 3.12.2 + * Wed Dec 21 2022 Mamoru TASAKA - 3.12.1-1 - 3.12.1 diff --git a/sources b/sources index 937a852..5f0421c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.12.1.gem) = e0417d7ef10c4ede71510f8e06bd2efb24e233d501cc699a0dfb0e2cf23a70617e9bf12c55ca112947512eca36ceb390c7ed38ce1f64366b8395499ed8467e10 -SHA512 (rubygem-rspec-expectations-3.12.1-full.tar.gz) = 221d3554c44eff2eacadbba99d3f812275d2ecbe059e039d955a740ebb0a8beadb33b43fab14b94552052aae7313cdea44ae1f5a209c403db6957905d83cd9f6 +SHA512 (rspec-expectations-3.12.2.gem) = 9c7424b87ccc9c99644c0dc0fabd306f65cf889971cf08ab3b60b3079eec0c7d4fe0baf15545705f0db7b9fbb78d4ac8d06607f5a43bd3515ecb857e06d54514 +SHA512 (rubygem-rspec-expectations-3.12.2-full.tar.gz) = ad9b8a95a77a6573a5c2ecffb7fd8767242cbcd52c2ea50d5d78de15850cd3d81fea319af542e2171a5acbd6f09fe4d5f0bd2a04b11727997800316dc45e0856 From a6622412d52b0a98e4b41c6a764acf7629d9d4da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 21:04:32 +0000 Subject: [PATCH 36/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 147ff78..945056c 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations @@ -98,6 +98,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 3.12.2-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Jan 17 2023 Mamoru TASAKA - 3.12.2-1 - 3.12.2 From 4597d7c301325731279fc77045170ea9c5444a97 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 10 Mar 2023 15:49:27 -0500 Subject: [PATCH 37/58] Disable unwanted dependencies in RHEL builds --- rubygem-rspec-expectations.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 945056c..d893cbd 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -31,8 +31,10 @@ BuildRequires: rubygem(rake) # Some features in expectations needs this BuildRequires: rubygem(rspec-support) >= 3.9.3 BuildRequires: rubygem(minitest) >= 5 +%if ! 0%{?rhel} BuildRequires: rubygem(aruba) BuildRequires: rubygem(cucumber) +%endif BuildRequires: git %endif BuildArch: noarch @@ -72,6 +74,7 @@ LANG=C.UTF-8 export RUBYLIB=$(pwd)/lib rspec spec/ +%if ! 0%{?rhel} # Skip one failing scenario, needs investigating... sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d' sed -i features/built_in_matchers/include.feature -e 's|^\([ \t]*\)\(Scenario: counts usage.*\)|\1@skip-on-fedora\n\1\2|' @@ -81,6 +84,7 @@ cucumber \ --tag "not @skip-on-fedora" \ %{nil} %endif +%endif %files %dir %{gem_instdir} From 377e09aedebc81be297bfb2e986f34a9ba6fc9d4 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 13 Mar 2023 10:36:20 +0900 Subject: [PATCH 38/58] rename release macro to make rpmdev-bumprelease work --- rubygem-rspec-expectations.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 945056c..2df5002 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 1 +%global baserelease 1 %global gem_name rspec-expectations @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist}.1 License: MIT URL: http://github.com/rspec/rspec-expectations From 1d68faa32285ed7c6809eb9d9c079d3fd1386e38 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 13 Mar 2023 10:48:04 +0900 Subject: [PATCH 39/58] refactor --- rubygem-rspec-expectations.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 62d0136..ae1c645 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 1 +%global baserelease 2 %global gem_name rspec-expectations @@ -14,7 +14,7 @@ Summary: RSpec expectations (should and matchers) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist}.1 +Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist} License: MIT URL: http://github.com/rspec/rspec-expectations @@ -69,12 +69,20 @@ cp -a .%{gem_dir}/* \ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts} %check -%if %{without bootstrap} +%if %{with bootstrap} +# Skip test, exiting +exit 0 +%endif + LANG=C.UTF-8 export RUBYLIB=$(pwd)/lib rspec spec/ -%if ! 0%{?rhel} +%if 0%{?rhel} +# Skip cucumber test +exit 0 +%endif + # Skip one failing scenario, needs investigating... sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d' sed -i features/built_in_matchers/include.feature -e 's|^\([ \t]*\)\(Scenario: counts usage.*\)|\1@skip-on-fedora\n\1\2|' @@ -83,8 +91,6 @@ cucumber \ --tag "not @skip-when-diff-lcs-1.3" \ --tag "not @skip-on-fedora" \ %{nil} -%endif -%endif %files %dir %{gem_instdir} @@ -102,6 +108,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Mar 10 2023 Yaakov Selkowitz - 3.12.2-2 +- Disable unwanted dependencies in RHEL builds + * Fri Jan 20 2023 Fedora Release Engineering - 3.12.2-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From e20bba14d6b1a490e6862f87023562275ad0f22d Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Wed, 15 Mar 2023 16:29:11 +0900 Subject: [PATCH 40/58] SPDX confirmed --- rubygem-rspec-expectations.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 2df5002..0948936 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -16,6 +16,7 @@ Name: rubygem-%{gem_name} Version: %{majorver} Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist}.1 +# SPDX confirmed License: MIT URL: http://github.com/rspec/rspec-expectations Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem From 0c32d4b03442b7a7b9dd92ad2c64660d77990cd7 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 21 Apr 2023 11:08:11 +0900 Subject: [PATCH 41/58] 3.12.3 --- rubygem-rspec-expectations.spec | 7 +++++-- sources | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index b89a232..2cf4541 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,9 +1,9 @@ -%global majorver 3.12.2 +%global majorver 3.12.3 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 2 +%global baserelease 1 %global gem_name rspec-expectations @@ -109,6 +109,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Apr 21 2023 Mamoru TASAKA - 3.12.3-1 +- 3.12.3 + * Fri Mar 10 2023 Yaakov Selkowitz - 3.12.2-2 - Disable unwanted dependencies in RHEL builds diff --git a/sources b/sources index 5f0421c..afe8468 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.12.2.gem) = 9c7424b87ccc9c99644c0dc0fabd306f65cf889971cf08ab3b60b3079eec0c7d4fe0baf15545705f0db7b9fbb78d4ac8d06607f5a43bd3515ecb857e06d54514 -SHA512 (rubygem-rspec-expectations-3.12.2-full.tar.gz) = ad9b8a95a77a6573a5c2ecffb7fd8767242cbcd52c2ea50d5d78de15850cd3d81fea319af542e2171a5acbd6f09fe4d5f0bd2a04b11727997800316dc45e0856 +SHA512 (rspec-expectations-3.12.3.gem) = 58717c22078f09b9b5fce785cbc2b210a513067ede9210bc6391bc06325dfc8c1f6ffeffacbeed955ec556bada210b36ec236e49249dce96d3d20ed61258d009 +SHA512 (rubygem-rspec-expectations-3.12.3-full.tar.gz) = 6e826663a939502705317cc1214a74741bc8c65e6971ae7b651958be5582ac6d4a097911c602034321c2efeb5b02fd7d26a33ce52dd631bc8be74483018ccf02 From 484a0f979f8b5f5de067cef493bcd7674367bf68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 18:20:17 +0000 Subject: [PATCH 42/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 2cf4541..158933f 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 1 +%global baserelease 2 %global gem_name rspec-expectations @@ -109,6 +109,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 3.12.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Apr 21 2023 Mamoru TASAKA - 3.12.3-1 - 3.12.3 From 6a9936b01e506bff9be3f85ff510dd4d1403fcc4 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 4 Aug 2023 15:17:05 +0900 Subject: [PATCH 43/58] Support MiniTest 5.19+ --- rubygem-rspec-expectations.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 158933f..aa007ec 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 2 +%global baserelease 3 %global gem_name rspec-expectations @@ -57,6 +57,11 @@ This package contains documentation for %{name}. gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec +# MiniTest 5.19+ +%if 0%{?fedora} >= 39 +grep -rl MiniTest spec/ | xargs sed -i 's|MiniTest::|Minitest::|' +%endif + %build gem build %{gem_name}.gemspec %gem_install @@ -109,6 +114,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Aug 4 2023 Mamoru TASAKA - 3.12.3-3 +- Support MiniTest 5.19+ + * Fri Jul 21 2023 Fedora Release Engineering - 3.12.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 7c847c593eea78e0b176df39e638f9ae3c6e2613 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 6 Aug 2023 16:59:40 +0900 Subject: [PATCH 44/58] Remove unneeded conditionals for new MiniTest support --- rubygem-rspec-expectations.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index aa007ec..71e7c7d 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 3 +%global baserelease 4 %global gem_name rspec-expectations @@ -58,9 +58,7 @@ This package contains documentation for %{name}. gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec # MiniTest 5.19+ -%if 0%{?fedora} >= 39 grep -rl MiniTest spec/ | xargs sed -i 's|MiniTest::|Minitest::|' -%endif %build gem build %{gem_name}.gemspec @@ -114,6 +112,9 @@ cucumber \ %{gem_docdir} %changelog +* Sun Aug 06 2023 Mamoru TASAKA - 3.12.3-4 +- Remove unneeded conditionals for new MiniTest support + * Fri Aug 4 2023 Mamoru TASAKA - 3.12.3-3 - Support MiniTest 5.19+ From d0f411104eebc5263e3303005bbd71ae2858cd32 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 17:26:33 +0000 Subject: [PATCH 45/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 71e7c7d..8dd4c5d 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 4 +%global baserelease 5 %global gem_name rspec-expectations @@ -112,6 +112,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 3.12.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Aug 06 2023 Mamoru TASAKA - 3.12.3-4 - Remove unneeded conditionals for new MiniTest support From 0053c410ee5aae2e701c89f90490d6056dfb1520 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 9 Feb 2024 15:22:52 +0900 Subject: [PATCH 46/58] 3.13.0 --- rubygem-rspec-expectations.spec | 12 ++++++------ sources | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 8dd4c5d..798bee7 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,13 +1,13 @@ -%global majorver 3.12.3 +%global majorver 3.13.0 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 5 +%global baserelease 1 %global gem_name rspec-expectations -%bcond_with bootstrap +%bcond_without bootstrap %undefine __brp_mangle_shebangs @@ -57,9 +57,6 @@ This package contains documentation for %{name}. gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec -# MiniTest 5.19+ -grep -rl MiniTest spec/ | xargs sed -i 's|MiniTest::|Minitest::|' - %build gem build %{gem_name}.gemspec %gem_install @@ -112,6 +109,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Feb 09 2024 Mamoru TASAKA - 3.13.0-1 +- 3.13.0 + * Fri Jan 26 2024 Fedora Release Engineering - 3.12.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index afe8468..c6ed529 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.12.3.gem) = 58717c22078f09b9b5fce785cbc2b210a513067ede9210bc6391bc06325dfc8c1f6ffeffacbeed955ec556bada210b36ec236e49249dce96d3d20ed61258d009 -SHA512 (rubygem-rspec-expectations-3.12.3-full.tar.gz) = 6e826663a939502705317cc1214a74741bc8c65e6971ae7b651958be5582ac6d4a097911c602034321c2efeb5b02fd7d26a33ce52dd631bc8be74483018ccf02 +SHA512 (rspec-expectations-3.13.0.gem) = 926f6d54df2258f45ba53f8be90cb5af8a6b74634288ef82a511690ba27614bc283c4e262889e80469c8b48c2c770310402b17f1dd7bca28a24624c4a7d47de2 +SHA512 (rubygem-rspec-expectations-3.13.0-full.tar.gz) = 4623b5f2e539f42e0d19a64234731fdd288cf9888500e32a54f383e261cdc06f7619bf2d98b11c31e88a3ed0bf3f3d180000d2b9c02e179464c705cb641a58f6 From cfa15bf1506dca52b5795759ca6d4759ba971680 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 9 Feb 2024 15:46:09 +0900 Subject: [PATCH 47/58] enable test again --- rubygem-rspec-expectations.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 798bee7..4c92afb 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -7,7 +7,7 @@ %global gem_name rspec-expectations -%bcond_without bootstrap +%bcond_with bootstrap %undefine __brp_mangle_shebangs From 484414a84660a5d3b9812bc386f5f15c80570121 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 18 Jun 2024 17:39:22 +0900 Subject: [PATCH 48/58] 3.13.1 --- rubygem-rspec-expectations.spec | 5 ++++- sources | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 4c92afb..b1a61ba 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.13.0 +%global majorver 3.13.1 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -109,6 +109,9 @@ cucumber \ %{gem_docdir} %changelog +* Tue Jun 18 2024 Mamoru TASAKA - 3.13.1-1 +- 3.13.1 + * Fri Feb 09 2024 Mamoru TASAKA - 3.13.0-1 - 3.13.0 diff --git a/sources b/sources index c6ed529..058cf0a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.13.0.gem) = 926f6d54df2258f45ba53f8be90cb5af8a6b74634288ef82a511690ba27614bc283c4e262889e80469c8b48c2c770310402b17f1dd7bca28a24624c4a7d47de2 -SHA512 (rubygem-rspec-expectations-3.13.0-full.tar.gz) = 4623b5f2e539f42e0d19a64234731fdd288cf9888500e32a54f383e261cdc06f7619bf2d98b11c31e88a3ed0bf3f3d180000d2b9c02e179464c705cb641a58f6 +SHA512 (rspec-expectations-3.13.1.gem) = 0d7aab480a34b135d1972250eff4bd15ed458c4db3a0d241e3388473c1b01b86245ad8423053e03eedf9cfecca393c6b020737f33af3f1e25d2289aa727fe3f8 +SHA512 (rubygem-rspec-expectations-3.13.1-full.tar.gz) = 9d08785e2ef099cad931df714dfcc5c302a75c9a6e1f5d56b45c634237fa58d28053c6a15c5f307fad09dac596107ed44c3e590825a1caaa3635d7ba3a59b615 From 442e52154e567e57452e603f551ccc0c4fec4aee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 19:54:46 +0000 Subject: [PATCH 49/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index b1a61ba..646ac26 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 1 +%global baserelease 2 %global gem_name rspec-expectations @@ -109,6 +109,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 3.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jun 18 2024 Mamoru TASAKA - 3.13.1-1 - 3.13.1 From ad1a3f6a21d8d9e7145a68a57abda648335b55ff Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 23 Aug 2024 10:55:55 +0900 Subject: [PATCH 50/58] 3.13.2 3.13.2 --- rubygem-rspec-expectations.spec | 7 +++++-- sources | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 646ac26..c78bda2 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,9 +1,9 @@ -%global majorver 3.13.1 +%global majorver 3.13.2 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 2 +%global baserelease 1 %global gem_name rspec-expectations @@ -109,6 +109,9 @@ cucumber \ %{gem_docdir} %changelog +* Wed Aug 21 2024 Mamoru TASAKA - 3.13.2-1 +- 3.13.2 + * Fri Jul 19 2024 Fedora Release Engineering - 3.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 058cf0a..1a1978e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.13.1.gem) = 0d7aab480a34b135d1972250eff4bd15ed458c4db3a0d241e3388473c1b01b86245ad8423053e03eedf9cfecca393c6b020737f33af3f1e25d2289aa727fe3f8 -SHA512 (rubygem-rspec-expectations-3.13.1-full.tar.gz) = 9d08785e2ef099cad931df714dfcc5c302a75c9a6e1f5d56b45c634237fa58d28053c6a15c5f307fad09dac596107ed44c3e590825a1caaa3635d7ba3a59b615 +SHA512 (rspec-expectations-3.13.2.gem) = 6b122d5647142bb317a56fb1ce572fc2a8b650e7cb37a2be302aa4fdc2afee4113130a5853263a17b8fa80a66e66d01812949a137376112a1b85a31718b44830 +SHA512 (rubygem-rspec-expectations-3.13.2-full.tar.gz) = 41a5d3895f3dc1e065aeebc5d5333fa110ecd6cdc96ed6b179445ac0946fbe5a797a9746d567ffe9b492fb14de858713201ed2696437c14bb87593dd18cf17df From b3f9cf0c020ac60fdd323ff17fd754421f3a53ea Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 9 Sep 2024 15:07:07 +0900 Subject: [PATCH 51/58] 3.13.3 3.13.3 --- rubygem-rspec-expectations.spec | 5 ++++- sources | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index c78bda2..63fc08b 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.13.2 +%global majorver 3.13.3 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -109,6 +109,9 @@ cucumber \ %{gem_docdir} %changelog +* Sun Sep 08 2024 Mamoru TASAKA - 3.13.3-1 +- 3.13.3 + * Wed Aug 21 2024 Mamoru TASAKA - 3.13.2-1 - 3.13.2 diff --git a/sources b/sources index 1a1978e..9f247d2 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.13.2.gem) = 6b122d5647142bb317a56fb1ce572fc2a8b650e7cb37a2be302aa4fdc2afee4113130a5853263a17b8fa80a66e66d01812949a137376112a1b85a31718b44830 -SHA512 (rubygem-rspec-expectations-3.13.2-full.tar.gz) = 41a5d3895f3dc1e065aeebc5d5333fa110ecd6cdc96ed6b179445ac0946fbe5a797a9746d567ffe9b492fb14de858713201ed2696437c14bb87593dd18cf17df +SHA512 (rspec-expectations-3.13.3.gem) = 887d378bccf08f8f42dd3b580dc67dac0d91b7e08a23ab924bd8d618fae2f37132048b473a288a9f1c40096271e4312c28fc91383a074eda53d62939bb8c58fe +SHA512 (rubygem-rspec-expectations-3.13.3-full.tar.gz) = 0bd40f246fe44c76e489a7af44d5ccdad0ad346c6e8b1ec0c623d61f02e15fa70a3c014360a517b71be2b1a3adf261c079ebe0d198c5692a3c34fc8269495d9d From 7e36ca6a61c1c5211e28ad24fdfc185b720b9817 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 29 Dec 2024 11:05:22 +0900 Subject: [PATCH 52/58] Backport upstream fix to support ruby34 Hash inspect syntax --- ...xpectations-pr164-ruby34-hash-syntax.patch | 393 ++++++++++++++++++ rubygem-rspec-expectations.spec | 9 +- 2 files changed, 401 insertions(+), 1 deletion(-) create mode 100644 rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch diff --git a/rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch b/rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch new file mode 100644 index 0000000..f385bfb --- /dev/null +++ b/rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch @@ -0,0 +1,393 @@ +From f1b04eec3b696c9a9134b6ed9ef11ac70356e57f Mon Sep 17 00:00:00 2001 +From: Jon Rowe +Date: Wed, 25 Dec 2024 11:14:19 +0000 +Subject: [PATCH 2/2] Fixes for rspec-expectations hash syntax + +--- + .../built_in_matchers/include.feature | 4 +- + .../built_in_matchers/predicates.feature | 2 +- + .../step_definitions/additional_cli_steps.rb | 26 +++++++ + .../spec/rspec/matchers/aliases_spec.rb | 6 +- + .../rspec/matchers/built_in/captures_spec.rb | 4 +- + .../spec/rspec/matchers/built_in/eq_spec.rb | 2 +- + .../spec/rspec/matchers/built_in/has_spec.rb | 4 +- + .../matchers/built_in/have_attributes_spec.rb | 16 +++- + .../rspec/matchers/built_in/include_spec.rb | 74 +++++++++++++------ + 9 files changed, 102 insertions(+), 36 deletions(-) + +diff --git a/rspec-expectations/features/built_in_matchers/include.feature b/rspec-expectations/features/built_in_matchers/include.feature +index 295d9b60f..012307135 100644 +--- a/rspec-expectations/features/built_in_matchers/include.feature ++++ b/rspec-expectations/features/built_in_matchers/include.feature +@@ -139,7 +139,7 @@ Feature: `include` matcher + end + """ + When I run `rspec hash_include_matcher_spec.rb` +- Then the output should contain all of these: ++ Then the output should contain all of these, ignoring hash syntax: + | 22 examples, 13 failures | + | expected {:a => 7, :b => 5} not to include :a | + | expected {:a => 7, :b => 5} not to include :b and :a | +@@ -176,7 +176,7 @@ Feature: `include` matcher + end + """ + When I run `rspec include_matcher_with_counts_spec.rb` +- Then the output should contain all of these: ++ Then the output should contain all of these, ignoring hash syntax: + | 12 examples, 4 failures | + | expected [{:c => 7}, {:a => 1}, {:b => 2}, {:c => 1}, {:a => 3}, {:c => 7}] not to include (have key :b) once | + | expected [{:c => 7}, {:a => 1}, {:b => 2}, {:c => 1}, {:a => 3}, {:c => 7}] not to include (have key :a) twice | +diff --git a/rspec-expectations/features/built_in_matchers/predicates.feature b/rspec-expectations/features/built_in_matchers/predicates.feature +index 0c3b33c5e..282c7a853 100644 +--- a/rspec-expectations/features/built_in_matchers/predicates.feature ++++ b/rspec-expectations/features/built_in_matchers/predicates.feature +@@ -88,7 +88,7 @@ Feature: Predicate matchers + """ + When I run `rspec should_have_key_spec.rb` + Then the output should contain "2 examples, 1 failure" +- And the output should contain "expected `{:foo=>7}.has_key?(:bar)` to be truthy, got false" ++ And the output should contain, ignoring hash syntax, "expected `{:foo=>7}.has_key?(:bar)` to be truthy, got false" + + Scenario: Expecting `subject` to have all decimals (based on custom `has_decimals?` method) + Given a file named "should_not_have_all_string_keys_spec.rb" with: +diff --git a/rspec-expectations/features/step_definitions/additional_cli_steps.rb b/rspec-expectations/features/step_definitions/additional_cli_steps.rb +index 2ab176f60..c016e0ea8 100644 +--- a/rspec-expectations/features/step_definitions/additional_cli_steps.rb ++++ b/rspec-expectations/features/step_definitions/additional_cli_steps.rb +@@ -28,3 +28,29 @@ + step 'the output should contain "1 failure"' + step 'the exit status should not be 0' + end ++ ++Then(/^the output should contain, ignoring hash syntax, "(.*)"$/) do |output| ++ if RUBY_VERSION.to_f > 3.3 ++ expect(all_output).to include(output.gsub(/:(\w+)=>/, '\1: ')) ++ else ++ expect(all_output).to include(output) ++ end ++end ++ ++RSpec::Matchers.define :match_table do |lines| ++ match do |all_output| ++ lines.all? { |line| all_output.include?(line) } ++ end ++ ++ diffable ++end ++ ++Then "the output should contain all of these, ignoring hash syntax:" do |table| ++ lines = table.raw.flatten.reject(&:empty?) ++ ++ if RUBY_VERSION.to_f > 3.3 ++ lines = lines.map { |line| line.gsub(/:(\w+)\s+=>\s+/, '\1: ') } ++ end ++ ++ expect(all_output).to match_table(lines) ++end +diff --git a/rspec-expectations/spec/rspec/matchers/aliases_spec.rb b/rspec-expectations/spec/rspec/matchers/aliases_spec.rb +index 1b7b0d2ac..aeaca6a63 100644 +--- a/rspec-expectations/spec/rspec/matchers/aliases_spec.rb ++++ b/rspec-expectations/spec/rspec/matchers/aliases_spec.rb +@@ -219,7 +219,7 @@ module RSpec + an_object_having_attributes(:age => 32) + ).to be_aliased_to( + have_attributes(:age => 32) +- ).with_description("an object having attributes {:age => 32}") ++ ).with_description("an object having attributes #{hash_inspect({ :age => 32 })}") + end + + specify do +@@ -227,7 +227,7 @@ module RSpec + having_attributes(:age => 32) + ).to be_aliased_to( + have_attributes(:age => 32) +- ).with_description("having attributes {:age => 32}") ++ ).with_description("having attributes #{hash_inspect({ :age => 32 })}") + end + + specify do +@@ -251,7 +251,7 @@ module RSpec + a_hash_including(:a => 5) + ).to be_aliased_to( + include(:a => 5) +- ).with_description('a hash including {:a => 5}') ++ ).with_description("a hash including #{hash_inspect({ :a => 5 })}") + end + + specify do +diff --git a/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb +index b8656f1cc..609326e48 100644 +--- a/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb ++++ b/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb +@@ -36,7 +36,7 @@ + it "has a sensible failure description with a hash including matcher" do + expect { + expect("a123a").not_to match(Regexp.new("(?123)(asdf)?")).with_captures(a_hash_including(:num => "123")) +- }.to fail_with(/num => "123"/) ++ }.to fail_with(/#{hash_inspect({ :num => "123" })}/) + end + + it "matches named captures when not passing a hash" do +@@ -80,7 +80,7 @@ + it "has a sensible failure description with a hash including matcher" do + expect { + expect(Regexp.new("(?123)(asdf)?")).not_to match("a123a").with_captures(a_hash_including(:num => "123")) +- }.to fail_with(/num => "123"/) ++ }.to fail_with(/#{hash_inspect({ :num => "123" })}/) + end + + it "matches named captures when not passing a hash" do +diff --git a/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb +index ad03c1f1d..b1ab6aa5c 100644 +--- a/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb ++++ b/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb +@@ -120,7 +120,7 @@ module Matchers + ['foo', 'eq "foo"'], + [/regex/, 'eq /regex/'], + [['foo'], 'eq ["foo"]'], +- [{ :foo => :bar }, 'eq {:foo=>:bar}'], ++ [{ :foo => :bar }, "eq #{{ :foo=>:bar }.inspect}"], + [Class, 'eq Class'], + [RSpec, 'eq RSpec'], + [Time.utc(2014, 1, 1), "eq 2014-01-01 00:00:00.#{expected_seconds} +0000"], +diff --git a/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb +index 190817828..bf6054dbf 100644 +--- a/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb ++++ b/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb +@@ -31,7 +31,7 @@ + it "fails if #has_sym?(*args) returns false" do + expect { + expect({ :b => "B" }).to have_key(:a) +- }.to fail_with('expected `{:b=>"B"}.has_key?(:a)` to return true, got false') ++ }.to fail_with("expected `#{{ :b=>"B" }.inspect}.has_key?(:a)` to return true, got false") + end + + obj_with_block_method = Object.new +@@ -180,7 +180,7 @@ def o.has_sym?(sym); sym == :foo; end + it "fails if #has_sym?(*args) returns true" do + expect { + expect({ :a => "A" }).not_to have_key(:a) +- }.to fail_with('expected `{:a=>"A"}.has_key?(:a)` to return false, got true') ++ }.to fail_with("expected `#{{ :a=>"A" }.inspect}.has_key?(:a)` to return false, got true") + end + + it "fails if target does not respond to #has_sym?" do +diff --git a/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb +index 92e803b63..aad08effe 100644 +--- a/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb ++++ b/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb +@@ -108,13 +108,25 @@ def count + + it 'provides a description' do + description = have_attributes(:age => (a_value > 30)).description +- expect(description).to eq("have attributes {:age => (a value > 30)}") ++ expect(description).to eq( ++ if RUBY_VERSION.to_f > 3.3 ++ "have attributes {age: (a value > 30)}" ++ else ++ "have attributes {:age => (a value > 30)}" ++ end ++ ) + end + + it "fails with a clear message when the matcher does not match" do + expect { + expect(person).to have_attributes(:age => (a_value < 10)) +- }.to fail_including("expected #{object_inspect person} to have attributes {:age => (a value < 10)}") ++ }.to fail_including( ++ if RUBY_VERSION.to_f > 3.3 ++ "expected #{object_inspect person} to have attributes {age: (a value < 10)}" ++ else ++ "expected #{object_inspect person} to have attributes {:age => (a value < 10)}" ++ end ++ ) + end + end + end +diff --git a/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb +index e760a3a46..19aba9673 100644 +--- a/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb ++++ b/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb +@@ -69,8 +69,12 @@ def use_string_keys_in_failure_message? + false + end + +- def convert_key(key) +- use_string_keys_in_failure_message? ? "\"#{key}\"" : ":#{key}" ++ def converted_key_hash_inspect(key, value) ++ if use_string_keys_in_failure_message? ++ hash_inspect({ key.to_s => value }) ++ else ++ hash_inspect({ key => value }) ++ end + end + + it 'passes if target has the expected as a key' do +@@ -82,7 +86,8 @@ def convert_key(key) + end + + it "fails if target does not include expected" do +- failure_string = %(expected {#{convert_key(:key)} => "value"} to include :other) ++ failure_string = %(expected #{converted_key_hash_inspect(:key, "value")} to include :other) ++ + expect { + expect(build_target(:key => 'value')).to include(:other) + }.to fail_matching(failure_string) +@@ -91,7 +96,7 @@ def convert_key(key) + it "fails if target doesn't have a key and we expect nil" do + expect { + expect(build_target({})).to include(:something => nil) +- }.to fail_matching("expected {} to include {:something => nil}") ++ }.to fail_matching("expected {} to include #{hash_inspect({ :something => nil })}") + end + + it 'works even when an entry in the hash overrides #send' do +@@ -480,12 +485,23 @@ class PseudoHash < SimpleDelegator + { :number => 0 }, + { :number => 3 } + ) +- }.to fail_including(dedent(<<-END)) +- |Diff: +- |@@ #{one_line_header} @@ +- |-[{:number=>1}, {:number=>0}, {:number=>3}] +- |+[{:number=>1}, {:number=>2}, {:number=>3}] +- END ++ }.to fail_including( ++ if RUBY_VERSION.to_f > 3.3 ++ dedent(<<-END) ++ |Diff: ++ |@@ #{one_line_header} @@ ++ |-[{number: 1}, {number: 0}, {number: 3}] ++ |+[{number: 1}, {number: 2}, {number: 3}] ++ END ++ else ++ dedent(<<-END) ++ |Diff: ++ |@@ #{one_line_header} @@ ++ |-[{:number=>1}, {:number=>0}, {:number=>3}] ++ |+[{:number=>1}, {:number=>2}, {:number=>3}] ++ END ++ end ++ ) + end + end + +@@ -632,7 +648,7 @@ class PseudoHash < SimpleDelegator + it "fails if target includes expected key" do + expect { + expect({ :key => 'value' }).not_to include(:key) +- }.to fail_matching('expected {:key => "value"} not to include :key') ++ }.to fail_matching("expected #{hash_inspect({ :key => "value" })} not to include :key") + end + end + +@@ -751,13 +767,13 @@ class PseudoHash < SimpleDelegator + it "fails if target has a different value for key" do + expect { + expect({ :key => 'different' }).to include(:key => 'value') +- }.to fail_matching('expected {:key => "different"} to include {:key => "value"}') ++ }.to fail_matching("expected #{hash_inspect({ :key => "different" })} to include #{hash_inspect({ :key => "value" })}") + end + + it "fails if target has a different key" do + expect { + expect({ :other => 'value' }).to include(:key => 'value') +- }.to fail_matching('expected {:other => "value"} to include {:key => "value"}') ++ }.to fail_matching("expected #{hash_inspect({ :other => "value" })} to include #{hash_inspect({ :key => "value" })}") + end + end + +@@ -765,7 +781,7 @@ class PseudoHash < SimpleDelegator + it "fails if the target does not contain the given hash" do + expect { + expect(['a', 'b']).to include(:key => 'value') +- }.to fail_matching('expected ["a", "b"] to include {:key => "value"}') ++ }.to fail_matching("expected [\"a\", \"b\"] to include #{hash_inspect({ :key => "value" })}") + end + + it "passes if the target contains the given hash" do +@@ -779,13 +795,13 @@ class PseudoHash < SimpleDelegator + it "fails if target includes the key/value pair" do + expect { + expect({ :key => 'value' }).not_to include(:key => 'value') +- }.to fail_matching('expected {:key => "value"} not to include {:key => "value"}') ++ }.to fail_matching("expected #{hash_inspect({ :key => "value" })} not to include #{hash_inspect({ :key => "value" })}") + end + + it "fails if target includes the key/value pair among others" do + expect { + expect({ :key => 'value', :other => 'different' }).not_to include(:key => 'value') +- }.to fail_with(%r|expected #{hash_inspect :key => "value", :other => "different"} not to include \{:key => "value"\}|) ++ }.to fail_with(%r|expected #{hash_inspect(:key => "value", :other => "different")} not to include #{hash_inspect({ :key => "value" })}|) + end + + it "passes if target has a different value for key" do +@@ -805,7 +821,7 @@ class PseudoHash < SimpleDelegator + it "fails if the target contains the given hash" do + expect { + expect(['a', { :key => 'value' }]).not_to include(:key => 'value') +- }.to fail_matching('expected ["a", {:key => "value"}] not to include {:key => "value"}') ++ }.to fail_matching("expected [\"a\", #{hash_inspect({ :key => "value" })}] not to include #{hash_inspect({ :key => "value" })}") + end + end + end +@@ -982,13 +998,25 @@ def matches?(_) + + it 'provides a description' do + description = include(:a => a_value_within(3).of(10)).description +- expect(description).to eq("include {:a => (a value within 3 of 10)}") ++ expect(description).to eq( ++ if RUBY_VERSION.to_f > 3.3 ++ "include {a: (a value within 3 of 10)}" ++ else ++ "include {:a => (a value within 3 of 10)}" ++ end ++ ) + end + + it "fails with a clear message when the matcher does not match" do + expect { + expect(:a => 15).to include(:a => a_value_within(3).of(10)) +- }.to fail_matching("expected {:a => 15} to include {:a => (a value within 3 of 10)}") ++ }.to fail_matching( ++ if RUBY_VERSION.to_f > 3.3 ++ "expected {a: 15} to include {a: (a value within 3 of 10)}" ++ else ++ "expected {:a => 15} to include {:a => (a value within 3 of 10)}" ++ end ++ ) + end + end + +@@ -1005,7 +1033,7 @@ def matches?(_) + it 'fails with a clear message when the matcher does not match', :if => (RUBY_VERSION.to_f > 1.8) do + expect { + expect(:drink => "water", :food => "bread").to include(match(/bar/)) +- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include (match /bar/)') ++ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include (match /bar/)") + end + end + +@@ -1034,19 +1062,19 @@ def matches?(_) + it 'fails with a clear message when the value does not match', :if => (RUBY_VERSION.to_f > 1.8) do + expect { + expect(:drink => "water", :food => "bread").to include(match(/foo/) => "meat") +- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include {(match /foo/) => "meat"}') ++ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include {(match /foo/) => \"meat\"}") + end + + it 'fails with a clear message when the matcher does not match', :if => (RUBY_VERSION.to_f > 1.8) do + expect { + expect(:drink => "water", :food => "bread").to include(match(/bar/) => "bread") +- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include {(match /bar/) => "bread"}') ++ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include {(match /bar/) => \"bread\"}") + end + + it 'fails with a clear message when several matchers do not match', :if => (RUBY_VERSION.to_f > 1.8) do + expect { + expect(:drink => "water", :food => "bread").to include(match(/bar/) => "bread", match(/baz/) => "water") +- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include {(match /bar/) => "bread", (match /baz/) => "water"}') ++ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include {(match /bar/) => \"bread\", (match /baz/) => \"water\"}") + end + end + diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 63fc08b..2867913 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 1 +%global baserelease 2 %global gem_name rspec-expectations @@ -23,6 +23,9 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem # %%{SOURCE2} %%{name} %%{version} Source1: rubygem-%{gem_name}-%{version}-full.tar.gz Source2: rspec-related-create-full-tarball.sh +# https://github.com/rspec/rspec/pull/164 +# Support ruby34 Hash#inspect syntax +Patch0: rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch #BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -54,6 +57,7 @@ This package contains documentation for %{name}. %prep %setup -q -T -n %{gem_name}-%{version} -b 1 +%patch -P0 -p2 gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec @@ -109,6 +113,9 @@ cucumber \ %{gem_docdir} %changelog +* Sun Dec 29 2024 Mamoru TASAKA - 3.13.3-2 +- Backport upstream fix to support ruby34 Hash inspect syntax + * Sun Sep 08 2024 Mamoru TASAKA - 3.13.3-1 - 3.13.3 From 25ee37d90730df77f8a58a750af59550b4742c7c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 23:57:32 +0000 Subject: [PATCH 53/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 2867913..0416196 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 2 +%global baserelease 3 %global gem_name rspec-expectations @@ -113,6 +113,9 @@ cucumber \ %{gem_docdir} %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 3.13.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sun Dec 29 2024 Mamoru TASAKA - 3.13.3-2 - Backport upstream fix to support ruby34 Hash inspect syntax From f0a6901ca440480c2381f739f6a0d8be84c990dc Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 15 May 2025 14:49:14 +0900 Subject: [PATCH 54/58] 3.13.4 --- rspec-related-create-full-tarball.sh | 7 +- ...tions-3.13.4-diff_spec-format-revert.patch | 66 +++ ...xpectations-pr164-ruby34-hash-syntax.patch | 393 ------------------ rubygem-rspec-expectations.spec | 16 +- sources | 4 +- 5 files changed, 81 insertions(+), 405 deletions(-) create mode 100644 rubygem-rspec-expectations-3.13.4-diff_spec-format-revert.patch delete mode 100644 rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch diff --git a/rspec-related-create-full-tarball.sh b/rspec-related-create-full-tarball.sh index a847c6c..c0ba6bf 100644 --- a/rspec-related-create-full-tarball.sh +++ b/rspec-related-create-full-tarball.sh @@ -14,10 +14,9 @@ CURRDIR=$(pwd) TMPDIRPATH=$(mktemp -d /var/tmp/rspec-tar-XXXXXX) pushd $TMPDIRPATH -git clone https://github.com/rspec/$1.git -pushd $1 -git reset --hard v$2 -popd +git clone https://github.com/rspec/rspec.git +pushd rspec +git reset --hard $1-v$2 ln -sf $1 $1-$2 tar czf ${CURRDIR}/rubygem-$1-$2-full.tar.gz $1-$2/./ diff --git a/rubygem-rspec-expectations-3.13.4-diff_spec-format-revert.patch b/rubygem-rspec-expectations-3.13.4-diff_spec-format-revert.patch new file mode 100644 index 0000000..3133341 --- /dev/null +++ b/rubygem-rspec-expectations-3.13.4-diff_spec-format-revert.patch @@ -0,0 +1,66 @@ +--- rspec-expectations-3.13.4/spec/rspec/matchers/built_in/include_spec.rb 2025-05-15 11:40:49.000000000 +0900 ++++ rspec-expectations-3.13.3/spec/rspec/matchers/built_in/include_spec.rb 2024-09-08 16:39:38.000000000 +0900 +@@ -109,7 +104,7 @@ RSpec.describe "#include matcher" do + failure_string = if use_string_keys_in_failure_message? + dedent(<<-END) + |Diff: +- |@@ #{one_line_header(3)} @@ ++ |@@ -1,3 +1,3 @@ + |-:bar => 3, + |-:foo => 1, + |+"bar" => 2, +@@ -137,7 +132,7 @@ RSpec.describe "#include matcher" do + failure_string = if use_string_keys_in_failure_message? + dedent(<<-END) + |Diff: +- |@@ #{one_line_header(3)} @@ ++ |@@ -1,3 +1,3 @@ + |-(match /FOO/i) => 1, + |-:bar => 3, + |+"bar" => 2, +@@ -146,7 +141,7 @@ RSpec.describe "#include matcher" do + else + dedent(<<-END) + |Diff: +- |@@ #{one_line_header(3)} @@ ++ |@@ -1,3 +1,3 @@ + |-(match /FOO/i) => 1, + |-:bar => 3, + |+:bar => 2, +--- rspec-expectations-3.13.4/spec/rspec/matchers/built_in/compound_spec.rb 2025-05-15 11:40:49.000000000 +0900 ++++ rspec-expectations-3.13.3/spec/rspec/matchers/built_in/compound_spec.rb 2024-09-08 16:39:38.000000000 +0900 +@@ -596,14 +595,14 @@ module RSpec::Matchers::BuiltIn + | + | expected "HELLO\\nWORLD" to eq downcase "hola\\nmon" + |Diff for (eq downcase "bonjour\\nmonde"): +- |@@ #{one_line_header(3)} @@ ++ |@@ -1,3 +1,3 @@ + |-bonjour + |-monde + |+hello + |+world + | + |Diff for (eq downcase "hola\\nmon"): +- |@@ #{one_line_header(3)} @@ ++ |@@ -1,3 +1,3 @@ + |-hola + |-mon + |+hello +@@ -639,14 +638,14 @@ module RSpec::Matchers::BuiltIn + | + | expected "hello\\nworld" to eq downcase "hola\\nmon" + |Diff for (eq downcase "bonjour\\nmonde"): +- |@@ #{one_line_header(3)} @@ ++ |@@ -1,3 +1,3 @@ + |-bonjour + |-monde + |+hello + |+world + | + |Diff for (eq downcase "hola\\nmon"): +- |@@ #{one_line_header(3)} @@ ++ |@@ -1,3 +1,3 @@ + |-hola + |-mon + |+hello + diff --git a/rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch b/rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch deleted file mode 100644 index f385bfb..0000000 --- a/rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch +++ /dev/null @@ -1,393 +0,0 @@ -From f1b04eec3b696c9a9134b6ed9ef11ac70356e57f Mon Sep 17 00:00:00 2001 -From: Jon Rowe -Date: Wed, 25 Dec 2024 11:14:19 +0000 -Subject: [PATCH 2/2] Fixes for rspec-expectations hash syntax - ---- - .../built_in_matchers/include.feature | 4 +- - .../built_in_matchers/predicates.feature | 2 +- - .../step_definitions/additional_cli_steps.rb | 26 +++++++ - .../spec/rspec/matchers/aliases_spec.rb | 6 +- - .../rspec/matchers/built_in/captures_spec.rb | 4 +- - .../spec/rspec/matchers/built_in/eq_spec.rb | 2 +- - .../spec/rspec/matchers/built_in/has_spec.rb | 4 +- - .../matchers/built_in/have_attributes_spec.rb | 16 +++- - .../rspec/matchers/built_in/include_spec.rb | 74 +++++++++++++------ - 9 files changed, 102 insertions(+), 36 deletions(-) - -diff --git a/rspec-expectations/features/built_in_matchers/include.feature b/rspec-expectations/features/built_in_matchers/include.feature -index 295d9b60f..012307135 100644 ---- a/rspec-expectations/features/built_in_matchers/include.feature -+++ b/rspec-expectations/features/built_in_matchers/include.feature -@@ -139,7 +139,7 @@ Feature: `include` matcher - end - """ - When I run `rspec hash_include_matcher_spec.rb` -- Then the output should contain all of these: -+ Then the output should contain all of these, ignoring hash syntax: - | 22 examples, 13 failures | - | expected {:a => 7, :b => 5} not to include :a | - | expected {:a => 7, :b => 5} not to include :b and :a | -@@ -176,7 +176,7 @@ Feature: `include` matcher - end - """ - When I run `rspec include_matcher_with_counts_spec.rb` -- Then the output should contain all of these: -+ Then the output should contain all of these, ignoring hash syntax: - | 12 examples, 4 failures | - | expected [{:c => 7}, {:a => 1}, {:b => 2}, {:c => 1}, {:a => 3}, {:c => 7}] not to include (have key :b) once | - | expected [{:c => 7}, {:a => 1}, {:b => 2}, {:c => 1}, {:a => 3}, {:c => 7}] not to include (have key :a) twice | -diff --git a/rspec-expectations/features/built_in_matchers/predicates.feature b/rspec-expectations/features/built_in_matchers/predicates.feature -index 0c3b33c5e..282c7a853 100644 ---- a/rspec-expectations/features/built_in_matchers/predicates.feature -+++ b/rspec-expectations/features/built_in_matchers/predicates.feature -@@ -88,7 +88,7 @@ Feature: Predicate matchers - """ - When I run `rspec should_have_key_spec.rb` - Then the output should contain "2 examples, 1 failure" -- And the output should contain "expected `{:foo=>7}.has_key?(:bar)` to be truthy, got false" -+ And the output should contain, ignoring hash syntax, "expected `{:foo=>7}.has_key?(:bar)` to be truthy, got false" - - Scenario: Expecting `subject` to have all decimals (based on custom `has_decimals?` method) - Given a file named "should_not_have_all_string_keys_spec.rb" with: -diff --git a/rspec-expectations/features/step_definitions/additional_cli_steps.rb b/rspec-expectations/features/step_definitions/additional_cli_steps.rb -index 2ab176f60..c016e0ea8 100644 ---- a/rspec-expectations/features/step_definitions/additional_cli_steps.rb -+++ b/rspec-expectations/features/step_definitions/additional_cli_steps.rb -@@ -28,3 +28,29 @@ - step 'the output should contain "1 failure"' - step 'the exit status should not be 0' - end -+ -+Then(/^the output should contain, ignoring hash syntax, "(.*)"$/) do |output| -+ if RUBY_VERSION.to_f > 3.3 -+ expect(all_output).to include(output.gsub(/:(\w+)=>/, '\1: ')) -+ else -+ expect(all_output).to include(output) -+ end -+end -+ -+RSpec::Matchers.define :match_table do |lines| -+ match do |all_output| -+ lines.all? { |line| all_output.include?(line) } -+ end -+ -+ diffable -+end -+ -+Then "the output should contain all of these, ignoring hash syntax:" do |table| -+ lines = table.raw.flatten.reject(&:empty?) -+ -+ if RUBY_VERSION.to_f > 3.3 -+ lines = lines.map { |line| line.gsub(/:(\w+)\s+=>\s+/, '\1: ') } -+ end -+ -+ expect(all_output).to match_table(lines) -+end -diff --git a/rspec-expectations/spec/rspec/matchers/aliases_spec.rb b/rspec-expectations/spec/rspec/matchers/aliases_spec.rb -index 1b7b0d2ac..aeaca6a63 100644 ---- a/rspec-expectations/spec/rspec/matchers/aliases_spec.rb -+++ b/rspec-expectations/spec/rspec/matchers/aliases_spec.rb -@@ -219,7 +219,7 @@ module RSpec - an_object_having_attributes(:age => 32) - ).to be_aliased_to( - have_attributes(:age => 32) -- ).with_description("an object having attributes {:age => 32}") -+ ).with_description("an object having attributes #{hash_inspect({ :age => 32 })}") - end - - specify do -@@ -227,7 +227,7 @@ module RSpec - having_attributes(:age => 32) - ).to be_aliased_to( - have_attributes(:age => 32) -- ).with_description("having attributes {:age => 32}") -+ ).with_description("having attributes #{hash_inspect({ :age => 32 })}") - end - - specify do -@@ -251,7 +251,7 @@ module RSpec - a_hash_including(:a => 5) - ).to be_aliased_to( - include(:a => 5) -- ).with_description('a hash including {:a => 5}') -+ ).with_description("a hash including #{hash_inspect({ :a => 5 })}") - end - - specify do -diff --git a/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb -index b8656f1cc..609326e48 100644 ---- a/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb -+++ b/rspec-expectations/spec/rspec/matchers/built_in/captures_spec.rb -@@ -36,7 +36,7 @@ - it "has a sensible failure description with a hash including matcher" do - expect { - expect("a123a").not_to match(Regexp.new("(?123)(asdf)?")).with_captures(a_hash_including(:num => "123")) -- }.to fail_with(/num => "123"/) -+ }.to fail_with(/#{hash_inspect({ :num => "123" })}/) - end - - it "matches named captures when not passing a hash" do -@@ -80,7 +80,7 @@ - it "has a sensible failure description with a hash including matcher" do - expect { - expect(Regexp.new("(?123)(asdf)?")).not_to match("a123a").with_captures(a_hash_including(:num => "123")) -- }.to fail_with(/num => "123"/) -+ }.to fail_with(/#{hash_inspect({ :num => "123" })}/) - end - - it "matches named captures when not passing a hash" do -diff --git a/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb -index ad03c1f1d..b1ab6aa5c 100644 ---- a/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb -+++ b/rspec-expectations/spec/rspec/matchers/built_in/eq_spec.rb -@@ -120,7 +120,7 @@ module Matchers - ['foo', 'eq "foo"'], - [/regex/, 'eq /regex/'], - [['foo'], 'eq ["foo"]'], -- [{ :foo => :bar }, 'eq {:foo=>:bar}'], -+ [{ :foo => :bar }, "eq #{{ :foo=>:bar }.inspect}"], - [Class, 'eq Class'], - [RSpec, 'eq RSpec'], - [Time.utc(2014, 1, 1), "eq 2014-01-01 00:00:00.#{expected_seconds} +0000"], -diff --git a/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb -index 190817828..bf6054dbf 100644 ---- a/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb -+++ b/rspec-expectations/spec/rspec/matchers/built_in/has_spec.rb -@@ -31,7 +31,7 @@ - it "fails if #has_sym?(*args) returns false" do - expect { - expect({ :b => "B" }).to have_key(:a) -- }.to fail_with('expected `{:b=>"B"}.has_key?(:a)` to return true, got false') -+ }.to fail_with("expected `#{{ :b=>"B" }.inspect}.has_key?(:a)` to return true, got false") - end - - obj_with_block_method = Object.new -@@ -180,7 +180,7 @@ def o.has_sym?(sym); sym == :foo; end - it "fails if #has_sym?(*args) returns true" do - expect { - expect({ :a => "A" }).not_to have_key(:a) -- }.to fail_with('expected `{:a=>"A"}.has_key?(:a)` to return false, got true') -+ }.to fail_with("expected `#{{ :a=>"A" }.inspect}.has_key?(:a)` to return false, got true") - end - - it "fails if target does not respond to #has_sym?" do -diff --git a/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb -index 92e803b63..aad08effe 100644 ---- a/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb -+++ b/rspec-expectations/spec/rspec/matchers/built_in/have_attributes_spec.rb -@@ -108,13 +108,25 @@ def count - - it 'provides a description' do - description = have_attributes(:age => (a_value > 30)).description -- expect(description).to eq("have attributes {:age => (a value > 30)}") -+ expect(description).to eq( -+ if RUBY_VERSION.to_f > 3.3 -+ "have attributes {age: (a value > 30)}" -+ else -+ "have attributes {:age => (a value > 30)}" -+ end -+ ) - end - - it "fails with a clear message when the matcher does not match" do - expect { - expect(person).to have_attributes(:age => (a_value < 10)) -- }.to fail_including("expected #{object_inspect person} to have attributes {:age => (a value < 10)}") -+ }.to fail_including( -+ if RUBY_VERSION.to_f > 3.3 -+ "expected #{object_inspect person} to have attributes {age: (a value < 10)}" -+ else -+ "expected #{object_inspect person} to have attributes {:age => (a value < 10)}" -+ end -+ ) - end - end - end -diff --git a/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb b/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb -index e760a3a46..19aba9673 100644 ---- a/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb -+++ b/rspec-expectations/spec/rspec/matchers/built_in/include_spec.rb -@@ -69,8 +69,12 @@ def use_string_keys_in_failure_message? - false - end - -- def convert_key(key) -- use_string_keys_in_failure_message? ? "\"#{key}\"" : ":#{key}" -+ def converted_key_hash_inspect(key, value) -+ if use_string_keys_in_failure_message? -+ hash_inspect({ key.to_s => value }) -+ else -+ hash_inspect({ key => value }) -+ end - end - - it 'passes if target has the expected as a key' do -@@ -82,7 +86,8 @@ def convert_key(key) - end - - it "fails if target does not include expected" do -- failure_string = %(expected {#{convert_key(:key)} => "value"} to include :other) -+ failure_string = %(expected #{converted_key_hash_inspect(:key, "value")} to include :other) -+ - expect { - expect(build_target(:key => 'value')).to include(:other) - }.to fail_matching(failure_string) -@@ -91,7 +96,7 @@ def convert_key(key) - it "fails if target doesn't have a key and we expect nil" do - expect { - expect(build_target({})).to include(:something => nil) -- }.to fail_matching("expected {} to include {:something => nil}") -+ }.to fail_matching("expected {} to include #{hash_inspect({ :something => nil })}") - end - - it 'works even when an entry in the hash overrides #send' do -@@ -480,12 +485,23 @@ class PseudoHash < SimpleDelegator - { :number => 0 }, - { :number => 3 } - ) -- }.to fail_including(dedent(<<-END)) -- |Diff: -- |@@ #{one_line_header} @@ -- |-[{:number=>1}, {:number=>0}, {:number=>3}] -- |+[{:number=>1}, {:number=>2}, {:number=>3}] -- END -+ }.to fail_including( -+ if RUBY_VERSION.to_f > 3.3 -+ dedent(<<-END) -+ |Diff: -+ |@@ #{one_line_header} @@ -+ |-[{number: 1}, {number: 0}, {number: 3}] -+ |+[{number: 1}, {number: 2}, {number: 3}] -+ END -+ else -+ dedent(<<-END) -+ |Diff: -+ |@@ #{one_line_header} @@ -+ |-[{:number=>1}, {:number=>0}, {:number=>3}] -+ |+[{:number=>1}, {:number=>2}, {:number=>3}] -+ END -+ end -+ ) - end - end - -@@ -632,7 +648,7 @@ class PseudoHash < SimpleDelegator - it "fails if target includes expected key" do - expect { - expect({ :key => 'value' }).not_to include(:key) -- }.to fail_matching('expected {:key => "value"} not to include :key') -+ }.to fail_matching("expected #{hash_inspect({ :key => "value" })} not to include :key") - end - end - -@@ -751,13 +767,13 @@ class PseudoHash < SimpleDelegator - it "fails if target has a different value for key" do - expect { - expect({ :key => 'different' }).to include(:key => 'value') -- }.to fail_matching('expected {:key => "different"} to include {:key => "value"}') -+ }.to fail_matching("expected #{hash_inspect({ :key => "different" })} to include #{hash_inspect({ :key => "value" })}") - end - - it "fails if target has a different key" do - expect { - expect({ :other => 'value' }).to include(:key => 'value') -- }.to fail_matching('expected {:other => "value"} to include {:key => "value"}') -+ }.to fail_matching("expected #{hash_inspect({ :other => "value" })} to include #{hash_inspect({ :key => "value" })}") - end - end - -@@ -765,7 +781,7 @@ class PseudoHash < SimpleDelegator - it "fails if the target does not contain the given hash" do - expect { - expect(['a', 'b']).to include(:key => 'value') -- }.to fail_matching('expected ["a", "b"] to include {:key => "value"}') -+ }.to fail_matching("expected [\"a\", \"b\"] to include #{hash_inspect({ :key => "value" })}") - end - - it "passes if the target contains the given hash" do -@@ -779,13 +795,13 @@ class PseudoHash < SimpleDelegator - it "fails if target includes the key/value pair" do - expect { - expect({ :key => 'value' }).not_to include(:key => 'value') -- }.to fail_matching('expected {:key => "value"} not to include {:key => "value"}') -+ }.to fail_matching("expected #{hash_inspect({ :key => "value" })} not to include #{hash_inspect({ :key => "value" })}") - end - - it "fails if target includes the key/value pair among others" do - expect { - expect({ :key => 'value', :other => 'different' }).not_to include(:key => 'value') -- }.to fail_with(%r|expected #{hash_inspect :key => "value", :other => "different"} not to include \{:key => "value"\}|) -+ }.to fail_with(%r|expected #{hash_inspect(:key => "value", :other => "different")} not to include #{hash_inspect({ :key => "value" })}|) - end - - it "passes if target has a different value for key" do -@@ -805,7 +821,7 @@ class PseudoHash < SimpleDelegator - it "fails if the target contains the given hash" do - expect { - expect(['a', { :key => 'value' }]).not_to include(:key => 'value') -- }.to fail_matching('expected ["a", {:key => "value"}] not to include {:key => "value"}') -+ }.to fail_matching("expected [\"a\", #{hash_inspect({ :key => "value" })}] not to include #{hash_inspect({ :key => "value" })}") - end - end - end -@@ -982,13 +998,25 @@ def matches?(_) - - it 'provides a description' do - description = include(:a => a_value_within(3).of(10)).description -- expect(description).to eq("include {:a => (a value within 3 of 10)}") -+ expect(description).to eq( -+ if RUBY_VERSION.to_f > 3.3 -+ "include {a: (a value within 3 of 10)}" -+ else -+ "include {:a => (a value within 3 of 10)}" -+ end -+ ) - end - - it "fails with a clear message when the matcher does not match" do - expect { - expect(:a => 15).to include(:a => a_value_within(3).of(10)) -- }.to fail_matching("expected {:a => 15} to include {:a => (a value within 3 of 10)}") -+ }.to fail_matching( -+ if RUBY_VERSION.to_f > 3.3 -+ "expected {a: 15} to include {a: (a value within 3 of 10)}" -+ else -+ "expected {:a => 15} to include {:a => (a value within 3 of 10)}" -+ end -+ ) - end - end - -@@ -1005,7 +1033,7 @@ def matches?(_) - it 'fails with a clear message when the matcher does not match', :if => (RUBY_VERSION.to_f > 1.8) do - expect { - expect(:drink => "water", :food => "bread").to include(match(/bar/)) -- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include (match /bar/)') -+ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include (match /bar/)") - end - end - -@@ -1034,19 +1062,19 @@ def matches?(_) - it 'fails with a clear message when the value does not match', :if => (RUBY_VERSION.to_f > 1.8) do - expect { - expect(:drink => "water", :food => "bread").to include(match(/foo/) => "meat") -- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include {(match /foo/) => "meat"}') -+ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include {(match /foo/) => \"meat\"}") - end - - it 'fails with a clear message when the matcher does not match', :if => (RUBY_VERSION.to_f > 1.8) do - expect { - expect(:drink => "water", :food => "bread").to include(match(/bar/) => "bread") -- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include {(match /bar/) => "bread"}') -+ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include {(match /bar/) => \"bread\"}") - end - - it 'fails with a clear message when several matchers do not match', :if => (RUBY_VERSION.to_f > 1.8) do - expect { - expect(:drink => "water", :food => "bread").to include(match(/bar/) => "bread", match(/baz/) => "water") -- }.to fail_matching('expected {:drink => "water", :food => "bread"} to include {(match /bar/) => "bread", (match /baz/) => "water"}') -+ }.to fail_matching("expected #{hash_inspect({ :drink => "water", :food => "bread" })} to include {(match /bar/) => \"bread\", (match /baz/) => \"water\"}") - end - end - diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 0416196..0b62d56 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,9 +1,9 @@ -%global majorver 3.13.3 +%global majorver 3.13.4 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 3 +%global baserelease 1 %global gem_name rspec-expectations @@ -23,9 +23,9 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem # %%{SOURCE2} %%{name} %%{version} Source1: rubygem-%{gem_name}-%{version}-full.tar.gz Source2: rspec-related-create-full-tarball.sh -# https://github.com/rspec/rspec/pull/164 -# Support ruby34 Hash#inspect syntax -Patch0: rubygem-rspec-expectations-pr164-ruby34-hash-syntax.patch +# Workaround tests wrt diff/lcs diff format +# Partially revert 3.13.3 -> 3.13.4 change +Patch0: rubygem-rspec-expectations-3.13.4-diff_spec-format-revert.patch #BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -57,7 +57,8 @@ This package contains documentation for %{name}. %prep %setup -q -T -n %{gem_name}-%{version} -b 1 -%patch -P0 -p2 + +%patch -P0 -p1 gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec @@ -113,6 +114,9 @@ cucumber \ %{gem_docdir} %changelog +* Thu May 15 2025 Mamoru TASAKA - 3.13.4-1 +- 3.13.4 + * Sat Jan 18 2025 Fedora Release Engineering - 3.13.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/sources b/sources index 9f247d2..5902d8b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.13.3.gem) = 887d378bccf08f8f42dd3b580dc67dac0d91b7e08a23ab924bd8d618fae2f37132048b473a288a9f1c40096271e4312c28fc91383a074eda53d62939bb8c58fe -SHA512 (rubygem-rspec-expectations-3.13.3-full.tar.gz) = 0bd40f246fe44c76e489a7af44d5ccdad0ad346c6e8b1ec0c623d61f02e15fa70a3c014360a517b71be2b1a3adf261c079ebe0d198c5692a3c34fc8269495d9d +SHA512 (rspec-expectations-3.13.4.gem) = 6a4cc3f14cd953af1c391b00ac336c426659c63c943b419938e3c0d133d586e7b7ee17200c8c618ac83a334bedb9ea932fbaa4848880091d289fce8d8a8025d0 +SHA512 (rubygem-rspec-expectations-3.13.4-full.tar.gz) = ef23bf05fb220a860fe26c47fba8a0ff3c498c8d779fa2edb4e29a08e6fa0ebf85e62e17489ee9d6ae76d4df5cf0ecb634c70075887ba1cd2c7150994b1a7784 From c3034a91e23c05287e9347e0764166de4cc87f48 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 29 May 2025 17:32:44 +0900 Subject: [PATCH 55/58] 3.13.5 --- rspec-related-create-full-tarball.sh | 5 ++++- rubygem-rspec-expectations.spec | 7 +++++-- sources | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/rspec-related-create-full-tarball.sh b/rspec-related-create-full-tarball.sh index c0ba6bf..75e1fef 100644 --- a/rspec-related-create-full-tarball.sh +++ b/rspec-related-create-full-tarball.sh @@ -16,7 +16,10 @@ pushd $TMPDIRPATH git clone https://github.com/rspec/rspec.git pushd rspec -git reset --hard $1-v$2 + +# https://github.com/rspec/rspec/issues/220 +git reset --hard $1-v$2 || \ + git reset --hard rspec-expecations-v$2 ln -sf $1 $1-$2 tar czf ${CURRDIR}/rubygem-$1-$2-full.tar.gz $1-$2/./ diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 0b62d56..69c4694 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -1,4 +1,4 @@ -%global majorver 3.13.4 +%global majorver 3.13.5 #%%global preminorver .rc6 %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} @@ -18,7 +18,7 @@ Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist} # SPDX confirmed License: MIT -URL: http://github.com/rspec/rspec-expectations +URL: https://rspec.info Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem # %%{SOURCE2} %%{name} %%{version} Source1: rubygem-%{gem_name}-%{version}-full.tar.gz @@ -114,6 +114,9 @@ cucumber \ %{gem_docdir} %changelog +* Thu May 29 2025 Mamoru TASAKA - 3.13.5-1 +- 3.13.5 + * Thu May 15 2025 Mamoru TASAKA - 3.13.4-1 - 3.13.4 diff --git a/sources b/sources index 5902d8b..4d0ea5c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (rspec-expectations-3.13.4.gem) = 6a4cc3f14cd953af1c391b00ac336c426659c63c943b419938e3c0d133d586e7b7ee17200c8c618ac83a334bedb9ea932fbaa4848880091d289fce8d8a8025d0 -SHA512 (rubygem-rspec-expectations-3.13.4-full.tar.gz) = ef23bf05fb220a860fe26c47fba8a0ff3c498c8d779fa2edb4e29a08e6fa0ebf85e62e17489ee9d6ae76d4df5cf0ecb634c70075887ba1cd2c7150994b1a7784 +SHA512 (rspec-expectations-3.13.5.gem) = 4fde5ddae1c723bb3f25c65db61ec959146b1b92a08ddf09d4caf1164d25fd67e4d6d7a73b576fdb48477a3ee54763a8a2d3b93ea573ba6962d65ae80379cd03 +SHA512 (rubygem-rspec-expectations-3.13.5-full.tar.gz) = 057bf2ff409248ab4a37bc615806e786cdcf4324bd47bb606459a6ceece07799dc488838d008511bb7d798db6b8dddf2339cb6509c2d78911aa9aa06f50607ea From 87a8d5773d6e7f66e68b998c8ca209df00d4498d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 12:45:32 +0000 Subject: [PATCH 56/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- rubygem-rspec-expectations.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 69c4694..1ef36a7 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 1 +%global baserelease 2 %global gem_name rspec-expectations @@ -114,6 +114,9 @@ cucumber \ %{gem_docdir} %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 3.13.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu May 29 2025 Mamoru TASAKA - 3.13.5-1 - 3.13.5 From 6ac0794a0c893fe7d77b6efc192962011887ef09 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 2 Dec 2025 16:41:45 +0900 Subject: [PATCH 57/58] Backport upstream patch to support ruby4_0 source_location behavior change --- ...ations-pr282-ruby4_0-source_location.patch | 25 +++++++++++++++++++ rubygem-rspec-expectations.spec | 9 ++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 rspec-expectations-pr282-ruby4_0-source_location.patch diff --git a/rspec-expectations-pr282-ruby4_0-source_location.patch b/rspec-expectations-pr282-ruby4_0-source_location.patch new file mode 100644 index 0000000..19483fc --- /dev/null +++ b/rspec-expectations-pr282-ruby4_0-source_location.patch @@ -0,0 +1,25 @@ +From 1c20fa80772ca7a1ed0512056ce7cd6a94f8e68d Mon Sep 17 00:00:00 2001 +From: Jon Rowe +Date: Fri, 28 Nov 2025 10:59:10 +0000 +Subject: [PATCH] Cope with the changes to block source_location in Ruby 4 + +--- + rspec-core/lib/rspec/core/hooks.rb | 2 +- + rspec-core/lib/rspec/core/metadata.rb | 2 +- + rspec-core/lib/rspec/core/shared_example_group.rb | 2 +- + .../lib/rspec/expectations/block_snippet_extractor.rb | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/rspec-expectations/lib/rspec/expectations/block_snippet_extractor.rb b/rspec-expectations/lib/rspec/expectations/block_snippet_extractor.rb +index 5c66ac639..24dbaf88e 100644 +--- a/rspec-expectations/lib/rspec/expectations/block_snippet_extractor.rb ++++ b/rspec-expectations/lib/rspec/expectations/block_snippet_extractor.rb +@@ -62,7 +62,7 @@ def file_path + end + + def beginning_line_number +- source_location.last ++ source_location[1] + end + + def source_location diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 1ef36a7..c7d29c2 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 2 +%global baserelease 3 %global gem_name rspec-expectations @@ -26,6 +26,9 @@ Source2: rspec-related-create-full-tarball.sh # Workaround tests wrt diff/lcs diff format # Partially revert 3.13.3 -> 3.13.4 change Patch0: rubygem-rspec-expectations-3.13.4-diff_spec-format-revert.patch +# https://github.com/rspec/rspec/pull/282/commits/1c20fa80772ca7a1ed0512056ce7cd6a94f8e68d +# Support ruby4_0 source_location behavior change +Patch1: rspec-expectations-pr282-ruby4_0-source_location.patch #BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -59,6 +62,7 @@ This package contains documentation for %{name}. %setup -q -T -n %{gem_name}-%{version} -b 1 %patch -P0 -p1 +%patch -P1 -p2 gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec @@ -114,6 +118,9 @@ cucumber \ %{gem_docdir} %changelog +* Tue Dec 02 2025 Mamoru TASAKA - 3.13.5-3 +- Backport upstream patch to support ruby4_0 source_location behavior change + * Fri Jul 25 2025 Fedora Release Engineering - 3.13.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From bf30e4437e66addd1140d43362c48d3188b0d20c Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 1 Jan 2026 21:10:50 +0900 Subject: [PATCH 58/58] Fix compatibility for minitest 6 --- rubygem-rspec-expectations.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index c7d29c2..63bcd3c 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global baserelease 3 +%global baserelease 4 %global gem_name rspec-expectations @@ -93,6 +93,13 @@ rspec spec/ exit 0 %endif +# Fix minitest 6 compatibility +# Behavior changed on: https://github.com/minitest/minitest/commit/2572c78420af73dbe9b202d535a1474405a32173 +if ( ruby -e 'require "minitest" ; exit Minitest::VERSION >= "6"' ) ; then + sed -i features/test_frameworks/minitest.feature \ + -e 's|9 runs, 10 assertions, 5 failures, 0 errors|9 runs, 11 assertions, 5 failures, 0 errors|' +fi + # Skip one failing scenario, needs investigating... sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d' sed -i features/built_in_matchers/include.feature -e 's|^\([ \t]*\)\(Scenario: counts usage.*\)|\1@skip-on-fedora\n\1\2|' @@ -118,6 +125,9 @@ cucumber \ %{gem_docdir} %changelog +* Thu Jan 01 2026 Mamoru TASAKA - 3.13.5-4 +- Fix compatibility for minitest 6 + * Tue Dec 02 2025 Mamoru TASAKA - 3.13.5-3 - Backport upstream patch to support ruby4_0 source_location behavior change