brightbytes-sendgrid 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/brightbytes/sendgrid/version.rb +1 -1
- data/lib/brightbytes/sendgrid.rb +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
N2U2NTdjZDQ5OWM5NjRhZWE5MjFjNGViYTc2MDI3ZGFlMWM4N2IwNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
M2YwNjgwM2JhYzBhNWJiMWZjZGYzZWNlNjU0M2UxODBjOWI4NDQ2Yg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MjVhNWVmMzg1OTU1ZDdmYjZjNGVhZTU0NjBlYWU1NTQ1YWJkODMyNDc2MTQ1
|
|
10
|
+
ZTNlYTUzZTAyYmY2YmUxMmNiYzQ1MmMzOTFlNDg2NGU2MTlmNjViMDk1YmI2
|
|
11
|
+
MzE4NzlmZGZkNmRiZDY0ZjBmNGY0MzlkMjIyOGY5MjJhZjFlMzk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MDE4ZGMwNmUxNzUyODNjNzk5ZWE3Mzc0YTgyOTRlMTgzNzUzN2U0Y2UyODc2
|
|
14
|
+
YmVlM2IxODUzNjczYzdlN2Q1NmU2ZGRlZjc4NzE4NWFmMWY1MmNlNTNkZDhl
|
|
15
|
+
Mjc0NTMwNzI4MDU5YTVjMmVmZTgyNmE5N2ZlZDBmNjVlMDc3ZDM=
|
data/lib/brightbytes/sendgrid.rb
CHANGED
|
@@ -29,8 +29,6 @@ module Brightbytes
|
|
|
29
29
|
mail_without_sendgrid(headers, &block).tap do |message|
|
|
30
30
|
# Add Unsubscribe links
|
|
31
31
|
Brightbytes::Sendgrid::Unsubscribe.add_links(sendgrid, message)
|
|
32
|
-
# Store Sendgrid in Message for future use
|
|
33
|
-
message.instance_variable_set :@sendgrid, sendgrid
|
|
34
32
|
# Add X-SMTPAPI Header
|
|
35
33
|
message.header['X-SMTPAPI'] = sendgrid.to_json if sendgrid.data.present?
|
|
36
34
|
# Add dummy recipient
|