From 2883224eb6472bb422153e6deb296a03fb117c71 Mon Sep 17 00:00:00 2001 From: Lukas Schmidt Date: Wed, 20 Sep 2017 06:30:28 +0200 Subject: [PATCH 1/4] New build envrionment for linux --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fcecde1..059ed3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ matrix: before_install: - wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import - - cd .. - - export SWIFT_VERSION=swift-3.1-RELEASE + - export SWIFT_VERSION=swift-4.0-RELEASE - wget https://swift.org/builds/swift-3.1-release/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz - tar xzf $SWIFT_VERSION-ubuntu14.04.tar.gz - export PATH="${PWD}/${SWIFT_VERSION}-ubuntu14.04/usr/bin:${PATH}" From 095c97c28aac24fee262e329602ee063b73f5780 Mon Sep 17 00:00:00 2001 From: Lukas Schmidt Date: Wed, 20 Sep 2017 06:37:56 +0200 Subject: [PATCH 2/4] Fixes Readme --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index ee9f6ff..5282e1c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager) [![Version](https://img.shields.io/cocoapods/v/DBNetworkStack.svg?style=flat)](http://cocoapods.org/pods/DBNetworkStack) -[![Swift Version](https://img.shields.io/badge/Swift-3.0--3.1-F16D39.svg?style=flat)](https://developer.apple.com/swift) | | Main Features | | --------- | ------------------------------ | @@ -79,14 +78,6 @@ extension Resource where Model: XMLDocument { } ``` -## Extendability -The following example outlines how to extend DBNetworkStack to support the imaginary type `XMLDocument`: - -You are now able to call: -```swift -let xmlDocument = Resource(request: someRequest) -``` - ## Protocol oriented architecture / Exchangability The following table shows all the protocols and their default implementations. @@ -120,7 +111,7 @@ The following table shows all the protocols and their default implementations. Specify the following in your `Cartfile`: ```ogdl -github "dbsystel/dbnetworkstack" ~> 0.6 +github "dbsystel/dbnetworkstack" ~> 0.7 ``` ### CocoaPods From aa1fe123c159ae042f1a6da1003f40715e25727c Mon Sep 17 00:00:00 2001 From: Lukas Schmidt Date: Wed, 20 Sep 2017 06:38:12 +0200 Subject: [PATCH 3/4] bump version --- Source/Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Info.plist b/Source/Info.plist index 6019f05..3157e47 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.2.0 + 0.7.0 CFBundleSignature ???? CFBundleVersion From ef0c925dec395762078065328e4e1d5472325a58 Mon Sep 17 00:00:00 2001 From: Lukas Schmidt Date: Wed, 20 Sep 2017 06:39:29 +0200 Subject: [PATCH 4/4] bumps swift version file --- .swift-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.swift-version b/.swift-version index 06a4457..389f774 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -3.1 \ No newline at end of file +4.0 \ No newline at end of file