Compare commits

..
4 Commits
Author SHA1 Message Date
Erik 1949b1fd48 actually bump version 2017-03-30 18:58:26 -04:00
Erik 6bf970e491 bump version 2017-03-30 18:54:04 -04:00
Erik 23050890e9 Merge branch 'development'
* development:
  Revert "double encoding should be getting fixed, make the default false"
2017-03-30 18:53:11 -04:00
Erik d3c1d0cd04 Revert "double encoding should be getting fixed, make the default false"
This reverts commit 0fcb7903bb.
2017-03-30 18:52:42 -04:00
4 changed files with 7 additions and 9 deletions

No files matched your search

+3 -3
View File
@@ -95,7 +95,7 @@ Carthage
-----------------
Add this line to your `Cartfile`:
```
github "socketio/socket.io-client-swift" ~> 8.3.2 # Or latest version
github "socketio/socket.io-client-swift" ~> 8.3.3 # Or latest version
```
Run `carthage update --platform ios,macosx`.
@@ -108,7 +108,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
use_frameworks!
target 'YourApp' do
pod 'Socket.IO-Client-Swift', '~> 8.3.2' # Or latest version
pod 'Socket.IO-Client-Swift', '~> 8.3.3' # Or latest version
end
```
@@ -137,7 +137,7 @@ CocoaSeeds
Add this line to your `Seedfile`:
```
github "socketio/socket.io-client-swift", "v8.3.2", :files => "Source/*.swift" # Or latest version
github "socketio/socket.io-client-swift", "v8.3.3", :files => "Source/*.swift" # Or latest version
```
Run `seed install`.
+2 -2
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Socket.IO-Client-Swift"
s.module_name = "SocketIO"
s.version = "8.3.2"
s.version = "8.3.3"
s.summary = "Socket.IO-client for iOS and OS X"
s.description = <<-DESC
Socket.IO-client for iOS and OS X.
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", :tag => 'v8.3.2' }
s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", :tag => 'v8.3.3' }
s.source_files = "Source/**/*.swift"
s.requires_arc = true
s.pod_target_xcconfig = {'SWIFT_VERSION' => '3.1'}
+1 -3
View File
@@ -82,10 +82,8 @@ class SocketEngineTest: XCTestCase {
XCTAssertEqual(data[0] as? String, "lïne one\nlīne \rtwo", "Failed string test")
expect.fulfill()
}
engine = SocketEngine(client: client, url: URL(string: "http://localhost")!, config: [.doubleEncodeUTF8(true)])
engine.parsePollingMessage("41:42[\"stringTest\",\"lïne one\\nlīne \\rtwo\"]")
waitForExpectations(timeout: 3, handler: nil)
}
+1 -1
View File
@@ -42,7 +42,7 @@ public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePoll
public private(set) var closed = false
public private(set) var connected = false
public private(set) var cookies: [HTTPCookie]?
public private(set) var doubleEncodeUTF8 = false
public private(set) var doubleEncodeUTF8 = true
public private(set) var extraHeaders: [String: String]?
public private(set) var fastUpgrade = false
public private(set) var forcePolling = false