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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yr_weather.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c2135e04382c61a18b28add359d42d910241a0950356bab5aab95b2f74515d7
4
- data.tar.gz: e8f5e71ffda302e393a411d9e754eae247f2942484948d6b22e9bd755342ec6f
3
+ metadata.gz: ee5c6ac78715039e4a68135c9101ed34352c347f44063410d159f9b35b011a3f
4
+ data.tar.gz: d816f7296587b37ed76b46e99a3e83827d2a1aa5b416a97526e469e3fd52ef75
5
5
  SHA512:
6
- metadata.gz: de545aaac5e3c66c25aa69bbb6cd422e83e35ef669123ceef9cd95574fa1fd645b56e82f2bf947859a27abed74f273fc32aa32f35ce92065d055bf6ffd13c8c3
7
- data.tar.gz: 8df88026d653594a00c6f9b448ad5186d50f8d4550bd46af1a513a37cbb8a30344f6483a2addf6c094d5a5d8e8b28343a6408af9d6d2ef581aa17da90dc0ddb8
6
+ metadata.gz: 27328ad8f0b2ae5b831efb3636499d399cb884288546a8b327b1b10f9da73bf9a3f34430e9b7596ab1f23343ffccc38e69a592ff3ce7b19a730b37365f77f270
7
+ data.tar.gz: 321853a092cd849bcbac54395d41ff880cdc38f8a511b3c4f7141689e94e8da13c93d178f7d570750fabcf3414e155522177617d58c7f396c692af75d546e947
@@ -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.2
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-27 00:00:00.000000000 Z
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