lita-onewheel-forecast-io 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/irc_handlers.rb +12 -9
- data/lita-onewheel-forecast-io.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 132b9048f18c511b0eeb2972a6538852ac1429452a5f67ba12a562de12e77bce
|
4
|
+
data.tar.gz: 5e0889998137118390df5677d9a5f9c64071855df22ed68cb56807eb580d40ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6207a620b70030ccc8e13e510835552f6c3253111f4d3efe856dcb056138f589e53035e4f7ee5e129f24b3a29b6aa8c389e7a0e62c256f03ec186013f47a2cbd
|
7
|
+
data.tar.gz: b32b71dab4b2bafc4092b16f0d7b98127dec7c57c64d8503ec5334ca65a3d95148e750da92c8ada1ee674a132f54648c2424b982d0c47a97a2758564e81cafe7
|
@@ -77,15 +77,17 @@ module ForecastIo
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def handle_irc_ansiwind(response)
|
80
|
-
|
81
|
-
|
82
|
-
response.
|
80
|
+
response.reply "Sorry, darksky's api lies about wind now. Try the main interface at https://darksky.net"
|
81
|
+
# location = geo_lookup(response.user, response.match_data[1])
|
82
|
+
# forecast = get_forecast_io_results(response.user, location)
|
83
|
+
# response.reply location.location_name + ' ' + ansi_wind_direction_forecast(forecast)
|
83
84
|
end
|
84
85
|
|
85
86
|
def handle_irc_ascii_wind(response)
|
86
|
-
|
87
|
-
|
88
|
-
response.
|
87
|
+
response.reply "Sorry, darksky's api lies about wind now. Try the main interface at https://darksky.net"
|
88
|
+
# location = geo_lookup(response.user, response.match_data[1])
|
89
|
+
# forecast = get_forecast_io_results(response.user, location)
|
90
|
+
# response.reply location.location_name + ' ' + ascii_wind_direction_forecast(forecast)
|
89
91
|
end
|
90
92
|
|
91
93
|
def handle_irc_alerts(response)
|
@@ -156,9 +158,10 @@ module ForecastIo
|
|
156
158
|
end
|
157
159
|
|
158
160
|
def handle_irc_daily_wind(response)
|
159
|
-
|
160
|
-
|
161
|
-
response.
|
161
|
+
response.reply "Sorry, darksky's api lies about wind now. Try the main interface at https://darksky.net"
|
162
|
+
# location = geo_lookup(response.user, response.match_data[1])
|
163
|
+
# forecast = get_forecast_io_results(response.user, location)
|
164
|
+
# response.reply location.location_name + ' ' + do_the_daily_wind_thing(forecast)
|
162
165
|
end
|
163
166
|
|
164
167
|
def handle_irc_daily_humidity(response)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-onewheel-forecast-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kreps
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.1.2
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: A text-based interactive query engine for http://forecast.io's api.
|