Skip to content

Commit

Permalink
Merge pull request #116 from IBM-Swift/issue.swift5
Browse files Browse the repository at this point in the history
Build against Swift 5
  • Loading branch information
Pushkar N Kulkarni authored Dec 16, 2018
2 parents fa563e8 + 101b7d4 commit 0722291
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ matrix:
sudo: required
services: docker
env: DOCKER_IMAGE=ubuntu:16.04
- os: linux
dist: trusty
sudo: required
services: docker
env: DOCKER_IMAGE=ubuntu:16.04 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
- os: linux
dist: trusty
sudo: required
Expand All @@ -43,6 +48,10 @@ matrix:
- os: osx
osx_image: xcode10
sudo: required
- os: osx
osx_image: xcode10.1
sudo: required
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
Expand Down
2 changes: 1 addition & 1 deletion Sources/KituraNet/ClientRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public class ClientRequest {
guard let data = authHeader.data(using: String.Encoding.utf8) else {
return nil
}
return "Basic \(data.base64EncodedString)"
return "Basic \(data.base64EncodedString())"
}
}

Expand Down

0 comments on commit 0722291

Please sign in to comment.