Skip to content

Complete rebirth: Gares 2.0.0

Compare
Choose a tag to compare
@paulRbr paulRbr released this 03 May 15:22
· 14 commits to master since this release

TL;DR

  • gares-en-mouvement.com is dead, long live gares-sncf.com
  • performance
  • live train information (delay, platform...)

What's new?

On Stations

  • No more info from gares-en-mouvement.com (the site has changed to gares-sncf.com)
    • Deletes the following information on train Stations: opening_hours, services, wifi?, defibrilator?
    • Adds departures method on Stations. Gives the next departing trains from that station (including platform number)
    • Adds arrivals method on Stations. Gives the next arriving trains from that station (including platform number)
  • Change source of train station list to the freshly open sourced database of capitainetrain
  • Adds source of self-service machines available in train stations from here. So the has_borne? method still exist!

On Trains

  • Some train numbers are used for multi-itinerary trips. We select for now always the first.

Misc

  • Complete rewrite of the search method. Perf powerup!
  • Small fixes and perf improvements in specs