diff --git a/actionmailer-6.1.4.1.gem b/actionmailer-6.1.4.1.gem deleted file mode 100644 index 2a5414ae784189eedbba3d40b5f40569ef274fb0..0000000000000000000000000000000000000000 Binary files a/actionmailer-6.1.4.1.gem and /dev/null differ diff --git a/actionmailer-6.1.4.1-tests.txz b/actionmailer-7.0.4-tests.txz similarity index 90% rename from actionmailer-6.1.4.1-tests.txz rename to actionmailer-7.0.4-tests.txz index 90b162830a1b3ca76f811c22641a553c74785170..9a8339eab62138a0c10ab55f55960b9fbd849c98 100644 Binary files a/actionmailer-6.1.4.1-tests.txz and b/actionmailer-7.0.4-tests.txz differ diff --git a/actionmailer-7.0.4.gem b/actionmailer-7.0.4.gem new file mode 100644 index 0000000000000000000000000000000000000000..60f6b6034fe71e0c957bc1e290d0d31b51bbde39 Binary files /dev/null and b/actionmailer-7.0.4.gem differ diff --git a/rails-6.1.4.1-tools.txz b/rails-7.0.4-tools.txz similarity index 95% rename from rails-6.1.4.1-tools.txz rename to rails-7.0.4-tools.txz index 2a295780575dec0533adacc500837f9b5da9206a..a34575fdf39b93e8e835d608b0b5ba493a31d89d 100644 Binary files a/rails-6.1.4.1-tools.txz and b/rails-7.0.4-tools.txz differ diff --git a/rubygem-actionmailer.spec b/rubygem-actionmailer.spec index 3091f617bcf3e11af6bf83ec9652ebc849a4144d..b80f1b616375b33ae03af64f34ff4d268dea669c 100644 --- a/rubygem-actionmailer.spec +++ b/rubygem-actionmailer.spec @@ -2,13 +2,21 @@ Name: rubygem-%{gem_name} Epoch: 1 -Version: 6.1.4.1 +Version: 7.0.4 Release: 1 Summary: Email composition and delivery framework (part of Rails) License: MIT URL: https://rubyonrails.org Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +# ActionMailer gem doesn't ship with the test suite. +# You may check it out like so +# git clone http://github.com/rails/rails.git +# cd rails/actionmailer && git archive -v -o actionmailer-7.0.4-tests.txz v7.0.4 test/ Source1: actionmailer-%{version}-tests.txz +# The tools are needed for the test suite, are however unpackaged in gem file. +# You may get them like so +# git clone http://github.com/rails/rails.git --no-checkout +# cd rails && git archive -v -o rails-7.0.4-tools.txz v7.0.4 tools/ Source2: rails-%{version}-tools.txz BuildRequires: ruby(release) @@ -17,6 +25,7 @@ BuildRequires: ruby >= 2.2.2 BuildRequires: rubygem(actionpack) = %{version} BuildRequires: rubygem(activejob) = %{version} BuildRequires: rubygem(mail) >= 2.5.4 +BuildRequires: rubygem(net-smtp) BuildArch: noarch %description @@ -49,7 +58,9 @@ pushd .%{gem_instdir} ln -s %{_builddir}/tools .. mv %{_builddir}/test . -ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' +# Bigdecimal does not get auto-required +# https://github.com/rails/rails/issues/44399 +ruby -Ilib:test -rbigdecimal -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files @@ -65,6 +76,9 @@ popd %doc %{gem_instdir}/README.rdoc %changelog +* Thu Jan 19 2023 wangkai - 1:7.0.4-1 +- Upgrade to version 7.0.4 + * Wed May 04 2022 wangkerong - 6.1.4.1-1 - Upgrade to 6.1.4.1