actionmailer 5.2.0 → 5.2.1.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionmailer might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/action_mailer.rb +7 -0
- data/lib/action_mailer/gem_version.rb +2 -2
- data/lib/action_mailer/test_helper.rb +3 -16
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf91e059cd18f9e5ad2a1ff8c5c88f75b0325b5f8a6b1a57f95045919f55402b
|
4
|
+
data.tar.gz: 6fc01efd7a7f14c05fab721a7b1581ab9899445f4c6e51fa54882cc3191b7ea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6423c699796f9921b9ca8c86b8988a14e82e75650c2d8abf1763ce2e9809d7f1cf9a5fa8ee93817e3fe000c58a42215625d0fe5f68842502bc24a87856b51eec
|
7
|
+
data.tar.gz: c986492b5d339e508b816b7fc5c00eba065c88490124d8ddaaba9fd9a7f97cfaccaea0238907117b10a5e63202436376077c19e351d6a0b939732ac617671e37
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## Rails 5.2.1.rc1 (July 30, 2018) ##
|
2
|
+
|
3
|
+
* Ensure mail gem is eager autoloaded when eager load is true to prevent thread deadlocks.
|
4
|
+
|
5
|
+
*Samuel Cochran*
|
6
|
+
|
7
|
+
|
1
8
|
## Rails 5.2.0 (April 09, 2018) ##
|
2
9
|
|
3
10
|
* Bring back proc with arity of 1 in `ActionMailer::Base.default` proc
|
data/lib/action_mailer.rb
CHANGED
@@ -60,7 +60,7 @@ module ActionMailer
|
|
60
60
|
#
|
61
61
|
# Note: This assertion is simply a shortcut for:
|
62
62
|
#
|
63
|
-
# assert_emails 0
|
63
|
+
# assert_emails 0, &block
|
64
64
|
def assert_no_emails(&block)
|
65
65
|
assert_emails 0, &block
|
66
66
|
end
|
@@ -93,20 +93,7 @@ module ActionMailer
|
|
93
93
|
assert_enqueued_jobs number, only: [ ActionMailer::DeliveryJob, ActionMailer::Parameterized::DeliveryJob ], &block
|
94
94
|
end
|
95
95
|
|
96
|
-
# Asserts that
|
97
|
-
# matching arguments.
|
98
|
-
#
|
99
|
-
# def test_email
|
100
|
-
# ContactMailer.welcome.deliver_later
|
101
|
-
# assert_enqueued_email_with ContactMailer, :welcome
|
102
|
-
# end
|
103
|
-
#
|
104
|
-
# def test_email_with_arguments
|
105
|
-
# ContactMailer.welcome("Hello", "Goodbye").deliver_later
|
106
|
-
# assert_enqueued_email_with ContactMailer, :welcome, args: ["Hello", "Goodbye"]
|
107
|
-
# end
|
108
|
-
#
|
109
|
-
# If a block is passed, that block should cause the specified email
|
96
|
+
# Asserts that block should cause the specified email
|
110
97
|
# to be enqueued.
|
111
98
|
#
|
112
99
|
# def test_email_in_block
|
@@ -115,7 +102,7 @@ module ActionMailer
|
|
115
102
|
# end
|
116
103
|
# end
|
117
104
|
#
|
118
|
-
# If
|
105
|
+
# If +args+ is provided as a Hash, a parameterized email is matched.
|
119
106
|
#
|
120
107
|
# def test_parameterized_email
|
121
108
|
# assert_enqueued_email_with ContactMailer, :welcome,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionmailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.1.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.2.
|
19
|
+
version: 5.2.1.rc1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.2.
|
26
|
+
version: 5.2.1.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionview
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.2.
|
33
|
+
version: 5.2.1.rc1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.2.
|
40
|
+
version: 5.2.1.rc1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activejob
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 5.2.
|
47
|
+
version: 5.2.1.rc1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 5.2.
|
54
|
+
version: 5.2.1.rc1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: mail
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,8 +121,8 @@ homepage: http://rubyonrails.org
|
|
121
121
|
licenses:
|
122
122
|
- MIT
|
123
123
|
metadata:
|
124
|
-
source_code_uri: https://github.com/rails/rails/tree/v5.2.
|
125
|
-
changelog_uri: https://github.com/rails/rails/blob/v5.2.
|
124
|
+
source_code_uri: https://github.com/rails/rails/tree/v5.2.1.rc1/actionmailer
|
125
|
+
changelog_uri: https://github.com/rails/rails/blob/v5.2.1.rc1/actionmailer/CHANGELOG.md
|
126
126
|
post_install_message:
|
127
127
|
rdoc_options: []
|
128
128
|
require_paths:
|
@@ -134,13 +134,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: 2.2.2
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - ">"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: 1.3.1
|
140
140
|
requirements:
|
141
141
|
- none
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.7.
|
143
|
+
rubygems_version: 2.7.3
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Email composition, delivery, and receiving framework (part of Rails).
|