actionmailer 6.1.4.7 → 6.1.6

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: 65f0a18daa9a4ef90dbcaadac0c0944cf503c001941d6603842f4d27cd06dde3
4
- data.tar.gz: c90efc03de1673b7cc9ea38ba1e0f714bc93ff8a83c82ecdbe3da8239adc534a
3
+ metadata.gz: c9ded5a148624dcd847e1e726b12d51bbb0e100205f2c309f7096852b73b08de
4
+ data.tar.gz: 28242dad8649b8638397366b74173353e7b8e73b7136dc3958a67e98cce147e2
5
5
  SHA512:
6
- metadata.gz: 31588eb9aed8ef3e6d856da925685a8797c0962adb4a11c51a1bdc45d698a9bd13ab1dc233cd341817983350abc70c98c07268daef0e79059e937a2447de40a0
7
- data.tar.gz: 58fa1ca413c07de1d5f4f6942605155d6a6e8ac62eae0b26f47840f2e56f4b6ddb32aace31f8fea4288e62fa037c1cf81f6f55fb2b89a157f361ed9e06592942
6
+ metadata.gz: 10965746ce72cc60082071117a7b734e217d5a60da892701dab0001f608c0f9e59df9b38f9b6035ccb6ddc8c177c82353f05ea722c49bb8c94a8e53bc18caa20
7
+ data.tar.gz: 45a08dcd83bb399edde82af12228fd400b251dbebb9397f7fd2c92e478fa7a3ba927b7a8478c2876af0c67b1060c615feb2618e040cae089c04ee07ec0161c32
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 6.1.5.1 (April 26, 2022) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 6.1.5 (March 09, 2022) ##
7
+
8
+ * No changes.
9
+
10
+
1
11
  ## Rails 6.1.4.7 (March 08, 2022) ##
2
12
 
3
13
  * No changes.
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2004-2020 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
@@ -18,4 +18,3 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
18
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
19
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
20
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
-
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "mail"
3
+ require "action_mailer/mail_with_error_handling"
4
4
  require "action_mailer/collector"
5
5
  require "active_support/core_ext/string/inflections"
6
6
  require "active_support/core_ext/hash/except"
@@ -15,7 +15,7 @@ module ActionMailer
15
15
  before_perform do
16
16
  ActiveSupport::Deprecation.warn <<~MSG.squish
17
17
  Sending mail with DeliveryJob and Parameterized::DeliveryJob
18
- is deprecated and will be removed in Rails 6.2.
18
+ is deprecated and will be removed in Rails 7.0.
19
19
  Please use MailDeliveryJob instead.
20
20
  MSG
21
21
  end
@@ -9,8 +9,8 @@ module ActionMailer
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
- TINY = 4
13
- PRE = "7"
12
+ TINY = 6
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ begin
4
+ require "mail"
5
+ rescue LoadError => error
6
+ if error.message.match?(/net\/smtp/)
7
+ $stderr.puts "You don't have net-smtp installed in your application. Please add it to your Gemfile and run bundle install"
8
+ raise
9
+ end
10
+ end
@@ -150,7 +150,7 @@ module ActionMailer
150
150
  @mailer_class.name, @action.to_s, delivery_method.to_s, *@args)
151
151
  else
152
152
  ActiveSupport::Deprecation.warn(<<~EOM)
153
- In Rails 6.2, Action Mailer will pass the mail arguments inside the `:args` keyword argument.
153
+ In Rails 7.0, Action Mailer will pass the mail arguments inside the `:args` keyword argument.
154
154
  The `perform` method of the #{job} needs to change and forward the mail arguments
155
155
  from the `args` keyword argument.
156
156
 
@@ -171,7 +171,7 @@ module ActionMailer
171
171
  parameters.find do |key, name|
172
172
  return true if key == :keyreq && name == :args
173
173
 
174
- key == :keyrest
174
+ key == :keyrest and name != :**
175
175
  end
176
176
  end
177
177
  end
data/lib/action_mailer.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #--
4
- # Copyright (c) 2004-2020 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
@@ -57,7 +57,7 @@ module ActionMailer
57
57
  def self.eager_load!
58
58
  super
59
59
 
60
- require "mail"
60
+ require "action_mailer/mail_with_error_handling"
61
61
  Mail.eager_autoload!
62
62
  end
63
63
  end
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: 6.1.4.7
4
+ version: 6.1.6
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: 2022-03-08 00:00:00.000000000 Z
11
+ date: 2022-05-09 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: 6.1.4.7
19
+ version: 6.1.6
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: 6.1.4.7
26
+ version: 6.1.6
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: 6.1.4.7
33
+ version: 6.1.6
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: 6.1.4.7
40
+ version: 6.1.6
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: 6.1.4.7
47
+ version: 6.1.6
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: 6.1.4.7
54
+ version: 6.1.6
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: 6.1.4.7
61
+ version: 6.1.6
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: 6.1.4.7
68
+ version: 6.1.6
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mail
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -120,6 +120,7 @@ files:
120
120
  - lib/action_mailer/log_subscriber.rb
121
121
  - lib/action_mailer/mail_delivery_job.rb
122
122
  - lib/action_mailer/mail_helper.rb
123
+ - lib/action_mailer/mail_with_error_handling.rb
123
124
  - lib/action_mailer/message_delivery.rb
124
125
  - lib/action_mailer/parameterized.rb
125
126
  - lib/action_mailer/preview.rb
@@ -137,10 +138,11 @@ licenses:
137
138
  - MIT
138
139
  metadata:
139
140
  bug_tracker_uri: https://github.com/rails/rails/issues
140
- changelog_uri: https://github.com/rails/rails/blob/v6.1.4.7/actionmailer/CHANGELOG.md
141
- documentation_uri: https://api.rubyonrails.org/v6.1.4.7/
141
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.6/actionmailer/CHANGELOG.md
142
+ documentation_uri: https://api.rubyonrails.org/v6.1.6/
142
143
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
143
- source_code_uri: https://github.com/rails/rails/tree/v6.1.4.7/actionmailer
144
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.6/actionmailer
145
+ rubygems_mfa_required: 'true'
144
146
  post_install_message:
145
147
  rdoc_options: []
146
148
  require_paths:
@@ -157,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
159
  version: '0'
158
160
  requirements:
159
161
  - none
160
- rubygems_version: 3.1.6
162
+ rubygems_version: 3.3.7
161
163
  signing_key:
162
164
  specification_version: 4
163
165
  summary: Email composition and delivery framework (part of Rails).