diff --git a/CHANGELOG.md b/CHANGELOG.md index f85e0675..4815b8f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.2.3 + +* Make `unsentEvents` an array instead of a dictionary (fixes #29) + ## 0.2.2 * Fix building for Carthage diff --git a/Podfile.lock b/Podfile.lock index 29903914..a9c9de4d 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,7 +1,7 @@ PODS: - CryptoSwift (0.2.2) - Nimble (3.0.0) - - PusherSwift (0.2.2): + - PusherSwift (0.2.3): - CryptoSwift (~> 0.2.2) - ReachabilitySwift (~> 2.3.3) - Starscream (~> 1.1.1) @@ -24,7 +24,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: CryptoSwift: d382228d6301c09474132417878a741c2a2e68cd Nimble: 4c353d43735b38b545cbb4cb91504588eb5de926 - PusherSwift: f63003ec12901f55eb11133da89ddd3296af4452 + PusherSwift: 088a8bde5f9fa8c24efe710915d49f2b67c9edc4 Quick: 563d0f6ec5f72e394645adb377708639b7dd38ab ReachabilitySwift: e0f6b6f280effb47731acfaaa2d5ffe223703793 Starscream: d74dd8d122a6abd244d8d5e51f32891c796d0827 diff --git a/PusherSwift.podspec b/PusherSwift.podspec index 95ad13fa..4a2b8b38 100644 --- a/PusherSwift.podspec +++ b/PusherSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PusherSwift' - s.version = '0.2.2' + s.version = '0.2.3' s.summary = 'A Pusher client library in Swift' s.homepage = 'https://github.com/pusher/pusher-websocket-swift' s.license = 'MIT' diff --git a/Source/PusherSwift.swift b/Source/PusherSwift.swift index 8aa5a09d..7613984b 100644 --- a/Source/PusherSwift.swift +++ b/Source/PusherSwift.swift @@ -15,7 +15,7 @@ public typealias PusherUserInfoObject = Dictionary public typealias PusherUserData = PresenceChannelMember let PROTOCOL = 7 -let VERSION = "0.2.2" +let VERSION = "0.2.3" let CLIENT_NAME = "pusher-websocket-swift" public class Pusher { diff --git a/Tests/PusherSwiftTests.swift b/Tests/PusherSwiftTests.swift index b120fd8d..c7416372 100644 --- a/Tests/PusherSwiftTests.swift +++ b/Tests/PusherSwiftTests.swift @@ -12,7 +12,7 @@ import Nimble import Starscream import PusherSwift -let VERSION = "0.2.2" +let VERSION = "0.2.3" // Setup mock objects that we will need public class MockWebSocket: WebSocket { @@ -641,7 +641,7 @@ class PusherChannelSpec: QuickSpec { let parsedEqualsExpected = NSDictionary(dictionary: parsedSubscribeArgs!).isEqualToDictionary(NSDictionary(dictionary: expectedDict) as [NSObject : AnyObject]) expect(parsedEqualsExpected).to(beTrue()) } - + it("should send multipe client events with the same event name that were triggered before subscription was successful") { let chan = PusherChannel(name: "private-channel", connection: connection) connection.channels.channels["private-channel"] = chan