lita-onewheel-forecast-io 1.6.2 → 1.6.3
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/forecasts.rb +2 -2
- data/lib/lita/handlers/irc_handlers.rb +1 -1
- data/lita-onewheel-forecast-io.gemspec +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: 80e5797d746bc23f13fb827bb614aedbd2ba7990
|
4
|
+
data.tar.gz: 34d94cd504bef00cb65691e0b343c024ce867819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c23d7a863835938b7cfacc8f56b76248b8e327e68cfa7c95b2c31f4b41fa098037b23397d2f006853be612201cb1faf9aaaeabcca0e5a14488b62d8db48364f6
|
7
|
+
data.tar.gz: 55b095c4ad28c8360db8c4ae353808c8bbe1451fc6b6e801fbe30e655e06d2f544f98d58ff5029758796923253f91d51c4e20992e0ceeb272ee94455ff986426
|
@@ -568,8 +568,8 @@ module ForecastIo
|
|
568
568
|
output += "Open them back up at #{open_time.strftime('%k:%M')}. "
|
569
569
|
end
|
570
570
|
output += "The high today will be #{get_temperature high_temp}."
|
571
|
-
datas = { 'timeToClose': local_time,
|
572
|
-
'timeToOpen': open_time,
|
571
|
+
datas = { 'timeToClose': local_time.strftime('%k:%M'),
|
572
|
+
'timeToOpen': open_time.strftime('%k:%M'),
|
573
573
|
'tempMax': high_temp,
|
574
574
|
'temp': window_close_temp
|
575
575
|
}
|
@@ -228,7 +228,7 @@ module ForecastIo
|
|
228
228
|
end
|
229
229
|
|
230
230
|
def handle_http_windows(request, response)
|
231
|
-
uri = config.api_uri + config.api_key + '/' + '45.
|
231
|
+
uri = config.api_uri + config.api_key + '/' + '45.535,-122.631'
|
232
232
|
forecast = gimme_some_weather uri
|
233
233
|
windows_data = do_the_windows_data_thing(forecast)
|
234
234
|
response.write windows_data.to_json
|