Skip to content

Commit 048ebaa

Browse files
committed
Remove call to removed TUSKit method
1 parent 6878f3f commit 048ebaa

File tree

6 files changed

+38
-48
lines changed

6 files changed

+38
-48
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# TransloaditKit Changelog
22

3+
## 3.4
4+
5+
* Updated Package to depend on exact TUSKit version and removed call to removed method in TUSKit ([#41](https://github.com/transloadit/TransloaditKit/issues/41))
6+
37
## 3.3.4
48

59
* Changed polling interval to 0.75s for checking assembly status

Package.resolved

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

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.5
1+
// swift-tools-version:5.6
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -14,7 +14,7 @@ let package = Package(
1414
],
1515
dependencies: [
1616
// Dependencies declare other packages that this package depends on.
17-
.package(name: "TUSKit", url: "https://github.com/tus/TUSKit", from: "3.4.2")
17+
.package(url: "https://github.com/tus/TUSKit", exact: "3.6.0")
1818
],
1919
targets: [
2020
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

Sources/TransloaditKit/Transloadit.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -380,16 +380,6 @@ public final class Transloadit {
380380
completion(result.mapError { error in TransloaditError.couldNotFetchStatus(underlyingError: error) })
381381
}
382382
}
383-
384-
/// For unfinished uploads, schedule background tasks to upload them.
385-
/// iOS will decide per device when these tasks will be performed. E.g. with a wifi connection and late at night.
386-
387-
#if os(iOS)
388-
@available(iOS 13.0, *)
389-
public func scheduleBackgroundTasks() {
390-
tusClient.scheduleBackgroundTasks()
391-
}
392-
#endif
393383
}
394384

395385
extension Transloadit: TUSClientDelegate {

Transloadit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ Swift client for http://transloadit.com called TransloaditKit. Mac and iOS compa
3232

3333
s.source_files = 'Sources/TransloaditKit/**/*'
3434

35-
s.dependency 'TUSKit', '~> 3.4.3'
35+
s.dependency 'TUSKit', '~> 3.6.0'
3636

3737
end

TransloaditKitExample/TransloaditKitExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

0 commit comments

Comments
 (0)