From 8667e5d14065225217c7b2fd551956f0aa3b707d Mon Sep 17 00:00:00 2001 From: John Brophy Date: Tue, 14 Jun 2016 15:08:41 -0700 Subject: [PATCH] 0.5.1 release --- CHANGELOG.md | 5 +++++ UberRides.podspec | 2 +- source/UberRides/Configuration.swift | 4 ++-- source/UberRides/Info.plist | 2 +- source/UberRidesTests/AuthenticationURLUtilityTests.swift | 8 ++++---- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48515f59..63d8988d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [0.5.1] 2016-06-14 +### Fixed + +- [Issue #47](https://github.com/uber/rides-ios-sdk/issues/47) SSO fails for correctly configured China apps. SDK now sends the correct Region string for SSO + ## [0.5.0] 2016-06-2 ### Added diff --git a/UberRides.podspec b/UberRides.podspec index 5f6e5644..ed3eb4cf 100644 --- a/UberRides.podspec +++ b/UberRides.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "UberRides" - s.version = "0.5.0" + s.version = "0.5.1" s.summary = "The Official Uber Rides iOS SDK." s.description = <<-DESC This Swift library allows you to integrate Uber into your iOS app. It is designed to make it quick and easy to add a 'Request a Ride' button in your application, seamlessly connecting your users with Uber. diff --git a/source/UberRides/Configuration.swift b/source/UberRides/Configuration.swift index fc3b794c..3053b6ff 100644 --- a/source/UberRides/Configuration.swift +++ b/source/UberRides/Configuration.swift @@ -120,9 +120,9 @@ import WebKit public static var regionString: String { switch region { case .China: - return "China" + return "china" case .Default: - return "Default" + return "default" } } diff --git a/source/UberRides/Info.plist b/source/UberRides/Info.plist index 288c341b..504fc36a 100644 --- a/source/UberRides/Info.plist +++ b/source/UberRides/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.5.0 + 0.5.1 CFBundleSignature ???? CFBundleVersion diff --git a/source/UberRidesTests/AuthenticationURLUtilityTests.swift b/source/UberRidesTests/AuthenticationURLUtilityTests.swift index 4f66c219..fb818e32 100644 --- a/source/UberRidesTests/AuthenticationURLUtilityTests.swift +++ b/source/UberRidesTests/AuthenticationURLUtilityTests.swift @@ -49,7 +49,7 @@ class AuthenticationURLUtilityTests: XCTestCase { let expectedClientID = "testClientID" let expectedAppName = "My Awesome App" let expectedCallbackURI = "testURI://uberConnectNative" - let expectedLoginType = "Default" + let expectedLoginType = "default" let expectedSDK = "ios" let expectedSDKVersion = versionNumber @@ -78,7 +78,7 @@ class AuthenticationURLUtilityTests: XCTestCase { let expectedClientID = "testClientID" let expectedAppName = "My Awesome App" let expectedCallbackURI = "testURI://uberConnectNative" - let expectedLoginType = "Default" + let expectedLoginType = "default" let expectedSDK = "ios" let expectedSDKVersion = versionNumber @@ -109,7 +109,7 @@ class AuthenticationURLUtilityTests: XCTestCase { let expectedClientID = "testClientID" let expectedAppName = "My Awesome App" let expectedCallbackURI = "testURI://uberConnectNative" - let expectedLoginType = "China" + let expectedLoginType = "china" let expectedSDK = "ios" let expectedSDKVersion = versionNumber @@ -140,7 +140,7 @@ class AuthenticationURLUtilityTests: XCTestCase { let expectedClientID = "testClientID" let expectedAppName = "My Awesome App" let expectedCallbackURI = "testURI://uberConnectNative" - let expectedLoginType = "China" + let expectedLoginType = "china" let expectedSDK = "ios" let expectedSDKVersion = versionNumber