resque_mailer 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/resque_mailer.rb +2 -2
- data/lib/resque_mailer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aba5ebd6d356b9ba7107c0cfffe8934ae4f53295
|
4
|
+
data.tar.gz: 5aea1cb240305ab6661dc04622fd2754123ceea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b31e04ab16c16f54a2228f0b46fbf73c2129ba6699fdfab22951088bc622367fbd94d1a1d682ee01dea225db069a495336a33e630de110844004520fc160d7d
|
7
|
+
data.tar.gz: f2e2566d8f2c659f8d29e00c4cfb2dd83278a6dc15aecde20b5111e3e0d680656bc1f30ffa498acabc15589a474a3e1165ab1cb5c1031e2ccc496a2ee38ae260
|
data/CHANGELOG.md
CHANGED
data/lib/resque_mailer.rb
CHANGED
@@ -51,10 +51,10 @@ module Resque
|
|
51
51
|
def perform(action, serialized_args)
|
52
52
|
begin
|
53
53
|
args = ::Resque::Mailer.argument_serializer.deserialize(serialized_args)
|
54
|
-
#
|
54
|
+
# Add symbolized keys so mailer block syntax works
|
55
55
|
if args.is_a?(Array)
|
56
56
|
args = args.each_with_object([]) do |arg, o|
|
57
|
-
o << (arg.is_a?(Hash) ? arg.symbolize_keys : arg)
|
57
|
+
o << (arg.is_a?(Hash) ? arg.merge(arg.symbolize_keys) : arg)
|
58
58
|
end
|
59
59
|
end
|
60
60
|
message = ::Resque::Mailer.prepare_message(self, action, *args)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque_mailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Plante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|