wdt-skywise-forecast 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wdt/skywise/forecast.rb +4 -4
- data/lib/wdt/skywise/forecast/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c48d4227b4436df304e93978ee52774aa1fc8b0c
|
4
|
+
data.tar.gz: 71c50aeb51021094c1447abc354075248b053b98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70d1b46ff1ec3d0f677cdeb5bda3b30dcdfb2d4d7c1bd228db71953f79aa1fc51b5605f9d6ed0b58b65b4736c83becbd2e8b1df236aa5a317f02dfbc5def9739
|
7
|
+
data.tar.gz: 988af9e6148b240ab1d5b1f44f11d44967e8353f6d231f1f2e2cc402346be5dc9806b0c8f98dc5b9959276e9c3f8ba06159e79dd6e9085016a212f9675f2d9a8
|
data/lib/wdt/skywise/forecast.rb
CHANGED
@@ -59,11 +59,11 @@ module Wdt
|
|
59
59
|
elsif options.has_key?(:CITY) && ( !options.has_key?(:STATE) && !options.has_key?(:COUNTRY))
|
60
60
|
error = "STATE or COUNTRY must be provided with CITY"
|
61
61
|
success = false
|
62
|
-
elsif options.has_key?(:LAT) && !options.has_key?(:
|
63
|
-
error = "
|
62
|
+
elsif options.has_key?(:LAT) && !options.has_key?(:LON)
|
63
|
+
error = "LON must be provided with LAT"
|
64
64
|
success = false
|
65
|
-
elsif options.has_key?(:
|
66
|
-
error = "LAT must be provided with
|
65
|
+
elsif options.has_key?(:LON) && !options.has_key?(:LAT)
|
66
|
+
error = "LAT must be provided with LON"
|
67
67
|
success = false
|
68
68
|
end
|
69
69
|
{error: error, success: success}
|