clark_kent 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/clark_kent/report_email.rb +4 -2
- data/lib/clark_kent/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +21270 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1f4f325e1b791ad59ac1a5fb88bc506068373c3
|
4
|
+
data.tar.gz: a6a7aea21de271c4ce4f607028b134bc182a7605
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ed24a2720c4621898dc945579d2fc7d2bb2ecf6e10f5a85f22042a1cff060610e9dc0e62f6dfbc77ce6e04d9d823a8a8885a4968d14b4b04ece48a1cb9168ca
|
7
|
+
data.tar.gz: 8e75f3efd9c1264409dc2f265c8fdabb92e3e28fe0f49a8ddc029c6446eb6a39f2413fdb58471563fc6eb3dd3a2ce2a59dfbeaed2e948aa484200aa326b3ec8d
|
@@ -51,9 +51,11 @@ module ClarkKent
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
report_download_url = ClarkKent::Report.send_report_to_s3(self.id, params)
|
54
|
-
ClarkKent::ReportMailer.report_run(self.report_id, user_id, report_download_url)
|
54
|
+
mail = ClarkKent::ReportMailer.report_run(self.report_id, user_id, report_download_url)
|
55
|
+
Sendgrid.send_message(mail)
|
55
56
|
rescue ClarkKent::ReportFilterError => e
|
56
|
-
ClarkKent::ReportMailer.report_error(self.report_id, user_id, e.message)
|
57
|
+
mail = ClarkKent::ReportMailer.report_error(self.report_id, user_id, e.message)
|
58
|
+
Sendgrid.send_message(mail)
|
57
59
|
end
|
58
60
|
|
59
61
|
def report_filter_params
|
data/lib/clark_kent/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
File without changes
|