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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c256f9a302509ef09fed2d76e76fcc2e502331a
4
- data.tar.gz: 6e2947265378b8ab1b85a665aae983a5b4508bf5
3
+ metadata.gz: 059ecd3fbb98e0bfd6a20ae7723d116cd74d8856
4
+ data.tar.gz: 613d6bb19a52eedf8502ec98be0ecd81acacdfa8
5
5
  SHA512:
6
- metadata.gz: 85535b48da267e8f9ff2bbd32d7c167ae5da9e7ada98393e4710df28782a5d284f27ab11bf51123e42e5f02bcd5e1fa592c8081141c66fb2057cccaf8594413e
7
- data.tar.gz: 4629e94bf6a5aace0d7da3c84f841b09a9dbebf53c9a08133921d0ab454ef49b8addaf4cb0c865eefbb472bd495e99e055e9135bbccdea19434e01d56aaa41df
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
- data['id'] = floor
71
- all_beers.push JSON.parse(data)
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.'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-beer-wework'
3
- spec.version = '2.0.0'
3
+ spec.version = '2.0.1'
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps