actionmailer 5.1.7 → 5.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +12 -91
- data/README.rdoc +1 -1
- data/lib/action_mailer.rb +2 -0
- data/lib/action_mailer/base.rb +8 -20
- data/lib/action_mailer/collector.rb +2 -0
- data/lib/action_mailer/delivery_job.rb +2 -0
- data/lib/action_mailer/delivery_methods.rb +7 -12
- data/lib/action_mailer/gem_version.rb +5 -3
- data/lib/action_mailer/inline_preview_interceptor.rb +2 -0
- data/lib/action_mailer/log_subscriber.rb +2 -0
- data/lib/action_mailer/mail_helper.rb +2 -0
- data/lib/action_mailer/message_delivery.rb +21 -2
- data/lib/action_mailer/parameterized.rb +2 -0
- data/lib/action_mailer/preview.rb +16 -9
- data/lib/action_mailer/railtie.rb +8 -0
- data/lib/action_mailer/rescuable.rb +3 -1
- data/lib/action_mailer/test_case.rb +2 -0
- data/lib/action_mailer/test_helper.rb +44 -0
- data/lib/action_mailer/version.rb +2 -0
- data/lib/rails/generators/mailer/mailer_generator.rb +3 -1
- data/lib/rails/generators/mailer/templates/{application_mailer.rb → application_mailer.rb.tt} +0 -0
- data/lib/rails/generators/mailer/templates/{mailer.rb → mailer.rb.tt} +0 -0
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e523eb4e2f1d78411521778e43eb15a8f245c788
|
4
|
+
data.tar.gz: 7a626ca99f22910610d817b7877583c593e5d688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 868c9832b7aecbba7008c4d46faefcdf02ac5f59e6d6ce8b02a5ed114c73afc587c8e685190f21a1f8cad4fb1d11757516162f60668720a1171c714382333cf6
|
7
|
+
data.tar.gz: a106e88fe583fb203f7fbddc61ea97e689b2cb93c7982610e01d3f0a3d8b397226f4d6ddcd99ccb44b579bff76e8c9501c7d64caf86cf2f2d310ac43f717f7a3
|
data/CHANGELOG.md
CHANGED
@@ -1,101 +1,22 @@
|
|
1
|
-
## Rails 5.
|
1
|
+
## Rails 5.2.0.beta1 (November 27, 2017) ##
|
2
2
|
|
3
|
-
*
|
3
|
+
* Add `assert_enqueued_email_with` test helper.
|
4
4
|
|
5
|
+
assert_enqueued_email_with ContactMailer, :welcome do
|
6
|
+
ContactMailer.welcome.deliver_later
|
7
|
+
end
|
5
8
|
|
6
|
-
|
7
|
-
|
8
|
-
* No changes.
|
9
|
-
|
10
|
-
|
11
|
-
## Rails 5.1.6.1 (November 27, 2018) ##
|
12
|
-
|
13
|
-
* No changes.
|
14
|
-
|
15
|
-
|
16
|
-
## Rails 5.1.6 (March 29, 2018) ##
|
17
|
-
|
18
|
-
* No changes.
|
19
|
-
|
20
|
-
|
21
|
-
## Rails 5.1.5 (February 14, 2018) ##
|
22
|
-
|
23
|
-
* Bring back proc with arity of 1 in `ActionMailer::Base.default` proc
|
24
|
-
since it was supported in Rails 5.0 but not deprecated.
|
25
|
-
|
26
|
-
*Jimmy Bourassa*
|
27
|
-
|
28
|
-
|
29
|
-
## Rails 5.1.4 (September 07, 2017) ##
|
30
|
-
|
31
|
-
* No changes.
|
32
|
-
|
33
|
-
|
34
|
-
## Rails 5.1.4.rc1 (August 24, 2017) ##
|
35
|
-
|
36
|
-
* No changes.
|
37
|
-
|
38
|
-
|
39
|
-
## Rails 5.1.3 (August 03, 2017) ##
|
40
|
-
|
41
|
-
* No changes.
|
42
|
-
|
43
|
-
|
44
|
-
## Rails 5.1.3.rc3 (July 31, 2017) ##
|
45
|
-
|
46
|
-
* No changes.
|
47
|
-
|
48
|
-
|
49
|
-
## Rails 5.1.3.rc2 (July 25, 2017) ##
|
50
|
-
|
51
|
-
* No changes.
|
52
|
-
|
53
|
-
|
54
|
-
## Rails 5.1.3.rc1 (July 19, 2017) ##
|
55
|
-
|
56
|
-
* No changes.
|
57
|
-
|
58
|
-
|
59
|
-
## Rails 5.1.2 (June 26, 2017) ##
|
60
|
-
|
61
|
-
* No changes.
|
62
|
-
|
63
|
-
|
64
|
-
## Rails 5.1.1 (May 12, 2017) ##
|
65
|
-
|
66
|
-
* No changes.
|
67
|
-
|
68
|
-
|
69
|
-
## Rails 5.1.0 (April 27, 2017) ##
|
70
|
-
|
71
|
-
* Add `:args` to `process.action_mailer` event.
|
72
|
-
|
73
|
-
*Yuji Yaginuma*
|
74
|
-
|
75
|
-
* Add parameterized invocation of mailers as a way to share before filters and defaults between actions.
|
76
|
-
See `ActionMailer::Parameterized` for a full example of the benefit.
|
77
|
-
|
78
|
-
*DHH*
|
79
|
-
|
80
|
-
* Allow lambdas to be used as lazy defaults in addition to procs.
|
81
|
-
|
82
|
-
*DHH*
|
9
|
+
*Mikkel Malmberg*
|
83
10
|
|
84
|
-
*
|
85
|
-
and attachments.
|
11
|
+
* Allow Action Mailer classes to configure their delivery job.
|
86
12
|
|
87
|
-
|
13
|
+
class MyMailer < ApplicationMailer
|
14
|
+
self.delivery_job = MyCustomDeliveryJob
|
88
15
|
|
89
|
-
|
90
|
-
attachments["invoice.pdf"] = "This is test File content"
|
91
|
-
mail(body: "Hello there", content_type: "text/html")
|
16
|
+
...
|
92
17
|
end
|
93
18
|
|
94
|
-
*
|
95
|
-
|
96
|
-
* Exception handling: use `rescue_from` to handle exceptions raised by
|
97
|
-
mailer actions, by message delivery, and by deferred delivery jobs.
|
19
|
+
*Matthew Mongeau*
|
98
20
|
|
99
|
-
*Jeremy Daer*
|
100
21
|
|
101
|
-
Please check [5-
|
22
|
+
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actionmailer/CHANGELOG.md) for previous changes.
|
data/README.rdoc
CHANGED
data/lib/action_mailer.rb
CHANGED
data/lib/action_mailer/base.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "mail"
|
2
4
|
require "action_mailer/collector"
|
3
5
|
require "active_support/core_ext/string/inflections"
|
@@ -57,7 +59,7 @@ module ActionMailer
|
|
57
59
|
# The hash passed to the mail method allows you to specify any header that a <tt>Mail::Message</tt>
|
58
60
|
# will accept (any valid email header including optional fields).
|
59
61
|
#
|
60
|
-
# The mail method, if not passed a block, will inspect your views and send all the views with
|
62
|
+
# The +mail+ method, if not passed a block, will inspect your views and send all the views with
|
61
63
|
# the same name as the method, so the above action would send the +welcome.text.erb+ view
|
62
64
|
# file as well as the +welcome.html.erb+ view file in a +multipart/alternative+ email.
|
63
65
|
#
|
@@ -136,7 +138,7 @@ module ActionMailer
|
|
136
138
|
# You can also define a <tt>default_url_options</tt> method on individual mailers to override these
|
137
139
|
# default settings per-mailer.
|
138
140
|
#
|
139
|
-
# By default when <tt>config.force_ssl</tt> is true
|
141
|
+
# By default when <tt>config.force_ssl</tt> is +true+, URLs generated for hosts will use the HTTPS protocol.
|
140
142
|
#
|
141
143
|
# = Sending mail
|
142
144
|
#
|
@@ -314,7 +316,7 @@ module ActionMailer
|
|
314
316
|
#
|
315
317
|
# = Callbacks
|
316
318
|
#
|
317
|
-
# You can specify callbacks using before_action and after_action for configuring your messages.
|
319
|
+
# You can specify callbacks using <tt>before_action</tt> and <tt>after_action</tt> for configuring your messages.
|
318
320
|
# This may be useful, for example, when you want to add default inline attachments for all
|
319
321
|
# messages sent out by a certain mailer class:
|
320
322
|
#
|
@@ -459,8 +461,8 @@ module ActionMailer
|
|
459
461
|
|
460
462
|
helper ActionMailer::MailHelper
|
461
463
|
|
462
|
-
class_attribute :
|
463
|
-
|
464
|
+
class_attribute :delivery_job, default: ::ActionMailer::DeliveryJob
|
465
|
+
class_attribute :default_params, default: {
|
464
466
|
mime_version: "1.0",
|
465
467
|
charset: "UTF-8",
|
466
468
|
content_type: "text/plain",
|
@@ -588,10 +590,6 @@ module ActionMailer
|
|
588
590
|
|
589
591
|
attr_internal :message
|
590
592
|
|
591
|
-
# Instantiate a new mailer object. If +method_name+ is not +nil+, the mailer
|
592
|
-
# will be initialized according to the named method. If not, the mailer will
|
593
|
-
# remain uninitialized (useful when you only need to invoke the "receive"
|
594
|
-
# method, for instance).
|
595
593
|
def initialize
|
596
594
|
super()
|
597
595
|
@_mail_was_called = false
|
@@ -891,7 +889,7 @@ module ActionMailer
|
|
891
889
|
default_values = self.class.default.map do |key, value|
|
892
890
|
[
|
893
891
|
key,
|
894
|
-
|
892
|
+
value.is_a?(Proc) ? instance_exec(&value) : value
|
895
893
|
]
|
896
894
|
end.to_h
|
897
895
|
|
@@ -900,16 +898,6 @@ module ActionMailer
|
|
900
898
|
headers_with_defaults
|
901
899
|
end
|
902
900
|
|
903
|
-
def compute_default(value)
|
904
|
-
return value unless value.is_a?(Proc)
|
905
|
-
|
906
|
-
if value.arity == 1
|
907
|
-
instance_exec(self, &value)
|
908
|
-
else
|
909
|
-
instance_exec(&value)
|
910
|
-
end
|
911
|
-
end
|
912
|
-
|
913
901
|
def assign_headers_to_message(message, headers)
|
914
902
|
assignable = headers.except(:parts_order, :content_type, :body, :template_name,
|
915
903
|
:template_path, :delivery_method, :delivery_method_options)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "tmpdir"
|
2
4
|
|
3
5
|
module ActionMailer
|
@@ -7,20 +9,13 @@ module ActionMailer
|
|
7
9
|
extend ActiveSupport::Concern
|
8
10
|
|
9
11
|
included do
|
10
|
-
class_attribute :delivery_methods, :delivery_method
|
11
|
-
|
12
12
|
# Do not make this inheritable, because we always want it to propagate
|
13
|
-
cattr_accessor :raise_delivery_errors
|
14
|
-
|
15
|
-
|
16
|
-
cattr_accessor :perform_deliveries
|
17
|
-
self.perform_deliveries = true
|
18
|
-
|
19
|
-
cattr_accessor :deliver_later_queue_name
|
20
|
-
self.deliver_later_queue_name = :mailers
|
13
|
+
cattr_accessor :raise_delivery_errors, default: true
|
14
|
+
cattr_accessor :perform_deliveries, default: true
|
15
|
+
cattr_accessor :deliver_later_queue_name, default: :mailers
|
21
16
|
|
22
|
-
|
23
|
-
|
17
|
+
class_attribute :delivery_methods, default: {}.freeze
|
18
|
+
class_attribute :delivery_method, default: :smtp
|
24
19
|
|
25
20
|
add_delivery_method :smtp, Mail::SMTP,
|
26
21
|
address: "localhost",
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module ActionMailer
|
2
4
|
# Returns the version of the currently loaded Action Mailer as a <tt>Gem::Version</tt>.
|
3
5
|
def self.gem_version
|
@@ -6,9 +8,9 @@ module ActionMailer
|
|
6
8
|
|
7
9
|
module VERSION
|
8
10
|
MAJOR = 5
|
9
|
-
MINOR =
|
10
|
-
TINY =
|
11
|
-
PRE =
|
11
|
+
MINOR = 2
|
12
|
+
TINY = 0
|
13
|
+
PRE = "beta1"
|
12
14
|
|
13
15
|
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
|
14
16
|
end
|
@@ -1,8 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "delegate"
|
2
4
|
|
3
5
|
module ActionMailer
|
4
6
|
# The <tt>ActionMailer::MessageDelivery</tt> class is used by
|
5
|
-
#
|
7
|
+
# ActionMailer::Base when creating a new mailer.
|
6
8
|
# <tt>MessageDelivery</tt> is a wrapper (+Delegator+ subclass) around a lazy
|
7
9
|
# created <tt>Mail::Message</tt>. You can get direct access to the
|
8
10
|
# <tt>Mail::Message</tt>, deliver the email or schedule the email to be sent
|
@@ -51,6 +53,14 @@ module ActionMailer
|
|
51
53
|
# Notifier.welcome(User.first).deliver_later!(wait: 1.hour)
|
52
54
|
# Notifier.welcome(User.first).deliver_later!(wait_until: 10.hours.from_now)
|
53
55
|
#
|
56
|
+
# By default, the email will be enqueued using <tt>ActionMailer::DeliveryJob</tt>. Each
|
57
|
+
# <tt>ActionMailer::Base</tt> class can specify the job to use by setting the class variable
|
58
|
+
# +delivery_job+.
|
59
|
+
#
|
60
|
+
# class AccountRegistrationMailer < ApplicationMailer
|
61
|
+
# self.delivery_job = RegistrationDeliveryJob
|
62
|
+
# end
|
63
|
+
#
|
54
64
|
# Options:
|
55
65
|
#
|
56
66
|
# * <tt>:wait</tt> - Enqueue the email to be delivered with a delay
|
@@ -67,6 +77,14 @@ module ActionMailer
|
|
67
77
|
# Notifier.welcome(User.first).deliver_later(wait: 1.hour)
|
68
78
|
# Notifier.welcome(User.first).deliver_later(wait_until: 10.hours.from_now)
|
69
79
|
#
|
80
|
+
# By default, the email will be enqueued using <tt>ActionMailer::DeliveryJob</tt>. Each
|
81
|
+
# <tt>ActionMailer::Base</tt> class can specify the job to use by setting the class variable
|
82
|
+
# +delivery_job+.
|
83
|
+
#
|
84
|
+
# class AccountRegistrationMailer < ApplicationMailer
|
85
|
+
# self.delivery_job = RegistrationDeliveryJob
|
86
|
+
# end
|
87
|
+
#
|
70
88
|
# Options:
|
71
89
|
#
|
72
90
|
# * <tt>:wait</tt> - Enqueue the email to be delivered with a delay.
|
@@ -118,7 +136,8 @@ module ActionMailer
|
|
118
136
|
"method*, or 3. use a custom Active Job instead of #deliver_later."
|
119
137
|
else
|
120
138
|
args = @mailer_class.name, @action.to_s, delivery_method.to_s, *@args
|
121
|
-
|
139
|
+
job = @mailer_class.delivery_job
|
140
|
+
job.set(options).perform_later(*args)
|
122
141
|
end
|
123
142
|
end
|
124
143
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "active_support/descendants_tracker"
|
2
4
|
|
3
5
|
module ActionMailer
|
@@ -15,13 +17,12 @@ module ActionMailer
|
|
15
17
|
#
|
16
18
|
# config.action_mailer.show_previews = true
|
17
19
|
#
|
18
|
-
# Defaults to true for development environment
|
20
|
+
# Defaults to +true+ for development environment
|
19
21
|
#
|
20
22
|
mattr_accessor :show_previews, instance_writer: false
|
21
23
|
|
22
24
|
# :nodoc:
|
23
|
-
mattr_accessor :preview_interceptors, instance_writer: false
|
24
|
-
self.preview_interceptors = [ActionMailer::InlinePreviewInterceptor]
|
25
|
+
mattr_accessor :preview_interceptors, instance_writer: false, default: [ActionMailer::InlinePreviewInterceptor]
|
25
26
|
end
|
26
27
|
|
27
28
|
module ClassMethods
|
@@ -32,7 +33,7 @@ module ActionMailer
|
|
32
33
|
|
33
34
|
# Register an Interceptor which will be called before mail is previewed.
|
34
35
|
# Either a class or a string can be passed in as the Interceptor. If a
|
35
|
-
# string is passed in it will be
|
36
|
+
# string is passed in it will be constantized.
|
36
37
|
def register_preview_interceptor(interceptor)
|
37
38
|
preview_interceptor = \
|
38
39
|
case interceptor
|
@@ -52,6 +53,12 @@ module ActionMailer
|
|
52
53
|
class Preview
|
53
54
|
extend ActiveSupport::DescendantsTracker
|
54
55
|
|
56
|
+
attr_reader :params
|
57
|
+
|
58
|
+
def initialize(params = {})
|
59
|
+
@params = params
|
60
|
+
end
|
61
|
+
|
55
62
|
class << self
|
56
63
|
# Returns all mailer preview classes.
|
57
64
|
def all
|
@@ -62,8 +69,8 @@ module ActionMailer
|
|
62
69
|
# Returns the mail object for the given email name. The registered preview
|
63
70
|
# interceptors will be informed so that they can transform the message
|
64
71
|
# as they would if the mail was actually being delivered.
|
65
|
-
def call(email)
|
66
|
-
preview = new
|
72
|
+
def call(email, params = {})
|
73
|
+
preview = new(params)
|
67
74
|
message = preview.public_send(email)
|
68
75
|
inform_preview_interceptors(message)
|
69
76
|
message
|
@@ -74,12 +81,12 @@ module ActionMailer
|
|
74
81
|
public_instance_methods(false).map(&:to_s).sort
|
75
82
|
end
|
76
83
|
|
77
|
-
# Returns true if the email exists.
|
84
|
+
# Returns +true+ if the email exists.
|
78
85
|
def email_exists?(email)
|
79
86
|
emails.include?(email)
|
80
87
|
end
|
81
88
|
|
82
|
-
# Returns true if the preview exists.
|
89
|
+
# Returns +true+ if the preview exists.
|
83
90
|
def exists?(preview)
|
84
91
|
all.any? { |p| p.preview_name == preview }
|
85
92
|
end
|
@@ -97,7 +104,7 @@ module ActionMailer
|
|
97
104
|
private
|
98
105
|
def load_previews
|
99
106
|
if preview_path
|
100
|
-
Dir["#{preview_path}/**/*_preview.rb"].each { |file| require_dependency file }
|
107
|
+
Dir["#{preview_path}/**/*_preview.rb"].sort.each { |file| require_dependency file }
|
101
108
|
end
|
102
109
|
end
|
103
110
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "active_job/railtie"
|
2
4
|
require "action_mailer"
|
3
5
|
require "rails"
|
@@ -56,6 +58,12 @@ module ActionMailer
|
|
56
58
|
end
|
57
59
|
end
|
58
60
|
|
61
|
+
initializer "action_mailer.eager_load_actions" do
|
62
|
+
ActiveSupport.on_load(:after_initialize) do
|
63
|
+
ActionMailer::Base.descendants.each(&:action_methods) if config.eager_load
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
59
67
|
config.after_initialize do |app|
|
60
68
|
options = app.config.action_mailer
|
61
69
|
|
@@ -1,5 +1,7 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module ActionMailer #:nodoc:
|
2
|
-
# Provides
|
4
|
+
# Provides +rescue_from+ for mailers. Wraps mailer action processing,
|
3
5
|
# mail job processing, and mail delivery.
|
4
6
|
module Rescuable
|
5
7
|
extend ActiveSupport::Concern
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "active_job"
|
2
4
|
|
3
5
|
module ActionMailer
|
@@ -91,6 +93,48 @@ module ActionMailer
|
|
91
93
|
assert_enqueued_jobs number, only: [ ActionMailer::DeliveryJob, ActionMailer::Parameterized::DeliveryJob ], &block
|
92
94
|
end
|
93
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
|
110
|
+
# to be enqueued.
|
111
|
+
#
|
112
|
+
# def test_email_in_block
|
113
|
+
# assert_enqueued_email_with ContactMailer, :welcome do
|
114
|
+
# ContactMailer.welcome.deliver_later
|
115
|
+
# end
|
116
|
+
# end
|
117
|
+
#
|
118
|
+
# If `args` is provided as a Hash, a parameterized email is matched.
|
119
|
+
#
|
120
|
+
# def test_parameterized_email
|
121
|
+
# assert_enqueued_email_with ContactMailer, :welcome,
|
122
|
+
# args: {email: 'user@example.com} do
|
123
|
+
# ContactMailer.with(email: 'user@example.com').welcome.deliver_later
|
124
|
+
# end
|
125
|
+
# end
|
126
|
+
def assert_enqueued_email_with(mailer, method, args: nil, queue: "mailers", &block)
|
127
|
+
if args.is_a? Hash
|
128
|
+
job = ActionMailer::Parameterized::DeliveryJob
|
129
|
+
args = [mailer.to_s, method.to_s, "deliver_now", args]
|
130
|
+
else
|
131
|
+
job = ActionMailer::DeliveryJob
|
132
|
+
args = [mailer.to_s, method.to_s, "deliver_now", *args]
|
133
|
+
end
|
134
|
+
|
135
|
+
assert_enqueued_with(job: job, args: args, queue: queue, &block)
|
136
|
+
end
|
137
|
+
|
94
138
|
# Asserts that no emails are enqueued for later delivery.
|
95
139
|
#
|
96
140
|
# def test_no_emails
|
@@ -1,7 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Rails
|
2
4
|
module Generators
|
3
5
|
class MailerGenerator < NamedBase
|
4
|
-
source_root File.expand_path("
|
6
|
+
source_root File.expand_path("templates", __dir__)
|
5
7
|
|
6
8
|
argument :actions, type: :array, default: [], banner: "method method"
|
7
9
|
|
data/lib/rails/generators/mailer/templates/{application_mailer.rb → application_mailer.rb.tt}
RENAMED
File without changes
|
File without changes
|
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.
|
4
|
+
version: 5.2.0.beta1
|
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:
|
11
|
+
date: 2017-11-27 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.
|
19
|
+
version: 5.2.0.beta1
|
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.
|
26
|
+
version: 5.2.0.beta1
|
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.
|
33
|
+
version: 5.2.0.beta1
|
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.
|
40
|
+
version: 5.2.0.beta1
|
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.
|
47
|
+
version: 5.2.0.beta1
|
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.
|
54
|
+
version: 5.2.0.beta1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: mail
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,14 +115,14 @@ files:
|
|
115
115
|
- lib/action_mailer/version.rb
|
116
116
|
- lib/rails/generators/mailer/USAGE
|
117
117
|
- lib/rails/generators/mailer/mailer_generator.rb
|
118
|
-
- lib/rails/generators/mailer/templates/application_mailer.rb
|
119
|
-
- lib/rails/generators/mailer/templates/mailer.rb
|
118
|
+
- lib/rails/generators/mailer/templates/application_mailer.rb.tt
|
119
|
+
- lib/rails/generators/mailer/templates/mailer.rb.tt
|
120
120
|
homepage: http://rubyonrails.org
|
121
121
|
licenses:
|
122
122
|
- MIT
|
123
123
|
metadata:
|
124
|
-
source_code_uri: https://github.com/rails/rails/tree/v5.
|
125
|
-
changelog_uri: https://github.com/rails/rails/blob/v5.
|
124
|
+
source_code_uri: https://github.com/rails/rails/tree/v5.2.0.beta1/actionmailer
|
125
|
+
changelog_uri: https://github.com/rails/rails/blob/v5.2.0.beta1/actionmailer/CHANGELOG.md
|
126
126
|
post_install_message:
|
127
127
|
rdoc_options: []
|
128
128
|
require_paths:
|
@@ -134,12 +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.6.12
|
143
144
|
signing_key:
|
144
145
|
specification_version: 4
|
145
146
|
summary: Email composition, delivery, and receiving framework (part of Rails).
|