-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from mdiep/swift3
Upgrade to Swift 3
- Loading branch information
Showing
47 changed files
with
663 additions
and
592 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
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,3 +1,3 @@ | ||
github "ReactiveCocoa/ReactiveCocoa" ~> 4.2.2 | ||
github "thoughtbot/Argo" ~> 3.0.3 | ||
github "thoughtbot/Curry" ~> 2.3.3 | ||
github "ReactiveCocoa/ReactiveSwift" "1.0.0-alpha.3" | ||
github "thoughtbot/Argo" ~> 4.1 | ||
github "thoughtbot/Curry" ~> 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github "AliSoftware/OHHTTPStubs" "4995ecd" | ||
github "AliSoftware/OHHTTPStubs" "5.2.2-swift3" |
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 @@ | ||
github "thoughtbot/Argo" "v3.0.3" | ||
github "thoughtbot/Curry" "v2.3.3" | ||
github "AliSoftware/OHHTTPStubs" "4995ecd762abdd81227d14faf65fde003fbbe789" | ||
github "antitypical/Result" "2.1.3" | ||
github "ReactiveCocoa/ReactiveCocoa" "v4.2.2" | ||
github "thoughtbot/Curry" "v3.0.0" | ||
github "AliSoftware/OHHTTPStubs" "5.2.2-swift3" | ||
github "antitypical/Result" "3.0.0" | ||
github "thoughtbot/Runes" "v4.0.1" | ||
github "thoughtbot/Argo" "v4.1.0" | ||
github "ReactiveCocoa/ReactiveSwift" "1.0.0-alpha.3" |
Submodule Curry
updated
6 files
+1 −1 | Curry.podspec | |
+4 −2 | Curry.xcodeproj/project.pbxproj | |
+15 −0 | README.md | |
+1 −1 | Resources/Info.plist | |
+40 −44 | Source/Curry.swift | |
+9 −11 | bin/generate |
Submodule OHHTTPStubs
updated
41 files
Submodule ReactiveCocoa
deleted from
f214c9
Submodule ReactiveSwift
added at
55345e
Submodule Result
updated
11 files
+1 −1 | .swift-version | |
+11 −19 | .travis.yml | |
+2 −2 | Result.podspec | |
+51 −25 | Result.xcodeproj/project.pbxproj | |
+1 −1 | Result/Info.plist | |
+48 −123 | Result/Result.swift | |
+182 −0 | Result/ResultProtocol.swift | |
+0 −264 | Result/ResultType.swift | |
+1 −1 | Tests/LinuxMain.swift | |
+1 −1 | Tests/ResultTests/Info.plist | |
+35 −52 | Tests/ResultTests/ResultTests.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
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Tentacle.xcodeproj/xcshareddata/xcschemes/Tentacle-OSX.xcscheme
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
2 changes: 1 addition & 1 deletion
2
Tentacle.xcodeproj/xcshareddata/xcschemes/update-test-fixtures.xcscheme
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// | ||
// Availability.swift | ||
// Tentacle | ||
// | ||
// Created by Syo Ikeda on 11/6/16. | ||
// Copyright © 2016 Matt Diephouse. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import ReactiveSwift | ||
|
||
extension DateFormatter { | ||
@available(*, unavailable, renamed: "iso8601") | ||
@nonobjc public static var ISO8601: DateFormatter { fatalError() } | ||
} | ||
|
||
extension Release.Asset { | ||
@available(*, unavailable, renamed: "apiURL") | ||
public var APIURL: URL { fatalError() } | ||
} | ||
|
||
extension Client { | ||
@available(*, unavailable, renamed: "releases(in:page:perPage:)") | ||
public func releasesInRepository(_ repository: Repository, page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [Release]), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "release(forTag:in:)") | ||
public func releaseForTag(_ tag: String, inRepository repository: Repository) -> SignalProducer<(Response, Release), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "download(asset:)") | ||
public func downloadAsset(_ asset: Release.Asset) -> SignalProducer<URL, Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "user(login:)") | ||
public func userWithLogin(_ login: String) -> SignalProducer<(Response, UserInfo), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "assignedIssues(page:perPage:)") | ||
public func assignedIssues(_ page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [Issue]), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "issues(in:page:perPage:)") | ||
public func issuesInRepository(_ repository: Repository, page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [Issue]), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "comments(onIssue:in:page:perPage:)") | ||
public func commentsOnIssue(_ issue: Int, repository: Repository, page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [Comment]), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "repositories(page:perPage:)") | ||
public func repositories(_ page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [RepositoryInfo]), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "repositories(forUser:page:perPage:)") | ||
public func repositoriesForUser(_ user: String, page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [RepositoryInfo]), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "repositories(forOrganization:page:perPage:)") | ||
public func repositoriesForOrganization(_ organization: String, page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [RepositoryInfo]), Error> { fatalError() } | ||
|
||
@available(*, unavailable, renamed: "publicRepositories(page:perPage:)") | ||
public func publicRepositories(_ page: UInt = 1, perPage: UInt = 30) -> SignalProducer<(Response, [RepositoryInfo]), Error> { fatalError() } | ||
} |
Oops, something went wrong.