skiplan_client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/skiplan_client/version.rb +1 -1
- data/test/skiplan_client/skiplan_client_test.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTM4ZmM1ZTc3M2E5NTBkNTRmMjE3OWIyZWFhZjYwNGFkODU1ZjUzYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDE0ZDYzM2QxMzdhMjg1ZmViNWRjOTUxNGQ0YzcxM2FmNzBlMTQ3MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDJiYzhhNTM1ZTRjYjVlYjBkN2U0NGU1NmVkOWUyM2Q1MjhlNTQ1ZGIzZTVl
|
10
|
+
YzY4N2Y3NzE4NGQ4MjhkYzQ4MzZiMzE4MGZjODAyM2FmMjhmMGIwYzExNDg2
|
11
|
+
NWUxZjI1Mzk3MzBkMTQ5YmM1ZTgzYTRmNmQ5MjYyMGFiNzIwOTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmZmNmU0Yzc4ZTVhMzkxMjcwYjdiM2RlNGFhZDUxMjk4ODA2OTBhOWI2OTBj
|
14
|
+
Yzk1NjUyNDEwZjJjYTQzYzhiNjJkZDBjMGM1Yjg4MjkwYTA5OTVlNDZjNWRi
|
15
|
+
ZWNlZmI2MzQ0MGYxZGYxZTVjYzQ3ZTAzNWYyMjFlYTNmM2FkYTY=
|
@@ -21,12 +21,17 @@ class SkiplanClientTest < Test::Unit::TestCase
|
|
21
21
|
|
22
22
|
should 'test get_weather founction' do
|
23
23
|
|
24
|
+
config = SkiplanClient.configure('C:\Users\Simon\Desktop\Stage\GitHub\skiplan_client\data\lumi_response.xml')
|
24
25
|
weather = SkiplanClient.get_weather
|
25
26
|
|
26
27
|
assert_equal '101' , weather.auj_ciel_id_matin
|
27
28
|
assert_equal '101' , weather.auj_ciel_id_apm
|
28
29
|
assert_equal '104' , weather.dem_ciel_id_matin
|
29
30
|
assert_equal '106' , weather.dem_ciel_id_apm
|
31
|
+
assert_equal '+12' , weather.auj_temp_matin
|
32
|
+
assert_equal '+20' , weather.auj_temp_apm
|
33
|
+
assert_equal '+17' , weather.dem_temp_matin
|
34
|
+
assert_equal '+21' , weather.dem_temp_apm
|
30
35
|
end
|
31
36
|
|
32
37
|
should 'change config url' do
|