public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-mini_mime] epel10: Update to mini_mime 1.1.0
@ 2026-11-20 23:42 Pavel Valena
0 siblings, 0 replies; only message in thread
From: Pavel Valena @ 2026-11-20 23:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rubygem-mini_mime
Branch : epel10
Commit : 82d7767c3413048bc47dd77c9cbfb08fda9ba311
Author : Pavel Valena <pvalena@redhat.com>
Date : 2021-04-16T12:38:07+02:00
Stats : +16/-7 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rubygem-mini_mime/c/82d7767c3413048bc47dd77c9cbfb08fda9ba311?branch=epel10
Log:
Update to mini_mime 1.1.0
also add tests.
---
diff --git a/.gitignore b/.gitignore
index 4d18770..67edd0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/mini_mime-*.gem
+/mini_mime-*-test.txz
diff --git a/rubygem-mini_mime.spec b/rubygem-mini_mime.spec
index 46bff31..c3de5ff 100644
--- a/rubygem-mini_mime.spec
+++ b/rubygem-mini_mime.spec
@@ -2,12 +2,16 @@
%global gem_name mini_mime
Name: rubygem-%{gem_name}
-Version: 1.0.0
-Release: 7%{?dist}
+Version: 1.1.0
+Release: 1%{?dist}
Summary: A lightweight mime type lookup toy
License: MIT
URL: https://github.com/discourse/mini_mime
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+# Tests are not packaged with the gem. You may get them like so:
+# git clone --no-checkout https://github.com/discourse/mini_mime
+# git -C mini_mime archive -v -o mini_mime-1.1.0-test.txz v1.1.0 test
+Source1: %{gem_name}-%{version}-test.txz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
@@ -27,7 +31,7 @@ BuildArch: noarch
Documentation for %{name}.
%prep
-%setup -q -n %{gem_name}-%{version}
+%setup -q -n %{gem_name}-%{version} -b1
%build
gem build ../%{gem_name}-%{version}.gemspec
@@ -38,11 +42,11 @@ mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
-
-
%check
pushd .%{gem_instdir}
-ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
+ln -s %{_builddir}/test .
+
+ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
popd
%files
@@ -65,6 +69,9 @@ popd
%{gem_instdir}/Rakefile
%changelog
+* Fri Apr 16 2021 Pavel Valena <pvalena@redhat.com> - 1.1.0-1
+- Update to mini_mime 1.1.0.
+
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index 6080f0b..c72eb0e 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (mini_mime-1.0.0.gem) = acaaa19ff40b5ffb4c9972e9e1b64370ddc48394ab6e7f60022539d343b7191f526d538f01d7e4aef8de1be32ec3c4f95318914b50bc5829a175f6e6125a5cf3
+SHA512 (mini_mime-1.1.0.gem) = 5c8b711cedaa767530845227944059c63b92a412a7dba5111a1dbcc9f97e9fb6858b4bb5b2402e8f04e1d8aa118ff16884d832639bc080a952aa88d18064d1a3
+SHA512 (mini_mime-1.1.0-test.txz) = 7c9fbf15e82478f2e1fd5837b1d08a1eb374ce91c86137afda3b3c109bb891e5faa4578957a9aea46b98cefe3339c113371e57e84de026d6f71c81e792374d5c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-20 23:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 23:42 [rpms/rubygem-mini_mime] epel10: Update to mini_mime 1.1.0 Pavel Valena
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox