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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9089f7b28a2dd4e1ecfa71ec69907c54a7dabf16
4
- data.tar.gz: 1e203382e4610286d0174c9c1c4c08ccefb80a10
3
+ metadata.gz: 2c256f9a302509ef09fed2d76e76fcc2e502331a
4
+ data.tar.gz: 6e2947265378b8ab1b85a665aae983a5b4508bf5
5
5
  SHA512:
6
- metadata.gz: eca71fa022bd77a7bec89bed75329b6c7222816a70703197c5d521f404cd5a4100c73781b4eb30c3ff4ea6d00375d8e53784d56c7192bea4a6e13126c7e96d87
7
- data.tar.gz: b5c0c56f5259a05fa46e5eecafdbb280130d6dfa0b3db3533e34717bd10381d54adcff657c1e137d32d7effb2251bab01a8279c713aa3061896a783fa5d8fb7f
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
- all_beers.push floor => JSON.parse(data)
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.'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-beer-wework'
3
- spec.version = '1.2.0'
3
+ spec.version = '2.0.0'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = 'Basic key/value store for wework beers.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-beer-wework
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps