public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-activestorage] rawhide: Update to Active Storage 8.1.2.
@ 2026-07-30 12:17 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-30 12:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rubygem-activestorage
            Branch : rawhide
            Commit : affcda7bb18b75390886de295460d94ac71b92ae
            Author : Vít Ondruch <vondruch@redhat.com>
            Date   : 2026-07-30T14:03:05+02:00
            Stats  : +17/-33 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rubygem-activestorage/c/affcda7bb18b75390886de295460d94ac71b92ae?branch=rawhide

            Log:
            Update to Active Storage 8.1.2.

Related: rhzb#2405582

---
diff --git a/activestorage-ffmpeg8.patch b/activestorage-ffmpeg8.patch
deleted file mode 100644
index b332da7..0000000
--- a/activestorage-ffmpeg8.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up test/analyzer/audio_analyzer_test.rb.ffmpeg8 test/analyzer/audio_analyzer_test.rb
---- test/analyzer/audio_analyzer_test.rb.ffmpeg8	2025-09-23 00:17:22.000000000 +0200
-+++ test/analyzer/audio_analyzer_test.rb	2025-11-02 14:36:22.296948668 +0100
-@@ -10,7 +10,7 @@ class ActiveStorage::Analyzer::AudioAnal
-     blob = create_file_blob(filename: "audio.mp3", content_type: "audio/mp3")
-     metadata = extract_metadata_from(blob)
- 
--    assert_equal 0.914286, metadata[:duration]
-+    assert_equal 0.863379, metadata[:duration]
-     assert_equal 128000, metadata[:bit_rate]
-     assert_equal 44100, metadata[:sample_rate]
-     assert_not_nil metadata[:tags]

diff --git a/rubygem-activestorage.spec b/rubygem-activestorage.spec
index b40cf5a..d683d0d 100644
--- a/rubygem-activestorage.spec
+++ b/rubygem-activestorage.spec
@@ -1,9 +1,9 @@
 # Generated from activestorage-0.1.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name activestorage
 
-# openh264 coded is not available in buildroot, while it can be obtained e.g.
-# from:
-# https://codecs.fedoraproject.org/openh264/43/x86_64/Packages/o/openh264-2.6.0-2.fc43.x86_64.rpm
+# While openh264 coded is not available in buildroot, it can be obtained from:
+# * repo: https://codecs.fedoraproject.org/openh264/43/x86_64/
+# * rpm: https://codecs.fedoraproject.org/openh264/43/x86_64/Packages/o/openh264-2.6.0-2.fc43.x86_64.rpm
 %bcond_with openh264
 
 # TODO: Re-enable recompilation if possible. Currently, we don't have rollup.js
@@ -12,22 +12,19 @@
 %bcond_with js_recompilation
 
 Name: rubygem-%{gem_name}
-Version: 8.0.3
-Release: 4%{?dist}
+Version: 8.1.2
+Release: 1%{?dist}
 Summary: Local and cloud file storage framework
 License: MIT
 URL: https://rubyonrails.org
 Source0: https://rubygems.org/gems/%{gem_name}-%{version}%{?prerelease}.gem
 # git clone https://github.com/rails/rails.git && cd rails/activestorage
-# git archive -v -o activestorage-8.0.3-tests.tar.gz v8.0.3 test/
+# git archive -v -o activestorage-8.1.2-tests.tar.gz v8.1.2 test/
 Source1: %{gem_name}-%{version}%{?prerelease}-tests.tar.gz
 # Source code of pregenerated JS files.
 # git clone https://github.com/rails/rails.git && cd rails/activestorage
-# git archive -v -o activestorage-8.0.3-js.tar.gz v8.0.3 package.json rollup.config.js
+# git archive -v -o activestorage-8.1.2-js.tar.gz v8.1.2 package.json rollup.config.js
 Source2: %{gem_name}-%{version}%{?prerelease}-js.tar.gz
-# Fix a test failing with FFmpeg 8
-# https://github.com/rails/rails/issues/56069
-Patch0: %{gem_name}-ffmpeg8.patch
 
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
@@ -40,6 +37,7 @@ BuildRequires: rubygem(marcel)
 BuildRequires: rubygem(railties) = %{version}
 BuildRequires: rubygem(sprockets-rails)
 BuildRequires: rubygem(image_processing)
+BuildRequires: rubygem(webmock)
 BuildRequires: rubygem(sqlite3)
 # Required to pass some of the test/models/variant_test.rb
 # https://github.com/rails/rails/issues/44395
@@ -74,8 +72,6 @@ Documentation for %{name}.
 
 %prep
 %setup -q -n %{gem_name}-%{version}%{?prerelease} -b1 -b2
-cd ..
-%patch -P0 -p0 -b .ffmpeg8
 
 %build
 %if %{with js_recompilation}
@@ -115,7 +111,7 @@ mkdir ../tools
 # Fake test_common.rb. It does not provide any functionality besides
 # `force_skip` alias.
 touch ../tools/test_common.rb
-# Netiher strict_warnings.rb appears to be useful.
+# Neither strict_warnings.rb appears to be useful.
 touch ../tools/strict_warnings.rb
 
 touch Gemfile
@@ -126,13 +122,9 @@ echo 'gem "sprockets-rails"' >> Gemfile
 echo 'gem "image_processing"' >> Gemfile
 echo 'gem "marcel"' >> Gemfile
 echo 'gem "railties"' >> Gemfile
+echo 'gem "webmock"' >> Gemfile
 echo 'gem "sqlite3"' >> Gemfile
 
-# `ActiveStorage::Service::AzureStorageService` is deprecated and we would need
-# `azure-storage-blob` gem to make this work => just ignore the test.
-sed -i '/test "azure service is deprecated" do/a\    skip' \
-  test/service/configurator_test.rb
-
 # test/javascript_package_test.rb requires rollup.js, which we don't have.
 # OTOH, if we had it, we would recomplie the sources and the test would have
 # less value.
@@ -181,6 +173,10 @@ bundle exec ruby -Itest -ractive_storage/engine -e 'Dir.glob "./test/**/*_test.r
 %doc %{gem_instdir}/README.md
 
 %changelog
+* Thu Jul 30 2026 Vít Ondruch <vondruch@redhat.com> - 8.1.2-1
+- Update to Active Storage 8.1.2.
+  Related: rhzb#2405582
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index ed41f2f..55df95b 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (activestorage-8.0.3-js.tar.gz) = 12eb6eb175b59a0aef7ae3b2206a176a26f392df7113076a39e00896f203fd0ec0f935df2431d681709a0eaf3f40bc1484d5da0dba5b9396c5560f24827ae094
-SHA512 (activestorage-8.0.3-tests.tar.gz) = 779c7abd3a62933a84b09e81a3faaacb4c7fc8d02968c40bcfe44d32df3686141a1690c257311c779db5177697825228d1787532aba95f9ede08415040d4c2e4
-SHA512 (activestorage-8.0.3.gem) = b3b8548b31e820ab6b1372276d9e04e8b3e6f3a7ced274c70fa8333f001d7fd81161dc25b69d73c15cee718bc0ba165543e1a79a7673821bd179625bdc0aaded
+SHA512 (activestorage-8.1.2-js.tar.gz) = 9f3bc4bbf4922062e17cf4235960719e6c4b73f72413dc6053d232bee700beb70e2765e5e57196096c34d5e42f0abbcf604ec619517ef3c8a0e1e3bef25a8740
+SHA512 (activestorage-8.1.2-tests.tar.gz) = 7ed8cb0b43a7aaad6036102d834c2edde70b3e684ffccf57beb12eb975f33fc405c7c7c30a8d60525e4769c63f7a363eaccb06f4dc49c1e34c5f0153b5bde899
+SHA512 (activestorage-8.1.2.gem) = e18fe08acc3b33a4d28b9fbcf8453d25ad27eb5ecee66f9b06784a335d01d8d9de91d6512562a743426bc43a27d147552c5272b23a7c30133e9bfd8a3cc7d884

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-30 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 12:17 [rpms/rubygem-activestorage] rawhide: Update to Active Storage 8.1.2 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox