wwo 0.3.8 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wwo.rb +1 -1
  3. data/lib/wwo/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6319cdc7c7c9ff980a091f4ac8237692aa7403b6
4
- data.tar.gz: 2174db252c049bb9c193b91fb8f2ca98a4b68892
3
+ metadata.gz: ae82bb822e1b880eb463b8ae4cdc653a86979481
4
+ data.tar.gz: 52713e3b0eb735d05d379aa57e7966f1d742950c
5
5
  SHA512:
6
- metadata.gz: fb22246c1e5bda09749a3121bcefb13e1ae4fc0d40f8a8200f90bd8dc6db85292afa7781c355e32fef604d6237cbdc0ca6c6dd8a7033d7af128a20f55b48c604
7
- data.tar.gz: 9c6c679c1c1fec47e75919e5d129941b753be46e77100dc07520a94cccbb5c692ad530b30348d4cbe1f03b8e446f5b30338852f4b2f9c027a30829f2e6c45702
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
@@ -1,3 +1,3 @@
1
1
  module Wwo
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
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.8
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: 2016-03-13 00:00:00.000000000 Z
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.5.1
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