Skip to content

Commit

Permalink
Update RxSwift (#6)
Browse files Browse the repository at this point in the history
* Update RxSwift to 6.2.0

* Fix warning in SerialHandlerTests
  • Loading branch information
AndreaRR18 authored Aug 5, 2021
1 parent 1e53f80 commit 37f95c9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"repositoryURL": "https://github.com/ReactiveX/RxSwift.git",
"state": {
"branch": null,
"revision": "254617dd7fae0c45319ba5fbea435bf4d0e15b5d",
"version": "5.1.2"
"revision": "7c17a6ccca06b5c107cfa4284e634562ddaf5951",
"version": "6.2.0"
}
},
{
Expand Down
15 changes: 5 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import PackageDescription
let package = Package(
name: "NavigationHelper",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "NavigationHelper",
targets: ["NavigationHelper"]),
Expand All @@ -15,24 +14,20 @@ let package = Package(
targets: ["NavigationHelperUIKit"])
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/facile-it/FunctionalKit.git", from: Version(0,23,0)),
.package(url: "https://github.com/facile-it/FunctionalKit.git", from: Version(0,23,0)),
.package(url: "https://github.com/typelift/Abstract.git", from: Version(0,1,0)),
.package(url: "https://gitlab.facile.it/mobile-apps/Log", from: Version(0,5,0)),
.package(url: "https://github.com/ReactiveX/RxSwift.git", from: "5.0.0")
.package(url: "https://github.com/ReactiveX/RxSwift.git", from: Version(6,0,0))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "NavigationHelper",
dependencies: [
"FunctionalKit",
"FunctionalKit",
"Abstract",
"Log",
"RxSwift"
]),
"RxSwift"
]),
.target(
name: "NavigationHelperUIKit",
dependencies: [
Expand Down
4 changes: 4 additions & 0 deletions Tests/NavigationHelperTests/SerialHandlerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ final class ExpectationExecutable<T>: Executable, Hashable, CustomStringConverti
var description: String {
return "\(hashValue)"
}

func hash(into hasher: inout Hasher) {
hasher.combine(hashValue)
}
}

class SerialHandlerTests: XCTestCase {
Expand Down

0 comments on commit 37f95c9

Please sign in to comment.