yr_weather 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yr_weather.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee5c6ac78715039e4a68135c9101ed34352c347f44063410d159f9b35b011a3f
|
4
|
+
data.tar.gz: d816f7296587b37ed76b46e99a3e83827d2a1aa5b416a97526e469e3fd52ef75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27328ad8f0b2ae5b831efb3636499d399cb884288546a8b327b1b10f9da73bf9a3f34430e9b7596ab1f23343ffccc38e69a592ff3ce7b19a730b37365f77f270
|
7
|
+
data.tar.gz: 321853a092cd849bcbac54395d41ff880cdc38f8a511b3c4f7141689e94e8da13c93d178f7d570750fabcf3414e155522177617d58c7f396c692af75d546e947
|
data/lib/yr_weather.rb
CHANGED
@@ -184,7 +184,7 @@ class YrWeather
|
|
184
184
|
wind_speed_max: node.dig(:data, :instant, :details, :wind_speed),
|
185
185
|
wind_speed_max_knots: to_knots(node.dig(:data, :instant, :details, :wind_speed)),
|
186
186
|
wind_direction: degrees_to_bearing(node.dig(:data, :instant, :details, :wind_from_direction)),
|
187
|
-
wind_description: node.dig(:data, :instant, :details, :wind_speed),
|
187
|
+
wind_description: wind_description(node.dig(:data, :instant, :details, :wind_speed)),
|
188
188
|
precipitation: node.dig(:data, :next_6_hours, :details, :precipitation_amount),
|
189
189
|
symbol_code: node.dig(:data, :next_6_hours, :summary, :symbol_code),
|
190
190
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yr_weather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- renen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Detailed, accurate, forecast data from yr.no. Converts location data
|
14
14
|
into usable forecasts (for different periods), as well as into summaries that are
|