-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [swift-3.0] Migrate to Swift3 * [swift-3.0] Remove redundant input paramter in the Adapter adapt method * [swift-3.0] Deprecate Oauth2 components aiming for the use of Paparajote * [swift-3.0] Add pod repo update command to travis * [swift-3.0] Update the pod repo update script to be silent * [swift-3.0] Update gem dependencies * [swift-3.0] Disable some tests * [swift-3.0] Re-enable tests and fix the travis build script * [swift-3.0] Disable some tests that are no passing on travis-ci * [swift-3.0] Update CHANGELOG & Quick version
- Loading branch information
Pedro Piñera Buendía
authored
Sep 24, 2016
1 parent
2205a25
commit 936b0c4
Showing
31 changed files
with
363 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
## Changelog | ||
|
||
### 1.0.0 | ||
- Swift 3.0 support. | ||
- Dropped Swift 2.3 support. | ||
|
||
### 0.0.41 | ||
|
||
* Add Danger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
CarambaKit/Classes/Networking/Client/UrlJsonResponseAdapter.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import Foundation | ||
import SwiftyJSON | ||
|
||
@available(*, deprecated, message: "Use https://github.com/carambalabs/paparajote instead") | ||
public protocol Oauth2Entity { | ||
|
||
func authorizationUrl() -> String | ||
func authenticationRequestFromUrl(url: String) -> NSURLRequest? | ||
func authenticationRequestFromUrl(url: String) -> URLRequest? | ||
func sessionFromJSON(response: JSON) throws -> Oauth2Session | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import Foundation | ||
|
||
public enum Oauth2Error: ErrorType { | ||
case AlreadyStarted | ||
@available(*, deprecated, message: "Use https://github.com/carambalabs/paparajote instead") | ||
public enum Oauth2Error: Error { | ||
case alreadyStarted | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import Foundation | ||
|
||
@available(*, deprecated, message: "Use https://github.com/carambalabs/paparajote instead") | ||
public protocol Oauth2Delegate: class { | ||
|
||
func oauth2OpenUrl(url: String) | ||
func oauth2DidFail(withError error: ErrorType) | ||
func oauth2DidComplete(withSession session: Oauth2Session) | ||
func oauth2Open(url url: String) | ||
func oauth2DidFail(with error: Error) | ||
func oauth2DidComplete(with session: Oauth2Session) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.