public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pavel Valena <pvalena@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rubygem-mini_mime] epel10: Update to mini_mime 1.1.0
Date: Fri, 20 Nov 2026 23:42:04 GMT	[thread overview]
Message-ID: <179521812461.1.5037104302553177633.rpms-rubygem-mini_mime-82d7767c3413@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-20 23:42 UTC|newest]

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

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=179521812461.1.5037104302553177633.rpms-rubygem-mini_mime-82d7767c3413@fedoraproject.org \
    --to=pvalena@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

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

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