lita-onewheel-beer-wework 2.0.0 → 2.0.1
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/onewheel_beer_wework.rb +3 -2
- data/lita-onewheel-beer-wework.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: 059ecd3fbb98e0bfd6a20ae7723d116cd74d8856
|
4
|
+
data.tar.gz: 613d6bb19a52eedf8502ec98be0ecd81acacdfa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0b9032c6a40897fc494e2a9e19463707adea0abd3c17b27a8a85086098759cf90f9b153d9761583dc285bc2b934e97029c4a7ed13ca80cbd214879cbb86fc81
|
7
|
+
data.tar.gz: 2d29ab12a79d435eb0f0928295ed48606615011589c6798dd62a5b5552f5614c377e55611332f39c4a4f3230c663b1b1ecdc7bb9d00b174fb53c461deac6a419
|
@@ -67,8 +67,9 @@ module Lita
|
|
67
67
|
all_beers = []
|
68
68
|
LOCATIONS.each do |floor|
|
69
69
|
if (data = redis.hget(REDIS_KEY, floor))
|
70
|
-
|
71
|
-
|
70
|
+
d = JSON.parse(data)
|
71
|
+
d['id'] = floor
|
72
|
+
all_beers.push d
|
72
73
|
end
|
73
74
|
end
|
74
75
|
Lita.logger.info 'Sending beers via HTTP.'
|