Sha256: c7c1238cf2f5134967e242b2815a2cc1d11b1d47d1d752c292272ae986c02600
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ratis-3.1.4 | CHANGELOG |