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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yr_weather.rb +1 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbf68e1623f53a5a3ecb6d38a5c79d20167aa70b5d06f18dfc8a672658bd0070
4
- data.tar.gz: cbb5cc94eaf848499f757ce9c7ba45d05f6e1f6dddd931eb4d8f96ae460104b9
3
+ metadata.gz: 5e47549b61405e213ae2ea6473f9a506d03f6b40dc65e1c81d4f627a5bc5ae9e
4
+ data.tar.gz: 71e06c608c7c9794eb1e0c50ade6129ff8f3406cc3e1c139953f464e5a09f4a9
5
5
  SHA512:
6
- metadata.gz: 761d8bac6187feff85ff34980a0149ea8dfe986fe825986fcba2ab8569d78ecd072370a63b7e68f7a8e124dcabbad98fea365e84ee8ba5075dc2316a583b32e8
7
- data.tar.gz: e76bf5b6974cb8eed9fc9c26ce488e38c2b8a5a2e791568e08a7a17dba022929633823261945b988cb316d84349040cf32b7a715b37c7dc01c38605b16c5f83c
6
+ metadata.gz: 8cf94a05defb1d2c8ef03ec451c3f33fca09823d0ea66242b6b3327bb1c99ca754f07fc7bd3afc9c44efed0f43e4a70ac690f178899db48361b9be01c0606084
7
+ data.tar.gz: a637ff390645993cd4eb1309991f347635978b040daf0d2efb7d49f922b5740c72b381853bce54980598aa60838e5579128b71d0f4e8a5c3b5a0ac3a65f6ed55
@@ -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
- wind_from_direction: degrees_to_bearing(node.dig(:data, :instant, :details, :wind_from_direction)),
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.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: This gem leverages the yr.no weather API to convert location data into
14
- hourly forecasts, and summaries that are simpler to understand, and easy to script
15
- into databases and systems.
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/yr_parser
23
+ homepage: https://github.com/sasa-solutions/yr_weather
24
24
  licenses:
25
25
  - MIT
26
26
  metadata: {}