ratis 3.1.7 → 3.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -22,4 +22,7 @@
22
22
  - Added field 'sign' to Ratis::Timetable::Trip, this is the headsign for a bus running a given trip
23
23
 
24
24
  3.1.7
25
- - Removed to_hash, instead use better named to_hash_for_xml for use with NextRide SMS service end-point
25
+ - Removed to_hash, instead use better named to_hash_for_xml for use with NextRide SMS service end-point
26
+
27
+ 3.1.8
28
+ - Within to_hash_from_xml, pull route and sign attributes from the service instead of the realtime info (they always seem to be blank)
@@ -104,9 +104,9 @@ module Ratis
104
104
  service.trips.map do |trip|
105
105
 
106
106
  { :time => trip.realtime.estimatedtime,
107
- :sign => trip.realtime.sign,
107
+ :sign => service.sign,
108
108
  :adherence => trip.realtime.adherence,
109
- :route => trip.realtime.route
109
+ :route => service.route
110
110
  }
111
111
  end
112
112
  end.flatten
data/lib/ratis/version.rb CHANGED
@@ -5,7 +5,7 @@ module Ratis
5
5
  def version
6
6
  @version ||= begin
7
7
 
8
- string = '3.1.7'
8
+ string = '3.1.8'
9
9
 
10
10
  def string.parts
11
11
  split('.').map { |p| p.to_i }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratis
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
- - 7
10
- version: 3.1.7
9
+ - 8
10
+ version: 3.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Burst Software