diff --git a/Cartfile b/Cartfile index b4ce0c7f..77b4b3a3 100644 --- a/Cartfile +++ b/Cartfile @@ -1,3 +1 @@ -# github "RNCryptor/RNCryptor" ~> 4.0 - -github "soffes/Crypto" +github "loudnate/Crypto" "master" diff --git a/Cartfile.resolved b/Cartfile.resolved index 0f26057a..67c8f37e 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1 +1 @@ -github "soffes/Crypto" "v0.3.0" +github "loudnate/Crypto" "3e9fd522eba2b95c648229f9804b34773bb340a0" diff --git a/Example/xDripG5/NSUserDefaults.swift b/Example/xDripG5/NSUserDefaults.swift index 043922c1..849907b1 100644 --- a/Example/xDripG5/NSUserDefaults.swift +++ b/Example/xDripG5/NSUserDefaults.swift @@ -21,13 +21,15 @@ extension NSUserDefaults { var startTimeInterval: NSTimeInterval? { get { - return doubleForKey("startTimeInterval") + let value = doubleForKey("startTimeInterval") + + return value > 0 ? value : nil } set { if let value = newValue { setDouble(value, forKey: "startTimeInterval") } else { - setNilValueForKey("startTimeInterval") + removeObjectforKey("startTimeInterval") } } } diff --git a/xDripG5.podspec b/xDripG5.podspec index f17631b0..7227645a 100644 --- a/xDripG5.podspec +++ b/xDripG5.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "xDripG5" - s.version = "0.2.1" + s.version = "0.2.2" s.summary = "An interface for communicating with the G5 glucose transmitter over Bluetooth." s.description = <<-DESC diff --git a/xDripG5/Info.plist b/xDripG5/Info.plist index b9521449..33d5c6da 100644 --- a/xDripG5/Info.plist +++ b/xDripG5/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.2.1 + 0.2.2 CFBundleSignature ???? CFBundleVersion