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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 454ffe7d7fb03730950d08431e5afb614d2a0f21
4
- data.tar.gz: c3293915bfd3260f21e26439be296f69437b2d3a
3
+ metadata.gz: aba5ebd6d356b9ba7107c0cfffe8934ae4f53295
4
+ data.tar.gz: 5aea1cb240305ab6661dc04622fd2754123ceea8
5
5
  SHA512:
6
- metadata.gz: d4c2ff226ccc857c1f589dc58239d89f5b4e874bf72e0b8c48081cfcaf9da2a0567a2c6984675bebe13cf4dba6eec1228e45a65e666545410a585157bd9f209e
7
- data.tar.gz: 5451b3ca27ee8ee0594cb5efde8037eb9c2f91e7dbc60dfe3f016eef434c076a5e9cf405617cc3bacc6643a8e02a0eed0c3757572aeac26b70860d8d046735ba
6
+ metadata.gz: 1b31e04ab16c16f54a2228f0b46fbf73c2129ba6699fdfab22951088bc622367fbd94d1a1d682ee01dea225db069a495336a33e630de110844004520fc160d7d
7
+ data.tar.gz: f2e2566d8f2c659f8d29e00c4cfb2dd83278a6dc15aecde20b5111e3e0d680656bc1f30ffa498acabc15589a474a3e1165ab1cb5c1031e2ccc496a2ee38ae260
@@ -1,3 +1,6 @@
1
+ ### 2.4.2 / 2017-01-30
2
+ * Fix for breaking change with symbolied keys vs strings (J Garcia)
3
+
1
4
  ### 2.4.1 / 2016-12-10
2
5
  * Symbolize argument keys to fix mailer block syntax issues (J Garcia)
3
6
  * Alias method for `deliver_now` (Kurt Funai)
@@ -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
- # symbolize keys so mailer block syntax works
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)
@@ -1,5 +1,5 @@
1
1
  module Resque
2
2
  module Mailer
3
- VERSION = "2.4.1"
3
+ VERSION = "2.4.2"
4
4
  end
5
5
  end
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.1
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: 2016-12-10 00:00:00.000000000 Z
11
+ date: 2017-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer