windward 0.0.6 → 0.0.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a02bc15e0866e7d5e090da8eed237d6281196fb
4
- data.tar.gz: 8f68637e5a1a660818c2480b7b82189af91b1685
3
+ metadata.gz: 43efe968655ad9da03efa0449ad24ea3a1ef828f
4
+ data.tar.gz: dbbf9de1ce7649f309384ca17ff0c40ebcdd58b4
5
5
  SHA512:
6
- metadata.gz: d79e6e37c6a1f97d60496c06ec0c7c82eccab1a324dc8ad6fb713a2aac4a50ff789e94c03649893a6e7deb41682b0e2d2243923b776a4473d8f47ec617099f4f
7
- data.tar.gz: 81b4be014a9fbc74ad5075d36170b6f3d976ede5084bc0c2f81838735382c5487062125f9f523f5306b6c8684fad351c455b59ef1dbd231487b44e5a9edca8e8
6
+ metadata.gz: af0fd99d09955b3cfd1ab3571644f1d5760ff7478691275f0573ba194370739f5406e1f6179c5922ca5586ce6c325d975e273c5024d3409f004865726a5aabeb
7
+ data.tar.gz: ef33d6603af2fa264a4f94de7704470eaaef3a1ee93b16cbe92fc6c3973f31dcf924a8b736ebb852b4a0f5830049bf7bf61ba1873acdfc8567c1223edade527b
@@ -1,3 +1,3 @@
1
1
  module Windward
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/lib/windward.rb CHANGED
@@ -71,7 +71,7 @@ module Windward
71
71
  data = page.parser.css("div##{values['value']}")
72
72
  previsions = Hash.new
73
73
  data.each do |datum|
74
- temps = datum.css('span.picTemps').first.content.strip
74
+ temps = datum.css('span.picTemps').first.content.split(' - ').last.strip
75
75
  temper = datum.css('span.temper').first.content.strip
76
76
  department = @departments[datum['data-insee'][0..1]]
77
77
  city = @cities[datum['data-insee'][0..4]]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: windward
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yann VERY
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-10 00:00:00.000000000 Z
11
+ date: 2015-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize