Skip to content

Commit

Permalink
Vendored Dependencies (#88)
Browse files Browse the repository at this point in the history
* vendored dependencies

* update test example project

* add podspec

* vendored to original, add rxmainqueue for compatibility

* update teststore implementation of init

* add swift clocks podspec

* add combine schedulers podspec

* add exported import

* bump combine schedulers version

* update XCTestDynamicOverlay
  • Loading branch information
adityadaniel authored May 15, 2023
1 parent db994cc commit e41f7b8
Show file tree
Hide file tree
Showing 45 changed files with 164 additions and 2,397 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"object": {
"pins": [
{
"package": "combine-schedulers",
"repositoryURL": "https://github.com/pointfreeco/combine-schedulers",
"state": {
"branch": null,
"revision": "882ac01eb7ef9e36d4467eb4b1151e74fcef85ab",
"version": "0.9.1"
}
},
{
"package": "RxSwift",
"repositoryURL": "https://github.com/ReactiveX/RxSwift",
Expand Down Expand Up @@ -37,6 +46,15 @@
"version": "0.8.1"
}
},
{
"package": "swift-clocks",
"repositoryURL": "https://github.com/pointfreeco/swift-clocks",
"state": {
"branch": null,
"revision": "20b25ca0dd88ebfb9111ec937814ddc5a8880172",
"version": "0.2.0"
}
},
{
"package": "swift-custom-dump",
"repositoryURL": "https://github.com/pointfreeco/swift-custom-dump",
Expand All @@ -46,6 +64,15 @@
"version": "0.9.1"
}
},
{
"package": "swift-dependencies",
"repositoryURL": "https://github.com/TokoFree/swift-dependencies",
"state": {
"branch": "rxswift-compatible-scheduler",
"revision": "6df2e8576a9433cfd8841697b86be20aa804e37c",
"version": null
}
},
{
"package": "xctest-dynamic-overlay",
"repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Foundation
import RxComposableArchitecture
import RxSwift
import XCTestDynamicOverlay
import Dependencies

struct Environment: ReducerProtocol {
struct State: Equatable {
Expand Down
1 change: 1 addition & 0 deletions Examples/Examples/2-Environment/EnvironmentRoute.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import RxComposableArchitecture
import UIKit
import Dependencies

class EnvironmentRouteVC: UITableViewController {
internal enum Route: String, CaseIterable {
Expand Down
31 changes: 29 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"object": {
"pins": [
{
"package": "combine-schedulers",
"repositoryURL": "https://github.com/pointfreeco/combine-schedulers",
"state": {
"branch": null,
"revision": "0625932976b3ae23949f6b816d13bd97f3b40b7c",
"version": "0.10.0"
}
},
{
"package": "RxSwift",
"repositoryURL": "https://github.com/ReactiveX/RxSwift",
Expand Down Expand Up @@ -37,6 +46,15 @@
"version": "0.8.1"
}
},
{
"package": "swift-clocks",
"repositoryURL": "https://github.com/pointfreeco/swift-clocks",
"state": {
"branch": null,
"revision": "f9acfa1a45f4483fe0f2c434a74e6f68f865d12d",
"version": "0.3.0"
}
},
{
"package": "swift-custom-dump",
"repositoryURL": "https://github.com/pointfreeco/swift-custom-dump",
Expand All @@ -46,13 +64,22 @@
"version": "0.9.0"
}
},
{
"package": "swift-dependencies",
"repositoryURL": "https://github.com/pointfreeco/swift-dependencies",
"state": {
"branch": null,
"revision": "ad0a6a0dd4d4741263e798f4f5029589c9b5da73",
"version": "0.4.2"
}
},
{
"package": "xctest-dynamic-overlay",
"repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state": {
"branch": null,
"revision": "a9daebf0bf65981fd159c885d504481a65a75f02",
"version": "0.8.0"
"revision": "4af50b38daf0037cfbab15514a241224c3f62f98",
"version": "0.8.5"
}
}
]
Expand Down
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ let package = Package(
.package(url: "https://github.com/ReactiveX/RxSwift", from: "5.1.1"),
.package(url: "https://github.com/pointfreeco/swift-case-paths", from: "0.8.1"),
.package(name: "Benchmark", url: "https://github.com/google/swift-benchmark", from: "0.1.0"),
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.8.0"),
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.8.5"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "0.3.0"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "0.2.0")
],
targets: [
.target(
Expand All @@ -31,6 +32,7 @@ let package = Package(
.product(name: "RxRelay", package: "RxSwift"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
.product(name: "CustomDump", package: "swift-custom-dump"),
.product(name: "Dependencies", package: "swift-dependencies"),
]
),
.testTarget(
Expand Down
1 change: 1 addition & 0 deletions RxComposableArchitecture.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ Pod::Spec.new do |s|
s.dependency 'CasePaths'
s.dependency 'XCTestDynamicOverlay'
s.dependency 'CustomDump'
s.dependency 'Dependencies'

end
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Benchmark
import RxComposableArchitecture
import Foundation
import Dependencies

let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
#if swift(>=5.7)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e41f7b8

Please sign in to comment.