Sha256: 806abcdc57c95b42c4979b60550abf1820118175597a725dc1c47ef4d6d1aabb

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

3.1
- The NextBus class was really using the Nextbus2 api call all along.  This was pretty confusing, so 2 seperate classes now exist; one for NextBus and NextBus2.  This means any code using NextBus prior to 3.1 will break since it was really calling the Nextbus2 api and we've updated it so the class of matching name is calling the matching api method.
- Dev dependencies of chronic and rspec-instafail were also added to aid testing

3.1.1
- spec updates, and general tidy

3.1.2
- NextBus#stop added
- Contains info about the stop (:side, :stopid, :heading, :lat, :area, :servicetype, :route, :operator)

3.1.3
- Turns out that in the NextBus calls the <service> tag can come back as either a single node or list of nodes.  In one case savon turns this into an array, in the other case it's just a single entity.  Rewrote NextBus.where to handle these two cases, this also means NextBus would never really represent a single service.  Created a NextBus.services method that returns all these entities in a similar manner.  Update test specs

3.1.4
- Bug Fix: NextBus trips returned can be an array or a single hash

3.1.5
- Bug Fix: NextBus where was incorrectly sending Time in 12 hour format when ATIS needs it in 24 hour format.

3.1.6
- Added field 'sign' to Ratis::Timetable::Trip, this is the headsign for a bus running a given trip

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ratis-3.1.6 CHANGELOG