actionmailer 7.0.0.rc3 → 7.0.2.1

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: 710c053793efa82d0a4adcaf8517552dcd1645974e74c0429d11b3889c1cd524
4
- data.tar.gz: eccac3d1f2c375b1191ac470965bb7646dc4ae8a78b10ee6b0fdc4618cc156d4
3
+ metadata.gz: 61f77a032f51ae7d7f09dbac30719bea78d736b1740ae54c60c17e9ac45e9c02
4
+ data.tar.gz: 5d2050e5ac6347b17f853ecd77b270e5db1a5858be6b6bb8d71de96d265ec8a4
5
5
  SHA512:
6
- metadata.gz: 588163ac52858454d0e7bedaf5b4a46df7fc85aafd49c9b884f59ef6350e307e09aba53a325292783a5cafe6c9c00f11f3862c7c046274bd394920da88e95f48
7
- data.tar.gz: cf5bd72590a01fa9a5b9ed13ee2dbb52e1f4d8b9bcb432b49f453384327a6e60cda2cbebd39fd9e9732776ed7d5108ec4230525ca3e9fd07e4e100cd8a9c8c9f
6
+ metadata.gz: 2924a3bd38406e57c99e127aba06d32a229a6ca702845b3e96da1e059d6801ffa637facefc05492a9f0b13bef3435b772ee18dea57f510834d0d298e3753adb8
7
+ data.tar.gz: 31c3302056ebcf3f8cc2e2e654e319f03e00617dd4636f7917222cba94a22a23bb8faee9cdb1485366755f8f15dd7e1bfcc7de9cea26939d039bc65891ad19c0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## Rails 7.0.2.1 (February 11, 2022) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.0.2 (February 08, 2022) ##
7
+
8
+ * No changes.
9
+
10
+
11
+ ## Rails 7.0.1 (January 06, 2022) ##
12
+
13
+ * Keep configuration of `smtp_settings` consistent between 6.1 and 7.0.
14
+
15
+ *André Luis Leal Cardoso Junior*
16
+
17
+
18
+ ## Rails 7.0.0 (December 15, 2021) ##
19
+
20
+ * No changes.
21
+
22
+
1
23
  ## Rails 7.0.0.rc3 (December 14, 2021) ##
2
24
 
3
25
  * No changes.
@@ -5,6 +27,10 @@
5
27
 
6
28
  ## Rails 7.0.0.rc2 (December 14, 2021) ##
7
29
 
30
+ * No changes.
31
+
32
+ ## Rails 7.0.0.rc1 (December 06, 2021) ##
33
+
8
34
  * Remove deprecated `ActionMailer::DeliveryJob` and `ActionMailer::Parameterized::DeliveryJob`
9
35
  in favor of `ActionMailer::MailDeliveryJob`.
10
36
 
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2004-2021 David Heinemeier Hansson
1
+ Copyright (c) 2004-2022 David Heinemeier Hansson
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -402,6 +402,7 @@ module ActionMailer
402
402
  # This is a symbol and one of <tt>:plain</tt> (will send the password Base64 encoded), <tt>:login</tt> (will
403
403
  # send the password Base64 encoded) or <tt>:cram_md5</tt> (combines a Challenge/Response mechanism to exchange
404
404
  # information and a cryptographic Message Digest 5 algorithm to hash important information)
405
+ # * <tt>:enable_starttls</tt> - Use STARTTLS when connecting to your SMTP server and fail if unsupported. Defaults to <tt>false</tt>.
405
406
  # * <tt>:enable_starttls_auto</tt> - Detects if STARTTLS is enabled in your SMTP server and starts
406
407
  # to use it. Defaults to <tt>true</tt>.
407
408
  # * <tt>:openssl_verify_mode</tt> - When using TLS, you can set how OpenSSL checks the certificate. This is
@@ -9,8 +9,8 @@ module ActionMailer
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 0
13
- PRE = "rc3"
12
+ TINY = 2
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -23,6 +23,7 @@ module ActionMailer
23
23
  options.stylesheets_dir ||= paths["public/stylesheets"].first
24
24
  options.show_previews = Rails.env.development? if options.show_previews.nil?
25
25
  options.cache_store ||= Rails.cache
26
+ options.smtp_settings ||= {}
26
27
 
27
28
  if options.show_previews
28
29
  options.preview_path ||= defined?(Rails.root) ? "#{Rails.root}/test/mailers/previews" : nil
@@ -45,13 +46,9 @@ module ActionMailer
45
46
  self.delivery_job = delivery_job.constantize
46
47
  end
47
48
 
48
- if smtp_settings = options.delete(:smtp_settings)
49
- self.smtp_settings = smtp_settings
50
- end
51
-
52
49
  if smtp_timeout = options.delete(:smtp_timeout)
53
- self.smtp_settings[:open_timeout] ||= smtp_timeout
54
- self.smtp_settings[:read_timeout] ||= smtp_timeout
50
+ options.smtp_settings[:open_timeout] ||= smtp_timeout
51
+ options.smtp_settings[:read_timeout] ||= smtp_timeout
55
52
  end
56
53
 
57
54
  options.each { |k, v| send("#{k}=", v) }
data/lib/action_mailer.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #--
4
- # Copyright (c) 2004-2021 David Heinemeier Hansson
4
+ # Copyright (c) 2004-2022 David Heinemeier Hansson
5
5
  #
6
6
  # Permission is hereby granted, free of charge, to any person obtaining
7
7
  # a copy of this software and associated documentation files (the
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: 7.0.0.rc3
4
+ version: 7.0.2.1
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: 2021-12-14 00:00:00.000000000 Z
11
+ date: 2022-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.0.rc3
19
+ version: 7.0.2.1
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: 7.0.0.rc3
26
+ version: 7.0.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 7.0.0.rc3
33
+ version: 7.0.2.1
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: 7.0.0.rc3
40
+ version: 7.0.2.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: actionview
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 7.0.0.rc3
47
+ version: 7.0.2.1
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: 7.0.0.rc3
54
+ version: 7.0.2.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activejob
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 7.0.0.rc3
61
+ version: 7.0.2.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 7.0.0.rc3
68
+ version: 7.0.2.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mail
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +86,48 @@ dependencies:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: 2.5.4
89
+ - !ruby/object:Gem::Dependency
90
+ name: net-imap
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: net-pop
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: net-smtp
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
89
131
  - !ruby/object:Gem::Dependency
90
132
  name: rails-dom-testing
91
133
  requirement: !ruby/object:Gem::Requirement
@@ -136,10 +178,10 @@ licenses:
136
178
  - MIT
137
179
  metadata:
138
180
  bug_tracker_uri: https://github.com/rails/rails/issues
139
- changelog_uri: https://github.com/rails/rails/blob/v7.0.0.rc3/actionmailer/CHANGELOG.md
140
- documentation_uri: https://api.rubyonrails.org/v7.0.0.rc3/
181
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.2.1/actionmailer/CHANGELOG.md
182
+ documentation_uri: https://api.rubyonrails.org/v7.0.2.1/
141
183
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
142
- source_code_uri: https://github.com/rails/rails/tree/v7.0.0.rc3/actionmailer
184
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.2.1/actionmailer
143
185
  rubygems_mfa_required: 'true'
144
186
  post_install_message:
145
187
  rdoc_options: []
@@ -152,12 +194,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
152
194
  version: 2.7.0
153
195
  required_rubygems_version: !ruby/object:Gem::Requirement
154
196
  requirements:
155
- - - ">"
197
+ - - ">="
156
198
  - !ruby/object:Gem::Version
157
- version: 1.3.1
199
+ version: '0'
158
200
  requirements:
159
201
  - none
160
- rubygems_version: 3.2.15
202
+ rubygems_version: 3.2.22
161
203
  signing_key:
162
204
  specification_version: 4
163
205
  summary: Email composition and delivery framework (part of Rails).