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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c69c4acc05580bda7999c695c08806375034267d1611e7cc7700d0e693ba99f8
4
- data.tar.gz: 7779f9f1f95c63bfb8684a87fa339f0816c1b90697a476b313d49937d142e1ea
3
+ metadata.gz: bf91e059cd18f9e5ad2a1ff8c5c88f75b0325b5f8a6b1a57f95045919f55402b
4
+ data.tar.gz: 6fc01efd7a7f14c05fab721a7b1581ab9899445f4c6e51fa54882cc3191b7ea6
5
5
  SHA512:
6
- metadata.gz: d8c9e3971773145914cc558310980715d381990d963b304e767754a027e9b274dcbddf93f1be9b25618614f5cf3f0e577c646adc6d74fbcc87d3bf6b08fa75f3
7
- data.tar.gz: 5c17acf917be9450e3e45b6ce54a9a19f7ad9cb78d7d759a2fa2a5b8d0209a15390b548f4c5d9c85f520074816a9c1c6ef48cd117222456f34e73dd94bb4e173
6
+ metadata.gz: 6423c699796f9921b9ca8c86b8988a14e82e75650c2d8abf1763ce2e9809d7f1cf9a5fa8ee93817e3fe000c58a42215625d0fe5f68842502bc24a87856b51eec
7
+ data.tar.gz: c986492b5d339e508b816b7fc5c00eba065c88490124d8ddaaba9fd9a7f97cfaccaea0238907117b10a5e63202436376077c19e351d6a0b939732ac617671e37
@@ -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
@@ -52,6 +52,13 @@ module ActionMailer
52
52
  autoload :TestHelper
53
53
  autoload :MessageDelivery
54
54
  autoload :DeliveryJob
55
+
56
+ def self.eager_load!
57
+ super
58
+
59
+ require "mail"
60
+ Mail.eager_autoload!
61
+ end
55
62
  end
56
63
 
57
64
  autoload :Mime, "action_dispatch/http/mime_type"
@@ -9,8 +9,8 @@ module ActionMailer
9
9
  module VERSION
10
10
  MAJOR = 5
11
11
  MINOR = 2
12
- TINY = 0
13
- PRE = nil
12
+ TINY = 1
13
+ PRE = "rc1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -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 a specific email has been enqueued, optionally
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 `args` is provided as a Hash, a parameterized email is matched.
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.0
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-04-09 00:00:00.000000000 Z
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.0
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.0
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.0
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.0
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.0
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.0
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.0/actionmailer
125
- changelog_uri: https://github.com/rails/rails/blob/v5.2.0/actionmailer/CHANGELOG.md
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: '0'
139
+ version: 1.3.1
140
140
  requirements:
141
141
  - none
142
142
  rubyforge_project:
143
- rubygems_version: 2.7.6
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).