lita-onewheel-aqi 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 962268641dbc71b1917c527f84ce964036e05fe7
4
- data.tar.gz: 8732274479aebcd409280695a1b077ee5742f17c
3
+ metadata.gz: 8867fc4ebc3e9e286a24271d4612ba8340dc0f6a
4
+ data.tar.gz: 7cb537bd83eb879663b26b7a053d777e994ea287
5
5
  SHA512:
6
- metadata.gz: ad9e35de0343715ac044d2bf9c43ee5c328f3ab303f8a66fca26583a3fa6554f9a91d7543e1dd5c1fa43291dfb555d3bcc96fca6c6faef1a813171d603199aba
7
- data.tar.gz: dffa7d0decc1c9336349ff1950067375031aead9cca1ea3e7d8629ee41e56f040aa33ef326ac20be10ab9306276255e27e6751d2bc42ff2a01cbd1d9e6f70dfd
6
+ metadata.gz: 041b621412d4d8532c54dc251357597a5931563fae7da0ffefde8ad0e5394efa6648de813f3a6920c3d39b3f105454e69acd32914f3fe5d057792439737fb00f
7
+ data.tar.gz: 2b4a43a141ef13a1aa30f785762177ecc2ee755dc27a9118d63429dc28633bfe69b41c9a04c1ea1fcd50db7beefa94b503562ac662e775c82eb88fee693fa691
@@ -14,7 +14,8 @@ module Lita
14
14
 
15
15
  def get_aqi(response)
16
16
  location = response.matches[0][0].to_s.strip
17
- location = 'Portland, OR' unless location
17
+ puts "'#{location}'"
18
+ location = 'Portland, OR' if location.empty?
18
19
 
19
20
  loc = geo_lookup(location)
20
21
  puts loc.inspect
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-aqi'
3
- spec.version = '0.1.1'
3
+ spec.version = '0.1.2'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = 'AQI data retrival bot'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-aqi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps