cta_track 0.0.4 → 0.0.5

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: 51ef344aaabdca47a58b0c40f76914ea525fc473
4
- data.tar.gz: 7b505c36e4adca23f85d735049761a58180a5f43
3
+ metadata.gz: 9c04b0755a888da9d964dce95a556bcd44822264
4
+ data.tar.gz: 014f7ea98d4783ca340b531efd778a040bd9c37b
5
5
  SHA512:
6
- metadata.gz: 96062c06c2e24ee4a1f78c2cb1e92fc8a9c709a73c17cf22e6323517811de89ed25a418b353b024b737139982143241e8251412550947e83297e1b10eb8498ad
7
- data.tar.gz: c701c04c022edee6bf31b7b5614c99df5764b4065562a8f1922222534209826c90ab1b3015933e4dfcb3e93f9c77bf36640799489b389036524e05f0dd93bfe2
6
+ metadata.gz: 92552562b489d4b7e4e4d6af415fca24f630460a3d12c294a06c9997342f68bc098d289529c8f724adbdc817efa20d4c72d08796da930188bc77d1876b922ffc
7
+ data.tar.gz: 4c8313effcd0f0913c6c7bf16f155ebb8d53d26bee599154daaee5c5e6af0be6319d8e2abb396493ddc2e59e387deb2b95210247f24816f079ac8ad5f7b15891
@@ -1,3 +1,3 @@
1
1
  module CtaTrack
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/vehicles.rb CHANGED
@@ -13,7 +13,7 @@ module CtaTrack
13
13
  day = time[(6..7)].to_i
14
14
  hour = time[(9..10)].to_i
15
15
  minute = time[(12..13)].to_i
16
- @result[node.xpath('vid').text.to_i] = {
16
+ @result[node.xpath('vid').text] = {
17
17
  :vid => node.xpath('vid').text.to_i,
18
18
  :lat => node.xpath('lat').text.to_f,
19
19
  :lon => node.xpath('lon').text.to_f,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cta_track
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - rdalin82