lita-onewheel-aqi 1.0.0 → 1.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: 4ee27af471c241b1c0447e1f9b79801575ecdf41
4
- data.tar.gz: 6de061db874e5abb3d21b07ba9e0954f215f56b8
3
+ metadata.gz: 0deefb91408f3e16cd7f2487a2cc6c10206beaba
4
+ data.tar.gz: 334a9b553b5f290dd000a2afa15461b35ba7bf96
5
5
  SHA512:
6
- metadata.gz: 1974772b9eedf6d118c58e5d6f79f6ccc2f086b36274215dd25f08031ae518f427c7ec3e6b85cc6092c2a42e0abae2c4ad15ab20977bb3c80712e15b37df38d9
7
- data.tar.gz: 7db2c3b9952cea643791290a0b10c4814b76f50cef3e27e262f4890e88fb4da17f5cd9a08be4e7a33a6ae19303b4325046778fc4cb8db12a948e4472309241a3
6
+ metadata.gz: 9b6a3b7f5365b18006d8b41d4da88bd0b416cec0f03488bcc2ac442f9848b2f0286b57c258841e3640b0457feb4c551fdb9731096862e42788f030b8b29a32a6
7
+ data.tar.gz: 298b9c099104290ad2fdb4a5a2c2cc4ea1363194464d803db8fb340061db0b70ec95d14419cdf4da51370a981dbc82cb1e9df54e1a301dcbf19a16452e5193e2
@@ -68,7 +68,7 @@ module Lita
68
68
  # reply += "Forecasted: #{(forecasted_aqi['ActionDay'] == 'true')? 'Action Day! ' : ''}#{forecasted_aqi['AQI']} #{forecasted_aqi['Category']['Name']} "
69
69
  # end
70
70
  unless observed_aqi == []
71
- reply += "Observed: #{color_str(observed_aqi)}"
71
+ reply += "Observed: #{color_str(observed_aqi)} \x03#{colors[:grey]}(aqicn.org)\x03"
72
72
  end
73
73
  response.reply reply
74
74
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-aqi'
3
- spec.version = '1.0.0'
3
+ spec.version = '1.0.1'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = 'AQI data retrieval bot'
@@ -29,6 +29,6 @@ describe Lita::Handlers::OnewheelAqi, lita_handler: true do
29
29
 
30
30
  it 'queries the aqi' do
31
31
  send_command 'aqi'
32
- expect(replies.last).to include("AQI for Portland, OR, USA, Observed: \u00030876\u0003")
32
+ expect(replies.last).to include("AQI for Portland, OR, USA, Observed: \u00030876\u0003 \u000314(aqicn.org)\u0003")
33
33
  end
34
34
  end
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps