wwo 0.3.9 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wwo.rb +2 -1
  3. data/lib/wwo/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae82bb822e1b880eb463b8ae4cdc653a86979481
4
- data.tar.gz: 52713e3b0eb735d05d379aa57e7966f1d742950c
3
+ metadata.gz: b775c80ee0c2d0fb8f8c02088c42489c0a215aff
4
+ data.tar.gz: d03ddacf04bdea460f9480049a97791f66c78463
5
5
  SHA512:
6
- metadata.gz: 3e1956c9296734a152c8b369a954a26582c6a1b05795ad5d599cc9a4f70920056068d2f479a76dd04949a1e899818d25e4f9b6169336f494cc50ff85b01b7d24
7
- data.tar.gz: 8fb369a964a88051f262287b12228ef8ecd09880187f565db7d511195ecad50cf6c35bb0472a7bf0a8be494f66cd8aa1112bbae4d22d17919a9ac8e5905dd7bc
6
+ metadata.gz: '026966e5b577aeee39e53d662d4a96864a17d4d2aa9403d93875f3452c7b0b9ee161306be45b37c9be7dc26dbe1149a64d4de46ae076dd0235c407bd433e9800'
7
+ data.tar.gz: 9b1b5da23a3731f665bbf7d8c1234c6627a69a784791a803e8af80e2f1befd5ed5cb5ae1daaa815b6d613d4727183caa2713838cba140f15571e53318c5a4929
data/lib/wwo.rb CHANGED
@@ -36,9 +36,10 @@ module Wwo
36
36
 
37
37
  uri = "#{Wwo.api_endpoint}/past-weather.ashx?q=#{latitude},#{longitude}&format=json&extra=utcDateTime&date=#{start_date_string}&enddate=#{yesterday_date_string}&show_comments=no&tp=24&key=#{Wwo.api_key}&mca=false&show_comments=false"
38
38
  past_response = Hashie::Mash.new(api_call(uri))
39
- uri = "#{Wwo.api_endpoint}/weather.ashx?q=#{latitude},#{longitude}&format=json&num_of_days=7&date=today&cc=no&mca=no&tp=24&key=#{Wwo.api_key}"
39
+ uri = "#{Wwo.api_endpoint}/weather.ashx?q=#{latitude},#{longitude}&format=json&num_of_days=7&cc=no&mca=no&tp=24&key=#{Wwo.api_key}"
40
40
  future_response = Hashie::Mash.new(api_call(uri))
41
41
 
42
+
42
43
  if forecast_compat
43
44
  past = make_into_forecast_response(past_response)
44
45
  future = make_into_forecast_response(future_response)
@@ -1,3 +1,3 @@
1
1
  module Wwo
2
- VERSION = "0.3.9"
2
+ VERSION = "0.3.10"
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.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - 株式会社アルム Allm Inc