lita-onewheel-aqi 1.0.0 → 1.0.1
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 +4 -4
- data/lib/lita/handlers/onewheel_aqi.rb +1 -1
- data/lita-onewheel-aqi.gemspec +1 -1
- data/spec/lita/handlers/onewheel_aqi_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0deefb91408f3e16cd7f2487a2cc6c10206beaba
|
4
|
+
data.tar.gz: 334a9b553b5f290dd000a2afa15461b35ba7bf96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lita-onewheel-aqi.gemspec
CHANGED
@@ -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
|