From 72869208dbc964c37b709d16b1dbc5d8b93ee44d Mon Sep 17 00:00:00 2001 From: Ricardo Pereira Date: Wed, 12 Oct 2016 17:59:10 +0100 Subject: [PATCH] Start 0.9 version --- Ably.podspec | 2 +- Examples/Tests/Podfile.lock | 2 +- README.md | 6 +++--- Source/ARTDefault.m | 2 +- Source/Info.plist | 2 +- Spec/RealtimeClient.swift | 2 +- Spec/RealtimeClientConnection.swift | 2 +- Spec/RestClient.swift | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Ably.podspec b/Ably.podspec index e60e37dc8..3b0b6c427 100644 --- a/Ably.podspec +++ b/Ably.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Ably" - s.version = "0.8.7" + s.version = "0.9.0" s.summary = "iOS client for Ably" s.description = <<-DESC iOS client library for ably.io, the realtime messaging service, written in Objective-C and ready for Swift 2.0. diff --git a/Examples/Tests/Podfile.lock b/Examples/Tests/Podfile.lock index 3cf522aa3..6d0cd2e23 100644 --- a/Examples/Tests/Podfile.lock +++ b/Examples/Tests/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Ably (0.8.7): + - Ably (0.9.0): - msgpack (= 0.1.8) - SocketRocket (= 0.5.1) - msgpack (0.1.8) diff --git a/README.md b/README.md index cda5e4296..09842f6b0 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can install Ably for iOS through CocoaPods, Carthage or manually. Add this line to your application's Podfile: # For Xcode 7.3 and newer - pod 'Ably', '~> 0.8' + pod 'Ably', '~> 0.9' And then install the dependency: @@ -26,13 +26,13 @@ And then install the dependency: Add this line to your application's Cartfile: # For Xcode 7.3 and newer - github "ably/ably-ios" ~> 0.8 + github "ably/ably-ios" ~> 0.9 And then run `carthage update` to build the framework and drag the built Ably.framework into your Xcode project. ### Manual installation -1. Get the code from GitHub [from the release page](https://github.com/ably/ably-ios/releases/tag/0.8.0), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-ios.git` +1. Get the code from GitHub [from the release page](https://github.com/ably/ably-ios/releases/tag/0.9.0), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-ios.git` 2. Drag the directory `ably-ios/ably-ios` into your project as a group. 3. Ably depends on [SocketRocket](https://github.com/facebook/SocketRocket) 0.5.1; get it [from the releases page](https://github.com/facebook/SocketRocket/releases/tag/0.5.1) and follow [its manual installation instructions](https://github.com/facebook/SocketRocket#installing-ios). 4. Ably also depends on [msgpack](https://github.com/rvi/msgpack-objective-C) 0.1.8; get it [from the releases page](https://github.com/rvi/msgpack-objective-C/releases/tag/0.1.8) and link it into your project. diff --git a/Source/ARTDefault.m b/Source/ARTDefault.m index ae1da1e13..8bee7975b 100644 --- a/Source/ARTDefault.m +++ b/Source/ARTDefault.m @@ -12,7 +12,7 @@ @implementation ARTDefault NSString *const ARTDefault_restHost = @"rest.ably.io"; NSString *const ARTDefault_realtimeHost = @"realtime.ably.io"; -NSString *const ARTDefault_version = @"0.8"; +NSString *const ARTDefault_version = @"0.9"; NSString *const ARTDefault_ablyBundleId = @"io.ably.Ably"; NSString *const ARTDefault_bundleVersionKey = @"CFBundleShortVersionString"; NSString *const ARTDefault_platform = @"ios-"; diff --git a/Source/Info.plist b/Source/Info.plist index f91a45a6d..3df65d7b1 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.8.7 + 0.9.0 CFBundleSignature ???? CFBundleVersion diff --git a/Spec/RealtimeClient.swift b/Spec/RealtimeClient.swift index 626baf412..aa5a2ace7 100644 --- a/Spec/RealtimeClient.swift +++ b/Spec/RealtimeClient.swift @@ -36,7 +36,7 @@ class RealtimeClient: QuickSpec { channel.publish(nil, data: "message") { error in expect(error).to(beNil()) let transport = client.transport as! TestProxyTransport - expect(transport.lastUrl!.query).to(haveParam("v", withValue: "0.8")) + expect(transport.lastUrl!.query).to(haveParam("v", withValue: "0.9")) done() } } diff --git a/Spec/RealtimeClientConnection.swift b/Spec/RealtimeClientConnection.swift index a498f4521..5f3a5f694 100644 --- a/Spec/RealtimeClientConnection.swift +++ b/Spec/RealtimeClientConnection.swift @@ -213,7 +213,7 @@ class RealtimeClientConnection: QuickSpec { done() case .Connected: if let transport = client.transport as? TestProxyTransport, let query = transport.lastUrl?.query { - expect(query).to(haveParam("lib", withValue: "ios-0.8.7")) + expect(query).to(haveParam("lib", withValue: "ios-0.9.0")) } else { XCTFail("MockTransport isn't working") diff --git a/Spec/RestClient.swift b/Spec/RestClient.swift index 2f4d87eb1..50c16248f 100644 --- a/Spec/RestClient.swift +++ b/Spec/RestClient.swift @@ -29,7 +29,7 @@ class RestClient: QuickSpec { channel.publish(nil, data: "message") { error in expect(error).to(beNil()) let version = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["X-Ably-Version"] - expect(version).to(equal("0.8")) + expect(version).to(equal("0.9")) done() } } @@ -1100,7 +1100,7 @@ class RestClient: QuickSpec { let ablyBundleLibVersion = ARTDefault.libraryVersion() expect(headerLibVersion).to(equal(ablyBundleLibVersion)) - let patternToMatch = "ios-0.8." + let patternToMatch = "ios-0.9." let match = headerLibVersion?.hasPrefix(patternToMatch) expect(match).to(beTrue())