Skip to content

Commit ae6ec76

Browse files
committed
Fix Thermometer.
1 parent b691512 commit ae6ec76

File tree

5 files changed

+1879
-5
lines changed

5 files changed

+1879
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# 3.0.2
2-
- Fix invalid URL construction for request including a departudecode
3-
41
# 3.0.1
2+
- Fix invalid URL construction for request including a departudecode
53
- Fix parsing error for next departures. [#1](https://github.com/yageek/TPGSwift/issues/1)
64

75
# 3.0.0

Sources/Thermometer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public struct Step: Decodable {
5151
public let timestamp: Date
5252

5353
/// The arrival time if the schedure reference is provided
54-
public let arrivalTime: Double?
54+
public let arrivalTime: String?
5555

5656
/// The reliabilty
5757
public let reliability: String

TPGSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "TPGSwift"
4-
s.version = "3.0.0"
4+
s.version = "3.0.1"
55
s.summary = "A library to access the TPG opendata."
66
s.homepage = "https://github.com/yageek/TPGSwift"
77
s.license = "MIT"

Tests/Decodable.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class DecodableTests: XCTestCase {
5757

5858
// Thermometers
5959
assertDecode(Thermometer.self, fileName: "GetThermometer")
60+
assertDecode(Thermometer.self, fileName: "GetThermometer2")
6061

6162
// All Phyisical Thermometers
6263
assertDecode(Thermometer.self, fileName: "GetThermometerPhysicalStops")

0 commit comments

Comments
 (0)