From 0b9052ea660382ac2d4fd4d89c427d321aa1af74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 01:52:14 +0000 Subject: [PATCH 01/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-minitest-around.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index d06a5cb..3c6ec04 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.4.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.4.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering - 0.4.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From dd81230fb79d032b50849e1cc66c29c4135364ef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 20:44:17 +0000 Subject: [PATCH 02/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-minitest-around.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 3c6ec04..06cdd66 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.4.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 0.4.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.4.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 67bb3a3ebe8e1057f1576669274f106f64b79cbb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 17:57:30 +0000 Subject: [PATCH 03/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-minitest-around.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 06cdd66..0f53157 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.4.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jan 20 2023 Fedora Release Engineering - 0.4.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 1637b47339c0039a839e3c16eb8a3639fbbac33f Mon Sep 17 00:00:00 2001 From: Ilia Gradina Date: Mon, 16 Oct 2023 08:08:22 +0300 Subject: [PATCH 04/14] update to new version --- .gitignore | 1 + rubygem-minitest-around.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fc7c02d..456ffee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /minitest-around-0.4.0.gem /minitest-around-0.4.1.gem +/minitest-around-0.5.0.gem diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 0f53157..526aaaf 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -1,8 +1,8 @@ %global gem_name minitest-around Name: rubygem-%{gem_name} -Version: 0.4.1 -Release: 13%{?dist} +Version: 0.5.0 +Release: 1%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Mon Oct 16 2023 Ilia Gradina - 0.5.0-1 +- Update to 0.5.0 + * Fri Jul 21 2023 Fedora Release Engineering - 0.4.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 7c57329..975e946 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (minitest-around-0.4.1.gem) = ae13ebd44f1e9cab49eff42f02f500d72c5d1fa53493259b38918f84fbe231980623fe27e92f2f0bffd95c214d8eb50445ff1a6d48ad3b074519f7ac2134c2e8 +SHA512 (minitest-around-0.5.0.gem) = 8e57d436d39a41c5a08df6006a5cd46f92550844f01f9b6662918b9ba9536b74f6c83fcaea64180c7e025a1a14d4e037e1b17b84ae395a2b745e58f21ba5c752 From 7f6e1224a5b0cb6fb3aa42bc9b173708e9f531d7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 17:07:21 +0000 Subject: [PATCH 05/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- rubygem-minitest-around.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 526aaaf..4bef00c 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Oct 16 2023 Ilia Gradina - 0.5.0-1 - Update to 0.5.0 From 14ee65443a04039ca1f57060b27c3c11b2920347 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 19:35:04 +0000 Subject: [PATCH 06/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- rubygem-minitest-around.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 4bef00c..bb30f18 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.5.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jan 26 2024 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 494ebc9ccb2c8d22f0d15a55b15440579a3ad46c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 23:35:46 +0000 Subject: [PATCH 07/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- rubygem-minitest-around.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index bb30f18..ae79724 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.5.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 36b8112d3b528fc20de5acc78935c19491472cdb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 12:34:57 +0000 Subject: [PATCH 08/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- rubygem-minitest-around.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index ae79724..4ab198c 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.5.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -78,6 +78,9 @@ popd %exclude %{gem_instdir}/test %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 879ebe12424a61451b5759f945aa386e3f854c58 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sat, 27 Dec 2025 12:58:57 +0900 Subject: [PATCH 09/14] Use recent gem2rpm style --- rubygem-minitest-around.spec | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 4ab198c..973069d 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.5.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around @@ -26,17 +26,14 @@ BuildArch: noarch Documentation for %{name}. %prep -gem unpack %{SOURCE0} - -%setup -q -D -T -n %{gem_name}-%{version} +%setup -q -n %{gem_name}-%{version} # cucumber 7 syntax change sed -i config/cucumber.yml -e "s|~@ignore|'not @ignore'|" -gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build # Create the gem as gem install only works on a gem file -gem build %{gem_name}.gemspec +gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install @@ -47,11 +44,23 @@ mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ - +rm -f %{buildroot}%{gem_cache} +pushd %{buildroot}%{gem_instdir} +rm -rf \ + .gitignore \ + .travis.yml \ + Gemfile \ + Rakefile \ + config/ \ + features/ \ + %{gem_name}.gemspec \ + test/ \ + %{nil} # Run the test suite %check +export CUCUMBER_PUBLISH_QUIET=true pushd .%{gem_instdir} sed -i "/require 'bundler/ s/^/#/" test/helper.rb RUBYOPT=-Ilib ruby -e 'Dir.glob "./test/*_{test,spec}.rb", &method(:require)' @@ -64,20 +73,15 @@ popd %license %{gem_instdir}/LICENSE %{gem_libdir} %{gem_spec} -%exclude %{gem_instdir}/.* -%exclude %{gem_cache} %files doc %doc %{gem_docdir} -%exclude %{gem_instdir}/config -%exclude %{gem_instdir}/features -%exclude %{gem_instdir}/Gemfile -%exclude %{gem_instdir}/Rakefile -%exclude %{gem_instdir}/examples -%exclude %{gem_instdir}/minitest-around.gemspec -%exclude %{gem_instdir}/test +%{gem_instdir}/examples %changelog +* Sat Dec 27 2025 Mamoru TASAKA - 0.5.0-6 +- Use recent gem2rpm style + * Fri Jul 25 2025 Fedora Release Engineering - 0.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 8a0c025e130c61a2051f90c624ed9fc73771ac2f Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sat, 27 Dec 2025 14:02:26 +0900 Subject: [PATCH 10/14] Fix compatibility with minitest 6 --- minitest-around-0.5.0-minitest6.patch | 83 +++++++++++++++++++++++++++ rubygem-minitest-around.spec | 12 +++- 2 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 minitest-around-0.5.0-minitest6.patch diff --git a/minitest-around-0.5.0-minitest6.patch b/minitest-around-0.5.0-minitest6.patch new file mode 100644 index 0000000..df15bcc --- /dev/null +++ b/minitest-around-0.5.0-minitest6.patch @@ -0,0 +1,83 @@ +diff -urp '--exclude=*~' minitest-around-0.5.0.orig/test/around_spec.rb minitest-around-0.5.0/test/around_spec.rb +--- minitest-around-0.5.0.orig/test/around_spec.rb 2025-12-27 12:59:36.309463102 +0900 ++++ minitest-around-0.5.0/test/around_spec.rb 2025-12-27 13:08:40.396453842 +0900 +@@ -16,7 +16,7 @@ describe "Minitest Around" do + end + + it "runs around" do +- $before.must_equal true ++ _($before).must_equal true + end + end + +@@ -30,7 +30,7 @@ describe "Minitest Around" do + end + + it "stays in context" do +- @x.must_equal 2 ++ _(@x).must_equal 2 + end + end + +@@ -40,9 +40,9 @@ describe "Minitest Around" do + before { list << 2 } + after do + if @xxx == 1 +- list.must_equal [1, 2, 3, 4, 5, 9, 8, 7, 6] ++ _(list).must_equal [1, 2, 3, 4, 5, 9, 8, 7, 6] + elsif @xxx == 2 +- list.must_equal [1, 2, 3, 4, 5, 51, 9, 8, 7, 6] ++ _(list).must_equal [1, 2, 3, 4, 5, 51, 9, 8, 7, 6] + else + raise + end +@@ -55,7 +55,7 @@ describe "Minitest Around" do + + it "orders" do + @xxx = 1 +- list.must_equal [1, 2, 3, 4, 5] ++ _(list).must_equal [1, 2, 3, 4, 5] + end + + describe "more nesting fun" do +@@ -63,7 +63,7 @@ describe "Minitest Around" do + + it "orders" do + @xxx = 2 +- list.must_equal [1, 2, 3, 4, 5, 51] ++ _(list).must_equal [1, 2, 3, 4, 5, 51] + end + end + end +@@ -78,8 +78,8 @@ describe "Minitest Around" do + end + RUBY + +- output.must_include "ArgumentError: ArgumentError" +- output.wont_include "FiberError" ++ _(output).must_include "ArgumentError: ArgumentError" ++ _(output).wont_include "FiberError" + end + end + +@@ -98,7 +98,7 @@ describe "Minitest Around" do + it("x") {} + end + RUBY +- output.must_include("ENSURE") ++ _(output).must_include("ENSURE") + end + end + end +diff -urp '--exclude=*~' minitest-around-0.5.0.orig/test/nested_spec.rb minitest-around-0.5.0/test/nested_spec.rb +--- minitest-around-0.5.0.orig/test/nested_spec.rb 2025-12-27 12:59:36.309837879 +0900 ++++ minitest-around-0.5.0/test/nested_spec.rb 2025-12-27 13:09:14.321620383 +0900 +@@ -9,7 +9,7 @@ describe 'Outer' do + end + after do + var << :after +- var.must_equal [:before, :begin, :ibefore, :ibegin, :during, :iend, :iafter, :end, :after] ++ _(var).must_equal [:before, :begin, :ibefore, :ibegin, :during, :iend, :iafter, :end, :after] + end + around do |test| + var << :begin diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 973069d..43381da 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -2,11 +2,13 @@ Name: rubygem-%{gem_name} Version: 0.5.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +# Fix compatibility with minietst 6 +Patch0: minitest-around-0.5.0-minitest6.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(minitest) @@ -27,10 +29,15 @@ Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} +%patch -P0 -p1 # cucumber 7 syntax change sed -i config/cucumber.yml -e "s|~@ignore|'not @ignore'|" +# Remove minitest version strict requirement +sed -i ../%{gem_name}-%{version}.gemspec \ + -e '\@runtime_dependency.*minitest@s|~>|>=|' + %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec @@ -79,6 +86,9 @@ popd %{gem_instdir}/examples %changelog +* Sat Dec 27 2025 Mamoru TASAKA - 0.5.0-7 +- Fix compatibility with minitest 6 + * Sat Dec 27 2025 Mamoru TASAKA - 0.5.0-6 - Use recent gem2rpm style From c15f00e0d6b8f0787279b1c0bb41ed1e63daa271 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 2 Jan 2026 16:54:30 +0900 Subject: [PATCH 11/14] 0.6.0 --- minitest-around-create-missing-test-files.sh | 36 +++++++++++++++++ rubygem-minitest-around.spec | 42 +++++++------------- 2 files changed, 51 insertions(+), 27 deletions(-) create mode 100644 minitest-around-create-missing-test-files.sh diff --git a/minitest-around-create-missing-test-files.sh b/minitest-around-create-missing-test-files.sh new file mode 100644 index 0000000..1bc2062 --- /dev/null +++ b/minitest-around-create-missing-test-files.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +usage() { + echo "$0 " +} + +set -e +set -x + +if [ $# -lt 1 ] ; then + usage + exit 1 +fi + +VERSION=$1 +REPONAME=minitest-around + +TMPDIR=$(mktemp -d /var/tmp/minitest-around-XXXXXX) +CURDIR=$(pwd) + +pushd $TMPDIR + +git clone https://github.com/splattael/${REPONAME}.git +cd ${REPONAME}/ + +git reset --hard v$VERSION +cd .. +ln -sf ${REPONAME} ${REPONAME}-${VERSION} +tar czf $CURDIR/${REPONAME}-${VERSION}-test-missing-files.tar.gz \ + ${REPONAME}-${VERSION}/config/ \ + ${REPONAME}-${VERSION}/features/ \ + ${REPONAME}-${VERSION}/test/ \ + +popd +rm -rf $TMPDIR + diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 43381da..7e910da 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -1,14 +1,15 @@ %global gem_name minitest-around Name: rubygem-%{gem_name} -Version: 0.5.0 -Release: 7%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: Around block for minitest License: MIT URL: https://github.com/splattael/minitest-around Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -# Fix compatibility with minietst 6 -Patch0: minitest-around-0.5.0-minitest6.patch +Source1: %{gem_name}-%{version}-test-missing-files.tar.gz +# Source1 is created from $ bash %%SOURCE2 %%version +Source2: %{gem_name}-create-missing-test-files.sh BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(minitest) @@ -28,15 +29,7 @@ BuildArch: noarch Documentation for %{name}. %prep -%setup -q -n %{gem_name}-%{version} -%patch -P0 -p1 - -# cucumber 7 syntax change -sed -i config/cucumber.yml -e "s|~@ignore|'not @ignore'|" - -# Remove minitest version strict requirement -sed -i ../%{gem_name}-%{version}.gemspec \ - -e '\@runtime_dependency.*minitest@s|~>|>=|' +%setup -q -n %{gem_name}-%{version} -b 1 %build # Create the gem as gem install only works on a gem file @@ -52,24 +45,17 @@ cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ rm -f %{buildroot}%{gem_cache} -pushd %{buildroot}%{gem_instdir} -rm -rf \ - .gitignore \ - .travis.yml \ - Gemfile \ - Rakefile \ - config/ \ - features/ \ - %{gem_name}.gemspec \ - test/ \ - %{nil} - # Run the test suite %check +cp -a \ + test/ \ + features/ \ + .%{gem_instdir} + export CUCUMBER_PUBLISH_QUIET=true pushd .%{gem_instdir} - sed -i "/require 'bundler/ s/^/#/" test/helper.rb + sed -i "/require 'bundler/ s/^/#/" test/test_helper.rb RUBYOPT=-Ilib ruby -e 'Dir.glob "./test/*_{test,spec}.rb", &method(:require)' RUBYOPT=-Ilib cucumber --tag 'not @todo' --tag 'not @rspec' popd @@ -83,9 +69,11 @@ popd %files doc %doc %{gem_docdir} -%{gem_instdir}/examples %changelog +* Fri Jan 02 2026 Mamoru TASAKA - 0.6.0-1 +- 0.6.0 + * Sat Dec 27 2025 Mamoru TASAKA - 0.5.0-7 - Fix compatibility with minitest 6 From 6fccf6dacca2e17edf7f41ec18f88ebc8a11141f Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 2 Jan 2026 16:55:23 +0900 Subject: [PATCH 12/14] rewrite .gitignore --- .gitignore | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 456ffee..2c577c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -/minitest-around-0.4.0.gem -/minitest-around-0.4.1.gem -/minitest-around-0.5.0.gem +/minitest-around-*.gem +/minitest-around-*-test-missing-files.tar.gz From e432af38cca26f5b63d951626d745a6ea8b5da31 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 2 Jan 2026 16:59:56 +0900 Subject: [PATCH 13/14] indentation --- rubygem-minitest-around.spec | 54 ++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/rubygem-minitest-around.spec b/rubygem-minitest-around.spec index 7e910da..8b628f7 100644 --- a/rubygem-minitest-around.spec +++ b/rubygem-minitest-around.spec @@ -1,31 +1,34 @@ -%global gem_name minitest-around +%global gem_name minitest-around -Name: rubygem-%{gem_name} -Version: 0.6.0 -Release: 1%{?dist} -Summary: Around block for minitest -License: MIT -URL: https://github.com/splattael/minitest-around -Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -Source1: %{gem_name}-%{version}-test-missing-files.tar.gz +Name: rubygem-%{gem_name} +Version: 0.6.0 +Release: 1%{?dist} + +Summary: Around block for minitest +License: MIT +URL: https://github.com/splattael/minitest-around + +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +Source1: %{gem_name}-%{version}-test-missing-files.tar.gz # Source1 is created from $ bash %%SOURCE2 %%version -Source2: %{gem_name}-create-missing-test-files.sh -BuildRequires: ruby(release) -BuildRequires: rubygems-devel -BuildRequires: rubygem(minitest) -BuildRequires: rubygem(cucumber) -BuildArch: noarch +Source2: %{gem_name}-create-missing-test-files.sh + +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: rubygem(minitest) +BuildRequires: rubygem(cucumber) +BuildArch: noarch %description Alternative for setup/teardown dance. -%package doc -Summary: Documentation for %{name} -Requires: %{name} = %{version}-%{release} -BuildArch: noarch +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch -%description doc +%description doc Documentation for %{name}. %prep @@ -42,7 +45,7 @@ gem build ../%{gem_name}-%{version}.gemspec %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ - %{buildroot}%{gem_dir}/ + %{buildroot}%{gem_dir}/ rm -f %{buildroot}%{gem_cache} @@ -54,10 +57,13 @@ cp -a \ .%{gem_instdir} export CUCUMBER_PUBLISH_QUIET=true + pushd .%{gem_instdir} - sed -i "/require 'bundler/ s/^/#/" test/test_helper.rb - RUBYOPT=-Ilib ruby -e 'Dir.glob "./test/*_{test,spec}.rb", &method(:require)' - RUBYOPT=-Ilib cucumber --tag 'not @todo' --tag 'not @rspec' +sed -i "/require 'bundler/ s/^/#/" test/test_helper.rb +env RUBYOPT=-Ilib \ + ruby -e 'Dir.glob "./test/*_{test,spec}.rb", &method(:require)' +env RUBYOPT=-Ilib \ + cucumber --tag 'not @todo' --tag 'not @rspec' popd %files From 8e9a277f801836e74799af576bb2ab2297939edc Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 2 Jan 2026 17:00:22 +0900 Subject: [PATCH 14/14] upload source --- sources | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources b/sources index 975e946..ddaa265 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (minitest-around-0.5.0.gem) = 8e57d436d39a41c5a08df6006a5cd46f92550844f01f9b6662918b9ba9536b74f6c83fcaea64180c7e025a1a14d4e037e1b17b84ae395a2b745e58f21ba5c752 +SHA512 (minitest-around-0.6.0.gem) = 4db83f3f4313669a983fbcec54af8a213fc557c7cf4d6077661f9eac23546e564c1875256ba70c6d13a472ede26cf3e4ad09af010a241a638c71ee90a18cabec +SHA512 (minitest-around-0.6.0-test-missing-files.tar.gz) = 930991a23561079ed89bd16442590b28fd59bace022e8452ad739de69d134b5b64132264b5d2a54f996d138c5f4962fe5ade963bb70ed8c0f1116a76b5e49464