yr_weather 1.0.0 → 1.0.1
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 +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e47549b61405e213ae2ea6473f9a506d03f6b40dc65e1c81d4f627a5bc5ae9e
|
4
|
+
data.tar.gz: 71e06c608c7c9794eb1e0c50ade6129ff8f3406cc3e1c139953f464e5a09f4a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cf94a05defb1d2c8ef03ec451c3f33fca09823d0ea66242b6b3327bb1c99ca754f07fc7bd3afc9c44efed0f43e4a70ac690f178899db48361b9be01c0606084
|
7
|
+
data.tar.gz: a637ff390645993cd4eb1309991f347635978b040daf0d2efb7d49f922b5740c72b381853bce54980598aa60838e5579128b71d0f4e8a5c3b5a0ac3a65f6ed55
|
data/lib/yr_weather.rb
CHANGED
@@ -142,7 +142,7 @@ class YrWeather
|
|
142
142
|
at: time,
|
143
143
|
symbol_code: node.dig(:data, :next_1_hours, :summary, :symbol_code),
|
144
144
|
precipitation_amount: node.dig(:data, :next_1_hours, :details, :precipitation_amount),
|
145
|
-
|
145
|
+
wind_direction: degrees_to_bearing(node.dig(:data, :instant, :details, :wind_from_direction)),
|
146
146
|
wind_description: wind_description(node.dig(:data, :instant, :details, :wind_speed)),
|
147
147
|
wind_speed_knots: to_knots(node.dig(:data, :instant, :details, :wind_speed)),
|
148
148
|
})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- renen
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
|
15
|
-
|
13
|
+
description: Detailed, accurate, forecast data from yr.no. Converts location data
|
14
|
+
into usable forecasts (for different periods), as well as into summaries that are
|
15
|
+
simple to understand, and easy to use.
|
16
16
|
email:
|
17
17
|
- renen@121.co.za
|
18
18
|
executables: []
|
@@ -20,7 +20,7 @@ extensions: []
|
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
22
|
- lib/yr_weather.rb
|
23
|
-
homepage: https://github.com/sasa-solutions/
|
23
|
+
homepage: https://github.com/sasa-solutions/yr_weather
|
24
24
|
licenses:
|
25
25
|
- MIT
|
26
26
|
metadata: {}
|