lita-onewheel-aqi 2.0.7 → 2.0.8

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: 9c9f3bf9fd0929a532591328d22d3cec3d904ee2
4
- data.tar.gz: 53d19c565dd2e585d91c79dde12019724fe50f2e
3
+ metadata.gz: e27d524f005e0be87b815ae759d56f0e07fad868
4
+ data.tar.gz: 1a48e0cecf32db4c7841a0c3bf6b4e849d00e8aa
5
5
  SHA512:
6
- metadata.gz: 78b82b7c682dc9aed12eaad818d3d089d0061d12d50563d65537c048bd11bf953a7efa90cc67b71034a5604945c5b302c65020177e36032b14b78f4d9e227e43
7
- data.tar.gz: 51b12ba3db259b610ab4f7cd7a929bae3337ebdef756aa7954fb78304fddbbae000027c0202ca555e3f04f9000059ad6616b0a727da2ff2689c3e0c0da93d4ca
6
+ metadata.gz: 0d9dd946c65703921359be97751d3f941812e4391b1963b1862b2ff0ae8240c14d7911bc8080bfa5f588691ca6bee69e4ff04467272c4054b17671a6dcd76257
7
+ data.tar.gz: 370060b4acaf7459784caed07c2744a74b75121404995257ca73a767a93a682cd922312d0e8a0159db874cdaeeb3b49e1152930d49a034c508f91d238c3efd2a
@@ -133,7 +133,7 @@ module Lita
133
133
  updated_at = Time.parse aqi['data']['time']['s']
134
134
  diff = (Time.now - updated_at).to_i / 60
135
135
 
136
- reply += "updated #{diff} minutes ago. #{banner_str}"
136
+ reply += "updated #{color_str(diff.to_s)} minutes ago. #{banner_str}"
137
137
 
138
138
  response.reply reply
139
139
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-aqi'
3
- spec.version = '2.0.7'
3
+ spec.version = '2.0.8'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = 'AQI data retrieval 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: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps