lita-onewheel-beer-wework 1.2.0 → 2.0.0
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 +2 -1
- 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: 2c256f9a302509ef09fed2d76e76fcc2e502331a
|
4
|
+
data.tar.gz: 6e2947265378b8ab1b85a665aae983a5b4508bf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85535b48da267e8f9ff2bbd32d7c167ae5da9e7ada98393e4710df28782a5d284f27ab11bf51123e42e5f02bcd5e1fa592c8081141c66fb2057cccaf8594413e
|
7
|
+
data.tar.gz: 4629e94bf6a5aace0d7da3c84f841b09a9dbebf53c9a08133921d0ab454ef49b8addaf4cb0c865eefbb472bd495e99e055e9135bbccdea19434e01d56aaa41df
|
@@ -67,7 +67,8 @@ module Lita
|
|
67
67
|
all_beers = []
|
68
68
|
LOCATIONS.each do |floor|
|
69
69
|
if (data = redis.hget(REDIS_KEY, floor))
|
70
|
-
|
70
|
+
data['id'] = floor
|
71
|
+
all_beers.push JSON.parse(data)
|
71
72
|
end
|
72
73
|
end
|
73
74
|
Lita.logger.info 'Sending beers via HTTP.'
|