Skip to content

Commit

Permalink
Update latest Auth0.swift lib (#472)
Browse files Browse the repository at this point in the history
Update latest Auth0.swift lib
Update Test Mocks to conform to latest protocol

* Added brew update due to ruby issue in CI

* Change CI env to Xcode 9.0 iOS 11
  • Loading branch information
cocojoe authored Oct 19, 2017
1 parent c60bdb6 commit 5c3d2bf
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "auth0/Auth0.swift" ~> 1.8
github "auth0/Auth0.swift" ~> 1.9
2 changes: 1 addition & 1 deletion Cartfile.private
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github "Quick/Quick" ~> 1.1
github "Quick/Quick" ~> 1.2
github "Quick/Nimble" ~> 7.0
github "AliSoftware/OHHTTPStubs" ~> 6.0
github "emaloney/CleanroomLogger" ~> 5.1
6 changes: 3 additions & 3 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
github "AliSoftware/OHHTTPStubs" "6.0.0"
github "Quick/Nimble" "v7.0.1"
github "Quick/Quick" "v1.1.0"
github "auth0/Auth0.swift" "1.8.0"
github "Quick/Nimble" "v7.0.2"
github "Quick/Quick" "v1.2.0"
github "auth0/Auth0.swift" "1.9.0"
github "auth0/SimpleKeychain" "0.8.0"
github "emaloney/CleanroomLogger" "5.1.2"
2 changes: 1 addition & 1 deletion Lock.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Auth0 is a SaaS that helps you with Authentication and Authorization. You can us
s.requires_arc = true


s.dependency 'Auth0', '~> 1.8'
s.dependency 'Auth0', '~> 1.9'
s.default_subspecs = 'Classic'

s.subspec 'Classic' do |classic|
Expand Down
4 changes: 4 additions & 0 deletions LockTests/Utils/Mocks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ class MockWebAuth: WebAuth {

func clearSession(federated: Bool, callback: @escaping (Bool) -> Void) {
}

func useLegacyAuthentication() -> Self {
return self
}
}

class MockOAuth2: OAuth2Authenticatable {
Expand Down
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
machine:
xcode:
version: 8.3
version: 9.0
environment:
SCHEME: "Lock"
DEVICE: "iPhone 7 (10.3)"
DEVICE: "iPhone 8"
FASTLANE_EXPLICIT_OPEN_SIMULATOR: 2

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Scanfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
scheme "Lock"
device "iPhone 7 (10.3)"
device "iPhone 8"

clean true

Expand Down

0 comments on commit 5c3d2bf

Please sign in to comment.