Skip to content

Commit

Permalink
Swift 5 changes (#12)
Browse files Browse the repository at this point in the history
* public modifier

* 5.0
  • Loading branch information
jdmcd committed Mar 26, 2019
1 parent 31c0466 commit 187a375
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .swift-version
@@ -0,0 +1 @@
5.0
2 changes: 1 addition & 1 deletion Package.swift
@@ -1,4 +1,4 @@
// swift-tools-version:4.2
// swift-tools-version:5.0
import PackageDescription

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion Sources/Jobs/Job.swift
Expand Up @@ -48,7 +48,7 @@ public extension Job {
}

/// See `AnyJob.anyDequeue`
public func anyDequeue(_ context: JobContext, _ storage: JobStorage) -> EventLoopFuture<Void> {
func anyDequeue(_ context: JobContext, _ storage: JobStorage) -> EventLoopFuture<Void> {
do {
let data = try JSONDecoder().decode(Data.self, from: storage.data)
return self.dequeue(context, data)
Expand Down
6 changes: 3 additions & 3 deletions circle.yml
Expand Up @@ -3,14 +3,14 @@ version: 2
jobs:
linux:
docker:
- image: swift:4.2
- image: vapor/swift:5.0
steps:
- checkout
- run: swift build
- run: swift test
linux-redis-driver:
docker:
- image: swift:4.2
- image: vapor/swift:5.0
- image: redis:5.0
steps:
- run:
Expand All @@ -25,7 +25,7 @@ jobs:

linux-release:
docker:
- image: swift:4.2
- image: vapor/swift:5.0
steps:
- checkout
- run: swift build
Expand Down

0 comments on commit 187a375

Please sign in to comment.