Bläddra i källkod

Merge pull request #293 from pvzig/update-podspec

Update podspec to 1.4.0
Peter Zignego 8 år sedan
förälder
incheckning
c6d8ea04c7

+ 1 - 1
.swift-version

@@ -1 +1 @@
-3.0
+4.0

+ 5 - 5
README.md

@@ -1,5 +1,5 @@
 ![Platform](https://img.shields.io/badge/Platform-Linux%20&%20OSX%20&%20tvOS-4BC51D.svg?style=flat)
-![Swift](https://img.shields.io/badge/Swift-3.x-4BC51D.svg?style=flat)
+![Swift](https://img.shields.io/badge/Swift-4.x-4BC51D.svg?style=flat)
 ![Protocols](https://img.shields.io/badge/Protocols-HTTP%201.1%20&%20WebSockets-4BC51D.svg?style=flat)
 [![CocoaPods](https://img.shields.io/cocoapods/v/Swifter.svg?style=flat)]()
 [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
@@ -60,15 +60,15 @@ server.start()
 ```
 ### CocoaPods? Yes.
 ```ruby
-# Use version >= 1.1.0.rc.2 (sudo gem install cocoapods --pre)
+# Use version >= 1.4.0 (sudo gem install cocoapods)
 use_frameworks!
-pod 'Swifter', '~> 1.3.3'
+pod 'Swifter', '~> 1.4.0'
 ```
 
 ### Carthage? Also yes.
 ```
 # Use version >= 0.18 (https://github.com/Carthage/Carthage/releases/tag/0.18)
-github "glock45/swifter" == 1.3.3
+github "glock45/swifter" == 1.4.0
 ```
 
 ### Swift Package Manager.
@@ -78,7 +78,7 @@ import PackageDescription
 let package = Package(
     name: "MyServer",
     dependencies: [
-        .package(url: "https://github.com/httpswift/swifter.git", from: "1.0.0")
+        .package(url: "https://github.com/httpswift/swifter.git", .upToNextMajor(from: "1.4.0"))
     ]
 )
 ```

+ 2 - 2
Swifter.podspec

@@ -1,7 +1,7 @@
 Pod::Spec.new do |s|
 
   s.name                  = "Swifter"
-  s.version               = "1.3.3"
+  s.version               = "1.4.0"
   s.summary               = "Tiny http server engine written in Swift programming language."
   s.homepage              = "https://github.com/glock45/swifter"
   s.license               = { :type => 'Copyright', :file => 'LICENSE' }
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
   s.ios.deployment_target = "8.0"
   s.osx.deployment_target = "10.9"
   s.tvos.deployment_target = "9.0"
-  s.source                = { :git => "https://github.com/glock45/swifter.git", :tag => "1.3.3" }
+  s.source                = { :git => "https://github.com/glock45/swifter.git", :tag => "1.4.0" }
   s.source_files          = 'Sources/*.{h,m,swift}'
 
 end

+ 1 - 1
XCode/SwifterMac/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.3.3</string>
+	<string>1.4.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>

+ 1 - 1
XCode/SwifterSampleiOS/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.3.3</string>
+	<string>1.4.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>

+ 1 - 1
XCode/SwifteriOS/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.3.3</string>
+	<string>1.4.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>

+ 1 - 1
XCode/SwiftertvOS/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.3.3</string>
+	<string>1.4.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>