[rubygem-actionmailer] Update to ActionMailer 4.0.0

Josef Stribny jstribny at fedoraproject.org
Thu Aug 8 13:26:13 UTC 2013


commit 8607fe59d44877bb5b9ed1c67127f0ae3038e9aa
Author: Josef Stribny <jstribny at redhat.com>
Date:   Thu Aug 8 15:25:41 2013 +0200

    Update to ActionMailer 4.0.0

 .gitignore                |    2 ++
 rubygem-actionmailer.spec |   18 ++++++++++++------
 sources                   |    4 ++--
 3 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3d3e90e..62b60b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,5 @@ actionmailer-2.3.5.gem
 /actionmailer-3.2.12.gem
 /actionmailer-3.2.13-tests.tgz
 /actionmailer-3.2.13.gem
+/actionmailer-4.0.0-tests.tgz
+/actionmailer-4.0.0.gem
diff --git a/rubygem-actionmailer.spec b/rubygem-actionmailer.spec
index e523ddb..afd285b 100644
--- a/rubygem-actionmailer.spec
+++ b/rubygem-actionmailer.spec
@@ -5,8 +5,8 @@
 Summary: Service layer for easy email delivery and testing
 Name: rubygem-%{gem_name}
 Epoch: 1
-Version: 3.2.13
-Release: 2%{?dist}
+Version: 4.0.0
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
@@ -17,8 +17,8 @@ Source0: http://rubygems.org/downloads/actionmailer-%{version}.gem
 # You may check it out like so
 # git clone http://github.com/rails/rails.git
 # cd rails/actionmailer/
-# git checkout v3.2.13
-# tar czvf actionmailer-3.2.13-tests.tgz test/
+# git checkout v4.0.0
+# tar czvf actionmailer-4.0.0-tests.tgz test/
 Source2: actionmailer-%{version}-tests.tgz
 
 # Let's keep Requires and BuildRequires sorted alphabeticaly
@@ -79,9 +79,12 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
 pushd .%{gem_instdir}
 
 # load_path is not available, remove its require.
-sed -i '8,+1d' test/abstract_unit.rb
+sed -i '1d' test/abstract_unit.rb
 
-ruby -Itest -I. -e "Dir.glob('test/**/*_test.rb').each {|t| require t}"
+# Wrong assumpsion in test; fixed upstrem
+# https://github.com/rails/rails/pull/10646
+ruby -Ilib:test -I. -e "Dir.glob('test/**/*_test.rb').each {|t| require t}" | \
+  grep '126 tests, 291 assertions, 1 failures, 0 errors, 0 skips'
 popd
 
 %files
@@ -98,6 +101,9 @@ popd
 %{gem_instdir}/test
 
 %changelog
+* Thu Aug 01 2013 Josef Stribny <jstribny at redhat.com> - 1:4.0.0-1
+- Update to ActionMailer 4.0.0.
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:3.2.13-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 6262f70..9b3f1af 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-583a9e7440b6b6f3f7f3d049c5345cd7  actionmailer-3.2.13-tests.tgz
-574aeee87a6bf4a92ad630c5863f5a9b  actionmailer-3.2.13.gem
+c0e494321a0f74711bd2217b4714c506  actionmailer-4.0.0-tests.tgz
+c3826fd2fed7ae30a6b5c1025dc3f6a8  actionmailer-4.0.0.gem


More information about the scm-commits mailing list