actionmailer 7.0.0.rc1 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eeaac20ea2d91009e6fb6e0e9f080316fe884071adc62627b3a5469699288535
4
- data.tar.gz: b9db25aa1577ee0611ea79b8b4a6c1336a1102c4a0d6fd11ff4fe8ec8f38ecf5
3
+ metadata.gz: 63a6c88f7cffb908bae4ffbd1b19e53201612220fd86fe7e7e8d413bd6e07c87
4
+ data.tar.gz: 4384bccc6a357edc8c0a3d72079b52f3d38e3fc0f8984bf9c71fef1744c0e7a6
5
5
  SHA512:
6
- metadata.gz: 9b30795e1a90f4de721aa9c1b1dbdfba9d7faa2b61b0623260d29be422f4b35f3fb7e3b074c79c35cadf5f6c4a666767462751326f76229e2cd9af2d5e6fc1e5
7
- data.tar.gz: 6769fe17016fe9a091648514721b17d77daeb928cf20ff37af6e0a406de6c783159ac4567b3a3e4e3970bf673986b1df9e2d50a8aeeb335b21c92c70a68ab7e5
6
+ metadata.gz: 702ea0250c272769f0f61a0f636ab6abce6269c8b2eece948f0dd736e28b0b0a87b44ea20e19e647c99e8f914f73aea59f2105eeb1bf9088ee7c813f938eb0c5
7
+ data.tar.gz: 7aa3af91369c81f95f10554ae0f092a52c785b0e3802fb964f15d9bf238a6934d2463d7d93e3873191e140610d61a85e8d69e5c72669a336d639417195086aef
data/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## Rails 7.0.1 (January 06, 2022) ##
2
+
3
+ * Keep configuration of `smtp_settings` consistent between 6.1 and 7.0.
4
+
5
+ *André Luis Leal Cardoso Junior*
6
+
7
+
8
+ ## Rails 7.0.0 (December 15, 2021) ##
9
+
10
+ * No changes.
11
+
12
+
13
+ ## Rails 7.0.0.rc3 (December 14, 2021) ##
14
+
15
+ * No changes.
16
+
17
+
18
+ ## Rails 7.0.0.rc2 (December 14, 2021) ##
19
+
20
+ * No changes.
21
+
22
+ ## Rails 7.0.0.rc1 (December 06, 2021) ##
23
+
1
24
  * Remove deprecated `ActionMailer::DeliveryJob` and `ActionMailer::Parameterized::DeliveryJob`
2
25
  in favor of `ActionMailer::MailDeliveryJob`.
3
26
 
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 = "rc1"
12
+ TINY = 1
13
+ PRE = nil
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.rc1
4
+ version: 7.0.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-06 00:00:00.000000000 Z
11
+ date: 2022-01-06 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.rc1
19
+ version: 7.0.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.rc1
26
+ version: 7.0.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.rc1
33
+ version: 7.0.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.rc1
40
+ version: 7.0.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.rc1
47
+ version: 7.0.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.rc1
54
+ version: 7.0.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.rc1
61
+ version: 7.0.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.rc1
68
+ version: 7.0.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.rc1/actionmailer/CHANGELOG.md
140
- documentation_uri: https://api.rubyonrails.org/v7.0.0.rc1/
181
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.1/actionmailer/CHANGELOG.md
182
+ documentation_uri: https://api.rubyonrails.org/v7.0.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.rc1/actionmailer
184
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.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.22
202
+ rubygems_version: 3.2.32
161
203
  signing_key:
162
204
  specification_version: 4
163
205
  summary: Email composition and delivery framework (part of Rails).