Skip to content

Commit 30cb557

Browse files
committed
Update Readme and .swift-version
1 parent c020e55 commit 30cb557

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0
1+
4.0

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![Platform](https://img.shields.io/badge/Platform-Linux%20&%20OSX%20&%20tvOS-4BC51D.svg?style=flat)
2-
![Swift](https://img.shields.io/badge/Swift-3.x-4BC51D.svg?style=flat)
2+
![Swift](https://img.shields.io/badge/Swift-4.x-4BC51D.svg?style=flat)
33
![Protocols](https://img.shields.io/badge/Protocols-HTTP%201.1%20&%20WebSockets-4BC51D.svg?style=flat)
44
[![CocoaPods](https://img.shields.io/cocoapods/v/Swifter.svg?style=flat)]()
55
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
@@ -60,15 +60,15 @@ server.start()
6060
```
6161
### CocoaPods? Yes.
6262
```ruby
63-
# Use version >= 1.1.0.rc.2 (sudo gem install cocoapods --pre)
63+
# Use version >= 1.4.0 (sudo gem install cocoapods)
6464
use_frameworks!
65-
pod 'Swifter', '~> 1.3.3'
65+
pod 'Swifter', '~> 1.4.0'
6666
```
6767

6868
### Carthage? Also yes.
6969
```
7070
# Use version >= 0.18 (https://github.com/Carthage/Carthage/releases/tag/0.18)
71-
github "glock45/swifter" == 1.3.3
71+
github "glock45/swifter" == 1.4.0
7272
```
7373

7474
### Swift Package Manager.
@@ -78,7 +78,7 @@ import PackageDescription
7878
let package = Package(
7979
name: "MyServer",
8080
dependencies: [
81-
.Package(url: "https://github.com/httpswift/swifter.git", majorVersion: 1)
81+
.package(url: "https://github.com/httpswift/swifter.git", .upToNextMajor(from: "1.4.0"))
8282
]
8383
)
8484
```

0 commit comments

Comments
 (0)