griddler-mandrill-acd 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/griddler/mandrill/adapter.rb +3 -1
- data/lib/griddler/mandrill/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: f2bbc5e3e77a05b601c9f7889108364020f57489
|
4
|
+
data.tar.gz: ddf0024260cbbe8186c1d14366a4c6fb67692cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a055a0c6eb62b4c81e963ad58b0fb334f3c9295859fddf5287b52ee80c3387bb466e4a94f8bc2e9d353ae562452e22192ae81bd8f1bfa214a33b7032d5c0e6b8
|
7
|
+
data.tar.gz: 18c77e190c64db47185b08bd930d449cad6cae1039f4961143f386693f837316c6e1848c4af8afb16c2fa3ebae8a15239d8841bb79e5438f419a0493cbd08859
|
@@ -12,8 +12,10 @@ module Griddler
|
|
12
12
|
|
13
13
|
def normalize_params
|
14
14
|
events.map do |event|
|
15
|
+
to_list = recipients(:to, event)
|
16
|
+
to_list = [event['email']] if (to_list.nil? || to_list.empty?) && event['email']
|
15
17
|
{
|
16
|
-
to:
|
18
|
+
to: to_list,
|
17
19
|
cc: recipients(:cc, event),
|
18
20
|
from: full_email([ event[:from_email], event[:from_name] ]),
|
19
21
|
subject: event[:subject],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: griddler-mandrill-acd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stafford Brunk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: griddler-acd
|