lib/ratis/next_bus.rb in ratis-3.1.7 vs lib/ratis/next_bus.rb in ratis-3.1.8
- old
+ new
@@ -102,12 +102,12 @@
{ :stopname => @stop[:description],
:runs => @services.map do |service|
service.trips.map do |trip|
{ :time => trip.realtime.estimatedtime,
- :sign => trip.realtime.sign,
+ :sign => service.sign,
:adherence => trip.realtime.adherence,
- :route => trip.realtime.route
+ :route => service.route
}
end
end.flatten
}