Compare commits

...
5 Commits
Author SHA1 Message Date
Erik Little 840892288b Merge branch 'development'
* development:
  bump version
  Set reconnectAttempts in manager. Fixes #989
2018-03-30 09:51:50 -04:00
Erik Little 47bcfb1299 bump version 2018-03-30 09:51:41 -04:00
Erik Little d24e8f83c6 Set reconnectAttempts in manager. Fixes #989 2018-03-30 09:40:19 -04:00
Erik Little 731aaf4203 Fix cocoapods choking with .swift-version set to system 2018-03-11 11:26:28 -04:00
Erik Little 746be11f3b update starscream 2018-03-11 11:21:40 -04:00
8 changed files with 25 additions and 16 deletions

No files matched your search

+1 -1
View File
@@ -1 +1 @@
system
4.0
+1 -1
View File
@@ -1,7 +1,7 @@
language: objective-c
xcode_project: Socket.IO-Client-Swift.xcodeproj # path to your xcodeproj folder
xcode_scheme: SocketIO-Mac
osx_image: xcode9
osx_image: xcode9.2
branches:
only:
- master
+6 -1
View File
@@ -1,3 +1,8 @@
# v13.1.3
- Fix setting reconnectAttempts [#989]((https://github.com/socketio/socket.io-client-swift/issues/989))
# v13.1.2
- Fix [#950](https://github.com/socketio/socket.io-client-swift/issues/950)
@@ -29,7 +34,7 @@ Checkout out the migration guide in Usage Docs for a more detailed guide on how
What's new:
---
- Adds a new `SocketManager` class that multiplexes multiple namespaces through a single engine.
- Adds a new `SocketManager` class that multiplexes multiple namespaces through a single engine.
- Adds `.sentPing` and `.gotPong` client events for tracking ping/pongs.
- watchOS support.
+1 -1
View File
@@ -1,3 +1,3 @@
github "daltoniam/Starscream" "3.0.3"
github "daltoniam/Starscream" "3.0.4"
github "daltoniam/common-crypto-spm" "1.1.0"
github "daltoniam/zlib-spm" "1.1.0"
+9 -9
View File
@@ -1,15 +1,6 @@
{
"object": {
"pins": [
{
"package": "SSCZLib",
"repositoryURL": "https://github.com/daltoniam/zlib-spm.git",
"state": {
"branch": null,
"revision": "83ac8d719a2f3aa775dbdf116a57f56fb2c49abb",
"version": "1.1.0"
}
},
{
"package": "SSCommonCrypto",
"repositoryURL": "https://github.com/daltoniam/common-crypto-spm",
@@ -27,6 +18,15 @@
"revision": "6cb1c474e09b0a3aa60bcdc7553b570336d6a61a",
"version": "3.0.3"
}
},
{
"package": "SSCZLib",
"repositoryURL": "https://github.com/daltoniam/zlib-spm.git",
"state": {
"branch": null,
"revision": "83ac8d719a2f3aa775dbdf116a57f56fb2c49abb",
"version": "1.1.0"
}
}
]
},
+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 = "13.1.2"
s.version = "13.1.3"
s.summary = "Socket.IO-client for iOS and OS X"
s.description = <<-DESC
Socket.IO-client for iOS and OS X.
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source = {
:git => "https://github.com/socketio/socket.io-client-swift.git",
:tag => 'v13.1.2',
:tag => 'v13.1.3',
:submodules => true
}
s.pod_target_xcconfig = {
@@ -476,6 +476,8 @@ open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDa
self.handleQueue = queue
case let .reconnects(reconnects):
self.reconnects = reconnects
case let .reconnectAttempts(attempts):
self.reconnectAttempts = attempts
case let .reconnectWait(wait):
reconnectWait = abs(wait)
case let .log(log):
+3 -1
View File
@@ -79,13 +79,15 @@ class SocketMangerTest : XCTestCase {
.handleQueue(queue),
.forceNew(true),
.reconnects(false),
.reconnectWait(5)
.reconnectWait(5),
.reconnectAttempts(5)
])
XCTAssertEqual(manager.handleQueue, queue)
XCTAssertTrue(manager.forceNew)
XCTAssertFalse(manager.reconnects)
XCTAssertEqual(manager.reconnectWait, 5)
XCTAssertEqual(manager.reconnectAttempts, 5)
}
func testManagerRemovesSocket() {