+1
-3
@@ -13,3 +13,2 @@ 'use strict' | ||
| // todo: sel, t, c, arq, ff, aix, risids | ||
| raw: data, | ||
| ref: data.pky, | ||
@@ -47,4 +46,3 @@ discount: data.tt === 'SP', // are there others than SP & NP? | ||
| trips: data.trains.map(parseTrip), | ||
| offer: null, | ||
| raw: data | ||
| offer: null | ||
| }) | ||
@@ -51,0 +49,0 @@ |
+3
-3
| { | ||
| "name": "db-prices", | ||
| "description": "Find the cheapest routes using the DB Sparpreise API.", | ||
| "version": "0.1.3", | ||
| "version": "0.1.4", | ||
| "keywords": [ | ||
@@ -29,6 +29,6 @@ "train", | ||
| "devDependencies": { | ||
| "floordate": "^2", | ||
| "floordate": "^3.0.0", | ||
| "is-roughly-equal": "^0.1", | ||
| "co": "^4.6", | ||
| "db-stations": "^0.3", | ||
| "db-stations": "^0.4.0", | ||
| "tape-co": "^1", | ||
@@ -35,0 +35,0 @@ "tap-min": "^1.1" |
+2
-2
@@ -36,3 +36,3 @@ 'use strict' | ||
| test.ok(yield findStation(t.from.station), 'station not found') | ||
| test.equal(typeof t.from.platform, 'string') | ||
| // test.equal(typeof t.from.platform, 'string') | ||
@@ -42,3 +42,3 @@ test.ok(validDate(t.end)) | ||
| test.ok(yield findStation(t.to.station), 'station not found') | ||
| test.equal(typeof t.to.platform, 'string') | ||
| // test.equal(typeof t.to.platform, 'string') | ||
@@ -45,0 +45,0 @@ test.equal(typeof t.line, 'string') |
10172
-0.12%159
-1.24%