lita-alexa-news-publisher 0.1.5 → 0.1.6
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 +1 -1
- data/lita-alexa-news-publisher.gemspec +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9400711a4ef04ee2078467224a71951f48034b3d
|
4
|
+
data.tar.gz: 1fff026183b1bfced476a9456c4345abc03057ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a23128e4f64186008b28f037d0f082bcd6b0dc62ef4dbced90cd002687cf32bf0480381b954d08604c8d0094eebf5239f149d31eb2aa81a473a595f4b7a02acf
|
7
|
+
data.tar.gz: e2b14df7b198411362591ed05e007a0974a00c4fc42854f0407764163acc059e78c8f016f0acaf4416d42dd37f841025f0109abee6d5b135aa6bd24b8720957a
|
@@ -15,7 +15,7 @@ module Lita
|
|
15
15
|
|
16
16
|
messages = Lita.redis.lrange(STORE_KEY, 0, MAX_MESSAGE_COUNT)
|
17
17
|
|
18
|
-
formatted_messages = messages.map { |m| alexify JSON.parse(m,
|
18
|
+
formatted_messages = messages.map { |m| alexify JSON.parse(m, symbolize_names: true) }
|
19
19
|
|
20
20
|
response.headers["Content-Type"] = "application/json"
|
21
21
|
response.write(MultiJson.dump(formatted_messages))
|
@@ -1,6 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-alexa-news-publisher"
|
3
|
-
spec.
|
3
|
+
spec.required_ruby_version = '>= 2.2.0'
|
4
|
+
spec.version = "0.1.6"
|
4
5
|
spec.authors = ["Daniel J. Pritchett"]
|
5
6
|
spec.email = ["dpritchett@gmail.com"]
|
6
7
|
spec.description = "Allows Lita users to publish a .plan-style personal news feed for consumption as an Alexa Flash Briefing source"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-alexa-news-publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Pritchett
|
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 2.2.0
|
160
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
162
|
- - ">="
|