lita-onewheel-forecast-io 1.1.1 → 1.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27cd610e8ed3707cda9e18848c69fd7eaf9d5391
|
4
|
+
data.tar.gz: e40acfb2a26cc9ac16db135c8b4e0697565ba6d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a73229e0db9b35c7550a3c5b3f467ef4706ceff3d560d47fd4cfe867d2cfdfa6180f25f5746d4eb57567c43db620c1b6d736a16ff2951c090dd9d8e5dd01675
|
7
|
+
data.tar.gz: a83246caeb3c6362363eddbd1ade3cf384d29289901866ab0917f796a5317ed68b9e1bdcb97b6b6e4fff06909e4fc4e64ac8e66e397ce77426acf0c0e57d43ba
|
@@ -30,6 +30,7 @@ module ForecastIo
|
|
30
30
|
response.reply location.location_name + ' ' + do_the_sun_thing(forecast, ansi_chars)
|
31
31
|
response.reply location.location_name + ' ' + do_the_cloud_thing(forecast, ansi_chars)
|
32
32
|
response.reply location.location_name + ' ' + do_the_daily_rain_thing(forecast)
|
33
|
+
response.reply location.location_name + ' ' + do_the_humidity_thing(forecast, ansi_chars, 'humidity')
|
33
34
|
end
|
34
35
|
|
35
36
|
def handle_irc_ansirain_intensity(response)
|
@@ -447,6 +447,7 @@ describe Lita::Handlers::OnewheelForecastIo, lita_handler: true do
|
|
447
447
|
expect(replies[5]).to eq("Portland, OR 48hr sun forecast |\u000308████████████████████\u000307▇▇▅\u000309▅▅▃\u000303▁_▁\u000309▃▃▃\u000303▁▁▁▁▃\u000309▃▅\u000307▇▇▇▇\u000308▇▇▇▇▇▇\u0003| max 100%")
|
448
448
|
expect(replies[6]).to eq("Portland, OR 24h cloud cover |___________▁▁▁▁▁▁▁▁▃▅▅▅| range 0% - 49.0%")
|
449
449
|
expect(replies[7]).to eq("Portland, OR 48 hr snows |\u000302_______________________❄❄❄❄▁▁▁▁▁▁▁▁▁▁▁▁▁❄❄❄❄❄❄❄❄_\u0003| max 4.0%")
|
450
|
+
expect(replies.last).to eq("Portland, OR 67%|\u000307▇\u000308▇▇▇\u000311▅▅▅▅▅▅▅▅▅▅\u000308▇▇▇▇▇▇▇\u000307▇▇▇▇▇▇▇▇▇▇▇▇\u000304████████████████\u0003|80% range: 41%-85%")
|
450
451
|
end
|
451
452
|
|
452
453
|
it '!ansipressure' do
|