transilien_realtime 0.4.1 → 0.4.2

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: 02670a733f7b4b38aeef398eda766c2c720c5700
4
- data.tar.gz: 64d709bad66c731196bb3fe91a1f300791bba623
3
+ metadata.gz: 7f5310737be78d46058e3c9a23ab8df0409eed39
4
+ data.tar.gz: a4337538371a8d1702031517e1099de877d42464
5
5
  SHA512:
6
- metadata.gz: ebfac3d3cdb4b9afaca4fba563722e8acee93332efb30b6dc2702261f490f26593c1a74d50241978a658250d8c5654eda200ad0e8b44d5c43f2c0d434a92964c
7
- data.tar.gz: 6ed15bc695bf69cd91979c1739396bc15c58d71dc2d15c3f9e095955f40c5d4ac8d432e723de1de04c9acb4a886b4d346525819fe2d9036265b507b9a05e7f5b
6
+ metadata.gz: fd8d2811d85a917b67f8e02c31f1633ad654225833debaa111f2967b52e6dfa9147313c09a87361fd5c8ed2132092bafe133d8042e4feee8b57dce834ae7657a
7
+ data.tar.gz: 361778be22c250e999b10d605b929adc794e126c14456e01b9408dcc9cf9fed4e0670bca3e6bff7da6259e8f2c092e922d3b977d4ea1b30a1725217b0551fb3b
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ * 0.4.2
2
+ - terminus tag can be missing on PSL start
1
3
  * 0.4.1
2
4
  - miss tag can be missing (what an irony) on PSL start
3
5
  * 0.4.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transilien_realtime (0.4.0)
4
+ transilien_realtime (0.4.2)
5
5
  http (~> 0.8.9)
6
6
  nokogiri (~> 1.6.6.2)
7
7
  oj (~> 2.12.7)
@@ -14,7 +14,7 @@ GEM
14
14
  timers (~> 4.0.0)
15
15
  coderay (1.1.0)
16
16
  diff-lcs (1.2.5)
17
- domain_name (0.5.24)
17
+ domain_name (0.5.25)
18
18
  unf (>= 0.0.5, < 1.0.0)
19
19
  ffi (1.9.8)
20
20
  formatador (0.2.5)
@@ -50,7 +50,7 @@ GEM
50
50
  method_source (0.8.2)
51
51
  mini_portile (0.6.2)
52
52
  nenv (0.2.0)
53
- nokogiri (1.6.6.2)
53
+ nokogiri (1.6.6.4)
54
54
  mini_portile (~> 0.6.0)
55
55
  notiffany (0.0.6)
56
56
  nenv (~> 0.1)
@@ -19,8 +19,8 @@ module TransilienRealtime
19
19
  class << self
20
20
  def from_xml(xml_node)
21
21
  attr = {}
22
- attr[:mission] = xml_node.at_xpath('miss').text rescue nil # it appears sometime at PSL there's no mission tag
23
- attr[:terminus] = xml_node.at_xpath('term').text
22
+ attr[:mission] = xml_node.at_xpath('miss').text rescue nil # it appears sometimes at PSL there's no mission tag
23
+ attr[:terminus] = xml_node.at_xpath('term').text rescue nil # it appears sometimes at PSL there's no mission tag
24
24
  attr[:numero] = xml_node.at_xpath('num').text
25
25
  date_node = xml_node.at_xpath('date')
26
26
  attr[:departure_at] = date_node.text
@@ -1,3 +1,3 @@
1
1
  module TransilienRealtime
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transilien_realtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Lecavelier