wwo 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wwo.rb +1 -1
- data/lib/wwo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae82bb822e1b880eb463b8ae4cdc653a86979481
|
4
|
+
data.tar.gz: 52713e3b0eb735d05d379aa57e7966f1d742950c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e1956c9296734a152c8b369a954a26582c6a1b05795ad5d599cc9a4f70920056068d2f479a76dd04949a1e899818d25e4f9b6169336f494cc50ff85b01b7d24
|
7
|
+
data.tar.gz: 8fb369a964a88051f262287b12228ef8ecd09880187f565db7d511195ecad50cf6c35bb0472a7bf0a8be494f66cd8aa1112bbae4d22d17919a9ac8e5905dd7bc
|
data/lib/wwo.rb
CHANGED
@@ -178,7 +178,7 @@ module Wwo
|
|
178
178
|
data[:daily][:data][0]['temperatureMax'] = response.data.weather.first.maxtempC
|
179
179
|
data[:daily][:data][0]['temperatureMin'] = response.data.weather.first.mintempC
|
180
180
|
data[:daily][:data][0]["conditionCode"] = "999"
|
181
|
-
data[:daily][:data][0]["weatherCode"] = weatherCode = weather.hourly.first.weatherCode
|
181
|
+
data[:daily][:data][0]["weatherCode"] = weatherCode = response.data.weather.first.hourly.first.weatherCode
|
182
182
|
|
183
183
|
return data
|
184
184
|
end
|
data/lib/wwo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wwo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 株式会社アルム Allm Inc
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-11-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
version: '0'
|
210
210
|
requirements: []
|
211
211
|
rubyforge_project:
|
212
|
-
rubygems_version: 2.
|
212
|
+
rubygems_version: 2.6.13
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: Rubygem for accessing the free and premium weather APIs from World Weather
|