diff options
| author | Teddy Wing | 2018-03-15 17:18:09 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-03-15 17:44:22 +0100 |
| commit | 18bf033af20f883e92a4f05bbba5070d70fe9d90 (patch) | |
| tree | 2364e7b05c435e8e6f9668019cf8875554e43a97 /lib/range_ext.rb | |
| parent | 7fb536325c19e837d10707e9adfc0d8bce5a3976 (diff) | |
| download | chouette-core-18bf033af20f883e92a4f05bbba5070d70fe9d90.tar.bz2 | |
Rename `RouteWayCostJSONSerializer` to `RouteWayCostUnitConverter`
Because we need to pass a Ruby hash to Rabl instead of a JSON string,
get rid of our serialiser and instead turn it into a function that just
converts the distance & time units.
Fix a bug in the test that had the `'1-2'` key as a symbol instead of a
string which was caused by a copy-paste from JSON and not being thorough
enough in search-and-replace.
Refs #6203
Diffstat (limited to 'lib/range_ext.rb')
0 files changed, 0 insertions, 0 deletions
