public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-activerecord] rawhide: Update to Active Record 8.1.2.
@ 2026-07-30 9:47
0 siblings, 0 replies; only message in thread
From: @ 2026-07-30 9:47 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rubygem-activerecord
Branch : rawhide
Commit : e596a651d45b85266cb57fe9d273fb96780f86ea
Author : Vít Ondruch <vondruch@redhat.com>
Date : 2026-07-30T10:11:05+02:00
Stats : +13/-43 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rubygem-activerecord/c/e596a651d45b85266cb57fe9d273fb96780f86ea?branch=rawhide
Log:
Update to Active Record 8.1.2.
Related: rhzb#2405582
---
diff --git a/rubygem-activerecord-8.0.1-Fix-sqlite3-dbconsole-not-working-outside-Rails.patch b/rubygem-activerecord-8.0.1-Fix-sqlite3-dbconsole-not-working-outside-Rails.patch
deleted file mode 100644
index 7f0a67a..0000000
--- a/rubygem-activerecord-8.0.1-Fix-sqlite3-dbconsole-not-working-outside-Rails.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 52f55ddd914b64cfc6221db3270c6755a1e21488 Mon Sep 17 00:00:00 2001
-From: Hartley McGuire <skipkayhil@gmail.com>
-Date: Tue, 11 Feb 2025 12:51:04 -0500
-Subject: [PATCH] Fix sqlite3 dbconsole not working outside Rails
-
-Another place in this file does the correct, `defined?` check, but this
-one assumes the `Rails` constant will exist.
----
- .../lib/active_record/connection_adapters/sqlite3_adapter.rb | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
-index d87a46d2d595a..6ca9a8ef7c061 100644
---- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
-+++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
-@@ -46,7 +46,7 @@ def dbconsole(config, options = {})
-
- args << "-#{options[:mode]}" if options[:mode]
- args << "-header" if options[:header]
-- args << File.expand_path(config.database, Rails.respond_to?(:root) ? Rails.root : nil)
-+ args << File.expand_path(config.database, defined?(Rails.root) ? Rails.root : nil)
-
- find_cmd_and_exec(ActiveRecord.database_cli[:sqlite], *args)
- end
diff --git a/rubygem-activerecord.spec b/rubygem-activerecord.spec
index 4c17974..32c7632 100644
--- a/rubygem-activerecord.spec
+++ b/rubygem-activerecord.spec
@@ -3,18 +3,15 @@
Name: rubygem-%{gem_name}
Epoch: 1
-Version: 8.0.3
-Release: 3%{?dist}
+Version: 8.1.2
+Release: 1%{?dist}
Summary: Object-relational mapper framework (part of Rails)
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/activerecord
-# git archive -v -o activerecord-8.0.3-tests.tar.gz v8.0.3 test/
+# git archive -v -o activerecord-8.1.2-tests.tar.gz v8.1.2 test/
Source1: activerecord-%{version}%{?prerelease}-tests.tar.gz
-# Fix undefined `Rails` constant in sqlite3 dbconsole.
-# https://github.com/rails/rails/pull/54498
-Patch0: rubygem-activerecord-8.0.1-Fix-sqlite3-dbconsole-not-working-outside-Rails.patch
# Database dump/load reuires the executable.
Suggests: %{_bindir}/sqlite3
@@ -30,14 +27,13 @@ BuildRequires: rubygem(rack)
BuildRequires: rubygem(pg)
BuildRequires: rubygem(zeitwerk)
BuildRequires: %{_bindir}/sqlite3
-BuildRequires: tzdata
BuildArch: noarch
%description
-Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database
-tables and classes together for business objects, like Customer or
-Subscription, that can find, save, and destroy themselves without resorting to
-manual SQL.
+Databases on Rails. Build a persistent domain model by mapping database tables
+to Ruby classes. Strong conventions for associations, validations,
+aggregations, migrations, and testing come baked-in.
+
%package doc
Summary: Documentation for %{name}
@@ -50,8 +46,6 @@ Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}%{?prerelease} -b 1
-%patch 0 -p2
-
%build
gem build ../%{gem_name}-%{version}%{?prerelease}.gemspec
%gem_install
@@ -83,10 +77,6 @@ ARCONN=sqlite3 ruby -Itest:lib -e '
# and sqlite3_mem does not have specific test cases.
for adapter in sqlite3; do
ARCONN=sqlite3 ruby -Itest:lib -e "
- # Rails is not defined for some reason :(
- # https://github.com/rails/rails/issues/54579
- module Rails; end
-
Dir.glob %|./test/cases/adapters/${adapter}/**/*_test.rb|, &method(:require)
"
done
@@ -106,6 +96,10 @@ done
%{gem_instdir}/examples
%changelog
+* Thu Jul 30 2026 Vít Ondruch <vondruch@redhat.com> - 1:8.1.2-1
+- Update to Active Record 8.1.2.
+ Related: rhzb#2405582
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 3c2d7e0..4bb5960 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (activerecord-8.0.3-tests.tar.gz) = a5dec7715349e3358cb9bb9c24ca0aebfe9bd9110b5495f30081c82946ef8001efbc0b71c83c12ea29c9eb6a3fb51950ef059c6e867aa73d422124cc23d575d0
-SHA512 (activerecord-8.0.3.gem) = c709f56e79bb69d40b583188c2bcf0f1da70cd54bf7a4fae715aeb150adf8bf587299163eb89af8771fc4286c5b604a4fcf796a0a63ed17a6532966d00684394
+SHA512 (activerecord-8.1.2-tests.tar.gz) = d224e032d919e3db64eceadfc1c324c338ade5e3abb248d636ee706e17d799791f392031f9bdcc6ccf3fb41a884484bc94d15c8421bd14bc8fb80e9b7c567f85
+SHA512 (activerecord-8.1.2.gem) = 7d6fa4ddbc66b24816b711288ee2183bae2ea3af04d8442d975686d92f349d7b2e3d2921a1ef94a46c65e3ea7fb182f58de3aaff0dbcdff05d47a2768bd4ae1d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-30 9:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 9:47 [rpms/rubygem-activerecord] rawhide: Update to Active Record 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