Hello community,
here is the log from the commit of package rubygem-actionmailer-5.2 for
openSUSE:Factory checked in at 2018-08-12 20:53:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionmailer-5.2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionmailer-5.2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-actionmailer-5.2"
Sun Aug 12 20:53:10 2018 rev:2 rq:628579 version:5.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionmailer-5.2/rubygem-actionmailer-5.2.changes
2018-07-18 22:47:06.756319097 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-actionmailer-5.2.new/rubygem-actionmailer-5.2.changes
2018-08-12 20:53:14.161207029 +0200
@@ -1,0 +2,8 @@
+Wed Aug 8 14:43:03 UTC 2018 - [email protected]
+
+- updated to version 5.2.1 (boo#1104209)
+
+ * Ensure mail gem is eager autoloaded when eager load is true to prevent
thread deadlocks.
+ (Samuel Cochran)
+
+-------------------------------------------------------------------
Old:
----
actionmailer-5.2.0.gem
New:
----
actionmailer-5.2.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionmailer-5.2.spec ++++++
--- /var/tmp/diff_new_pack.qp1Dks/_old 2018-08-12 20:53:14.545207808 +0200
+++ /var/tmp/diff_new_pack.qp1Dks/_new 2018-08-12 20:53:14.549207816 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-actionmailer-5.2
-Version: 5.2.0
+Version: 5.2.1
Release: 0
%define mod_name actionmailer
%define mod_full_name %{mod_name}-%{version}
++++++ actionmailer-5.2.0.gem -> actionmailer-5.2.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2018-04-09 22:04:35.000000000 +0200
+++ new/CHANGELOG.md 2018-08-07 23:42:12.000000000 +0200
@@ -1,3 +1,10 @@
+## Rails 5.2.1 (August 07, 2018) ##
+
+* Ensure mail gem is eager autoloaded when eager load is true to prevent
thread deadlocks.
+
+ *Samuel Cochran*
+
+
## Rails 5.2.0 (April 09, 2018) ##
* Bring back proc with arity of 1 in `ActionMailer::Base.default` proc
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_mailer/gem_version.rb
new/lib/action_mailer/gem_version.rb
--- old/lib/action_mailer/gem_version.rb 2018-04-09 22:04:35.000000000
+0200
+++ new/lib/action_mailer/gem_version.rb 2018-08-07 23:42:12.000000000
+0200
@@ -9,7 +9,7 @@
module VERSION
MAJOR = 5
MINOR = 2
- TINY = 0
+ TINY = 1
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_mailer/test_helper.rb
new/lib/action_mailer/test_helper.rb
--- old/lib/action_mailer/test_helper.rb 2018-04-09 22:04:35.000000000
+0200
+++ new/lib/action_mailer/test_helper.rb 2018-08-07 23:42:12.000000000
+0200
@@ -60,7 +60,7 @@
#
# Note: This assertion is simply a shortcut for:
#
- # assert_emails 0
+ # assert_emails 0, &block
def assert_no_emails(&block)
assert_emails 0, &block
end
@@ -93,20 +93,7 @@
assert_enqueued_jobs number, only: [ ActionMailer::DeliveryJob,
ActionMailer::Parameterized::DeliveryJob ], &block
end
- # Asserts that a specific email has been enqueued, optionally
- # matching arguments.
- #
- # def test_email
- # ContactMailer.welcome.deliver_later
- # assert_enqueued_email_with ContactMailer, :welcome
- # end
- #
- # def test_email_with_arguments
- # ContactMailer.welcome("Hello", "Goodbye").deliver_later
- # assert_enqueued_email_with ContactMailer, :welcome, args: ["Hello",
"Goodbye"]
- # end
- #
- # If a block is passed, that block should cause the specified email
+ # Asserts that block should cause the specified email
# to be enqueued.
#
# def test_email_in_block
@@ -115,7 +102,7 @@
# end
# end
#
- # If `args` is provided as a Hash, a parameterized email is matched.
+ # If +args+ is provided as a Hash, a parameterized email is matched.
#
# def test_parameterized_email
# assert_enqueued_email_with ContactMailer, :welcome,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_mailer.rb new/lib/action_mailer.rb
--- old/lib/action_mailer.rb 2018-04-09 22:04:35.000000000 +0200
+++ new/lib/action_mailer.rb 2018-08-07 23:42:12.000000000 +0200
@@ -52,6 +52,13 @@
autoload :TestHelper
autoload :MessageDelivery
autoload :DeliveryJob
+
+ def self.eager_load!
+ super
+
+ require "mail"
+ Mail.eager_autoload!
+ end
end
autoload :Mime, "action_dispatch/http/mime_type"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-04-09 22:04:35.000000000 +0200
+++ new/metadata 2018-08-07 23:42:12.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionmailer
version: !ruby/object:Gem::Version
- version: 5.2.0
+ version: 5.2.1
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2018-04-09 00:00:00.000000000 Z
+date: 2018-08-07 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: actionpack
@@ -16,42 +16,42 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.0
+ version: 5.2.1
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.0
+ version: 5.2.1
- !ruby/object:Gem::Dependency
name: actionview
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.0
+ version: 5.2.1
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.0
+ version: 5.2.1
- !ruby/object:Gem::Dependency
name: activejob
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.0
+ version: 5.2.1
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.0
+ version: 5.2.1
- !ruby/object:Gem::Dependency
name: mail
requirement: !ruby/object:Gem::Requirement
@@ -121,8 +121,8 @@
licenses:
- MIT
metadata:
- source_code_uri: https://github.com/rails/rails/tree/v5.2.0/actionmailer
- changelog_uri:
https://github.com/rails/rails/blob/v5.2.0/actionmailer/CHANGELOG.md
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.1/actionmailer
+ changelog_uri:
https://github.com/rails/rails/blob/v5.2.1/actionmailer/CHANGELOG.md
post_install_message:
rdoc_options: []
require_paths: