lita-alexa-news-publisher 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/alexa_news_publisher.rb +4 -3
- data/lita-alexa-news-publisher.gemspec +1 -1
- 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: 184be18b1d9d5291c52a1892da5cebc5f56ac667
|
4
|
+
data.tar.gz: c7a8c2baa4c9bfd69b301be9b83f0c7fe21c821a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfec9c93871a497985a74a4b2250ae429a4e2d2707faa134b18f92640f44a28c6dfba10f3255526738ffd5c6557e53c01457910b28c010d081d2da2457904961
|
7
|
+
data.tar.gz: b441aed2bf8b6277bf13c42b912416d85c6f25f03e963e2a581fd219694f6c0f537d8498bd8fb141ba9f8fdd16f630c61baae2617438a9bc6103f448e0625284
|
@@ -22,13 +22,14 @@ module Lita
|
|
22
22
|
|
23
23
|
def alexify(message)
|
24
24
|
parsed = JSON.parse(message)
|
25
|
+
main_text = parsed.fetch('message')
|
25
26
|
|
26
27
|
{
|
27
28
|
"uid": parsed.fetch('uuid'),
|
28
29
|
"updateDate": parsed.fetch('timestamp'),
|
29
|
-
"titleText": "
|
30
|
-
"mainText":
|
31
|
-
"redirectionUrl": "https://github.com/dpritchett"
|
30
|
+
"titleText": "Lita update",
|
31
|
+
"mainText": main_text,
|
32
|
+
"redirectionUrl": "https://github.com/dpritchett/lita-alexa-news-publisher"
|
32
33
|
}
|
33
34
|
end
|
34
35
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-alexa-news-publisher"
|
3
|
-
spec.version = "0.1.
|
3
|
+
spec.version = "0.1.3"
|
4
4
|
spec.authors = ["Daniel J. Pritchett"]
|
5
5
|
spec.email = ["dpritchett@gmail.com"]
|
6
6
|
spec.description = "Allows Lita users to publish a .plan-style personal news feed for consumption as an Alexa Flash Briefing source"
|