Skip to content

Commit dfc17bb

Browse files
authored
Merge pull request #106 from Carthage/reactiveswift-3.0
Update ReactiveSwift to 3.0
2 parents 7426acd + a61a968 commit dfc17bb

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ branches:
66
matrix:
77
include:
88
- os: osx
9-
osx_image: xcode9
9+
osx_image: xcode9.1
1010
xcode_scheme: ReactiveTask
1111
script:
1212
- set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" test | xcpretty
1313
env: JOB=Xcode9
1414
- os: osx
15-
osx_image: xcode9
15+
osx_image: xcode9.1
1616
script:
1717
- swift --version
1818
- swift build

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
github "antitypical/Result" ~> 3.2.1
2-
github "ReactiveCocoa/ReactiveSwift" ~> 2.0.1
2+
github "ReactiveCocoa/ReactiveSwift" ~> 3.0

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
github "Quick/Nimble" "v7.0.2"
22
github "Quick/Quick" "v1.2.0"
3-
github "ReactiveCocoa/ReactiveSwift" "2.0.1"
3+
github "ReactiveCocoa/ReactiveSwift" "3.0.0"
44
github "antitypical/Result" "3.2.4"
55
github "jspahrsummers/xcconfigs" "3d9d99634cae6d586e272543d527681283b33eb0"

Carthage/Checkouts/ReactiveSwift

Submodule ReactiveSwift updated 48 files

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let package = Package(
88
],
99
dependencies: [
1010
.package(url: "https://github.com/antitypical/Result.git", from: "3.2.1"),
11-
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "2.0.1"),
11+
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "3.0.0"),
1212
.package(url: "https://github.com/Quick/Quick.git", from: "1.2.0"),
1313
.package(url: "https://github.com/Quick/Nimble.git", from: "7.0.2"),
1414
],

Sources/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ extension Task {
512512
lifetime += stdoutAggregated
513513
.then(stderrAggregated)
514514
.flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
515-
let errorString = (data.count > 0 ? String(data: data, encoding: .utf8) : nil)
515+
let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
516516
return SignalProducer(error: .shellTaskFailed(self, exitCode: terminationStatus, standardError: errorString))
517517
}
518518
.start(observer)

0 commit comments

Comments
 (0)