Sha256: 6a6a8d3837c0a0114f83213fccf31f7adb277062324364a9410ff023ae3d725c

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ratis-3.1.3 CHANGELOG