alerty-plugin-amazon_sns 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/alerty-plugin-amazon_sns.gemspec +1 -1
- data/lib/alerty/plugin/amazon_sns.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d04674a6f81356f06ab46be77416d30c9351a3b7
|
4
|
+
data.tar.gz: 733fcfd97577c27f50cd36838f71e7e3ff47d844
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3737bca15eec4c808df8e05fad01dc19b6878439f2d28684c6a461c1921c33f0f55ba96f025b2914aefbb362ff941b38a859574332aa73c6268065b2f2577173
|
7
|
+
data.tar.gz: ab17ca34ffd68b66ae40165964794506f642e369bb4c1681b5bfd750795f30477377b10c1509500c2cc2a02bd56dcf7e0f84e0883a37b6f59300b0987a7d0613
|
data/CHANGELOG.md
CHANGED
@@ -24,6 +24,7 @@ class Alerty
|
|
24
24
|
def alert(record)
|
25
25
|
message = record[:output]
|
26
26
|
subject = expand_placeholder(@subject, record)
|
27
|
+
subject = subject[0..98] # SNS constraint, must be less than 100 character long
|
27
28
|
retries = 0
|
28
29
|
begin
|
29
30
|
@client.publish(topic_arn: @topic_arn, message: message, subject: subject)
|