public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-railties] rawhide: Update to Railties 8.1.2.
@ 2026-07-30 11:32
0 siblings, 0 replies; only message in thread
From: @ 2026-07-30 11:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rubygem-railties
Branch : rawhide
Commit : 315af06932a6fbf8244fb5502b66a60505273d95
Author : Vít Ondruch <vondruch@redhat.com>
Date : 2026-07-30T11:57:29+02:00
Stats : +48/-369 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rubygem-railties/c/315af06932a6fbf8244fb5502b66a60505273d95?branch=rawhide
Log:
Update to Railties 8.1.2.
Related: rhzb#2405582
---
diff --git a/rubygem-railties-8.0.3-Fix-tests-now-that-Propshaft-Server-is-a-middleware.patch b/rubygem-railties-8.0.3-Fix-tests-now-that-Propshaft-Server-is-a-middleware.patch
deleted file mode 100644
index 37c2a62..0000000
--- a/rubygem-railties-8.0.3-Fix-tests-now-that-Propshaft-Server-is-a-middleware.patch
+++ /dev/null
@@ -1,253 +0,0 @@
-From 6b11d3c90c20411d6cb2ad1c961f80659709884d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?=
- <rafael@rubyonrails.org>
-Date: Tue, 23 Sep 2025 22:02:46 +0000
-Subject: [PATCH] Fix tests now that Propshaft::Server is a middleware
-
----
- railties/test/commands/middleware_test.rb | 9 ++--
- railties/test/commands/routes_test.rb | 55 ++++++++++-------------
- 2 files changed, 29 insertions(+), 35 deletions(-)
-
-diff --git a/railties/test/commands/middleware_test.rb b/railties/test/commands/middleware_test.rb
-index 0b3ddf0d5eb82..14405a2def4ff 100644
---- a/railties/test/commands/middleware_test.rb
-+++ b/railties/test/commands/middleware_test.rb
-@@ -29,6 +29,7 @@ def app
- "ActionDispatch::HostAuthorization",
- "Rack::Sendfile",
- "ActionDispatch::Static",
-+ "Propshaft::Server",
- "ActionDispatch::Executor",
- "ActionDispatch::ServerTiming",
- "ActiveSupport::Cache::Strategy::LocalCache",
-@@ -64,6 +65,7 @@ def app
- "ActionDispatch::HostAuthorization",
- "Rack::Sendfile",
- "ActionDispatch::Static",
-+ "Propshaft::Server",
- "ActionDispatch::Executor",
- "ActionDispatch::ServerTiming",
- "ActiveSupport::Cache::Strategy::LocalCache",
-@@ -98,6 +100,7 @@ def app
- "ActionDispatch::HostAuthorization",
- "Rack::Sendfile",
- "ActionDispatch::Static",
-+ "Propshaft::Server",
- "ActionDispatch::Executor",
- "ActiveSupport::Cache::Strategy::LocalCache",
- "Rack::Runtime",
-@@ -314,14 +317,14 @@ def app
- test "Rails.cache does not respond to middleware" do
- add_to_config "config.cache_store = :memory_store, { timeout: 10 }"
- boot!
-- assert_equal "Rack::Runtime", middleware[4]
-+ assert_equal "Rack::Runtime", middleware[5]
- assert_instance_of ActiveSupport::Cache::MemoryStore, Rails.cache
- end
-
- test "Rails.cache does respond to middleware" do
- boot!
-- assert_equal "ActiveSupport::Cache::Strategy::LocalCache", middleware[4]
-- assert_equal "Rack::Runtime", middleware[5]
-+ assert_equal "ActiveSupport::Cache::Strategy::LocalCache", middleware[5]
-+ assert_equal "Rack::Runtime", middleware[6]
- end
-
- test "insert middleware before" do
-diff --git a/railties/test/commands/routes_test.rb b/railties/test/commands/routes_test.rb
-index 78c921373db81..3f96d914b6688 100644
---- a/railties/test/commands/routes_test.rb
-+++ b/railties/test/commands/routes_test.rb
-@@ -205,7 +205,6 @@ class Rails::Command::RoutesTest < ActiveSupport::TestCase
-
- assert_equal <<~MESSAGE, run_routes_command
- Prefix Verb URI Pattern Controller#Action
-- /assets Propshaft::Server
- rails_postmark_inbound_emails POST /rails/action_mailbox/postmark/inbound_emails(.:format) action_mailbox/ingresses/postmark/inbound_emails#create
- rails_relay_inbound_emails POST /rails/action_mailbox/relay/inbound_emails(.:format) action_mailbox/ingresses/relay/inbound_emails#create
- rails_sendgrid_inbound_emails POST /rails/action_mailbox/sendgrid/inbound_emails(.:format) action_mailbox/ingresses/sendgrid/inbound_emails#create
-@@ -249,160 +248,152 @@ class Rails::Command::RoutesTest < ActiveSupport::TestCase
-
- rails_gem_root = File.expand_path("../../../../", __FILE__)
-
-- # rubocop:disable Layout/TrailingWhitespace
- assert_equal <<~MESSAGE, output
- --[ Route 1 ]--------------
-- Prefix |
-- Verb |
-- URI | /assets
-- Controller#Action | Propshaft::Server
-- Source Location | propshaft (X.X.X) lib/propshaft/railtie.rb:XX
-- --[ Route 2 ]--------------
- Prefix | cart
- Verb | GET
- URI | /cart(.:format)
- Controller#Action | cart#show
- Source Location | #{app_path}/config/routes.rb:XX
-- --[ Route 3 ]--------------
-+ --[ Route 2 ]--------------
- Prefix | rails_postmark_inbound_emails
- Verb | POST
- URI | /rails/action_mailbox/postmark/inbound_emails(.:format)
- Controller#Action | action_mailbox/ingresses/postmark/inbound_emails#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 4 ]--------------
-+ --[ Route 3 ]--------------
- Prefix | rails_relay_inbound_emails
- Verb | POST
- URI | /rails/action_mailbox/relay/inbound_emails(.:format)
- Controller#Action | action_mailbox/ingresses/relay/inbound_emails#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 5 ]--------------
-+ --[ Route 4 ]--------------
- Prefix | rails_sendgrid_inbound_emails
- Verb | POST
- URI | /rails/action_mailbox/sendgrid/inbound_emails(.:format)
- Controller#Action | action_mailbox/ingresses/sendgrid/inbound_emails#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 6 ]--------------
-+ --[ Route 5 ]--------------
- Prefix | rails_mandrill_inbound_health_check
- Verb | GET
- URI | /rails/action_mailbox/mandrill/inbound_emails(.:format)
- Controller#Action | action_mailbox/ingresses/mandrill/inbound_emails#health_check
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 7 ]--------------
-+ --[ Route 6 ]--------------
- Prefix | rails_mandrill_inbound_emails
- Verb | POST
- URI | /rails/action_mailbox/mandrill/inbound_emails(.:format)
- Controller#Action | action_mailbox/ingresses/mandrill/inbound_emails#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 8 ]--------------
-+ --[ Route 7 ]--------------
- Prefix | rails_mailgun_inbound_emails
- Verb | POST
- URI | /rails/action_mailbox/mailgun/inbound_emails/mime(.:format)
- Controller#Action | action_mailbox/ingresses/mailgun/inbound_emails#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 9 ]--------------
-+ --[ Route 8 ]--------------
- Prefix | rails_conductor_inbound_emails
- Verb | GET
- URI | /rails/conductor/action_mailbox/inbound_emails(.:format)
- Controller#Action | rails/conductor/action_mailbox/inbound_emails#index
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 10 ]-------------
-+ --[ Route 9 ]--------------
- Prefix |#{" "}
- Verb | POST
- URI | /rails/conductor/action_mailbox/inbound_emails(.:format)
- Controller#Action | rails/conductor/action_mailbox/inbound_emails#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 11 ]-------------
-+ --[ Route 10 ]-------------
- Prefix | new_rails_conductor_inbound_email
- Verb | GET
- URI | /rails/conductor/action_mailbox/inbound_emails/new(.:format)
- Controller#Action | rails/conductor/action_mailbox/inbound_emails#new
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 12 ]-------------
-+ --[ Route 11 ]-------------
- Prefix | rails_conductor_inbound_email
- Verb | GET
- URI | /rails/conductor/action_mailbox/inbound_emails/:id(.:format)
- Controller#Action | rails/conductor/action_mailbox/inbound_emails#show
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 13 ]-------------
-+ --[ Route 12 ]-------------
- Prefix | new_rails_conductor_inbound_email_source
- Verb | GET
- URI | /rails/conductor/action_mailbox/inbound_emails/sources/new(.:format)
- Controller#Action | rails/conductor/action_mailbox/inbound_emails/sources#new
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 14 ]-------------
-+ --[ Route 13 ]-------------
- Prefix | rails_conductor_inbound_email_sources
- Verb | POST
- URI | /rails/conductor/action_mailbox/inbound_emails/sources(.:format)
- Controller#Action | rails/conductor/action_mailbox/inbound_emails/sources#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 15 ]-------------
-+ --[ Route 14 ]-------------
- Prefix | rails_conductor_inbound_email_reroute
- Verb | POST
- URI | /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format)
- Controller#Action | rails/conductor/action_mailbox/reroutes#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 16 ]-------------
-+ --[ Route 15 ]-------------
- Prefix | rails_conductor_inbound_email_incinerate
- Verb | POST
- URI | /rails/conductor/action_mailbox/:inbound_email_id/incinerate(.:format)
- Controller#Action | rails/conductor/action_mailbox/incinerates#create
- Source Location | #{rails_gem_root}/actionmailbox/config/routes.rb:XX
-- --[ Route 17 ]-------------
-+ --[ Route 16 ]-------------
- Prefix | rails_service_blob
- Verb | GET
- URI | /rails/active_storage/blobs/redirect/:signed_id/*filename(.:format)
- Controller#Action | active_storage/blobs/redirect#show
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 18 ]-------------
-+ --[ Route 17 ]-------------
- Prefix | rails_service_blob_proxy
- Verb | GET
- URI | /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format)
- Controller#Action | active_storage/blobs/proxy#show
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 19 ]-------------
-+ --[ Route 18 ]-------------
- Prefix |#{" "}
- Verb | GET
- URI | /rails/active_storage/blobs/:signed_id/*filename(.:format)
- Controller#Action | active_storage/blobs/redirect#show
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 20 ]-------------
-+ --[ Route 19 ]-------------
- Prefix | rails_blob_representation
- Verb | GET
- URI | /rails/active_storage/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format)
- Controller#Action | active_storage/representations/redirect#show
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 21 ]-------------
-+ --[ Route 20 ]-------------
- Prefix | rails_blob_representation_proxy
- Verb | GET
- URI | /rails/active_storage/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format)
- Controller#Action | active_storage/representations/proxy#show
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 22 ]-------------
-+ --[ Route 21 ]-------------
- Prefix |#{" "}
- Verb | GET
- URI | /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format)
- Controller#Action | active_storage/representations/redirect#show
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 23 ]-------------
-+ --[ Route 22 ]-------------
- Prefix | rails_disk_service
- Verb | GET
- URI | /rails/active_storage/disk/:encoded_key/*filename(.:format)
- Controller#Action | active_storage/disk#show
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 24 ]-------------
-+ --[ Route 23 ]-------------
- Prefix | update_rails_disk_service
- Verb | PUT
- URI | /rails/active_storage/disk/:encoded_token(.:format)
- Controller#Action | active_storage/disk#update
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
-- --[ Route 25 ]-------------
-+ --[ Route 24 ]-------------
- Prefix | rails_direct_uploads
- Verb | POST
- URI | /rails/active_storage/direct_uploads(.:format)
- Controller#Action | active_storage/direct_uploads#create
- Source Location | #{rails_gem_root}/activestorage/config/routes.rb:XX
- MESSAGE
-- # rubocop:enable Layout/TrailingWhitespace
- end
-
- test "rails routes with unused option" do
diff --git a/rubygem-railties-pr56202-linefiltering-minitest6.patch b/rubygem-railties-pr56202-linefiltering-minitest6.patch
deleted file mode 100644
index 0a1883b..0000000
--- a/rubygem-railties-pr56202-linefiltering-minitest6.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 99395e1ea401acbc23d4f6b2a8657cdb82f921bd Mon Sep 17 00:00:00 2001
-From: Ryan Davis <ryand-ruby@zenspider.com>
-Date: Thu, 20 Nov 2025 13:11:39 -0800
-Subject: [PATCH] MT6: Fix LineFiltering to work with both MT5 & MT6
-
----
- railties/lib/minitest/rails_plugin.rb | 7 +++++
- .../lib/rails/test_unit/line_filtering.rb | 27 ++++++++++++++++---
- 2 files changed, 31 insertions(+), 3 deletions(-)
-
-diff --git a/railties/lib/minitest/rails_plugin.rb b/railties/lib/minitest/rails_plugin.rb
-index 250dbfac8de3b..abbccd132180e 100644
---- a/railties/lib/minitest/rails_plugin.rb
-+++ b/railties/lib/minitest/rails_plugin.rb
-@@ -105,6 +105,13 @@ def self.plugin_rails_options(opts, options)
- options[:fail_fast] = true
- end
-
-+ if Minitest::VERSION > "6" then
-+ opts.on "-n", "--name PATTERN", "Include /regexp/ or string for run." do |a|
-+ warn "Please switch from -n/--name to -i/--include"
-+ options[:include] = a
-+ end
-+ end
-+
- opts.on("-c", "--[no-]color", "Enable color in the output") do |value|
- options[:color] = value
- end
-diff --git a/railties/lib/rails/test_unit/line_filtering.rb b/railties/lib/rails/test_unit/line_filtering.rb
-index e6473de3336d3..716b0f8044f86 100644
---- a/railties/lib/rails/test_unit/line_filtering.rb
-+++ b/railties/lib/rails/test_unit/line_filtering.rb
-@@ -4,10 +4,31 @@
-
- module Rails
- module LineFiltering # :nodoc:
-- def run(reporter, options = {})
-- options = options.merge(filter: Rails::TestUnit::Runner.compose_filter(self, options[:filter]))
-+ def self.extended(obj)
-+ require "minitest"
-
-- super
-+ case Minitest::VERSION
-+ when /^5/ then
-+ obj.extend MT5
-+ when /^6/ then
-+ obj.extend MT6
-+ end
-+ end
-+
-+ module MT5
-+ def run(reporter, options = {})
-+ options = options.merge(filter: Rails::TestUnit::Runner.compose_filter(self, options[:filter]))
-+
-+ super
-+ end
-+ end
-+
-+ module MT6
-+ def run_suite(reporter, options = {})
-+ options = options.merge(include: Rails::TestUnit::Runner.compose_filter(self, options[:include]))
-+
-+ super
-+ end
- end
- end
- end
diff --git a/rubygem-railties.spec b/rubygem-railties.spec
index 8d35649..560cc04 100644
--- a/rubygem-railties.spec
+++ b/rubygem-railties.spec
@@ -1,28 +1,20 @@
# Generated from railties-3.0.3.gem by gem2rpm -*- rpm-spec -*-
%global gem_name railties
-# Circular dependency with rubygem-{rails,jquery-rails,uglifier}.
+# Circular dependency with rubygem-rails
%bcond_with bootstrap
Name: rubygem-%{gem_name}
-Version: 8.0.3
-Release: 5%{?dist}
+Version: 8.1.2
+Release: 1%{?dist}
Summary: Tools for creating, working with, and running Rails applications
License: MIT
URL: https://rubyonrails.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}%{?prerelease}.gem
# git clone http://github.com/rails/rails.git && cd rails/railties
-# git archive -v -o railties-8.0.3-tests.tar.gz v8.0.3 test/
+# git archive -v -o railties-8.1.2-tests.tar.gz v8.1.2 test/
Source1: %{gem_name}-%{version}%{?prerelease}-tests.tar.gz
-# Fix test compatibility with Propshaft 1.3+
-# https://github.com/rails/rails/pull/55746
-Patch0: rubygem-railties-8.0.3-Fix-tests-now-that-Propshaft-Server-is-a-middleware.patch
-# MT6: Fix LineFiltering to work with both MT5 & MT6
-# https://github.com/rails/rails/pull/56202
-# https://github.com/rails/rails/commit/99395e1ea401acbc23d4f6b2a8657cdb82f921bd
-Patch1: rubygem-railties-pr56202-linefiltering-minitest6.patch
-
# dbconsole requires the executable.
Suggests: %{_bindir}/sqlite3
# Required by generators, e.g.:
@@ -37,15 +29,18 @@ BuildRequires: rubygem(actioncable) = %{version}
BuildRequires: rubygem(actionmailbox) = %{version}
BuildRequires: rubygem(actionmailer) = %{version}
BuildRequires: rubygem(actionpack) = %{version}
+BuildRequires: rubygem(action_text-trix)
BuildRequires: rubygem(actiontext) = %{version}
BuildRequires: rubygem(activejob) = %{version}
BuildRequires: rubygem(activerecord) = %{version}
BuildRequires: rubygem(activestorage) = %{version}
BuildRequires: rubygem(activesupport) = %{version}
+BuildRequires: rubygem(bcrypt)
BuildRequires: rubygem(bootsnap)
BuildRequires: rubygem(bundler)
BuildRequires: rubygem(capybara)
BuildRequires: rubygem(dalli)
+BuildRequires: rubygem(image_processing)
BuildRequires: rubygem(importmap-rails)
BuildRequires: rubygem(listen)
BuildRequires: rubygem(minitest-mock)
@@ -62,7 +57,7 @@ BuildRequires: rubygem(sqlite3)
BuildRequires: rubygem(thor)
BuildRequires: rubygem(zeitwerk)
BuildRequires: rubygem(webrick)
-BuildRequires: chromedriver chromium chromium-headless
+BuildRequires: chromedriver chromium
# Chromium availability is limited:
# https://src.fedoraproject.org/rpms/chromium/blob/0d9761748509bb12051ab149d28c1052cd834f87/f/chromium.spec#_800
# and chrome-headless even more:
@@ -91,11 +86,6 @@ Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}%{?prerelease} -b1
-%patch 1 -p2
-
-( cd %{builddir}
-%patch 0 -p2
-)
%build
gem build ../%{gem_name}-%{version}%{?prerelease}.gemspec
@@ -126,8 +116,6 @@ 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.
-touch ../tools/strict_warnings.rb
# Expected by InfoTest#test_rails_version
echo '%{version}%{?prerelease}' > ../RAILS_VERSION
@@ -137,14 +125,17 @@ echo 'gem "actioncable"' >> ../Gemfile
echo 'gem "actionmailbox"' >> ../Gemfile
echo 'gem "actionmailer"' >> ../Gemfile
echo 'gem "actionpack"' >> ../Gemfile
+echo 'gem "action_text-trix"' >> ../Gemfile
echo 'gem "actiontext"' >> ../Gemfile
echo 'gem "activejob"' >> ../Gemfile
echo 'gem "activerecord"' >> ../Gemfile
echo 'gem "activestorage"' >> ../Gemfile
echo 'gem "activesupport"' >> ../Gemfile
+echo 'gem "bcrypt"' >> ../Gemfile
echo 'gem "bootsnap"' >> ../Gemfile
echo 'gem "capybara"' >> ../Gemfile
echo 'gem "dalli"' >> ../Gemfile
+echo 'gem "image_processing"' >> ../Gemfile
echo 'gem "importmap-rails"' >> ../Gemfile
echo 'gem "listen"' >> ../Gemfile
echo 'gem "minitest-mock"' >> ../Gemfile
@@ -181,11 +172,6 @@ pg_ctl -o "-p 5432 -k ${PG_DIR}" -D ${PG_DATA_DIR} -l ${PG_DIR}/logfile start
sed -i -e '/require..minitest.retry./ s/^/#/' \
test/isolation/abstract_unit.rb
-# This test seems to fail due to specific sqlite3 configuration.
-# https://github.com/rails/rails/issues/49928
-sed -i '/test "db:drop failure because bad permissions" do$/a\ skip' \
- test/application/rake/dbs_test.rb
-
# TODO: Configure MySQL server to run MySQL test cases. There seems to be two
# test cases ATM:
# railties/test/application/test_runner_test.rb: use_mysql2
@@ -202,10 +188,6 @@ sed -i -r '/require\s.solid_(cable|queue)./i\ skip' test/commands/devcontaine
# Do not connect to the internet.
sed -i -r 's/\[bundle install\]/[bundle install --local]/' test/plugin_helpers.rb
-# Skip `rubocop-rails-omakase` dependency.
-sed -i -r 's/"--mountable"/"--mountable", "--skip-rubocop"/' test/engine/commands_test.rb
-sed -i -r 's/"--mountable"/"--mountable", "--skip-rubocop"/' test/engine/test_test.rb
-
# TODO: Mismatch in RAILS_FRAMEWORK_ROOT, not sure how to fix it.
sed -i '/test "i18n files have lower priority than application ones" do$/,/^ end$/ s/^/#/' \
test/railties/engine_test.rb
@@ -215,28 +197,46 @@ sed -i '/test "i18n files have lower priority than application ones" do$/,/^
sed -i '/test "displays statement invalid template correctly" do/a\
skip' test/application/middleware/exceptions_test.rb
-# It seems that ActionMailbox does not work properly. Why?
-sed -i '/^\s*def test_create_migrations/ a \ skip' \
- test/generators/action_mailbox_install_generator_test.rb
+# There is a diff between expected and real source locations, probably related
+# to the original Git repo setup:
+# ~~~
+# 1) Failure:
+# Rails::Command::RoutesTest#test_rails_routes_with_expanded_option [test/commands/routes_test.rb:251]:
+# --- expected
+# +++ actual
+# @@ -9,137 +9,137 @@
+# Verb | POST
+# URI | /rails/action_mailbox/postmark/inbound_emails(.:format)
+# Controller#Action | action_mailbox/ingresses/postmark/inbound_emails#create
+# -Source Location | /builddir/build/BUILD/rubygem-railties-8.1.2-build/railties-8.1.2/usr/share/gems/gems/actionmailbox/config/routes.rb:XX
+# +Source Location | actionmailbox (X.X.X) config/routes.rb:XX
+#
+# ... snip ...
+# ~~~
+sed -i "/rails_gem_root/i\\
+ skip 'This is somehow taylored to the Git Rails repo'" \
+ test/commands/routes_test.rb
# Requires `solid_cache`.
sed -i '/test_app_update_does_not_generate_public_files/a\
skip' test/generators/api_app_generator_test.rb
# We don't have {turbo,tailwindcss,cssbundling}-rails in Fedora.
-sed -r -i '/test_(hotwire|css_option_with_(asset_pipeline_tailwind|cssbundling_gem)|app_update|application_name_is_detected_if_it_exists_and_app_folder_renamed)/a\
+sed -r -i '/test_app_update/a\
+ skip' test/generators/app_generator_test.rb
+sed -r -i '/test_application_name_is_detected_if_it_exists_and_app_folder_renamed/a\
+ skip' test/generators/app_generator_test.rb
+sed -r -i '/test_ci_workflow_does_not_include_db_test_prepare_when_skip_active_record_is_given/a\
skip' test/generators/app_generator_test.rb
-# We don't have Rubycop in Fedora.
+# We don't have Rubocop in Fedora.
sed -r -i '/def test_generated_files_have_no_rubocop_warnings$/a\
skip' test/generators/shared_generator_tests.rb
-# The `bcrypt` gem is not re-added into Gemfile for some reason. Propably some
-# mismatch with GEMFILE path.
-sed -i '/def test_authentication_generator_without_bcrypt_in_gemfile$/a\ skip' \
- test/generators/authentication_generator_test.rb
-
# Drop `rubocop-rails-omakase` dependency.
+sed -i -r 's/"--mountable"/"--mountable", "--skip-rubocop"/' test/engine/commands_test.rb
+sed -i -r 's/"--mountable"/"--mountable", "--skip-rubocop"/' test/engine/test_test.rb
+
sed -i -r \
-e '/def test_ensure_that_migration_tasks_work_with_mountable_option$/,/^ end/ s/"--mountable"/"--mountable", "--skip-rubocop"/' \
-e '/def test_plugin_passes_generated_test$/,/^ end/ s/(run_generator)/\1 [destination_root, "--skip-rubocop"]/' \
@@ -250,14 +250,9 @@ sed -i -r '/with_new_plugin\(/ s/\)/, "--skip-rubocop")/' \
sed -i -r '/generate_plugin\(/ s/\)$/, "--skip-rubocop")/' \
test/generators/test_runner_in_engine_test.rb
-# ActiveMailbox routes are generated for some reason :/ Might be related to the
-# issues in test/generators/action_mailbox_install_generator_test.rb
-mv test/commands/routes_test.rb{,.disable}
-
-# This test is reaching for Active Storage test fixtures. While they could be
-# included among sources, ignore the test for the moment.
-# https://github.com/rails/rails/issues/54806
-mv test/application/active_storage/uploads_integration_test.rb{,.disable}
+# This would deserve similar upstream fix as:
+# https://github.com/rails/rails/pull/54864
+sed -i '/file_fixture_path/ s|".*"|"test/fixtures/files"|' test/application/active_storage/analyzers_integration_test.rb
# Tests needs to be executed in isolation. Also, use `bundle exec`, there
# is nothing to loose here and some tests depends on the Bundler (e.g.
@@ -294,6 +289,10 @@ rm -rf ${PG_DIR}
%doc %{gem_instdir}/README.rdoc
%changelog
+* Thu Jul 30 2026 Vít Ondruch <vondruch@redhat.com> - 8.1.2-1
+- Update to Railties 8.1.2.
+ Related: rhzb#2405582
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 67429d0..522c079 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (railties-8.0.3-tests.tar.gz) = 7b820d0427362817420f9785ae5e41a11210c85a92d9c75a527db0ffcaf3d1f6ceb5da665f49f32c87382330a2308455852d2f8041edb04ec1fed3494dac66d4
-SHA512 (railties-8.0.3.gem) = e97b2c79f54c83d0b7fa4e74a18c017e54b5f50a3d65dcece51d614ab9867a316d78b294c3e1b57588ceb68d3188fa5b99473203015fcca7cb783198fd436643
+SHA512 (railties-8.1.2-tests.tar.gz) = f2369599ed046b798b5366599be91701aed002af27d18afaf9307edb1b99bbfc96544f85fd59bd86bace13ca54e28526e8af6456346862d0b0d04f612a276cc9
+SHA512 (railties-8.1.2.gem) = 48faeb817e195ed8b5db46d776516972583c5eb0f65e9451de0b620443a2d5e0f32afd2e5df4ebdf9b3304a97095584d86e40f977188a430de80a0e3f03c0e85
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-30 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 11:32 [rpms/rubygem-railties] rawhide: Update to Railties 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