griddler-ses 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/circle.yml +4 -0
- data/lib/griddler/ses/adapter.rb +7 -2
- data/lib/griddler/ses/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e8a8dc6b0a47c33b42449f0d33681023887dee6
|
4
|
+
data.tar.gz: 9e4c2cdafbf1bfcb04e8847ea5b62e00b6427f34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 760e0626163545aca32eefbe2634ef9f98b7de781a830667e23590321add74bfb0b2b1331ff733a30e5008941f2cb97a76fd1c65d5daf3e83d2fe1a25fb9f056
|
7
|
+
data.tar.gz: 626135972c580d7c952460cd45d56d170aa1b134026841333e8b2692c8156217aaf7324f660786b24ed60aad0ce5f9869a2b5b2785d57e9c8026e2a763b01987
|
data/circle.yml
ADDED
data/lib/griddler/ses/adapter.rb
CHANGED
@@ -33,6 +33,7 @@ module Griddler
|
|
33
33
|
to: recipients,
|
34
34
|
from: sender,
|
35
35
|
cc: cc,
|
36
|
+
bcc: bcc,
|
36
37
|
subject: subject,
|
37
38
|
text: text_part,
|
38
39
|
html: html_part,
|
@@ -58,7 +59,7 @@ module Griddler
|
|
58
59
|
end
|
59
60
|
|
60
61
|
def recipients
|
61
|
-
email_json['
|
62
|
+
email_json['mail']['commonHeaders']['to']
|
62
63
|
end
|
63
64
|
|
64
65
|
def sender
|
@@ -66,7 +67,11 @@ module Griddler
|
|
66
67
|
end
|
67
68
|
|
68
69
|
def cc
|
69
|
-
email_json['mail']['commonHeaders']['cc']
|
70
|
+
email_json['mail']['commonHeaders']['cc'] || []
|
71
|
+
end
|
72
|
+
|
73
|
+
def bcc
|
74
|
+
email_json['mail']['commonHeaders']['bcc'] || []
|
70
75
|
end
|
71
76
|
|
72
77
|
def subject
|
data/lib/griddler/ses/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: griddler-ses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kent Mewhort @ Coupa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: griddler
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- LICENSE.txt
|
108
108
|
- README.md
|
109
109
|
- Rakefile
|
110
|
+
- circle.yml
|
110
111
|
- griddler-ses.gemspec
|
111
112
|
- lib/griddler/ses.rb
|
112
113
|
- lib/griddler/ses/adapter.rb
|
@@ -131,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
132
|
version: '0'
|
132
133
|
requirements: []
|
133
134
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.4.
|
135
|
+
rubygems_version: 2.4.5.1
|
135
136
|
signing_key:
|
136
137
|
specification_version: 4
|
137
138
|
summary: Griddler adapter for AWS SES (handle incoming email replies through SES)
|