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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGUxYjVjOGRlZGRmZDllZTVkOTNmOTUyNDU4MjlkMDM5NmMyYjkxNA==
4
+ MTM4ZmM1ZTc3M2E5NTBkNTRmMjE3OWIyZWFhZjYwNGFkODU1ZjUzYQ==
5
5
  data.tar.gz: !binary |-
6
- MTBiZjBlNWJiMzVjZTgxYWY1NzE0ZDUxN2I3NDA0NDIzNGI5NzJiMg==
6
+ NDE0ZDYzM2QxMzdhMjg1ZmViNWRjOTUxNGQ0YzcxM2FmNzBlMTQ3MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjIwNzUwMDIwODFjY2Q2OGI2ZTYwNjg3NjE0MTkzYWVlOTFlYjlhY2MyMzA0
10
- YzdlNDBhNTJlYWVjMTI0ZDNhYzRiNzZlMDU1NDc5YTcwOGY3ZjhmMmRjNTNm
11
- MzI5ZGRiNWJhOGYzZjU4ODQ2OTBjNGQwMjA2YzEwOGRiNTllNTk=
9
+ NDJiYzhhNTM1ZTRjYjVlYjBkN2U0NGU1NmVkOWUyM2Q1MjhlNTQ1ZGIzZTVl
10
+ YzY4N2Y3NzE4NGQ4MjhkYzQ4MzZiMzE4MGZjODAyM2FmMjhmMGIwYzExNDg2
11
+ NWUxZjI1Mzk3MzBkMTQ5YmM1ZTgzYTRmNmQ5MjYyMGFiNzIwOTc=
12
12
  data.tar.gz: !binary |-
13
- ZTRkOTM3M2FhZTM2OTEwYjE4NjBjZTFhYzhlZDNlODZmZTU2MGZkZDY5N2Mx
14
- OTJhMzQ0YWVkMTM4ZDg3MTdkMjliZDlmNTgwODZjMjJhNDMzODRlM2QxZjI2
15
- YzNhMGRlYzMxMjdlYjFhNDRkOTkwNzQ0YTdlOWVjMGUyNmY1NGM=
13
+ NmZmNmU0Yzc4ZTVhMzkxMjcwYjdiM2RlNGFhZDUxMjk4ODA2OTBhOWI2OTBj
14
+ Yzk1NjUyNDEwZjJjYTQzYzhiNjJkZDBjMGM1Yjg4MjkwYTA5OTVlNDZjNWRi
15
+ ZWNlZmI2MzQ0MGYxZGYxZTVjYzQ3ZTAzNWYyMjFlYTNmM2FkYTY=
@@ -1,3 +1,3 @@
1
1
  module SkiplanClient
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skiplan_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - SimonRonzani