Skip to content

Commit

Permalink
Merge pull request #112 from mattprowse/reactiveswift-5.0
Browse files Browse the repository at this point in the history
Update ReactiveSwift to 5.0
  • Loading branch information
ikesyo authored Apr 3, 2019
2 parents d8bdfd5 + 8c0738e commit 699e6ac
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.2
4.2
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ branches:
matrix:
include:
- os: osx
osx_image: xcode9.4
osx_image: xcode10.1
xcode_scheme: ReactiveTask
script:
- set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" test | xcpretty
env: JOB=Xcode9.4
env: JOB=Xcode10.1
- os: osx
osx_image: xcode9.4
osx_image: xcode10.1
script:
- swift --version
- swift build
Expand All @@ -21,8 +21,9 @@ matrix:
submodules: false
env: JOB=SWIFTPM_DARWIN
- os: osx
osx_image: xcode9.4
osx_image: xcode10.1
script:
- gem update cocoapods
- pod repo update
- pod lib lint
notifications:
Expand All @@ -44,4 +45,4 @@ deploy:
on:
repo: Carthage/ReactiveTask
tags: true
condition: $JOB = Xcode9.4
condition: $JOB = Xcode10.1
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "antitypical/Result" ~> 4.0
github "ReactiveCocoa/ReactiveSwift" ~> 4.0
github "antitypical/Result" ~> 4.1
github "ReactiveCocoa/ReactiveSwift" ~> 5.0
4 changes: 2 additions & 2 deletions Cartfile.private
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "jspahrsummers/xcconfigs" "3d9d996"
github "Quick/Quick" ~> 1.3.1
github "Quick/Nimble" ~> 7.1.3
github "Quick/Quick" ~> 2.0
github "Quick/Nimble" ~> 8.0
8 changes: 4 additions & 4 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github "Quick/Nimble" "v7.1.3"
github "Quick/Quick" "v1.3.1"
github "ReactiveCocoa/ReactiveSwift" "4.0.0"
github "antitypical/Result" "4.0.0"
github "Quick/Nimble" "v8.0.1"
github "Quick/Quick" "v2.0.0"
github "ReactiveCocoa/ReactiveSwift" "5.0.0"
github "antitypical/Result" "4.1.0"
github "jspahrsummers/xcconfigs" "3d9d99634cae6d586e272543d527681283b33eb0"
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Nimble
Submodule Nimble updated 100 files
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Quick
Submodule Quick updated 49 files
+3 −1 .hound.yml
+1 −1 .swift-version
+40 −44 .travis.yml
+2 −2 Dangerfile
+1 −1 Documentation/en-us/SharedExamples.md
+1 −1 Documentation/ko-kr/BehavioralTesting.md
+1 −1 Documentation/ko-kr/InstallingQuick.md
+1 −1 Externals/Nimble
+1 −1 Gemfile
+26 −26 Gemfile.lock
+2 −2 Package.resolved
+30 −37 Package.swift
+0 −40 [email protected]
+1 −1 Quick Templates/Quick Configuration Class.xctemplate/Objective-C/___FILEBASENAME___.h
+1 −1 Quick Templates/Quick Configuration Class.xctemplate/Objective-C/___FILEBASENAME___.m
+1 −1 Quick Templates/Quick Configuration Class.xctemplate/Swift/___FILEBASENAME___.swift
+1 −1 Quick Templates/Quick Spec Class.xctemplate/Objective-C/___FILEBASENAME___.m
+1 −1 Quick Templates/Quick Spec Class.xctemplate/Swift/___FILEBASENAME___.swift
+5 −2 Quick.podspec
+9 −9 Quick.xcodeproj/project.pbxproj
+8 −0 Quick.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+3 −1 README.md
+9 −6 Rakefile
+1 −1 Sources/Quick/Behavior.swift
+3 −9 Sources/Quick/Callsite.swift
+2 −2 Sources/Quick/Configuration/Configuration.swift
+1 −1 Sources/Quick/Configuration/QuickConfiguration.swift
+3 −3 Sources/Quick/DSL/World+DSL.swift
+1 −1 Sources/Quick/ErrorUtility.swift
+3 −9 Sources/Quick/Example.swift
+3 −9 Sources/Quick/ExampleMetadata.swift
+3 −9 Sources/Quick/Filter.swift
+1 −1 Sources/Quick/NSBundle+CurrentTestBundle.swift
+2 −2 Sources/Quick/NSString+C99ExtendedIdentifier.swift
+2 −2 Sources/Quick/QuickMain.swift
+1 −1 Sources/Quick/QuickSelectedTestSuiteBuilder.swift
+2 −10 Sources/Quick/QuickSpec.swift
+1 −1 Sources/Quick/QuickTestSuite.swift
+5 −11 Sources/Quick/World.swift
+1 −1 Tests/QuickTests/QuickTestHelpers/XCTestCaseProvider.swift
+1 −1 Tests/QuickTests/QuickTests/FunctionalTests/AfterEachTests.swift
+1 −1 Tests/QuickTests/QuickTests/FunctionalTests/BeforeEachTests.swift
+1 −1 Tests/QuickTests/QuickTests/FunctionalTests/BehaviorTests.swift
+1 −1 Tests/QuickTests/QuickTests/FunctionalTests/ContextTests.swift
+1 −1 Tests/QuickTests/QuickTests/FunctionalTests/DescribeTests.swift
+2 −2 Tests/QuickTests/QuickTests/FunctionalTests/ItTests.swift
+1 −1 Tests/QuickTests/QuickTests/FunctionalTests/SharedExamplesTests.swift
+1 −1 script/release
+0 −4 script/travis-install-macos
2 changes: 1 addition & 1 deletion Carthage/Checkouts/ReactiveSwift
Submodule ReactiveSwift updated 36 files
+1 −1 .swift-version
+69 −59 .travis.yml
+10 −1 CHANGELOG.md
+1 −1 Cartfile
+2 −2 Cartfile.private
+3 −3 Cartfile.resolved
+1 −1 Carthage/Checkouts/Nimble
+1 −1 Carthage/Checkouts/Quick
+1 −1 Carthage/Checkouts/Result
+8 −8 Documentation/Example.OnlineSearch.md
+9 −9 Documentation/ReactivePrimitives.md
+1 −1 Documentation/RxComparison.md
+6 −6 Package.resolved
+3 −3 Package.swift
+19 −0 [email protected]
+1 −1 ReactiveSwift.playground/Pages/Signal.xcplaygroundpage/Contents.swift
+19 −0 ReactiveSwift.playground/Pages/SignalProducer.xcplaygroundpage/Contents.swift
+2 −2 ReactiveSwift.podspec
+4 −0 ReactiveSwift.xcodeproj/project.pbxproj
+4 −5 ReactiveSwift.xcodeproj/xcshareddata/xcschemes/ReactiveSwift-iOS.xcscheme
+4 −5 ReactiveSwift.xcodeproj/xcshareddata/xcschemes/ReactiveSwift-macOS.xcscheme
+4 −5 ReactiveSwift.xcodeproj/xcshareddata/xcschemes/ReactiveSwift-tvOS.xcscheme
+37 −0 Sources/Action.swift
+1 −1 Sources/Atomic.swift
+51 −10 Sources/Event.swift
+1 −1 Sources/Info.plist
+1 −1 Sources/ResultExtensions.swift
+10 −4 Sources/Scheduler.swift
+23 −0 Sources/Signal.swift
+25 −2 Sources/SignalProducer.swift
+45 −0 Tests/ReactiveSwiftTests/ActionSpec.swift
+1 −1 Tests/ReactiveSwiftTests/Info.plist
+1 −1 Tests/ReactiveSwiftTests/SchedulerSpec.swift
+71 −0 Tests/ReactiveSwiftTests/SignalProducerLiftingSpec.swift
+71 −0 Tests/ReactiveSwiftTests/SignalSpec.swift
+2 −1 script/build
16 changes: 8 additions & 8 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@
"repositoryURL": "https://github.com/Quick/Nimble.git",
"state": {
"branch": null,
"revision": "9c1379fdcd58c4f2278aea5e029394ba9a2b8f07",
"version": "7.1.3"
"revision": "43304bf2b1579fd555f2fdd51742771c1e4f2b98",
"version": "8.0.1"
}
},
{
"package": "Quick",
"repositoryURL": "https://github.com/Quick/Quick.git",
"state": {
"branch": null,
"revision": "b060679e70d13c3c7dcd124201b5b1b34ce6f340",
"version": "1.3.1"
"revision": "0b4ed6c706dd0cce923b5019a605a9bcc6b1b600",
"version": "2.0.0"
}
},
{
"package": "ReactiveSwift",
"repositoryURL": "https://github.com/ReactiveCocoa/ReactiveSwift.git",
"state": {
"branch": null,
"revision": "4f6a12ae6762e825b0e19a4f7076eafa43847e6e",
"version": "4.0.0"
"revision": "e285cea17cca8e23928d1e85a235638184e39ac9",
"version": "5.0.0"
}
},
{
"package": "Result",
"repositoryURL": "https://github.com/antitypical/Result.git",
"state": {
"branch": null,
"revision": "8fc088dcf72802801efeecba76ea8fb041fb773d",
"version": "4.0.0"
"revision": "2ca499ba456795616fbc471561ff1d963e6ae160",
"version": "4.1.0"
}
}
]
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ let package = Package(
.library(name: "ReactiveTask", targets: ["ReactiveTask"]),
],
dependencies: [
.package(url: "https://github.com/antitypical/Result.git", from: "4.0.0"),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "4.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "1.3.1"),
.package(url: "https://github.com/Quick/Nimble.git", from: "7.1.3"),
.package(url: "https://github.com/antitypical/Result.git", from: "4.1.0"),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "5.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "2.0.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "8.0.1")
],
targets: [
.target(name: "ReactiveTask", dependencies: ["Result", "ReactiveSwift"], path: "Sources"),
Expand Down
8 changes: 4 additions & 4 deletions ReactiveTask.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/Carthage/ReactiveTask.git", :tag => "#{s.version}" }
# Directory glob for all Swift files
s.source_files = "Sources/*.{swift}"
s.dependency 'Result', '~> 4.0'
s.dependency 'ReactiveSwift', '~> 4.0'
s.dependency 'Result', '~> 4.1'
s.dependency 'ReactiveSwift', '~> 5.0'

s.pod_target_xcconfig = {"OTHER_SWIFT_FLAGS[config=Release]" => "$(inherited) -suppress-warnings" }

s.cocoapods_version = ">= 1.4.0"
s.swift_version = "4.1.2"
end
s.swift_version = "4.2"
end
16 changes: 10 additions & 6 deletions ReactiveTask.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@
TargetAttributes = {
D0BFEA571A2D1E5E00E23194 = {
CreatedOnToolsVersion = 6.1.1;
LastSwiftMigration = 0800;
LastSwiftMigration = 1010;
};
D0BFEA621A2D1E5E00E23194 = {
CreatedOnToolsVersion = 6.1.1;
LastSwiftMigration = 0800;
LastSwiftMigration = 1010;
};
};
};
Expand Down Expand Up @@ -371,7 +371,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -393,7 +393,7 @@
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -434,6 +434,7 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/ReactiveTaskTests/Info.plist;
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "org.carthage.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -448,6 +449,7 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/ReactiveTaskTests/Info.plist;
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "org.carthage.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -468,7 +470,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -496,6 +498,7 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/ReactiveTaskTests/Info.plist;
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "org.carthage.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -516,7 +519,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -544,6 +547,7 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/ReactiveTaskTests/Info.plist;
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "org.carthage.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand Down

0 comments on commit 699e6ac

Please sign in to comment.