transilien_realtime 0.4.0 → 0.4.1

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: 9cd2207877fed148f1b555002f1ee2c1dc0e3585
4
- data.tar.gz: 685fd7f5fa4f07cd8cd210337300e04c68c9c352
3
+ metadata.gz: 02670a733f7b4b38aeef398eda766c2c720c5700
4
+ data.tar.gz: 64d709bad66c731196bb3fe91a1f300791bba623
5
5
  SHA512:
6
- metadata.gz: 0b9c2672c36f78ad7ac2075f2e3ade4810a8f1386b00e7d1353b4b5c711fe8276c637c1fa1a9f78d219959fd01729ffbfbaaff7df270291f16a4f90e24b6c761
7
- data.tar.gz: ef2f28139a4add8a82b4a15886721d71c6797d50c754fcf4ec4948e88ce49cbbacb35f9b089fe1ec9faee63d228fc926b7566f988c2bbd642c5fbe37b35d5cf0
6
+ metadata.gz: ebfac3d3cdb4b9afaca4fba563722e8acee93332efb30b6dc2702261f490f26593c1a74d50241978a658250d8c5654eda200ad0e8b44d5c43f2c0d434a92964c
7
+ data.tar.gz: 6ed15bc695bf69cd91979c1739396bc15c58d71dc2d15c3f9e095955f40c5d4ac8d432e723de1de04c9acb4a886b4d346525819fe2d9036265b507b9a05e7f5b
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ * 0.4.1
2
+ - miss tag can be missing (what an irony) on PSL start
1
3
  * 0.4.0
2
4
  - departure_at field is parsed in the correct TZ, following DST
3
5
  - put down a trace when exception break the parsing
@@ -19,7 +19,7 @@ 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
22
+ attr[:mission] = xml_node.at_xpath('miss').text rescue nil # it appears sometime at PSL there's no mission tag
23
23
  attr[:terminus] = xml_node.at_xpath('term').text
24
24
  attr[:numero] = xml_node.at_xpath('num').text
25
25
  date_node = xml_node.at_xpath('date')
@@ -1,3 +1,3 @@
1
1
  module TransilienRealtime
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transilien_realtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Lecavelier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -160,3 +160,4 @@ signing_key:
160
160
  specification_version: 4
161
161
  summary: Implementation of SNCF Transilien API Temps Réel
162
162
  test_files: []
163
+ has_rdoc: